Search code examples
javagwtcode-generationspring-roo

Customizing the Spring Roo generated GWT user interface


How does one go about customizing the GWT user interface that Spring Roo automatically generates?

Am I supposed to change the Roo-generated source files? If so, will that not be clobbered the next time Roo runs?

Or do I need to configure something in Roo and then rebuild the GWT sources?

In this particular case, the column widths of the domain object list view need to be adjusted.


Solution

  • For as far as I know, this is indeed not possible yet in Spring Roo. As you rightfully stated, the by Spring Roo generated files will be regenerated by Spring Roo when you alter your entities. There are some solutions, but these all are but small workarounds and don't offer the actual programming experience you'd expect or want. The Spring Roo team (and community) has already addressed this issue though and is working hard to solve this. So expect this to be improved real soon. For more information, check the following links to the Spring Roo Forum and Spring Roo JIRA: