File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Retrieving indexed property of form-bean
Joined: Jun 09, 2000
Aug 30, 2006 13:44:00
I have a form-bean which is subclass of ActionForm and in
I have defined an text field as indexed (as it is inside logic:iterate tag)
I don't know how to retrieve value in my action form as the simple
is not returning anything
my jsp code is as follows
<logic:iterate id="bean" name="QUOTE_DETAILS" property="nonMediaPackQuoteResults" indexId="i" type="com.symantec.qg.to.QuoteDetailTO"> <html:text name="bean" property="quantity" size="4" indexed="true"/> </logic:iterate>
If any one of you guys have faced this issue and can share the solution that will be really benevolent
SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
Joined: Feb 15, 2005
Aug 30, 2006 17:22:00
It's not enough just to specify
in your <html:text> tag. You must also structure your ActionForm bean so that it can handle indexed properties.
The following URLs give examples and hints on how to use indexed properties:
[ August 30, 2006: Message edited by: Merrill Higginson ]
subject: Retrieving indexed property of form-bean
Indexed properties problem- Confusing
can't get indexed form property to work.
Indexed Properties with List of Strings
Nested Iterator Tags
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014