samanzone
Nov 23rd, 2006, 05:38 AM
hi all
when i submit a page after select a combo box value , when it return then select one i not select at that time , i load all the combo box value from struts action when i submit all then values are load again to that combo also , otherwise there are not any value
this is the combo code in struts jsp page
select box value not select after submit and render tha page
<select name="logisticService" id="logisticService">
<option value="-">
<bean:message bundle="settlements" key="createSellRate.select" />
</option>
<c:forEach var="log" items="${logisticServiceList}">
<option value="<c:out value="${log.scd}"></c:out>">
<c:out value="${log.name}" />
</option>
</c:forEach>
</select>
thanks
saman
when i submit a page after select a combo box value , when it return then select one i not select at that time , i load all the combo box value from struts action when i submit all then values are load again to that combo also , otherwise there are not any value
this is the combo code in struts jsp page
select box value not select after submit and render tha page
<select name="logisticService" id="logisticService">
<option value="-">
<bean:message bundle="settlements" key="createSellRate.select" />
</option>
<c:forEach var="log" items="${logisticServiceList}">
<option value="<c:out value="${log.scd}"></c:out>">
<c:out value="${log.name}" />
</option>
</c:forEach>
</select>
thanks
saman