[Question] Learning Pier .... working with the wiki model

Tudor Girba girba at iam.unibe.ch
Sat Oct 4 17:40:27 MEST 2008


For a detailed example of setting up a Pier instance, take a look at  
PRDistribution from the Pier-Setup package. This class is the one that  
creates the Pier that comes with the distribution.

To create the Pier distribution you should call:
PRDistribution new register.

Cheers,
Doru


On Oct 4, 2008, at 3:39 PM, Lukas Renggli wrote:

>> 1) What are the proper ways to construct a pier model:  MyPierModel
>
> Normally you just do that from the web, not from a workspace. There
> are only very few things (probably none of which you care at the
> beginning) that are not accessible from the web browser.
>
>> 2) In the Morphic world menu there is an entry 'Pier Browser' which  
>> opens an
>> OmniBrowser variant to browse and edit Pier models. When I open it  
>> it shows
>> a model called 'Pier' which is the model of the pier application  
>> under
>>
>> http://localhost:8080/seaside/pier
>>
>> What do I need to do if I want to browse the above mentioned model
>>  MyPierModel?
>
> The morphic 'Pier Browser' shows all the registered kernels from
>
>    PRKernel instances
>
> See the protocol on the class side of PRKernel on how to manage these.
>
>> And a question related to this: How can I replace the 'Pier' model  
>> under
>> http://localhost:8080/seaside/pier with MyPierModel?
>>
>> Thank you for the answers in advance.
>
> The Seaside Configuration interface has a drop-down box that lists all
> the registered kernels.
>
> Moreover you can assign any kernel to a Seaside entry point by
> evaluating something like:
>
>    PRPierFrame registerAsApplication: 'foo' kernel: MyPierModel
>
> Cheers,
> Lukas
>
> -- 
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki



More information about the smallwiki mailing list