Richard,
this is quite easy.
Here is an excerpt from one of my pages using radio buttons and operations
on rows:
<display:table name="${myActionForm.myCollection}"
decorator="net.cityexperience.view.cms.AccessPointViewDecorator"
requestURI="/Edit.do"
id="object">
<display:column property="id" titleKey="id"/>
<display:column property="name" sortable="true" titleKey="name"/>
<display:column titleKey="main">
<html:radio property="main" value="${object.id}"/>
</display:column>
<display:column property="editAction" title="">
<img src="edit.gif"/>
</display:column>
<display:column property="detachAction" title="">
<img src="detach.gif"/>
</display:column>
</display:table>
The last three columns may be interesting:
the third last is the column using a radio-button, the two at the end
provide an edit- and a detach-method. For the operations I use a
TableDecorator ("AccessPointViewDecorator"), which provides the content (an
URL to a button with the <a>-tag).
Martin
> -----Ursprüngliche Nachricht-----
> Von: R. Markham [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 26. September 2005 18:22
> An: 'Struts Users Mailing List'; [EMAIL PROTECTED]
> Betreff: AW: Looking for a table library
>
>
> Hi Martin,
>
> I don't find a way how to put input (Text, CheckBox or
> RadioButton) in a column. It seems to me that I only can use
> the cells as output string. I already use the table of
> http://www.displaytag.org) in my Application but I am looking
> how to put a checkbox in a cell.
>
> Regards
>
> Richard Markhham.
>
> -----Ursprüngliche Nachricht-----
> Von: Martin Kindler [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 26. September 2005 15:25
> An: 'Struts Users Mailing List'
> Betreff: AW: Looking for a table library
>
> Richard,
>
> take a look at the Displaytag library (http://www.displaytag.org).
>
> Martin
>
> > -----Ursprüngliche Nachricht-----
> > Von: R. Markham [mailto:[EMAIL PROTECTED]
> > Gesendet: Montag, 26. September 2005 15:14
> > An: 'Struts Users Mailing List'
> > Betreff: Looking for a table library
> >
> >
> >
> >
> > Hi all,
> >
> >
> >
> > I have a table in my jsp. To be able to process the data of a
> > row in a table I want to be able to mark a row in the table
> > and read the content of the row, through the row number of
> > marked line. I think this a very common problem, somewhere
> > there must be a solution for this problem.
> >
> >
> >
> > TIA
> >
> >
> >
> > Richard Markham
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]