You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Per Newgro <pe...@gmx.ch> on 2007/09/13 15:19:43 UTC
Howto customize yui datepicker
Hi *,
is someone knowing howto customize the layout of a
org.apache.wicket.extensions.yui.calendar.DatePicker? I like to change some colors and maybe the font.
I tried to override css settings in my startpage, but layout didn't changed.
Investigation of DatePicker (to override and customize it) didn't result in a meaningful class.
I hope someone can help me.
Cheers
Per
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Howto customize yui datepicker
Posted by Eelco Hillenius <ee...@gmail.com>.
On 9/13/07, Per Newgro <pe...@gmx.ch> wrote:
> Hi gerolf,
> > could you file a RFE, so that we can provide the facilities for that?
> Could you please tell me what you mean with RFE? I never heared of it.
Request For Enhancement a.k.a. (also known as) Feature Request. See
http://issues.apache.org/jira/browse/WICKET
Eelco
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Howto customize yui datepicker
Posted by Gerolf Seitz <ge...@gmail.com>.
On 9/13/07, Per Newgro <pe...@gmx.ch> wrote:
>
> Hi gerolf,
> > could you file a RFE, so that we can provide the facilities for that?
> Could you please tell me what you mean with RFE? I never heared of it.
it's a Request For Enhancement. please file a new issue at
https://issues.apache.org/jira/browse/WICKET
select wicket-datetime as the component.
Where do i have to include the css with the higher specificty
> (my-customized-calendar.css)? In the html file related to the application
> or
> to the one related to the panel i add the datepicker on.
i'd say include it in the panel that contains the datepicker.
this way you can just reuse the panel without worrying about including the
css.
Thanks 4 your help
> Per
gerolf
---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Howto customize yui datepicker
Posted by Per Newgro <pe...@gmx.ch>.
Hi gerolf,
> could you file a RFE, so that we can provide the facilities for that?
Could you please tell me what you mean with RFE? I never heared of it.
Where do i have to include the css with the higher specificty
(my-customized-calendar.css)? In the html file related to the application or
to the one related to the panel i add the datepicker on.
Thanks 4 your help
Per
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Howto customize yui datepicker
Posted by Gerolf Seitz <ge...@gmail.com>.
hi per,
you could copy the calendar.css file change it according to your needs. to
get your customized css rules to overrule the default calendar css rules,
you'd have to provide rules with a higher specificty.
example for higher specificity:
[original-calendar.css]
.yuicalendar { display: block; }
[my-customized-calendar.css]
.myCalendar .yuicalendar { display: inline; }
could you file a RFE, so that we can provide the facilities for that?
regards,
gerolf
On 9/13/07, Per Newgro <pe...@gmx.ch> wrote:
>
> Hi *,
>
> is someone knowing howto customize the layout of a
> org.apache.wicket.extensions.yui.calendar.DatePicker? I like to change
> some colors and maybe the font.
>
> I tried to override css settings in my startpage, but layout didn't
> changed.
> Investigation of DatePicker (to override and customize it) didn't result
> in a meaningful class.
>
> I hope someone can help me.
> Cheers
> Per
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>