You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Peter L. Berghold" <pe...@berghold.net> on 2007/05/25 22:30:45 UTC

Let me rephrase the problem slightly.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

... let's pretend there are no nested forms involved in this.

If I have an input box such that:

<html:text property="ndays_rq"/>

is there a way for user input to that input box to drive the dynamic
creation (display? rendering?) of other form elements such as:


<html:text property="day_1_rq"/>
<html:text property="day_2_rq"/> ... etc.


If I can figure that out, perhaps the nested portion of the problem set
will make more sense to me....

- ----
Peter L. Berghold                              Unix Professional
Peter@Berghold.Net             AIM: redcowdawg YIM: blue_cowdawg
"Those who fail to learn from history are condemned to repeat it."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGV0d0UM9/01RIhaARAku8AJ0Sek1tcigi6W+zMv/bIp+TewKHWACfYBXK
1cmcnCnp8gfkDhDroEuyigw=
=nOZY
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Let me rephrase the problem slightly.

Posted by Dave Newton <ne...@yahoo.com>.
--- "Peter L. Berghold" <pe...@berghold.net> wrote:
> If I have an input box such that:
> 
> <html:text property="ndays_rq"/>
> 
> is there a way for user input to that input box to
> drive the dynamic creation (display? rendering?) of 
> other form elements such as:
> 
> <html:text property="day_1_rq"/>
> <html:text property="day_2_rq"/> ... etc.

Sure... but you might want to create the HTML tags
yourself to avoid the hassle of doing that through the
Struts framework.

I only did that in S1 once, but have several S2 pages
where I create plain old input tags and it works fine.

d.



       
____________________________________________________________________________________Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org