You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Stefan Lindner <li...@visionet.de> on 2007/09/09 01:22:12 UTC

DatePicker style in old Wicket 2.0

Der wicket wizzards,

how can I modify the look (e.g. the font-size) of the DatePicker popup
js-component? I try to override the css class (.calendar) in my own css
but this has no effect.

Html-code like

	<head>
		<link rel="stylesheet" type="text/css"
href="MyOwnCalendarStyle.css"/>
	</head>

MyOwnCalendarStyle.css like

	.calendar {
		font-size:20px;
	}
	.calendar table {
		font-size:20px;
	}


Can anybody help me?

Regards, Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


AW: DatePicker style in old Wicket 2.0

Posted by Stefan Lindner <li...@visionet.de>.
Problem is solved with a workaround. Thank you all. 

-----Ursprüngliche Nachricht-----
Von: Stefan Lindner [mailto:lindner@visionet.de] 
Gesendet: Sonntag, 9. September 2007 12:26
An: users@wicket.apache.org
Betreff: RE: DatePicker style in old Wicket 2.0

I hope my css is loaded after the DatePicker css. When I override some styles of other wicket components (e.G. TabPanel) the changes take effect. Only the DatePicker is not affected. The DatePicker component seems to use it's default css because I did not specify any DatePicker css in my page header.
How can I control the order of css loading?

Regard
Stefan

-----Ursprüngliche Nachricht-----
Von: Martijn Dashorst [mailto:martijn.dashorst@gmail.com]
Gesendet: Sonntag, 9. September 2007 11:59
An: users@wicket.apache.org
Betreff: Re: DatePicker style in old Wicket 2.0

Is your stylesheet loaded after the datepicker sheet?

Martijn

On 9/9/07, Stefan Lindner <li...@visionet.de> wrote:
> Der wicket wizzards,
>
> how can I modify the look (e.g. the font-size) of the DatePicker popup 
> js-component? I try to override the css class (.calendar) in my own 
> css but this has no effect.
>
> Html-code like
>
>         <head>
>                 <link rel="stylesheet" type="text/css"
> href="MyOwnCalendarStyle.css"/>
>         </head>
>
> MyOwnCalendarStyle.css like
>
>         .calendar {
>                 font-size:20px;
>         }
>         .calendar table {
>                 font-size:20px;
>         }
>
>
> Can anybody help me?
>
> Regards, Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


--
Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: DatePicker style in old Wicket 2.0

Posted by Stefan Lindner <li...@visionet.de>.
I hope my css is loaded after the DatePicker css. When I override some styles of other wicket components (e.G. TabPanel) the changes take effect. Only the DatePicker is not affected. The DatePicker component seems to use it's default css because I did not specify any DatePicker css in my page header.
How can I control the order of css loading?

Regard
Stefan

-----Ursprüngliche Nachricht-----
Von: Martijn Dashorst [mailto:martijn.dashorst@gmail.com] 
Gesendet: Sonntag, 9. September 2007 11:59
An: users@wicket.apache.org
Betreff: Re: DatePicker style in old Wicket 2.0

Is your stylesheet loaded after the datepicker sheet?

Martijn

On 9/9/07, Stefan Lindner <li...@visionet.de> wrote:
> Der wicket wizzards,
>
> how can I modify the look (e.g. the font-size) of the DatePicker popup 
> js-component? I try to override the css class (.calendar) in my own 
> css but this has no effect.
>
> Html-code like
>
>         <head>
>                 <link rel="stylesheet" type="text/css"
> href="MyOwnCalendarStyle.css"/>
>         </head>
>
> MyOwnCalendarStyle.css like
>
>         .calendar {
>                 font-size:20px;
>         }
>         .calendar table {
>                 font-size:20px;
>         }
>
>
> Can anybody help me?
>
> Regards, Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


--
Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: DatePicker style in old Wicket 2.0

Posted by Martijn Dashorst <ma...@gmail.com>.
Is your stylesheet loaded after the datepicker sheet?

Martijn

On 9/9/07, Stefan Lindner <li...@visionet.de> wrote:
> Der wicket wizzards,
>
> how can I modify the look (e.g. the font-size) of the DatePicker popup
> js-component? I try to override the css class (.calendar) in my own css
> but this has no effect.
>
> Html-code like
>
>         <head>
>                 <link rel="stylesheet" type="text/css"
> href="MyOwnCalendarStyle.css"/>
>         </head>
>
> MyOwnCalendarStyle.css like
>
>         .calendar {
>                 font-size:20px;
>         }
>         .calendar table {
>                 font-size:20px;
>         }
>
>
> Can anybody help me?
>
> Regards, Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org