Bugs item #841023, was opened at 2003-11-12 13:44
Message generated for change (Comment added) made by nobody
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: Open
Resolution: None
Priority: 5
Submitted By: Brian Barnett (ooper01)
Assigned to: Nobody/Anonymous (nobody)
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: Nobody/Anonymous (nobody)
Date: 2003-11-12 14: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: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to