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.

Maurice

-----Oorspronkelijk bericht-----
Van: Gili [mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 17 februari 2005 17:24
Aan: [email protected]
Onderwerp: RE: [Wicket-develop] id of elemets and listviews


        And if I want to ship CSS to go with my component? In my case,
the component generates CSS for itself.

Gili

On Thu, 17 Feb 2005 09:39:59 +0100, Maurice Marrink wrote:

>Gili,
>I agree this discussion is going on for way to long now.
>However I don't agree with you that not being able to access the inner
>html elements of a wicket component is necessarily a bad thing.
>
>Suppose I only build complex components for wicket (multiple input
>fields and or heavy scripting inside), then I should be able to decide
>if I want to make my components black box or completely open. And
>because I can choose between using (generated) id's or the wicket
>attribute I can do it both ways.
>In the documentation that comes with my component I can then inform the
>user which element is accessible by script and or which css classes he
>can use.
>
>Anyway that's how I see it.
>
>Maurice
>
>-----Oorspronkelijk bericht-----
>Van: Gili [mailto:[EMAIL PROTECTED] 
>Verzonden: woensdag 16 februari 2005 19:20
>Aan: [email protected]
>Onderwerp: RE: [Wicket-develop] id of elemets and listviews
>
>On Wed, 16 Feb 2005 16:36:57 +0100, Maurice Marrink wrote:
>
>>I really don't want to start this discussion all over again, but I
have
>>to disagree with you Martijn.
>>
>>If I develop a closed component I can skip the id attribute completely
>>by using the wicket attribute. That way the user can use any id's he
>>likes and not worry about id's I used in my component. And since id
>>attributes are not required by w3c the browser will uniquely id the
>>elements of my components for me.
>>
>>The only drawback is that the user can't use scripting to access html
>>elements in my component without me supplying some way to assign an id
>>to an element.
>>
>>Maurice
>
>Maurice,
>
>       This is exactly why I keep on saying this idea is a nonstarter:
>because you lose the ability to reference your component using JS or
>CSS which is a very big deal.
>
>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
>
>
>-------------------------------------------------------
>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_ide95&alloc_id396&op=click
>_______________________________________________
>Wicket-develop mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/wicket-develop
>




-------------------------------------------------------
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


-------------------------------------------------------
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_ide95&alloc_id396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to