T
Thomas 'Skip' Hollowell
<html:form action="dynAdminGroupMaint">
<html:select property="parmGroup" onchange="this.form.submit();">
<option>
<c:forEach var="group" items="${allGroups}">
<option value="<cut value="${group.id}"/>">
<cut value="${group.name}"/>
</option>
</c:forEach>
</html:select>
</html:form>
I would expect that the select is not being upated with the selected
value because I am not using an <htmlption> tag, just the plain
<option> tag. But I get errors out the wazoo when I try the following:
<htmlption value="<cut value="${group.id}"/>">
<cut value="${group.name}"/>
</htmlption>
It does not like the ${group_id} in the option value parameter.
Any ideas how I can get around this? I want to parse the list and
display the list values in the select box, and then after submitting the
form, display ther select box with the selected value higglighted.
Thanks
Skip.
<html:select property="parmGroup" onchange="this.form.submit();">
<option>
<c:forEach var="group" items="${allGroups}">
<option value="<cut value="${group.id}"/>">
<cut value="${group.name}"/>
</option>
</c:forEach>
</html:select>
</html:form>
I would expect that the select is not being upated with the selected
value because I am not using an <htmlption> tag, just the plain
<option> tag. But I get errors out the wazoo when I try the following:
<htmlption value="<cut value="${group.id}"/>">
<cut value="${group.name}"/>
</htmlption>
It does not like the ${group_id} in the option value parameter.
Any ideas how I can get around this? I want to parse the list and
display the list values in the select box, and then after submitting the
form, display ther select box with the selected value higglighted.
Thanks
Skip.