You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "VAN DEN BROEK, Johan" <Jo...@ehb.be> on 2003/04/16 16:11:46 UTC

i need some help with struts & forms

Hello,

I want to implement the following:
A form with a dropdown where you can choose the file you wish to work
with. After you 've made your selection you can see the content of the
file (a userprofile or whatever). You must be able to save changes or
just continue and choose another file. So I want to use only one form
for all of this.

How do I do this? Can somebody show me the (struts) way?

Thnx,
Johan



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


Re: i need some help with struts & forms

Posted by Stephen Smithstone <sk...@lchost.co.uk>.
what u could do is have some js that would run when the use selects the file 
from the drop down go to an action that repopulates the form with the select 
file name and the contents of the file in in the form then so and so 



On Wednesday 16 April 2003 3:11 pm, VAN DEN BROEK, Johan wrote:
> Hello,
>
> I want to implement the following:
> A form with a dropdown where you can choose the file you wish to work
> with. After you 've made your selection you can see the content of the
> file (a userprofile or whatever). You must be able to save changes or
> just continue and choose another file. So I want to use only one form
> for all of this.
>
> How do I do this? Can somebody show me the (struts) way?
>
> Thnx,
> Johan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


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