Hi,
For one of the methods my lookupdispatch action doesnt work.
Struts-config.xml
-------------------
<action
name="stopPaymentsDisplayForm"
path="/secured/stoppayments/stopPaymentRemove"
scope="request"
type="com.scotiabank.sco.web.actions.stoppayments.StopPaymentsRemoveAction"
validate="true"
parameter="submit">
<forward name="success" path="masterLayoutRemove"/>
</action>
Action
--------
protected Map getKeyMethodMap() {
System.out.println("-===============StopPaymentsRemoveAction==============");
Map map = new HashMap();
map.put("button.remove", "remove");
map.put("button.select", "select");
return map;
}
and remove method
In Jsp
-------
<html:form name="stopPaymentsDisplayForm" action="/secured/stoppayments/stopPaymentRemove" type="com.scotiabank.sco.web.forms.stoppayments.StopPaymentsDisplayForm">
<html:submit property="submit" styleClass="formSubmission"><fmt:message key="button.remove" /></html:submit>
</html:form>
Similar stuff works for other method but for this one it doesnt work.
[17/01/06 18:28:29:031 EST] 49d6f896 DispatchActio E org.apache.struts.actions.DispatchAction Request[/secured/stoppayments/stopPaymentRemove] does not contain handler parameter named submit
Any help would be appreciated.
For one of the methods my lookupdispatch action doesnt work.
Struts-config.xml
-------------------
<action
name="stopPaymentsDisplayForm"
path="/secured/stoppayments/stopPaymentRemove"
scope="request"
type="com.scotiabank.sco.web.actions.stoppayments.StopPaymentsRemoveAction"
validate="true"
parameter="submit">
<forward name="success" path="masterLayoutRemove"/>
</action>
Action
--------
protected Map getKeyMethodMap() {
System.out.println("-===============StopPaymentsRemoveAction==============");
Map map = new HashMap();
map.put("button.remove", "remove");
map.put("button.select", "select");
return map;
}
and remove method
In Jsp
-------
<html:form name="stopPaymentsDisplayForm" action="/secured/stoppayments/stopPaymentRemove" type="com.scotiabank.sco.web.forms.stoppayments.StopPaymentsDisplayForm">
<html:submit property="submit" styleClass="formSubmission"><fmt:message key="button.remove" /></html:submit>
</html:form>
Similar stuff works for other method but for this one it doesnt work.
[17/01/06 18:28:29:031 EST] 49d6f896 DispatchActio E org.apache.struts.actions.DispatchAction Request[/secured/stoppayments/stopPaymentRemove] does not contain handler parameter named submit
Any help would be appreciated.