struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Marco.Mistr...@nokia.com>
Subject form bean
Date Fri, 20 Jun 2003 13:38:28 GMT
hi all,
	i have a situation in which i have to display a form which
has 'dynamic parameters', meaning that for each request, since i have
to retrieve parameters for the entered function from a function repository,
i may have different parameters for the form.

so, i cannot associate any ActionForm to the Action class that is processing
the request..

Here are the steps, for clarity:
1 - user enters the name of a function in an input form
2 - a form bean will be populated with the parameters retrieved for specific function
3- user has to enter a value for those parameters

step 3 is the problem. the formbean used in 2 contains a java.util.List of all parameters
retrieved, but
it contains only the names.
so, in step 3 user has to enter a value for those parameters.. and since parameters vary from
function
to function, i cannot write a proper form bean.

anyone has some idea on how to solve the situation?
i can always put a 'dummy' action form that will not be used..but it does not seem to me a
proper
solution...

regards
	marco


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


Mime
View raw message