-
Jul 8th, 2010, 09:19 AM
#1
Custom crud, howto do it?
Hello,
I am learning roo.
I have a project with two custom crud, one with a google maps gadget and one with a form so long that I need to put in four tabs.
I am thinking about doing it using less code as possible.
I have not found enough documentation regarding how to customize view part in roo, so I am thinking about using only generated controllers and doing the custom cruds with gwt.
So I need help to find how to integrate gwt with roo (not the scaffolded gwt in 1.1.0.M1), using perhaps the controllers as rest entry points.
The question is: are there better ways to do it?
Thanks in advance for help!
Mario Giammarco
-
Jul 9th, 2010, 08:59 AM
#2
The point of ROO is not to avoid coding, but to get things generated quickly.
Using Google maps is rather easy if you know how to edit JSPX and use JavaScript (along with controllers). You will be better off if you generate your crud, then do push in refactoring (using STS) then put in your JavaScript in a JSP (see how tagx and jspx work, if you don't follow some thing, ask specifically what that is) You will need to get the values which need to be on Google maps passed via a controller. You can also get them in AJAX style through content negotiation (search the web for spring source blog entry about it)
There are enough tutorials on the internet on how to use JSP and Spring controllers, I guess there is no one consolidated one for ROO. I planned on putting one at http://rooscripts.info but it keeps getting delayed.
In short, if you plan to use ROO, then you plan to learn Spring and you definitely cannot avoid code.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules