On Thursday 11 December 2008 22:42:48 Nils-Helge Garli Hegvik wrote:
> >
> > The s:form equivalent of the nested-example above should be something like:
> >
> >        <s:form name="myForm">
> >          <s:push value="person.address">
> >                <s:textfield name="street"/>
> >          </s:push>
> >        </s:form>
> >
> 
> Wouldn't <s:textfield name="person.address.street"> to the trick?

Yes, ofcourse, but that's exactly what I'm trying to avoid. The point is when 
you're creating advanced GUIs you don't always know that "full path", so making 
it possible to include a JSP (jsp:include) for rendering some input-values 
after having s:push'ed is of tremendous value.

-- 
Andreas Joseph Krogh <andr...@officenet.no>
Senior Software Developer / CEO
------------------------+---------------------------------------------+
OfficeNet AS            | The most difficult thing in the world is to |
Karenslyst Allé 11      | know how to do a thing and to watch         |
PO. Box 529 Skøyen      | somebody else doing it wrong, without       |
0214 Oslo               | comment.                                    |
NORWAY                  |                                             |
Tlf:    +47 24 15 38 90 |                                             |
Fax:    +47 24 15 38 91 |                                             |
Mobile: +47 909  56 963 |                                             |
------------------------+---------------------------------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to