I want to create form components( Select Boxes) in loop. My problem is
how do I display pre selected values in those select boxes.
page does not know about those components as they are created on the run
time and not defined in the
.page specification.



<span jwcid="@For" source="ognl:eventRegistrationUpdates"
value="ognl:eventRegistrationUpdate">

<select jwcid="[EMAIL PROTECTED]" id="ageRangeListID"
tabindex="140">
        
<option value="">-- Select --</option>
        
<span jwcid="@Foreach" source="ognl:application.ageRangeList"
value="ognl:eventRegistrationUpdates.ageRange">
        
<option jwcid="@Option"
selected="ognl:eventRegistrationUpdates.ageRange"
label="ognl:eventRegistrationUpdates.ageRange.description"/>
        
</span>
        
</select>
</span>
eventRegistrationUpdates is a object that I loop through. Now I have to
display pre selected values in every select box ( value from
eventRegistrationUpdates object)


______________________________________________________________________
This e-mail has been scanned by The Leukemia & Lymphoma Society Managed Email 
Content Service, provided by MCI and Message Labs.

NOTICE: This message, including all attachments transmitted with it, is for the 
use of the addressee only. It may contain proprietary, confidential and/or 
legally privileged information. No confidentiality or privilege is waived or 
lost by any mistransmission. If you are not the intended recipient, you must 
not, directly or indirectly, use, disclose, distribute, print or copy any part 
of this message. If you believe you have received this message in error, please 
delete it and all copies of it from your system and notify the sender 
immediately by reply e-mail. Thank you.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to