I looked more into this, and it looks like it isn't using data from the
the previous row, but only the *first* row. Would somebody mind doing a
quick test to help me out please?
- Nic.
Nic Werner wrote:
Hi,
I've got a table that contains a mailto link, which allows the user
to create a custom email based on the contents of the table.
To populate the mailto link, I expose the id as 'row' and use
variables, such as ${row.ipaddress}. This works fine for the first
row, but subsequent rows only contain data from the first row!
Am I doing something wrong? I'm not using the paramId here at all,
because it didn't seem to apply.
Here is an example, I cut out most of it due to formatting. Input is a
JSTL query called 'person':
<display:table id="row" name="${person.rows}" cellspacing="1"
export="false" sort="list">
<display:column property="building" title="Building"/>
<display:column property="rm" title="Room"/>
<display:column property="department" title="Department"/>
<display:column href="mailto:[EMAIL PROTECTED] Email
for%3A%20${row.ipaddress}" paramId="outlet" property="ipaddress"
title="IP Address"/>
</display:table>
Thanks,
- Nic.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user