a) read javadoc
b) create subclass (1 min)
c) paste example markup from javadoc into subclass.html file (1 min)
c) edit subclass.html

the only overhead is two minutes, or am i missing something?

-igor


On Jan 22, 2008 11:47 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote:
> users need to open the jar, pick the right markup file, copy it, changes css
> attributes, etc. That's not what I expect from component reuse, right? Or do
> I miss something?
>
>
>
>
> 2008/1/23, Igor Vaynberg <[EMAIL PROTECTED]>:
> >
> > what internals do they need to know to create a subclsas?
> >
> > -igor
> >
> > On Jan 22, 2008 11:40 PM, Martijn Lindhout <[EMAIL PROTECTED]>
> > wrote:
> > > well, then the users of my the component need to know the internals of
> > the
> > > component. That's not what I want, or at least reduce it to the minimum.
> > >
> > > 2008/1/23, Igor Vaynberg <[EMAIL PROTECTED]>:
> > >
> > > >
> > > > whats wrong with subclassing and providing your own markup?
> > > >
> > > > -igor
> > > >
> > > > On Jan 22, 2008 11:22 PM, Martijn Lindhout <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > Hi,
> > > > >
> > > > > I just build a simple reusable shoppingcart component with a
> > reasonable
> > > > > default CSS style. The markup, css and images are all packaged
> > > > resources.
> > > > >
> > > > > How do I enable users of my component to override the default
> > styling?
> > > > What
> > > > > is the wicket way besides subclassing the CartPanel component and
> > > > providing
> > > > > a custom markup?
> > > > >
> > > > > Regards,
> > > > >
> > > > > --
> > > > > Martijn Lindhout
> > > > > JointEffort IT Services
> > > > > http://www.jointeffort.nl
> > > > > [EMAIL PROTECTED]
> > > > > +31 (0)6 18 47 25 29
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > > Martijn Lindhout
> > > JointEffort IT Services
> > > http://www.jointeffort.nl
> > > [EMAIL PROTECTED]
> > > +31 (0)6 18 47 25 29
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Martijn Lindhout
> JointEffort IT Services
> http://www.jointeffort.nl
> [EMAIL PROTECTED]
> +31 (0)6 18 47 25 29
>

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

Reply via email to