[Seaside] Click, Replace and Submit

Johan Brichau johan at inceptive.be
Wed Aug 3 16:34:55 UTC 2011


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



More information about the seaside mailing list