Wouldn't I be ok with an AjaxDirectLink? Would the AjaxForm still be submitted even if I used AjaxDirectLink attached to my button instead of AjaxSubmit?
On 4/6/06,
Leonardo Quijano Vincenzi <[EMAIL PROTECTED]> wrote:
But in any case implementing a listener won't prevent client side
validation from firing.
There was an old Tapestry issue about this (JIRA is down so I can't see
exactly what it is).
--
Ing. Leonardo Quijano Vincenzi
DTQ Software
Jesse Kuhnert wrote:
> Yeah, I would use AjaxDirectLink for something like that. Unless you
> need to interact with something in the form when hitting cancel it
> doesn't really make sense to try going that route.
>
> There is also a dojo Wizard widget, though I've never used it.
> http://archive.dojotoolkit.org/nightly/src/widget/Wizard.js
>
> On 4/6/06, *Tim Downey * <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Hi Jesse,
>
> We're implementing a set of Wizard widgets. They'll have the
> normal complement of buttons you'd see in a Wizard, like Previous,
> Next, Finish, etc.
>
> I was hoping to use Form Cancel functionality to handle Previous.
> When someone pushes the Previous button I want to make sure all of
> the form validation and field setting is skipped and any value
> changes are ignored. In a non-ajax application, form cancel would
> work pretty well.
>
> Do you mean to call a listener directly and avoid submitting the
> form? That would probably work too. Can I do that with a button
> instead of a link with a Tacos component? Would I used
> AjaxDirectLink for that? How would I attach it to a button?
>
> Thanks,
> -tim
>
>
> On 4/6/06, * Jesse Kuhnert* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> I don't know if the notion of "cancel" is really even
> possible. Yes you could get access to the IO object being used
> to perform the ajax request, but canceling that would merely
> close the IO stream.
>
> I think the only possible notion of cancel that's realistic is
> just allowing you to call a listener in your page / component.
> At least that sounds right to me. ?
>
>
> On 4/6/06, *Tim Downey* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Hi,
>
> Maybe this is a silly question, but what is the proper way
> to Cancel an AjaxForm? Should I use the standard Tapestry
> solution of using a standard button with an onclick that
> calls 'document. /form-name/.events.cancel()'? That seems
> sort of primitive given all of the dojo connect capabilities.
>
> Will that be properly intercepted by the AjaxForm to cause
> a real Ajax cancel, or will that perform a standard form
> submission?
>
> Thanks a lot!
> -tim
>
>
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://opennotion.com
>
>
>
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://opennotion.com
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel
