[ http://jira.codehaus.org/browse/DISPL-49?page=all ] fabrizio giustina closed DISPL-49: ----------------------------------
Resolution: Fixed style and class attributes can be dinamically changed in 1.1 Testcase added > style of column cannot be dynamically changed > --------------------------------------------- > > Key: DISPL-49 > URL: http://jira.codehaus.org/browse/DISPL-49 > Project: DisplayTag > Type: Wish > Components: Tag Library > Versions: 1.0 RC1 > Reporter: Ryan Kirkendall > Fix For: 1.1 > > > <display-el:table ...> > <c:if test="${somelogic}"> > <c:set var="style">background-color:red</c:set> > </c:if> > <c:if test="${somelogic other logic}"> > <c:set var="style">background-color:blue</c:set> > </c:if> > <display-el:column style="${style}" .../> > </display-el:table> > the style of the last column set in this iteration will be the > style for the entire column in the table. > if during the 1st iteration style == red > and during last iteration style == blue > the entire column first, last and everything in between row-wise will > blue -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel