in context:
http://apache-wicket.1842946.n4.nabble.com/DatePicker-to-pick-a-year-tp3063856p3077604.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
it was
@Temporal(TemporalType.TIMESTAMP)
It will fail validation based on the format.
Hope that helps
Cheers
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DatePicker-to-pick-a-year-tp3063856p3077604.html
Sent from the Users forum mailing list archive
.nabble.com/DatePicker-to-pick-a-year-tp3063856p3077604.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h
(TemporalType.TIMESTAMP)
It will fail validation based on the format.
Hope that helps
Cheers
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DatePicker-to-pick-a-year-tp3063856p3077604.html
Sent from the Users forum mailing list archive at Nabble.com
Hi,
I am using the wiQuery for the calendar now, but have some problems.
1) The page refreshes when I click in the field, then the datepicker appeares.
2) When I try to submit, it gives me an error: '1980-12-04' is not a valid Date.
DatePickerDate datefield = new DatePickerDate(datefield,
Hi Anna,
I think you have to set the right converter on your wicket textfield (with
the override of the method getConverter and with the class
PatternDateConvert). The dateFormat option works only on the client side
with jQuery.
Regards
Julien Roche
On Tue, Dec 7, 2010 at 7:56 PM, Anna
this message in context:
http://apache-wicket.1842946.n4.nabble.com/DatePicker-to-pick-a-year-tp3063856p3077604.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
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:
Hi,
it's better if you set the id of the input in the java code. Something like:
yourinput.setOutpuMarkUpId(true);
yourinput.setMarkUpId(mydatepicker); //i' don't remember exactly the
name of the function, but it's something similar
bye
Luca
Il 30/11/2010 16:40, Anna Simbirtsev ha scritto:
Hi,
Hi.
Why don't you use wiQuery?
BTW, it's not a good idea to set markup id, because you're not sure
whether it's unique across entire page. Let it be set by framework.
If you don't want to use wiQuery, use header contribution to inject
jquery related code from java code to page. In this case you
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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
try this code:
DatePicker mydp= new DatePicker(){
private static final long serialVersionUID = 1L;
@Override
protected boolean enableMonthYearSelection() {
return true;
}
};
2010/11/29 Anna
It does not work, only can switch between month, not year.
On Mon, Nov 29, 2010 at 11:33 AM, Marco Mancini marcoman...@gmail.com wrote:
try this code:
DatePicker mydp= new DatePicker(){
private static final long serialVersionUID = 1L;
�...@override
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-tabpanelfocusedCommentId=12846200#action_12846200
try to click on month name for change year!
2010/11/29 Anna
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 marcoman...@gmail.com wrote:
in this page the problem is dateformat... but he can switch year
15 matches
Mail list logo