[Seaside-dev] WAActionCallback not enabled for AJAX

Gerhard Obermann obi068 at gmail.com
Tue Oct 26 22:20:58 UTC 2010


Thanks Lukas, Its working now.

I am still not sure if this is a good solution.

Cheers
Gerhard


On Tue, Oct 26, 2010 at 11:38 PM, Lukas Renggli <renggli at gmail.com> wrote:

> You have to patch the request header 'X-Requested-With' as this is for
> example done in the Ajaxifier library.
>
> Lukas
>
> On 26 October 2010 23:30, Gerhard Obermann <obi068 at gmail.com> wrote:
> > Hi!
> > I am currently trying to use JQuery Mobile (Alpha) with Seaside 3.0.
> > The problem is that this lib catches all anchor clicks and
> > performs ajax calls to get a new page, which is a fully render xhmtl
> page.
> > The WAActionCallback doesn't currently allow such ajax callbacks.
> > They are blocked with this method:
> > isEnabledFor: aRequestContext
> > " ^true"
> > ^aRequestContext request isXmlHttpRequest not
> > What would be a good solution to enable such callbacks also for AJAX
> calls.
> >
> > Cheers
> > Gerhard
> > _______________________________________________
> > seaside-dev mailing list
> > seaside-dev at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
> >
> >
>
>
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20101027/4a3e5d4c/attachment-0001.htm


More information about the seaside-dev mailing list