I have a form and it has a 'confirm' and a 'cancel' button.  The 'confirm'
button submits to the Action class.  I'd like the 'cancel' button to
redirect user to another Action, which has a global-forward named 'home'.

Here's what I'm attempting...

<html:submit property="irrelevant" value="Cancel"
onclick="javascript:location.href='<html:rewrite forward="home"/>';"/>

This does not work at all.

Does anyone know how I could do this?

Many thanks.

Lindsay

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

Reply via email to