Durham David Contr 805 CSPTS/SCE wrote the following on 9/13/2004 6:42 PM:
What about cookies? I'm not trying to be a jerk (that's a difficult task for me, btw), but I'd like to point out that this logic exists within the Struts framework, and replicating it in JavaScript would be, well, replicating it...
I'm keen to this dispatch idea.
Right, that's why I used the html:rewrite tag (knew there was a reason:). Remember, there are not that many cases where I even need this javascript function to rewrite the html action. It's only in the cases where you have several different buttons that can submit the one form.
I'm going with this solution at the moment to be consistent but I still might opt at a later time for a slightly modified MappingDispatchAction class that will look for a certain ending to the parameter name (maybe _dispatch) and if it sees that, will defer to acting as a regular DispatchAction. This would give me the best of both worlds if I wanted to avoid the javscript form action rewrite.
-- Rick
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]