| Issue 250: | How to identify each row jmesa your own css-style | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I need to make sure that each row of the table jmesa stained with a different color, which depends on the bean, which is displayed in this line. To do this, I suppose shall be set for each bean in line css-style, which will build upon HtmlRowRenderer styles for odd and even, which appears now. For this, I in the preparation of collections for display on the bean jmesa create a map, where each bean put in line css-style, depending on the parameters of the bean fields. To send this card from my controller to HtmlRowRenderer, I need to override all classes with the suffix Tag, because I added a parameter in the class TableFacadeTag. In this setting, I convey this MAP properties of each line. I'm having problems with accurate parameter in through my jmesa to class, directly responsible for the installation css-styles - HtmlRowRenderer. In particular, because many getters classes that I need to override not have access modifiers, so you have to override all copy the code and set the access modifier public. This is an ugly solution, but I can not do differently with the current release jmesa. In addition, the code uses methods jmesa findAncestorClass, which is transmitted directly to the class (TableFacadeTag, for example). Since I redefined TableFacadeTag (my class extends TableFacadeTag), then I need to override all the methods in which the call findAncestorClass, to write his or her class name. You could do something to help me?
Mar 10, 2011
Project Member
#1
jeff.johnston.mn@gmail.com
Status:
Invalid
|