There is a form tag. I am able to get the list if I use <s:iterator> but it doesn't work if I try to access the list through <display> tag
Chris Pratt wrote: > > wrap it in a <form> tag, maybe? (*Chris*) > > On Fri, Sep 5, 2008 at 7:08 AM, tutul <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> >> Does anyone knows how to retrieve data back from <display:table> once it >> is >> shown on the page? >> I have a editable display table that I am using to display data in an >> editable format. I am using it for the Add/Edit screen. I could display >> it >> in the Add/Edit screen but once the user submit the data, I am not able >> to >> retrieve the list back again. >> My syntax is as follows: >> <display:table name ="someList" uid="set" class="dataTable"> >> <display:column property="name" title="Name" >> class="dataCellText" > >> <input type="hidden" name="name" value="${set.name >> }"/> >> </display:column> >> <display:column title ="Value"> >> <input type="text" name="value" >> value="${set.value}"/> >> </display:column> >> </display:table> >> >> and in my action I am trying to retrieve the list back as getSomeList() >> and >> it is throwing a null pointer exception. I have been using the >> <display:table> only for display data so far. Does it not allow you to >> edit/enter the data? Does anyone know?? >> >> Thanks >> Tuni >> -- >> View this message in context: >> http://www.nabble.com/Editable-%3Cdisplay%3Atable%3E-tp19331960p19331960.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 >> > > ------------------------------------------------------------------------- > 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 > > -- View this message in context: http://www.nabble.com/Editable-%3Cdisplay%3Atable%3E-tp19331960p19336359.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