Re: Re: cancel doesn't seem to work cross browser

2006-08-28 Thread Sam Gendler
On 8/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Not to be rude but: -) This isn't the tacos mailing list. well, yeah, but the problem started out as a problem with regular tapestry forms and just happened to turn out to be a problem with tacos. -) You ~are~ a tacos developer with full

Re: Re: cancel doesn't seem to work cross browser

2006-08-28 Thread Sam Gendler
I am sure the fix fixes AjaxForms. Unfortunately, it breaks any non-AjaxForms that are on the same page. I have a page with a number of AjaxForms (included as part of a component) as well as a normal tapestry @Form component. Since tacos.js overrides functionality globally, for all forms, it br

Re: Re: Re: Re: Re: cancel doesn't seem to work cross browser

2006-08-28 Thread Sam Gendler
I am guessing that frm.oncancel and frm.onrefresh only get defined if it is actually an tacos supplied form, rather than a regular tapestry supplied form. So we have a situation where including any tacos component causes the tacos.js file to force us to use the tacos supplied methods, yet the tac

Re: Re: Re: Re: cancel doesn't seem to work cross browser

2006-08-28 Thread Sam Gendler
OK, so after pulling the latest tacos source and checking out tacos.js, I see that the mentioned methods are indeed newer than my current build. So I ported all my changes to the latest tacos trunk AND I went ahead an upgraded to a custom build of dojo 0.3.1. Aside from the (longstanding) proble

Re: Re: Re: cancel doesn't seem to work cross browser

2006-08-28 Thread Sam Gendler
Actually, I still don't have a fix. According to the FAQ entry you referred me to earlier: In ajax Forms you'll have to use tacos.refreshForm(document.form) or tacos.cancelForm(document.form). but neither function exists anywhere in the tacos object. I get: tacos.cancelForm is not a function

Re: Re: cancel doesn't seem to work cross browser

2006-08-28 Thread Sam Gendler
Yeah, that definitely needs to be documented somewhere REALLY obvious. I am using other tacos components on the page, so tacos.js is being loaded, even though it isn't using an AjaxForm. As a result, tacos.js is getting loaded and it is overloading the behaviour. Really, if tacos is going to ove

Re: Re: Re: cancel doesn't seem to work cross browser

2006-08-28 Thread Sam Gendler
I assume that submitType is also a 4.1'ism, since it isn't mentioned anywhere in the tap 4.0 docs? As it happens, I am not using a submit component. I am using my own component and trying to make it cancel a form and failing miserably. --sam On 8/28/06, Sam Gendler <[EMAIL PROTECTED]> wrote:

Re: Re: cancel doesn't seem to work cross browser

2006-08-28 Thread Sam Gendler
Actually, I am on Tap 4.0.2 and it isn't an AjaxForm. Unless you are saying that merely the existence of tacos causes the overloaded behaviour, even on regular tapestry forms. --sam On 8/28/06, andyhot <[EMAIL PROTECTED]> wrote: Jesse Kuhnert wrote: > I'm assuming you are working in 4.1 if th