why do you add modal1.setCssClassName("w_caption"); ?
Wicket adds all classes to the DOM objects (for example: the header, which
is called w_captionText).
The only thing you need is something like:
add(HeaderContributor.forCss("myCustomizedCss.css"));
- in your panel / page.
(view source to check if it was actually added to you HTML output).
And in myCustomizedCss.css you need to do something like:
span.w_captionText {
color: red !important;
}
The !important is so other CSS won't override yours.
Eyal Golan
[EMAIL PROTECTED]
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
On Mon, Dec 8, 2008 at 1:25 PM, Ashis <[EMAIL PROTECTED]> wrote:
>
>
> Actually i mean i have added css class name as:
> modal1.setCssClassName("w_caption");
> and added property in it as:
> span .w_caption{
> color: red;
> .....
> ...
> }
> But it does not work.No any change in modal window?
> --
> View this message in context:
> http://www.nabble.com/Changing-appearance-of-ModalWindow--tp20880252p20893576.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>