Hi,
I am trying to use JQuery calendar instead, because I like that it has
month and year dropdowns.
I added js, css and images files.
Added this to the head:
$(document).ready(function() {
$("#mydatepicker").datepicker();
$( "#mydatepicker" ).datepicker({ changeMonth: true, changeYear: true });
});
This is in the body:
<input wicket:id="myid" name="extensions:0:extension:myid" type="text"
id="mydatepicker" value=""/>
But it does not work, does anybody has any ideas?
Thanks
On Mon, Nov 29, 2010 at 1:07 PM, Anna Simbirtsev <[email protected]> wrote:
> That works, thanks. I just wonder how users will be able to figure it out.
>
> On Mon, Nov 29, 2010 at 11:56 AM, Marco Mancini <[email protected]> wrote:
>> in this page the problem is dateformat... but he can switch year
>> https://issues.apache.org/jira/browse/WICKET-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846200#action_12846200
>>
>> ....
>>
>> try to click on month name for change year!
>>
>>
>>
>> 2010/11/29 Anna Simbirtsev <[email protected]>
>>
>>> It does not work, only can switch between month, not year.
>>>
>>> On Mon, Nov 29, 2010 at 11:33 AM, Marco Mancini <[email protected]>
>>> wrote:
>>> > try this code:
>>> >
>>> > DatePicker mydp= new DatePicker(){
>>> > private static final long serialVersionUID = 1L;
>>> >
>>> > �...@override
>>> > protected boolean enableMonthYearSelection() {
>>> > return true;
>>> > }
>>> > };
>>> >
>>> > 2010/11/29 Anna Simbirtsev <[email protected]>
>>> >
>>> >> Hi,
>>> >>
>>> >> Is it possible to get datapicker to switch between year, currently
>>> >> there are arrows to only switch between month?
>>> >>
>>> >> Thanks,
>>> >> Anna
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: [email protected]
>>> >> For additional commands, e-mail: [email protected]
>>> >>
>>> >>
>>> >
>>>
>>>
>>>
>>> --
>>> Anna Simbirtsev
>>> (416) 729-7331
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>
>
>
> --
> Anna Simbirtsev
> (416) 729-7331
>
--
Anna Simbirtsev
(416) 729-7331
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]