Kris Schneider wrote the following on 9/15/2004 2:23 PM:

Yeah, it's fine. For posterity, I didn't look closely enough at the quoting in
the statement. The JSTL equivalent would be:

function swapAction(formName, action) {
    formAction = document.getElementById(formName).action;
    newAction = '<c:url value="/'+action+'.do"/>';
    document.getElementById(formName).action = newAction;
}

Yes JSTL is much better. If I ended up using this solution I'd be using the URL tag as you mention above. As it turns out I'm really loving Mike's SimpleDispatchAction class so I won't be needing this javascript.


Kris, thanks again for all your help on this list and the tags list.

--
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to