View Full Version : Richui
Jun 13th, 2009, 12:15 PM
Does ROO provide anything like the Grails RICHUI plugin?
Jun 14th, 2009, 07:01 PM
Roo does offer a similar approach by leveraging the Spring JS project. Spring JS currently offers an abstraction on top of Dojo but support for other libraries is also planned. So for example to get a date chooser installed in your form RichUI would require you to use the following tag:
<richui:dateChooser name="birthday" format="dd.MM.yyyy" />
Spring JS does offer the same functionality via:
While this seems a little more verbose initially, it actually offers you a little more flexibility due to the in-built required check. Since both Spring JS and Dojo both come pre-installed in Roo generated applications courtesy of the MVC add-on you can also fall back to using Dojo directly at any time.
Keep in mind that if you edit your jsp pages in Roo you need to switch off automatic maintenance of them by Roo as it will otherwise overwrite them. We are currently looking into improving this.
Hope this helps.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.