Dear struts people !
What am i doing wrong - must be some sort of double submit, but why ?
Let me sketch my problem to you - using for the first time transactional
tokens, i have the following setup :
1. in my jsp :
<html:form action="/parameter">
.....
<html:link page='' onclick="submitSelect('save')" transaction='true'
styleClass="button">
<bean:message key="label.buttons.WF.submit"/>
</html:link>
...
</html:form>
2. where submitSelect is a javascript function:
function submitSelect(method) {
document.forms[0].method.value = method;
document.forms[0].submit();
}
3. and in my action class subclassing dispatch action there is method
save(....).
Following strange behaviour (to me) occurs :
1.) having beakpoint inside save(...) method in action class shows it
hit the right method and is working.
2.) but after "return mapping.findForward("WF_PARAMETER_CHOOSE");" from
my action, struts complains with status 404 :
message Request[/parameter] does not contain handler parameter
named method
description The request sent by the client was syntactically
incorrect (Request[/parameter] does not contain handler parameter named
method).
3.)it worked before deciding to use transactional tokens with :
<html:link
href="javascript:submitSelect('save')" styleClass="button">
<bean:message
key="label.buttons.WF.save"/>
</html:link>
So your help is appreciated, thanks J�rg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]