[Seaside] Rendering Component in a WAPragmaBasedRestfulHandler

Camillo Bruni camillo.bruni at inria.fr
Wed Apr 13 16:20:44 UTC 2011


On 2011-04-13, at 18:09, Olivier Auverlot wrote:

> Hi Camillo,
> 
> I have just published a draft of a tutorial about Seaside-Rest (in french). 
> 
> http://www.auverlot.fr/index.php?z=21
> 
> Hope that could help you.

Cool, just had a look at it. 
Though forwarding to a normal WAComponent is not mentioned.

camillo

> Best regards
> Olivier ;-)
> www.auverlot.fr
> 
> 
> Le 13 avr. 2011 à 17:38, Camillo Bruni a écrit :
> 
>> Hi,
>> 
>> I am onto building test website in seaside which should have nice urls. I stumbled upon the Seaside-REST package, which seems like a nice solution to map the urls onto state and components.
>> 
>> However so far I could not figure out how I should render a component from within a WAPragmaBasedRestfulHandler method.
>> 
>> This is how I imagine it should work: 
>> request -> stateful request handler -> choose component and initialize state -> render component
>> 
>> What is the proper way to do this?
>> 
>> Thanks,
>> Camillo_______________________________________________
>> 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