Hi, 
   Try using the uid attribute of display:table. Something like

<display:table name="${messageFolder.messages}" pagesize="20"
requestURI="${refreshURL}" uid="currentRowObject">
    <display:column><input type="checkbox"
name="check_msg_${currentRowObject.id}" /></display:column>
</display:table>



Film Noir wrote:
> 
> Greetings,
> 
> Is it possible to access the currentRowObject within the column tag inside
> a page? I'd like to include a checkbox in a column and give it a unique
> name based on the id of the objects being iterated, however I'd prefer not
> to have to hardcode any html inside a decorator class
> 
> This is what I'm getting at:
> 
> <display:table name="${messageFolder.messages}" pagesize="20"
> requestURI="${refreshURL}" >
>     <display:column><input type="checkbox"
> name="check_msg_${currentRowObject.id}" /></display:column>
> </display:table>
> 
> It would be incredibly useful is anything like this is possible with
> displaytag.
> 
> Regards,
> Alan. 
> 

-- 
View this message in context: 
http://www.nabble.com/Accessing-currentRowObject-in-page-tp20358774p20358977.html
Sent from the DisplayTag - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to