On Nov 21, 2007 7:50 PM, Joshua Jackson <[EMAIL PROTECTED]> wrote:
> Yes that's what I mean, I couldn't find document on creating custom
> component that extend from Component.

It doesn't make sense to have such a tutorial. You need to decide what
you'll be building and what base class comes closest to what you want.
WebComponent is the absolute base class (for web applications) that
don't nest other components (Labels) and WebMarkupContainer is the
base for pretty much anything else. If you need markup attached, you
would start with Panel or Border, and if your component needs to work
in a form, you would extend from at least FormComponent. And then
there is Repeater for anything that 'repeats' and the tree base
classes. All very different cases, but what they have in common is
that you just extend their Java classes, customize by looking at their
APIs (particularly at what abstract/ protected methods there are) and
maybe plugin some behaviors.

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to