[Seaside] Click, Replace and Submit

Alexander Lazarević laza at blobworks.com
Thu Aug 4 08:45:58 UTC 2011


Sorry for the delay guys, but I had to check first if I'm seeing this in
Pharo too. ;)

While experimenting I added the JQAjaxifierLibrary to the application "just
in case, can't hurt can it?"
After removing it again everything seems to be ok.
But the button trick won't work anymore, so Lukas was right there.

Anyway thanks for the help and sorry for the confusion.

Alex

2011/8/3 Johan Brichau <johan at inceptive.be>

> I didn't really want to make a point ;-)
>
> We just need more information on the code to know what is wrong.
>
> Johan
>
> On 03 Aug 2011, at 16:51, Robert Sirois wrote:
>
> > Johan probably has a point here. Make sure JQDeploymentLibrary and
> JQUiDeploymentLibrary (if you're using UI) are included in the libraries in
> the application config.
> >
> > Otherwise, you can include them this way:
> >
> > updateRoot: html
> >       super updateRoot: html.
> >
> >       html javascript url: '
> https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.js'.
> >       html javascript url: '
> https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.js'.
> >       html stylesheet url: '
> http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/themes/redmond/jquery-ui.css
> '.
> >
> > RS
> >
> > > Subject: Re: [Seaside] Click, Replace and Submit
> > > From: johan at inceptive.be
> > > Date: Wed, 3 Aug 2011 11:59:56 +0200
> > > To: seaside at lists.squeakfoundation.org
> > >
> > > Alex,
> > >
> > > What is the code you use to include the scripts? Where is it located?
> > >
> > > And what is the callback that is executed on form submission?
> > >
> > > On 03 Aug 2011, at 11:11, Alexander Lazarević wrote:
> > >
> > > > Now I'm facing another problem. I'm using some JS libraries and on
> the first request all the <script> references are included in the page.
> > > > After I do submit a form the rerendered page is missing all those
> library references. I still can't figure out where this might go wrong.
> > > > Any suggestions?
> > > >
> > > > Thanks,
> > > > Alex
> > > > _______________________________________________
> > > > seaside mailing list
> > > > seaside at lists.squeakfoundation.org
> > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> > >
> > > _______________________________________________
> > > seaside mailing list
> > > seaside at lists.squeakfoundation.org
> > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110804/2c01e3af/attachment-0001.htm


More information about the seaside mailing list