[Seaside] RE: [Scriptaculous] SUObject not setting document root?

Boris Popov boris at deepcovelabs.com
Fri May 11 19:35:24 UTC 2007


Ah, sigh, never mind, its probably already changed, but since I'm on
VisualWorks I'm using 2.7b1 Seaside with latest Scriptaculous, which is
tailored towards 2.8; does that sound about right, Michel?

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Boris Popov
> Sent: Friday, May 11, 2007 12:34 PM
> To: Lukas Renggli
> Cc: Seaside - general discussion
> Subject: [Seaside] RE: [Scriptaculous] SUObject not setting document
root?
> 
> Ah, then Seaside's #resourceUrl: implementation needs to be updated as
> its currently asking the document's root, so if you're doing any
> rendering in the ajax pass that uses these, the urls won't get
prefixed
> properly at the moment,
> 
> resourceUrl: aString
>  self url: (canvas document root absoluteUrlForResource: aString)
> 
> Cheers!
> 
> -Boris
> 
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> http://tinyurl.com/r7uw4
> 
> boris at deepcovelabs.com
> 
> CONFIDENTIALITY NOTICE
> 
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
> 
> Thank you.
> 
> > -----Original Message-----
> > From: Lukas Renggli [mailto:renggli at gmail.com]
> > Sent: Friday, May 11, 2007 12:30 PM
> > To: Boris Popov
> > Subject: Re: [Scriptaculous] SUObject not setting document root?
> >
> > > Latest SeasideScriptaculous (2.7b1.188.0 /
Scriptaculous-lr.188.mcz)
> has
> > > changed implementation of SUObject>>render:on:, and the change
seems
> to
> > > no longer pass the proper root to the newly created document. In
my
> case
> > > this results in homeless URLs that no longer have a proper
resource
> root
> > > because the default root has no resourceBaseURI :(
> > >
> > > I'll poke around for a fix, but perhaps someone else had figured
it
> out
> > > by now?
> >
> > This is due to a subtle difference between 2.7 and 2.8. In Seaside
2.8
> > the document doesn't know the root anymore. Ask your application for
> > the #resourceBaseUrl.
> >
> > Cheers,
> > Lukas
> >
> > --
> > Lukas Renggli
> > http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list