Yes, you are correct, accidentally put <tr> instead of <td> in the question. I am looking for a capability for creating different <td> parameters inside the displaytag table.
It would be something like this :

<display:table name="${myDataSet}" id="myData">
<display:td_pass_thru_properties>
     <display:tdproperty  name="colspan"  value="${myData.size}"/>
     <display:tdproperty name="bgcolor" value="${myData.color}"/>
</display:td_pass_thru_properties>
</display:table>

when displaytag is rendering the table it would query each data element for the properties specified, and add them as parameters to each <td> tag .

I would be interested in tinkering with the source to get something like this to work... could somebody point me to the general set of classes/files/workflow that I would need to inject this into?

I humbly confess that I have not even seen the source for DisplayTag and know very little about the way it works on the inside.

Nat


On 9/2/06, Rick Herrick <[EMAIL PROTECTED]> wrote:

Your <tr> tags are actually the same.  I'm assuming you mean changes in the <td> tags for different column structures?  I don't believe that there is a way to do that.

 

Rick Herrick

[EMAIL PROTECTED]

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nathaniel Rahav
Sent: Friday, September 01, 2006 5:48 PM
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] <TD Colspan=X> inside displaytag ?

 


Dear Displaytaggers,

Greetings. Does anybody know of a way in DisplayTag to specify individual <tr> attributes that may be variable across different columns and different rows in a table?

For example, how could I build a table using DisplayTag to display the following:

<table >
<tr><th>Day 1</th>
         <th>Day 2</th>
         <th>Day 3</th>
         <th>Day 4</th>
</tr>
<tr>
       <td COLSPAN="3">Reserved</td>
       <td COLSPAN="1">Available</td>
</tr>
<tr>
      <td colspan="1">Available</td>
      <td colspan="2">Reserved</td>
       <td colspan="1">Available
</tr>
</table>

I'm attaching an image of this table so you see what Im trying to do.

Thanks
Nat




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to