[Seaside] WAFileLibrary / Resource Path
ssastre at seaswork.com
Wed Aug 22 14:59:25 UTC 2007
here you have a patched version. I don't know if you want in your
package so I didn't versioned on the MC repository but locally.
I seeing it working here. Plz tell me what do you think
> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre
> de Sebastian Sastre
> Enviado el: Martes, 21 de Agosto de 2007 18:29
> Para: 'Seaside - general discussion'
> Asunto: RE: [Seaside] WAFileLibrary / Resource Path
> > > WAStandardFilesPlus does everything you could want, and
> there is a
> > > config entry you can add**** to your application which
> selects the
> > > resource baseUrl.
> > >
> > I was wrong, the #resourceBaseUrl preference is actually already
> > present in the #server group of configuration items.
> > WAStandardFilesPlus uses it if it is set.
> > Keith
> #baseUrl is answering nil even when resourceBaseUrl is set. I
> was about to suggest this:
> "Answers the URL of the resources holded by the receiver.
> NOTE: it answers a default path unless there is a
> configured one."
> ^ WAUrl fromString: ([:url| url isEmptyOrNil
> ifTrue: [ WAFileHandler
> default baseUrl ]
> ifFalse:[url]] value:
> (WACurrentSession value application
> preferenceAt: #resourceBaseUrl))
> ...but I got to go to a meeting now, so can't implement
> now to see it working
> PD: you mention in your previous email that resourceBaseUrl
> can be set as http://images.serverfarm.com/sebastian/ but
> seems to be not possible without a patch like this how do you
> archieved that?
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 17882 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070822/a135690a/Seaside28Jetsam-sas.14.obj
More information about the Seaside