This did the trick. Thanks very much..
-Tuni
---
Use a s:textarea tag insted of an html input
s:textarea name=demandRequest[%{#stat.index}].comments
value=%{comments}
/
--
View this message in context:
http://www.nabble.com/submit-%3Cs%3Aiterator%3E-list-tp23726145p23742020.html
Sent
Hi,
Does anyone knows how I can submit a list back to the action??
I have a ListDemandRequest that I am displaying in the jsp. DemandRequest
has Id, status, comments. Some of the fields in it are pre-populated (id)
but some of them will be added by the user (comment, status). I have it send
it
Use a s:textarea tag insted of an html input
s:textarea name=demandRequest[%{#stat.index}].comments value=%{comments}
/
On Tue, May 26, 2009 at 11:01 AM, tutul shubhrakarma...@hotmail.com wrote:
Hi,
Does anyone knows how I can submit a list back to the action??
I have a ListDemandRequest
accepter aucune responsabilité
pour le contenu fourni.
Date: Tue, 26 May 2009 09:01:06 -0700
From: shubhrakarma...@hotmail.com
To: user@struts.apache.org
Subject: submit s:iterator list
Hi,
Does anyone knows how I can submit a list back to the action??
I have a ListDemandRequest
tutul wrote:
Does anyone knows how I can submit a list back to the action??
What happens when you run the code? Is it a typo that the setter is
missing the opening paren for the parameters? Just glancing at it it
seems like it should work.
Oh, wait. Did you check the rendered HTML to see
5 matches
Mail list logo