Hi everyone, I have a <html:form> in which i have several buttons like this:
<html:submit property="actionType"> <bean:message key="button.add"/> </html:submit> <html:submit property="actionType"> <bean:message key="button.delete"/> </html:submit> <html:submit property="actionType"> <bean:message key="button.update"/> </html:submit> With the help of this I use the LookupDispatchAction which my Action class extends. This works fine for my submit buttons. My action-mapping <action path="/MyAction" type="com.mycompany.MyAction" name="myBean" parameter="actionType"> <forward name="input" path="/pages/myPage.jsp"/> </action> However, I also have a <html:text property="propKey" size="55"/> in the same <html:form>. When the text field has focus and I press enter the LookupDispatchAction does not work.This because the execute method of LookupDispatchAction does not receive any value in the parameter actionType. Is this a trap, that LookupDispatchAction cannot handle this particular case? Best regards Lasse --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]