struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcello Savino" <>
Subject R: iterating Vector of HashMap using Logic:iterate
Date Thu, 21 Sep 2006 08:18:06 GMT

<html:select property="theVarHoldingFieldValue" >
<html:optionsCollection  property="theHashMap" label="key" />

Hih, Marcello
-----Messaggio originale-----
Da: Venkata Phani Kumar [] 
Inviato: giovedì 21 settembre 2006 9.18
A: Struts Users Mailing List
Oggetto: iterating Vector of HashMap using Logic:iterate

I have a Vector<HashMap>. Each HashMap holds two elements as key  'field1' and 'filed2'.
Now in jsp page i have to iterate over above vector and have to construt one combo box as
<select name="">
    <option value="field1">field2</option>

could any body help how to display as above using <logic:iterate>
Venkata Phanikumar. G

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message