> How can I create a widget in Pier?
Essentially a widget is just a Seaside component, except that it's a
subclass of PRWidget.
> For example I want to create PRHeaderWidget clone as
> PRKamikazeHeaderWidget. I have a second PRKernel instance named
> 'kamikaze', so I want to use my own Header here, but the original
> one in the default instance.
Go to the /environment/header, click on Edit and select your
component instead of the default one.
> I've tried to create simple PRCommandWidget, but after that I had
> two "Commands" in the Environment->Header->[Edit]->Component class.
Change the #label method on the class site, to tell them apart.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki