Hi everybody,
I explain my problem. I am doing an application with struts and velocity
that permit to automatically generate my forms.
To make simple my form would be something like that:
<form name="element" action="$link.setAction("runJob")">
#foreach ($element in $myBean.listofelements )
<input type="hidden" name="name" value="$element.name">
<input type="text" name="value">
#end
<input type="submit" value="Run">
</form>
What I need is a way to retreive my parameters in a list or a hashtable of
the same size as the number of elements I have which contains
$element.name and corresponding value enter by users.
I investigated on DynaActionForm but it does not seem that I can do that
with it. So, is Struts permits a such things or is anyone would propose me
an alternative way to do what I want?
Thank you for your help.
Pierre-Alain Branger
Program of Computational Genomics
Campus Morelos
Tel. +52 777 13 100 24
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]