[Seaside] Url's

Dmitry Dorofeev dima-sender-3c337a at yasp.com
Wed Oct 26 07:01:07 UTC 2005


By the way,

Could anybody provide a simple how to for people like me on the subject
"Making seaside app URL starting from /"

Especially the case when i already have apps with URLs starting from /seaside

I tried to change it with inspectors and debugger and failed permanently.
Thanks,
-Dmitry

Ramon Leon wrote:
> I see from a previous post, http://tinyurl.com/ajm4a, that a patch was
> made to  WADispatcher#handlerForRequest:relativeTo: to cope with using a
> root url after removing /seaside from the basePath.  While hacking away
> trying to get both a root url, and meaningful urls with extra path info,
> I found I needed to change the condition a bit from:
> 
>   (relativePath notEmpty and: [relativePath first = $/])
> 
> to:
> 
> (relativePath notEmpty and: [(relativePath occurrencesOf: $/) > 0])
> 
> to cope with only grabbing the first part of the path, lookups seem to
> be working now with both a shorter and meaningful url, anyone see a
> problem with doing this?
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the Seaside mailing list