|
|
GWT UiBinder CSS not shared in Roo 1.1.1
I noticed that Spring Roo and GWT generate identical lt;ui:stylegt; section in the generated UiBinder xml files for every entity's list view.
Since I needed to add horizontal scrollbar and allow wrapping of cell contents, I moved the identical style contents into an actual CSS file (changing quot;amp;gt;quot; to quot;gt;quot;) and changed all my ListView ui.xml files to use
lt;ui:style src=quot;../../style/ListView.cssquot; /gt;
It works great.
Is it really best-practices to have duplicate style rules in multiple UiBinder xml files? If so, please explain why. |
|