I am new to struts so maybe the problem is known but I have seen the
following behaviour.
I use this form:
<html:form action="/processZoek">
selectie: <bean:write name="zoekForm" property="selectie"/><br>
<bean:message key="zoekraak.startvraag"/>
<html:radio property="selectie" value="1" onchange="submit();"
/>Perceel
<html:radio property="selectie" value="2" onchange="submit();"
/>Personen<BR>
<PSEUDO-code, if selectie ==2>
geslachtsnaam: <html:text size="12" property="geslachtsnaam" /><br>
woonplaats: <html:text size="15" property="woonplaats" /><br>
landcode: <html:text size="2" property="landcode" /><br>
landenSelect:<BR>
gemSelect:<BR>
<html:submit><bean:message key="zoekraak.persoon.zoekknop"
/></html:submit> <BR>
</PSEUDO>
<PSEUDO-code, if selectie ==1>
<table>
<tr><td>Gemeente</td><td>Sectie</td><td>Perceel</td></tr>
<tr>
<td><html:text size="5" property="gemeente" /></td>
<td><html:text size="2" property="sectie" /></td>
<td><html:text size="5" property="perceel" /></td>
</tr>
</table>
<html:submit><bean:message key="zoekraak.perceel.zoekknop"
/></html:submit> <BR>
</PSEUDO>
<html:reset><bean:message key="zoekraak.Resetknop" /></html:reset>
</html:form>
which is processed by:
public class processZoekAction extends Action {
/** Creates a new instance of processZoekAction */
public processZoekAction() {
super();
}
public ActionForward execute(
ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response)
throws Exception {
return mapping.findForward("verfijn"); //(GO BACK TO THE FORM)
}
}
In Mozilla, selecting one of the radio-buttins immediately results in a
screen which reflects the new value off "selectie". (This is the desired
behaviour).
In IE, I first have to click one of the submit-buttons.
What causes the difference?
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]