On Thu, 17 Feb 2005 17:38:32 +0100, Maurice Marrink wrote:

>I don't see any problem with that.
>You could choose not to let the user change styles, append styles or
>completely override your default style.

        My point is, how is he supposed to do that if he cannot refer
to IDs within my component?

        In my case, I have a RoundCornerBorder component and it uses a
whopping eight different CSS tags to allow users to customize
everything about it. My current approach is to autogenerate the CSS on
behalf of the user so I guess my only requirement is for me (the
component builder) to know my IDs at runtime (how do I do that with
your approach?). But say I didn't autogenerate CSS for users. I would
tell them that my components will refer to eight CSS styles, allow them
to configure them. Now I have multiple instances of the border
component across my page and I want different styles for each one. The
only way I can do that is by differentiating by ID. How do I do that
with your approach?

Gili



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to