Amish Shah wrote:
>
> Hi,
>
> I am new to the Display Tag library. I’d like to add a column with a 
> checkbox into the table. How would I do that? I didn’t see any 
> examples that seems to fit my purpose and am wondering if I can do this.
>
> Amish
>
>
There's nothing in DisplayTag that will do this for you. Remember all 
DisplayTag does is _display_ the information you give it. If you define 
a column something like this:

<display:column titleKey="select.item">
<input type="checkbox" name="itemid" value="13542"/>
</display:column>

then it will display a check box. However it is up to you to make sure 
the checkbox is given the correct state and up to you to handle the form 
submission after a user has checked boxes. DisplayTag will not do any of 
this for you.

Ed!

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to