You should be able to nest <ww:textfield theme="simple"/> in a
displaytag column.  However, I don't know if I'd advise doing this.
If you're using a  request-based framework, you're not going to want a
nested/editable table in a form that folks can sort and page through.
You'll probably be better of with c:forEach.  With Struts 1.x, the
nested tags allow you to do all sorts of stuff w/o restoring to JSTL.

Here's a tutorial I found on google:

http://www.laliluna.de/struts-nested-iteration-tutorial.html

Matt

On 2/8/07, Simon Wu <[EMAIL PROTECTED]> wrote:


On 2/7/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> If you're using Struts 1.x, you can't use Sets AFAIK - only Lists. I asked
this on the Struts mailing list a year or two ago and it was confirmed.
Unfortunately, I can't find the e-mail in the archives.


I used webwork-appfuse-1.9.3.
And now I could use display tag to show Sets.
But how can I implement the following feature.
  Only when the Set has one object, use Textfield tag to show this object's
fields.





--
http://raibledesigns.com

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

Reply via email to