[Seaside] Re: Re: Tons of rest ful url
Lukas Renggli
renggli at gmail.com
Wed Feb 18 08:35:28 UTC 2009
On Wed, Feb 18, 2009 at 9:03 AM, Hilaire Fernandes <hilaire at ofset.org> wrote:
> I don't see where you build the url, or do I miss something?
You were only asking about the lookup ;-)
Building the URL happens in #updateUrl:
Have a look at WABrowser for a complete example of the iteration
between #initialRequest: and #updateUrl:
Lukas
>
> Is the following article still correct with today Seaside ?
> http://kentreis.wordpress.com/2007/06/28/meaningful-seaside-links-after-session-expiry/
>
> Hilaire
>
> Le mercredi 18 février 2009 à 08:58 +0100, Lukas Renggli a écrit :
>> > The idea is the get url like /nomenclature/discipline-2007.html
>> >
>> > Is it possible?
>>
>> Sure, you just do a two step lookup. First you lookup your catalog
>> object using #lookupInCatalog: and then you lookup the attribute using
>> another method. Note that aRequest knows the complete request URL, so
>> you can for example look at its parameters using
>>
>> aRequest at: 'attribute'
>>
>> Lukas
>>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list