I'm having problems passing the key from the Hash map into the method I have
written to get the value. The code below
does not work - specifically the bit where I try and pass in the
mapEntry.getKey() to locationroomValue. I've hit
a wall trying to sort this - what am I doing wrong - is it a scope issue. If
I hard code the key it works ok.

<logic:notEmpty name="locationForm" property="locationroom">
    <logic:iterate name="locationForm" property="locationroom" indexId="cnt"
id="mapEntry" type="java.util.Map.Entry" >
     <bean:write name="mapEntry" property="key"/>
     <html:text name="locationForm"
property="locationroomValue(<%=(String)mapEntry.getKey()%>)" size="25"
maxlength="25"/>
    </logic:iterate>
</logic:notEmpty>


Thanks


Huw Jones



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

Reply via email to