Re: [smartweb-devel] Smartweb Example
Brought to you by:
rlogiacco
From: Roberto Lo G. <rlo...@sm...> - 2009-03-18 12:57:53
|
Sébastien LE CALLONNEC wrote: > Hi, > > > I've done a fair bit of work to update the Smartweb example (for my own selfish reasons), and I'm sending a patch to review the initial work (it's been produced within the "example" folder). There's still quite a lot to be done to clean up the JSPs though. Hoping to get some feedback from this vibrant and cheerful community of yours!! > Very good job Sébastien! > Anyway, I'm now a bit stuck because of 2 blocking issues I'm having with the JSPs in auth (trunk) which don't seem to be in sync with the code. I've logged these issues in the bug tracker in the hope they'll be tackled (I'd be glad to solve them myself, but they require knowledge of the history behind the changes). > Well the auth module trunk is going under a little rework because of some promming fixes we needed and consequently the JSPs are quite unusable right now. I planned to fix all the necessary things to release and then run the maven-smartweb-plugin on the module to produce the needed jsps. I'll try to integrate your patch concepts into the jsp velocity templates of the smartweb generator to have a unique approach all over the project. We could greatly appreciate your suggestions on the unit tests side, I'm currently stuck in auth with an hibernate formula problem. The formula ( select count(*) from `auth`.`group_user` where `group_user`.`group`=`id`) is translated by hibernate into ( select count(*) from this_."auth".this_."group_user" where this_."group_user".this_."group"=this_."id" ) which contains those unwanted this_ prefixes for each ` char it encounters.... I could remove many of them but not the ones surrounding the GROUP word as it is reserved... in addition with HSQLDB (the one we use for testing) the only word I can avoid to surround with the ` chars is the AUTH domain name for a case sensitivity issue. Any suggestion on the topic? -- Roberto Lo Giacco Chief Technical Officer SmartLab s.r.l. via Spagna, snc - 87036 Rende (CS) - Italy Mobile: +39 392 8765657 Email: rlo...@sm... Skype: longisland-75 Web: http://www.smartlab.it |