Thread: [smartweb-devel] Smartweb Example
Brought to you by:
rlogiacco
From: Sébastien LE C. <sl...@ya...> - 2009-03-17 23:39:03
Attachments:
example.patch
|
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!! 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). Happy Paddy's Day, Sébastien. |
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 |
From: Sébastien LE C. <sl...@ya...> - 2009-03-18 14:35:53
|
Yep, there seems to be some ongoing work on the Hibernate front wrt quotes and the column names... see for instance http://opensource.atlassian.com/projects/hibernate/browse/HHH-2622 Might be worth checking with the Hibernate crowd... I suppose renaming the "group" table is out of question, obviously? ----- Message d'origine ---- > De : Roberto Lo Giacco <rlo...@sm...> > À : Framework Development Discussions <sma...@li...> > Envoyé le : Mercredi, 18 Mars 2009, 12h57mn 23s > Objet : Re: [smartweb-devel] Smartweb Example > > 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 > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel |
From: Roberto Lo G. <rlo...@sm...> - 2009-03-18 20:14:47
|
Sébastien LE CALLONNEC wrote: > Yep, there seems to be some ongoing work on the Hibernate front wrt quotes and the column names... > see for instance http://opensource.atlassian.com/projects/hibernate/browse/HHH-2622 > Might be worth checking with the Hibernate crowd... > > I suppose renaming the "group" table is out of question, obviously? > I'm currently trying to get support throgh IRC.... About the renaming it would be not elegant, but still possible... the bad part is we should move away from hsqldb for unit tests too as the problem raises on every table and column considering the hsqldb (btw, hsqldb has a strange case sensitivity behavior...) In conclusion I really wish to avoid the renaming... -- 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 |