My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 251: How to identify each row jmesa your own css-style
1 person starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Owner:  ----
Closed:  Apr 2010


 
Reported by stas.agarkov, Mar 5, 2010
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?
Apr 13, 2010
Project Member #1 jeff.johnston.mn@gmail.com
(No comment was entered for this change.)
Status: Duplicate

Powered by Google Project Hosting