Title: Message
Well, someone correct me if I'm wrong, but if you name all of the fields the same thing for each iteration, won't you get a String[] of values, with one per row?
 
for the indexed properties, if you have an indexed property named foo, you'd have methods like this:
 
public void setFoo(int index, Object foo)
public Object getFoo(int index)
 
then, in WW1.x you can (I think) name your properties like this:
 
<input type="textfield" name="foo(1)" value="123"/>
 
in WW2, I think the name would be "foo[1]"
 
All of this is "I think" material, so play with it :-)
 
Jason
-----Original Message-----
From: Seshagiri Varanasi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 3:04 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] Storing dynamic inputs in Action file

Hello Jason,
I am using ww1.2
 
ParameterAware requires that we know the name, value for each parameter. But in my case, I am displaying the parameters in a iterator loop. So the parameter name for every iteration will be the same. Also the number of elements in the iterator may vary.
 
could u please explain the indexed properties a bit more...
 
Thanks,
Seshagiri.


Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Reply via email to