Take a look at the Table and/or TableView components, as well as the
Palette components.  They both allow the user of the component to
specify the css class for different elements in the component, and
images (Palette) that should be used to render certain things like the
move left/right buttons.

Your component should probably just _do_ something useful, and let the
user of the component dress it up.

Let's say your Panel uses a div for the outer shell.  Allow a
panelClass parameter, and use it for the value of the class attribute
of the div.

-Mike

On 4/9/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
> On 09. Apr 2006 - 12:40:47, Mike Snare wrote:
> | Nope.  The user can just pass in classes for the borders, etc as they
> | see fit.  You just use the value of the parameter as you need to.
>
> Sorry, thanks for your answer but I don't understand this...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to