Answering my own question:

This seems to work

<a t:type="ActionLink" t:id="cancelButton">
        <button>Cancel</button>
</a>

The actionLink returns another page so the submit is canceled.

Martijn


On Wed, 2008-07-02 at 11:00 -0700, Martijn Brinkers (List) wrote:
> Hi,
> 
> I have added a cancel button to my form. When the cancel button is a
> submit button it seems that client side validation is still done because
> the validator cannot make a distinction between the submit and cancel
> button. I now have replaced the cancel button with an actionLink like
> mentioned here:
> 
> https://issues.apache.org/jira/browse/TAPESTRY-2109
> 
> The only problem I now have is that I want my cancel button to look like
> the submit button. Any tips on how to make them look similar?
> 
> Thanks
> 
> Martijn
> 
> 


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

Reply via email to