Hello Ayodeji

I don't think that something exactly like that is already implemented.
But you can put a style reference or declaration for just your
Component into the <wicket:head> Part of the markup to achieve the
effect.

-- 
greetings from Berlin,

Rüdiger Schulz


Ayodeji Aladejebi wrote on 30.05.2006 at 12:24:

> Hi,

> About Wicket and CSS,
> Well maybe its even already part of wicket and I am not aware but
> please if its that i am not aware, educate me. Thanks

> Now Basically when one creates a component in wicket like for example a Panel.

> I will create two files basically

> MyPanel.java
> MyPanel.html

> Now somewhere within the MyPanel.html , i can have:

> <div wicket:id="Component1">
>  <a wicket:id="LinkComponent1"></a>
> </div>

> and from wicket naming convention, i realized that Markup Ids are generated 
> like this
> Component1_LinkComponent1 which refrences the <a> tag

> Now, lets say I need to style the <a> tag

> What is the possibility of having the third file like:

> MyPanel.css
> which will contain as sample:

> #Component1_LinkComponent1 {
>   color: #FFFFFF;
> }

> Now please this is not a Must-be-present-at-the-moment
> feature.... i am just asking if something like this exists or is
> planned

> thanks






-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to