R.Vijayaraghavan wrote:
Hello,

I am using displaytag to display a table of records. I am able to add a
checkbox as the first column using:

<display:column>
        <html-el:checkbox property="checkbox_name" value="" />
</display:column>

The problem is that I am not able to set a unique value for each checkbox. I
am having a column in the recordset stored in a RowSetDynaClass that has the
unique values for all the checkboxes. I just need to assign them
appropriately.

If your display:table is using the RowSetDynaClass as its data source, you can set uid="row" in the table tag, then set value with value="${row.someProperty}". See the displaytag documentation for information on the uid attribute.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to