On 02/03/2008, Carlos Ortiz <[EMAIL PROTECTED]> wrote: > > Thank you very much Peter for pointing me this out. But I also have a > question besides what you have taught me. How do I refer to the record > being rendered in the input type=checkbox, > > I mean, I give the list to the display tag, and how I tell in the column > that I need a value from that list as it iterates.
This is what you are looking for: http://displaytag.sourceforge.net/11/tut_implicitobjects.html DisplayTag creates several implicit objects you can access. Mike On Wed, Feb 27, 2008 at 2:43 AM, Peter Schneider-Manzell < > [EMAIL PROTECTED]> wrote: > > > Hi! > > > > By searching "dispalytag" in google, you find the following link: > > displaytag.sourceforge.net/ > > > > How to add different decorators to a column: > > http://displaytag.sourceforge.net/11/tut_decorators.html > > You can also use normal JSP, e.g. > > > > <display:column/> > > <c:choose> > > <c:when test="${yourObject.yourBooleanProperty}"><input type="checkbox" > > checked=checked/></c:when> > > > > > > > > <c:otherwise><input type="checkbox"/></c:otherwise> > > </c:choose> > > </display:column> > > > > How to configure the paginator: > > http://displaytag.sourceforge.net/11/configuration.html > > > > > > > > > > Bye, > > > > Peter > > > > > > > > > > 2008/2/27, Carlos Ortiz <[EMAIL PROTECTED]>: > > > > > Hi > > > > > > This is simple, following is a table which I need to know if it can be > > > generated using DisplayTAG > > > > > > Column1 Column2 Column3 > > > 1 abc [ x] > > > 2 abc [ ] > > > Prev/First 1 2 3 Next/Last -> Paginator controls > > > > > > > > > In fact, question is about how to configure paginator below the table, > > > and how to set up in column 3 contents checkboxes and to retrieve > > > afterwards > > > their values. > > > > > > Any help required to know if this is possible, comments, or links to > > > documentation appreciated. > > > Thanks > > > > > > > >
