Bugs item #841023, was opened at 2003-11-12 22:44
Message generated for change (Comment added) made by fgiust
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=841023&group_id=73068
Category: main tag library
Group: v 1.0-b1
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Brian Barnett (ooper01)
>Assigned to: fabrizio giustina (fgiust)
Summary: column.class attribute doesn't carry through
Initial Comment:
In a nested table, if you specify a class attribute for a
column of the nested table, it only gets applied on the
first nested table, i.e., the first row of the parent table.
Subsequent rows of the parent table will have the
nested table but the column in the nested table will not
have the class attribute.
Ex.
<display:table name="testList">
<display:column property="prop1" title="title1"/>
<display:column title="nestedCol" class="class1">
<table class="nested">
<tr>
<td class="nestedEditCol">
<a href="/do/action1?id=blah blah>Edit</a>
</td>
<td>
<display:table name="<%blah blah%>">
<display:column property="rowNumber" title=""
class="textRed"/>
<display:column property="name" title=""/>
<display:setProperty name="basic.msg.empty_list"
value=""/>
</display:table>
</td>
</tr>
</table>
</display:column>
</display:table>
The "textRed" class is only applied in nested table that
is in the first row of the parent table. I did a "view
source" on the web page and verified it.
----------------------------------------------------------------------
>Comment By: fabrizio giustina (fgiust)
Date: 2004-01-02 15:22
Message:
Logged In: YES
user_id=798060
working in the latest code from cvs (the "textRed" classes has
been added to the nested table example to show it).
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2003-11-12 23:09
Message:
Logged In: NO
Another example using your example-nestedtables.jsp file:
Change this line:
<display:column property="name" />
to this:
<display:column property="name" class="textRed"/>
and add this to your screen.css file:
table.simple td.textRed {color: #B01212;}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=841023&group_id=73068
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel