On 08.11.2010, at 02:51, Andy Burnett wrote:
I suspect this is a very basic question.
I would like to use Pier as the basis of a group brainstorming system. In order to do
this, I need to build a new component that would have a small text entry box, and a list
display holding all the entries.
It seems as though some other components have subclassed PRWidget, but not all of them.
So, before I go shooting off down the wrong path, could someone explain if there is a best
starting point?
Just a short extension to Lawsons mail. It depends what you need to do. Pier is a
system based on Magritte and Seaside. And that is reflected in the object hierarchie. To
be able to do just a web component you need to subclass WAComponent. This component has
just a dependency on seaside and can be run without pier. If you subclass MAComponent you
can make use of Magritte related stuff. But then you also need Magritte to able to run
your component. And finally PRWidget eases your use in a pier environment. And again pier
is your dependency then.
So if you only want to display a text box and a list that you define yourself than you
should subclass WAComponent.
hope this helps,
Norbert