Re: DateTextField, image is displayed on line below

2014-01-01 Thread arronlee
row is Another Day. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DateTextField-image-is-displayed-on-line-below-tp4660217p4663376.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: Submitting a DateTextField value in a different timezone that the browser

2013-08-06 Thread seba.wag...@gmail.com
Thanks François 2013/8/3 Francois Meillet > Overriding the getClientTimeZone() method in the dateconverter sounds good. > if the boolean applyTimeZoneDifference of the dateConverter is set to true. > > add(new DateTextField("xxx", new DateConverter(true) { &

Re: Submitting a DateTextField value in a different timezone that the browser

2013-08-03 Thread Francois Meillet
Overriding the getClientTimeZone() method in the dateconverter sounds good. if the boolean applyTimeZoneDifference of the dateConverter is set to true. add(new DateTextField("xxx", new DateConverter(true) { @Override public String getDatePattern(Loc

Submitting a DateTextField value in a different timezone that the browser

2013-08-02 Thread seba.wag...@gmail.com
g that ... Is there a way to configure the DateTextField to use a different timezone then the clients/browser/os one for its calculations? My basic idea is to overwrite the method "getClientTimeZone" in the DateTimeField. I wonder if that is the appropriate way to do it? Are there other i

Re: How to change “intellectual” DateTextField behavior?

2013-07-28 Thread Steamus
Thank you, Sven I resolved my problem by using another implementation of DateTextField. From org.apache.wicket.datetime.markup.html.form -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-change-intellectual-DateTextField-behavior-tp4660520p4660522.html Sent

Re: How to change “intellectual” DateTextField behavior?

2013-07-27 Thread Sven Meier
Either override AbstractDateConverter#getDateFormat() calling #setLenient(false) on the format, or use the DateConverter from wicket-datetime. Sven On 07/27/2013 09:56 PM, Steamus wrote: By default, if you provide incorrect date like “30.02.2013” the DateTextField changes it to 02.03.2013

How to change “intellectual” DateTextField behavior?

2013-07-27 Thread Steamus
By default, if you provide incorrect date like “30.02.2013” the DateTextField changes it to 02.03.2013 and doesn’t return any errors. Is there an easy way to stop it and generate an error? Thank you. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-change

RE: DateTextField, image is displayed on line below

2013-07-11 Thread Paul Bors
: DateTextField, image is displayed on line below I used white-space: nowrap; on the containing element. Dieter Am 11.07.2013 23:23, schrieb Delange: > I use css for positioning my fields, but Datatextfield ICON is always > displayed a line below the input > > For example:

Re: DateTextField, image is displayed on line below

2013-07-11 Thread Dieter Tremel
s: > > > Besteldatum >   > value="05/07/2013" id="id6"/> >   > <../resource/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1-ver-A9D71378ED9162B2DB5DE040C09D5BDE.gif> > > > > > &

RE: DateTextField, image is displayed on line below

2013-07-11 Thread Paul Bors
, 2013 5:23 PM To: users@wicket.apache.org Subject: DateTextField, image is displayed on line below I use css for positioning my fields, but Datatextfield ICON is always displayed a line below the input For example: Orderdate B Who

DateTextField, image is displayed on line below

2013-07-11 Thread Delange
rce/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1-ver-A9D71378ED9162B2DB5DE040C09D5BDE.gif> -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DateTextField-image-is-displayed-on-line-below-tp4660217.html Sent from the Users forum mailing list archive at Nabb

Re: Strict date pattern for DateTextField in Wicket

2013-07-03 Thread francois meillet
search StrictPatternDateConverter in the forum François On Wed, Jul 3, 2013 at 12:21 PM, Jayakrishnan R wrote: > Hi All, > > I have a DateTextField component in my application and I want the input of > date using a predefined pattern. The pattern that I need is "-MM-dd&

Strict date pattern for DateTextField in Wicket

2013-07-03 Thread Jayakrishnan R
Hi All, I have a DateTextField component in my application and I want the input of date using a predefined pattern. The pattern that I need is "-MM-dd". I created the DateTextField using the following code. DateTextField dtf_ExpiryDate = DateTextField.forDatePattern("Exp

Re: DateTextfield with DatePicker

2013-06-19 Thread Paul Bors
l: christoph.ma...@t-systems.com > > > -Ursprüngliche Nachricht- > Von: francois meillet [mailto:francois.meil...@gmail.com] > Gesendet: Donnerstag, 13. Juni 2013 14:15 > An: users@wicket.apache.org > Betreff: Re: DateTextfield with DatePicker > > DateTextField

Re: DatePicker and DateTextField

2013-06-14 Thread Dr. Britta Landgraf
christoph.ma...@t-systems.com > > > -Ursprüngliche Nachricht- > Von: Dr. Britta Landgraf [mailto:b.landg...@fz-juelich.de] > Gesendet: Freitag, 14. Juni 2013 09:39 > An: users@wicket.apache.org > Betreff: Re: DatePicker and DateTextField > > I use it in tho following

AW: DatePicker and DateTextField

2013-06-14 Thread Christoph.Manig
1 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Dr. Britta Landgraf [mailto:b.landg...@fz-juelich.de] Gesendet: Freitag, 14. Juni 2013 09:39 An: users@wicket.apache.org Betreff: Re: DatePicker and DateTextField I use it in tho following way: new DateTe

Re: DatePicker and DateTextField

2013-06-14 Thread Dr. Britta Landgraf
I use it in tho following way: new DateTextField("ToDay", new PropertyModel(ti, "dateTo"), "HH:mm:ss dd.MM."); best regards Britta Landgraf Am 14.06.2013 09:20, schrieb christoph.ma...@t-systems.com: > Do you mean it like this: > DateTextField txtDatum

AW: DatePicker and DateTextField

2013-06-14 Thread Christoph.Manig
Do you mean it like this: DateTextField txtDatumVon = new DateTextField("txtDatumVon", new PatternDateConverter("HH:mm:ss dd.MM.",true)); String date = "HH:mm:ss dd.MM."; try { txtDatumVon.setModelObject(new SimpleDateFormat("00:00:00

Re: DatePicker and DateTextField

2013-06-13 Thread Francois Meillet
Set the model object (the date) behind the DateTextField to 00:00:00 JJ.MM.. François Meillet Formation Wicket - Développement Wicket Le 14 juin 2013 à 07:37, a écrit : > Hello, > > how is the DatePicker binded tot he DateTextfield? How is the picked date > written in t

DatePicker and DateTextField

2013-06-13 Thread Christoph.Manig
Hello, how is the DatePicker binded tot he DateTextfield? How is the picked date written in the Textfield? Is there a possiblilty to change this? When the DatePicker have the pattern dd.MM. there is no problem. But I want the full timestamp with this pattern HH:mm:ss dd.MM. because the

AW: DateTextfield with DatePicker

2013-06-13 Thread Christoph.Manig
.com] Gesendet: Donnerstag, 13. Juni 2013 14:15 An: users@wicket.apache.org Betreff: Re: DateTextfield with DatePicker DateTextField txtDatumVon = new DateTextField("txtDatumVon", new PatternDateConverter("dd/MM/", false)); François On Thu, Jun 13, 2013 at 1:03 PM, wr

Re: DateTextfield with DatePicker

2013-06-13 Thread francois meillet
DateTextField txtDatumVon = new DateTextField("txtDatumVon", new PatternDateConverter("dd/MM/", false)); François On Thu, Jun 13, 2013 at 1:03 PM, wrote: > Hello, > > in my application I have a DateTextField with a DatePicker. I declared it > like this: &

DateTextfield with DatePicker

2013-06-13 Thread Christoph.Manig
Hello, in my application I have a DateTextField with a DatePicker. I declared it like this: DateTextField txtDatumVon = new DateTextField("txtDatumVon", new PatternDateConverter("HH:mm:ss dd.MM.",true)); When I choose a day I can see in the Textfield something

Re: DateTextField maxlength idea

2012-02-04 Thread Jim Pinkham
WICKET-4386 On Sat, Feb 4, 2012 at 5:27 AM, Martin Grigorov wrote: > Ticket please :-) > > On Fri, Feb 3, 2012 at 9:58 PM, Jim Pinkham wrote: > > I have a simple data entry form with a date/time field. > > > > My end users (web newbies) have fou

Re: DateTextField maxlength idea

2012-02-04 Thread Martin Grigorov
Ticket please :-) On Fri, Feb 3, 2012 at 9:58 PM, Jim Pinkham wrote: > I have a simple data entry form with a date/time field. > > My end users (web newbies) have found another interesting way to confound > the most clear and straightforward instruction I can devise regarding it's > (obvious?) us

DateTextField maxlength idea

2012-02-03 Thread Jim Pinkham
I have a simple data entry form with a date/time field. My end users (web newbies) have found another interesting way to confound the most clear and straightforward instruction I can devise regarding it's (obvious?) use. I watched an end user type an entire time into the hour component without ta

Re: DateTextField Problem

2012-01-12 Thread Seçil Aydın
.1842946.n4.nabble.com/DateTextField-Problem-tp4288137p4288349.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

DateTextField Problem

2012-01-11 Thread Seçil Aydın
I am using DateTextField and DatePicker components for getting date value of the user but I have a problem with the component.The problem is when user enters 99.99. to the text field and clicks on submit button it gives an error(invalid date) -its ok till now- but when user wants to change the

Re: DateTextField

2011-11-07 Thread chrome1235
ok, thanks for your replies, Martin and manuelbarzi. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DateTextField-tp3998533p3998753.html Sent from the Users forum mailing list archive at Nabble.com

Re: DateTextField

2011-11-07 Thread manuelbarzi
wicket-extensions offers you a default pattern date conversion, while wicket-datetime forces you to determine one. . On Mon, Nov 7, 2011 at 1:57 PM, chrome1235 wrote: > Hi, > There are two DateTextField components. So, which I

Re: DateTextField

2011-11-07 Thread Martin Grigorov
Hi, The one from wicket-datetime is more advanced but it comes with YUI. If your project uses another JS library and you don't want YUI to add some bytes to your page then use the one from -extensions.jar On Mon, Nov 7, 2011 at 2:57 PM, chrome1235 wrote: > Hi, > There are two Da

RES: Strange problem with DateTextField

2011-06-22 Thread Vitor Granzinoli Vellozo
usage of PatterDateConverter, and the problem disappeared, but now, our year has 2 digits, not 4 like we need. Observing your piece of code, we noticed that the pattern is in the model constructor, so we did it and the problem disapeared totally. Below, our code: DateTextField finalDate = new

Re: Strange problem with DateTextField

2011-06-21 Thread Noven
Vitor, There are 2 DateTextField I know for wicket, org.apache.wicket.datetime.markup.html.form.DateTextFieldand org.apache.wicket.extensions.markup.html.form.DateTextField. I used many DateTextField from wicket extensions in my project. It works fine.  The code is almost the same with the one

Re: Strange problem with DateTextField

2011-06-21 Thread Peter Ertl
e = " + Session.get().getLocale())' to see the current value used for date conversion - does the behavior depend on the browser? try firefox, chrome, ie, etc. to check this Am 21.06.2011 um 23:16 schrieb Vitor Granzinoli Vellozo: > > > Wicketers, > > > > I fo

Strange problem with DateTextField

2011-06-21 Thread Vitor Granzinoli Vellozo
Wicketers, I found a problem with DateTextField, when a date comes like 11/10/2010 (dd/MM/) to be showed at a page, and it shows 10/10/2010, it shows a date decreased. The same ocurrs if the date is 12/10/2010. It ocurrs with dates near 10/10/2010. I also fixed dates manually and

Re: Javascript string formatting problem with DateTextField and DatePicker

2010-06-04 Thread Jimi
uld upgrade > -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Javascript-string-formatting-problem-with-DateTextField-and-DatePicker-tp2241433p2243120.html Sent from the Wicket - User mailing list archive

Re: Javascript string formatting problem with DateTextField and DatePicker

2010-06-03 Thread Igor Vaynberg
YAHOO.register("wicket-date", Wicket.DateTime, {version: "1.3.0", build: > "rc1"}); > > So, does anyone know what I can do to get the correct wicket-date.js? Or > should I report this as a bug somewhere? The way I see it, the javascript > should c

Re: Javascript string formatting problem with DateTextField and DatePicker

2010-06-03 Thread Jimi
n context: http://apache-wicket.1842946.n4.nabble.com/Javascript-string-formatting-problem-with-DateTextField-and-DatePicker-tp2241433p2241559.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubs

Javascript string formatting problem with DateTextField and DatePicker

2010-06-03 Thread Jimi
Hi, I tried out the DateTextField together with the Datepicker component, but it doesn't work as expected. I want it to use the format/pattern "-MM-dd", and when the page is rendered it does show the date in that format, but the moment I use the datepicker (even only clickin

Re: DateTextField and DatePicker returning wrong date

2010-05-06 Thread taygolf
pache-wicket.1842946.n4.nabble.com/DateTextField-and-DatePicker-returning-wrong-date-tp2126267p2132868.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.or

Re: DateTextField and DatePicker returning wrong date

2010-05-06 Thread Jeremy Thomerson
think this is a bug inside wicket but I > may be doing something wrong. Any opinions would be greatly appreciated > > T > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/DateTextField-and-DatePicker-returning-wrong-date-tp2126267p2131360.html > Sen

Re: DateTextField and DatePicker returning wrong date

2010-05-05 Thread taygolf
anyone have any help here? I really think this is a bug inside wicket but I may be doing something wrong. Any opinions would be greatly appreciated T -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DateTextField-and-DatePicker-returning-wrong-date-tp2126267p2131360

DateTextField and DatePicker returning wrong date

2010-05-04 Thread taygolf
Hey guys, I guess I am confused on how DateTextField and DatePicker work Here is my code DateTextField dateTextField = new DateTextField("textField", new PropertyModel(this, "value"), new PatternDateConverter("MM/dd/", false)); DatePicker dp = new DatePi

Re: saving datetextfield values on ajax refresh

2010-04-05 Thread Martin Makundi
riginal Message: > - > From: Martin Makundi martin.maku...@koodaripalvelut.com > Date: Mon, 5 Apr 2010 20:08:27 +0300 > To: users@wicket.apache.org > Subject: Re: saving datetextfield values on ajax refresh > > > In that case you need this: > > http://mail-archives

Re: saving datetextfield values on ajax refresh

2010-04-05 Thread wic...@geofflancaster.com
2010 20:08:27 +0300 To: users@wicket.apache.org Subject: Re: saving datetextfield values on ajax refresh In that case you need this: http://mail-archives.apache.org/mod_mbox/wicket-users/201001.mbox/%3C3031415 51001032147u239d89d7w26bf26b814296...@mail.gmail.com%3e 2010/4/5 wic

Re: saving datetextfield values on ajax refresh

2010-04-05 Thread Martin Makundi
In that case you need this: http://mail-archives.apache.org/mod_mbox/wicket-users/201001.mbox/%3c303141551001032147u239d89d7w26bf26b814296...@mail.gmail.com%3e 2010/4/5 wic...@geofflancaster.com : > along with the datetextfield i have a dropdownchoice menu. the page updates > based on th

Re: saving datetextfield values on ajax refresh

2010-04-05 Thread wic...@geofflancaster.com
along with the datetextfield i have a dropdownchoice menu. the page updates based on the item selected in the dropdown which updates a list menu. Original Message: - From: Martin Makundi martin.maku...@koodaripalvelut.com Date: Mon, 5 Apr 2010 18:40:15 +0300 To: users

Re: saving datetextfield values on ajax refresh

2010-04-05 Thread Martin Makundi
What initiates ajax-updating the page? What do you update? Few solutions: a) use listview.setreuseitems b) use a formcomponentreusemanager c) use an AjaxFormSubmittingChangeListenerBehavior ** Martin 2010/4/5 wic...@geofflancaster.com : > here's the scenario, i have a datetextfield t

saving datetextfield values on ajax refresh

2010-04-05 Thread wic...@geofflancaster.com
here's the scenario, i have a datetextfield that when the page gets updated via ajax, the datatextfield values get reset and are no longer what they changed to. i've tried adding an onchange behavior to the datefield to update the modelobject when the field is changed but have h

Re: busy indicator and DateTextField / DatePicker / YUI

2010-02-24 Thread Bert
lement > or its parentNode is one of "yui", "calnav", "calheader". > > You can of cause add more class name into the list for further "never ending > busy sign". > > Regards! > Jing > > -Original Message- > From: Bert [mail

RE: busy indicator and DateTextField / DatePicker / YUI

2010-02-23 Thread Jing Ge (Besitec IT DEHAM)
to the list for further "never ending busy sign". Regards! Jing -Original Message- From: Bert [mailto:taser...@gmail.com] Sent: Montag, 22. Februar 2010 09:55 To: users@wicket.apache.org Subject: busy indicator and DateTextField / DatePicker / YUI Hi, i followed the examp

busy indicator and DateTextField / DatePicker / YUI

2010-02-22 Thread Bert
Hi, i followed the example in [1] to add a busy indicator to our application and it works like a charm. [1] http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html Only problem i have encountered so far is the use of the YUI Calendar. It triggers the indica

Re: DateTextField and DatePicker Default Date

2010-01-05 Thread Per Newgro
Check http://developer.yahoo.com/yui/calendar/#behavior Setting Configuration Options Cheers Per

DateTextField and DatePicker Default Date

2010-01-05 Thread wic...@geofflancaster.com
Is it possible to make the DateTextField and DatePicker (used together) default to a specific date? For example, right now it automatically puts in todays date. Can I make it automatically put in 30 days before? mail2web.com

Re: How can we display by example the format to be used to input Date in DateTextField ?

2009-09-28 Thread Matthias Keller
the string resources). About Question 2: You'll have to subclass the DateTextField and override getConverter(). You could then just check if the returned super.getConverter() is of type DateConverter and if yes, call the setLenient() method on it. Matt Charles Moulliard wrote: I use a Date

Re: How can we display by example the format to be used to input Date in DateTextField ?

2009-09-28 Thread Pedro Santos
about question 1, yes: http://static.ddpoker.com/javadoc/wicket/1.4-rc2/org/apache/wicket/util/convert/ConversionException.html#setResourceKey%28java.lang.String%29 On Mon, Sep 28, 2009 at 10:57 AM, Charles Moulliard wrote: > I use a DateTextField to check if a user encode date according to

How can we display by example the format to be used to input Date in DateTextField ?

2009-09-28 Thread Charles Moulliard
I use a DateTextField to check if a user encode date according to the Date pattern format defined. DateTextField textfieldFromDate = new DateTextField("fromDate", "MMdd" ); Question 1 : Is it possible in the message displayed by Wicket after the validation in the feedb

Re: DateTextField Runtime Exception on loading textfield that doesn't match format

2009-05-14 Thread jobiwankanobi
Never mind - I figured it out. DateTextField takes a Date not a String. --jim jobiwankanobi wrote: > > Is there a way to make it more lenient? I have data coming in from > different sources - I want the form to load, give them a chance to change > the format. > --jim >

Re: DateTextField Runtime Exception on loading textfield that doesn't match format

2009-05-14 Thread jobiwankanobi
ou try to stick the submitted value back > into your model - but the error will be on the model site. > > -igor > > On Thu, May 14, 2009 at 4:26 PM, james o'brien > wrote: >> I have the following: >> >> DateTextField when = new DateTextField("when&quo

Re: DateTextField Runtime Exception on loading textfield that doesn't match format

2009-05-14 Thread Igor Vaynberg
ollowing: > > DateTextField when = new DateTextField("when", newPropertyModel(bloodPressure, > "when"), "M/d/"); > > when.setOutputMarkupId(true); > > when.add(new DatePicker()); > > > When the form loads with pre

DateTextField Runtime Exception on loading textfield that doesn't match format

2009-05-14 Thread james o'brien
I have the following: DateTextField when = new DateTextField("when", newPropertyModel(bloodPressure, "when"), "M/d/"); when.setOutputMarkupId(true); when.add(new DatePicker()); When the form loads with pre-existing date of this format: "

Time input in the Wicket DateTextField widget?

2009-05-12 Thread Peter Neubauer
Hi there, I am wondering if there is any recommended way to enter the time, not only the date, in Wicket? Right now I am using timeTextField = new DateTextField("time", new Model(new Date()), new StyleDateConverter(false)); timeTextField.add(new

Re: DateTextField design issue

2009-05-07 Thread Eyal Golan
7;s really necessary On Thu, May 7, 2009 at 9:36 PM, Igor Vaynberg wrote: > problem is datetextfield suppports different formats which require > different converters, so it is a bit of a special case with regard to > using a global date converter. > > -igor > > On Thu, May 7, 2009

Re: DateTextField design issue

2009-05-07 Thread Igor Vaynberg
problem is datetextfield suppports different formats which require different converters, so it is a bit of a special case with regard to using a global date converter. -igor On Thu, May 7, 2009 at 11:16 AM, Eyal Golan wrote: > "if you want to use your own converter then override getc

Re: DateTextField design issue

2009-05-07 Thread Eyal Golan
x27;t print this e-mail unless it's really > necessary > > > > > > On Wed, May 6, 2009 at 6:43 PM, Igor Vaynberg >wrote: > > > >> what is the full name of this class? there are two DateTextField > >> classes in wicket codebase. > >> &

Re: DateTextField design issue

2009-05-07 Thread Igor Vaynberg
ed, May 6, 2009 at 6:43 PM, Igor Vaynberg wrote: > >> what is the full name of this class? there are two DateTextField >> classes in wicket codebase. >> >> -igor >> >> On Tue, May 5, 2009 at 9:51 AM, Eyal Golan wrote: >> > Hello, >> > We use W

Re: DateTextField design issue

2009-05-07 Thread Eyal Golan
ease don't print this e-mail unless it's really necessary On Wed, May 6, 2009 at 6:43 PM, Igor Vaynberg wrote: > what is the full name of this class? there are two DateTextField > classes in wicket codebase. > > -igor > > On Tue, May 5, 2009 at 9:51 AM, Eyal Golan wro

Re: DateTextField design issue

2009-05-06 Thread Eyal Golan
e: > what is the full name of this class? there are two DateTextField > classes in wicket codebase. > > -igor > > On Tue, May 5, 2009 at 9:51 AM, Eyal Golan wrote: > > Hello, > > We use Wicket 1.3.5 and I found something annoying with the > DateTextField. > >

Re: DateTextField design issue

2009-05-06 Thread Igor Vaynberg
what is the full name of this class? there are two DateTextField classes in wicket codebase. -igor On Tue, May 5, 2009 at 9:51 AM, Eyal Golan wrote: > Hello, > We use Wicket 1.3.5 and I found something annoying with the DateTextField. > In the constructor of that class, the converter i

Re: DateTextField design issue

2009-05-06 Thread Eyal Golan
More on that, we used the newConverterLocator() in out application exactly as it is suggested in WIA, page 297. However, because the DateTextField has its own converter, we even don't get to our customized converter. Is it a bug? Please advise. Eyal Golan egola...@gmail.com Visit:

DateTextField design issue

2009-05-05 Thread Eyal Golan
Hello, We use Wicket 1.3.5 and I found something annoying with the DateTextField. In the constructor of that class, the converter is created internally. If I want to use my own converter, I need to inherit DateTextField, add a converter as a member, and return it in the getConverter method. Why

Re: Weird DatePicker / DateTextField off by one hour

2009-05-04 Thread mallet
DatePicker---DateTextField-off-by-one-hour-tp23304596p23369989.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mai

Re: Weird DatePicker / DateTextField off by one hour

2009-04-30 Thread Ryan Gravener
https://issues.apache.org/jira/browse/WICKET-1314 Ryan Gravener http://isithotinhereorisitjust.me | http://twitter.com/ryangravener On Thu, Apr 30, 2009 at 11:28 AM, Ryan Gravener wrote: > What version of wicket, what timezone? >

Re: Weird DatePicker / DateTextField off by one hour

2009-04-30 Thread Ryan Gravener
What version of wicket, what timezone? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Weird DatePicker / DateTextField off by one hour

2009-04-30 Thread Stephan Koch
persisting to DB, and afterwards. I bet there's a TZ conversion happening somwhere that subtracts that one hour you are missing. Also check for Daylight Savings time, that might explain why it only happens with certain dates. BR, Stephan Ryan LaHue wrote: > I have a DateTextField to which I am

Weird DatePicker / DateTextField off by one hour

2009-04-29 Thread Ryan LaHue
I have a DateTextField to which I am adding a DatePicker. The Display works fine: if I select 4/1/2009 using the DatePicker and I save the form data to my database, then populate the form again from values in the database, I am seeing 4/1/2009. But when I look at my database I see that the

Re: DateTextField, format not valid, message key

2008-10-21 Thread Goran Novak
It works, thanks :) dateTextField.IConverter.Date = The date is not valid custom message Serkan Camurcuoglu wrote: > > Wicket in Action book says that IConverter.Date should work.. > > *** > > -- View this message in context: http://www.nabble.com/DateTextField%2C-f

Re: DateTextField, format not valid, message key

2008-10-20 Thread Serkan Camurcuoglu
> >> When I enter some random string in the text field in the feedback panel, >> "'asdfasdf' is not a valid Date." message appears. >> >> I would like to customize that message, but I can't find which key I need >> to insert in the propert

Re: DateTextField, format not valid, message key

2008-10-20 Thread Serkan Camurcuoglu
like to customize that message, but I can't find which key I need > to insert in the properties file. > > SomePage.properties --> > ... > dateTextField. = The date is not valid custom message. > ... > <-- > > Does somebody know what do I need to insert instead

DateTextField, format not valid, message key

2008-10-20 Thread Goran Novak
e, but I can't find which key I need to insert in the properties file. SomePage.properties --> ... dateTextField. = The date is not valid custom message. ... <-- Does somebody know what do I need to insert instead of the string. I searched the javadoc for the component and the web but

Re: Strict 4 digit year for DateTextField?

2008-07-28 Thread damnitjim
I ended up having to use a custom date pattern. I'm not saying wicket has to be US-centric but this is such a common validation that most US customers have included in their requirements. public class StrictPatternDateConverter extends PatternDateConverter { public static final String REGEX_P

Re: Strict 4 digit year for DateTextField?

2008-07-28 Thread damnitjim
Lary, I've been looking at the APIs some more and found this different DateTextField (I'm not sure which one you're using): org.apache.wicket.extensions.markup.html.form.DateTextField I was using this one: org.apache.wicket.datetime.markup.html.form.DateTextField It loo

RE: Strict 4 digit year for DateTextField?

2008-07-28 Thread Zappaterrini, Larry
TED] Sent: Monday, July 28, 2008 11:43 AM To: users@wicket.apache.org Subject: Re: Strict 4 digit year for DateTextField? Larry, I think setLenient(false) should work if you use java.text.DateFormat but did you write your own custom implementation of IConverter interface? Thats the only way I can t

Re: Strict 4 digit year for DateTextField?

2008-07-28 Thread damnitjim
> to enforce this in an encapsulated manner, but it isn't required. > > > Larry > > -Original Message- > From: damnitjim [mailto:[EMAIL PROTECTED] > Sent: Friday, July 25, 2008 2:03 PM > To: users@wicket.apache.org > Subject: Strict 4 digit year for DateTextFiel

RE: Strict 4 digit year for DateTextField?

2008-07-25 Thread Zappaterrini, Larry
in an encapsulated manner, but it isn't required. Larry -Original Message- From: damnitjim [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2008 2:03 PM To: users@wicket.apache.org Subject: Strict 4 digit year for DateTextField? Hi, Has anyone been able to enforce that the year i

Strict 4 digit year for DateTextField?

2008-07-25 Thread damnitjim
Hi, Has anyone been able to enforce that the year is 4 digits instead of two for the DateTextField? Right now, if my format is MM/dd/ the DateTextField is still allowing two digit fields to be submitted. final String dateFormat = "MM/dd/"; PatternDateConverter

Re: DateTextField question

2008-07-23 Thread Cristi Manole
I solved it on my project. The problem was due to a conflict between inMethod's grid yui and wicket yui. Although I updated both of them to use the same yui version, this didn't fix my problem - the calendar would still not show. Then I moved the code that generated the grid after the one that cr

Re: DateTextField question

2008-07-15 Thread Cristi Manole
I'm running on (quite) the same config. Anyways, I think Serkan is right - > if you have an ajax component on the page the date text field will stop working. He has another date text field, I have a single date text field but on a modal window implemented as a panel (if that even matters). I thin

Re: DateTextField question

2008-07-15 Thread Serkan Camurcuoglu
No, my configuration is Tomcat 5.5.23 Jetspeed 2.1.3 Wicket 1.3.4 and Firefox 2.0 on Linux.. Do you know which file was patched for the safari problem? This could be a pointer to find the cause of the problem.. Regards, Ryan Gravener wrote: Are you guys using safari? If so I think this pr

Re: DateTextField question

2008-07-15 Thread Ryan Gravener
Are you guys using safari? If so I think this problem is patched in 1.3.4. On 7/15/08, Serkan Camurcuoglu <[EMAIL PROTECTED]> wrote: > I'm not sure about the reason, but in my portlet application, only one > of the date pickers is initialized if I add two portlets on the same > page containing da

Re: DateTextField question

2008-07-15 Thread Serkan Camurcuoglu
I'm not sure about the reason, but in my portlet application, only one of the date pickers is initialized if I add two portlets on the same page containing date pickers, so only one of them works.. also it seems like the date picker doesn't work if there is any other wicket ajax component loade

DateTextField question

2008-07-15 Thread Cristi Manole
Hello, Any ideas why the calendar does not show on my modal window? ->I've seen the examples and I know it's working. ->It is not a problem related to z-index *It seems the yui class does not get appended to the tag so clicking the calendar icon does nothing (i presume that's the reason). *Has

Re: DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Joseph P.
It's not better in 1.3.4... I'll open the issue later on. bye Joseph -- View this message in context: http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18384463.html Sent from the Wicket - User mailing list archive at

Re: DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Joseph P.
Ok, we will :) bye -- View this message in context: http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18384019.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Ryan Gravener
() which was causing all this fuss. Since we > > commented it out it works fine... > > > > shall I open a bug ? > > > > bye > > joseph > > -- > > View this message in context: > http://www.nabble.com/DateTextField-%22bug%22-%3A-no-valida

Re: DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Igor Vaynberg
using all this fuss. Since we > commented it out it works fine... > > shall I open a bug ? > > bye > joseph > -- > View this message in context: > http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18379413.html > Sen

Re: DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Joseph P.
http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18379413.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Joseph P.
Hi We're currently facing an issue with a DateTextField define like this : DateTextField yearOfPublication = new DateTextField("published", getModel(), new PatternDateConverter("",true)); add(yearOfPublication); This field is added in a panel containing as well a re

Re: DateTextField and DatePicker are not using the same date pattern

2008-06-20 Thread taygolf
ck up the date format from the DateTextField or, > alternatively, > an overridden getDatePattern also works. > > It seems to be going wrong when the date is sent from the DatePicker back > to > the DateTextField via the onchange Javascript event handler. I've not yet >

DateTextField related question

2008-05-21 Thread Beyonder Unknown
Hi All, Has anyone tried using DateTextField with DatePicker, that instead of having a calendar image beside the DateTextField and calendar pops up when click, it actually pops up when you click the text field itself? Any response will be greatly appreciated! Thanks, Wen Tong -- The only

  1   2   >