Initially I used a submit button for the cancel button. But, that is problematic when you use client side validation because it's not (yet) AFAIK possible to disable client side validation. That's why I tried to use a link to 'escape' from the page. Perhaps a combination of sumbit button and link will be the solution.
Idea: Use a submit button for the cancel but add an onClick event handler. When the event handler gets called you know that javascript is enabled. In the onClick stop the sumbit event en set href to go to the other page. If javascript is not enabled you can use the normal way to cancel the page (by setting a cancel boolean). Martijn On Sat, 2008-07-05 at 14:29 +1000, Geoff Callender wrote: > Agreed. For anyone who's wondering if this is a Tapestry limitation, > I'm pretty sure the answer is no. The limitation is IE. > > If anyone knows how to write plain HTML to make a hyperlink look like > a button, or to make a button behave like a hyperlink, then please > chime in! > > The tricky bit is that it must work in IE and not contain javascript. > > Geoff > > On 05/07/2008, at 1:28 PM, Martijn Brinkers (List) wrote: > > > > > On Sat, 2008-07-05 at 10:03 +1000, Geoff Callender wrote: > >> Ouch, the button displays correctly in IE7 but it just don't respond. > >> In that case I think we're left with the Button component at > >> t5components: > >> > >> <button t:type="t5components/Button" type="button" > >> t:event="click">Do > >> something</button> > > > > That's what I finally did as well and that's working. Too bad though > > that I have not yet found a solution yet that does not require > > javascript enabled. > > > > Martijn > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]