Re: DateTextField, image is displayed on line below

2014-01-01 Thread arronlee
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 francois.meil...@gmail.com 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(Locale locale

Submitting a DateTextField value in a different timezone that the browser

2013-08-02 Thread seba.wag...@gmail.com
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 ideas or pointers how

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

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: 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

DateTextField, image is displayed on line below

2013-07-11 Thread Delange
/icon1-ver-A9D71378ED9162B2DB5DE040C09D5BDE.gif /div /div -- 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 Nabble.com

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 date

Re: DateTextField, image is displayed on line below

2013-07-11 Thread Dieter Tremel
type=text size=9 maxlength=9 value=05/07/2013 id=id6/ nbsp; ../resource/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1-ver-A9D71378ED9162B2DB5DE040C09D5BDE.gif /div /div -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DateTextField-image

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: Orderdate

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(ExpDate, -MM-dd

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 jk.h...@gmail.com 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. I

Re: DateTextfield with DatePicker

2013-06-19 Thread Paul Bors
-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 txtDatumVon = new DateTextField(txtDatumVon, new PatternDateConverter(dd/MM/, false

Re: DatePicker and DateTextField

2013-06-14 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, christoph.ma...@t-systems.com a écrit : Hello, how is the DatePicker binded tot he DateTextfield? How is the picked date

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 dd.MM.).parse(date)); } catch (ParseException e

Re: DatePicker and DateTextField

2013-06-14 Thread Dr. Britta Landgraf
I use it in tho following way: new DateTextField(ToDay, new PropertyModelDate(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 txtDatumVon = new DateTextField(txtDatumVon, new

AW: DatePicker and DateTextField

2013-06-14 Thread Christoph.Manig
: 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 DateTextField(ToDay, new

Re: DatePicker and DateTextField

2013-06-14 Thread Dr. Britta Landgraf
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 DateTextField(ToDay, new PropertyModelDate(ti, dateTo), HH:mm:ss dd.MM.); best regards Britta

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 like this: HH:mm:ss 11.06.2013

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, christoph.ma...@t-systems.com wrote: Hello, in my application I have a DateTextField with a DatePicker. I declared it like

AW: DateTextfield with DatePicker

2013-06-13 Thread Christoph.Manig
] 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, christoph.ma...@t-systems.com wrote

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

Re: DateTextField maxlength idea

2012-02-04 Thread Martin Grigorov
Ticket please :-) On Fri, Feb 3, 2012 at 9:58 PM, Jim Pinkham pinkh...@gmail.com 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

Re: DateTextField maxlength idea

2012-02-04 Thread Jim Pinkham
WICKET-4386 https://issues.apache.org/jira/browse/WICKET-4386 On Sat, Feb 4, 2012 at 5:27 AM, Martin Grigorov mgrigo...@apache.orgwrote: Ticket please :-) On Fri, Feb 3, 2012 at 9:58 PM, Jim Pinkham pinkh...@gmail.com wrote: I have a simple data entry form with a date/time field. My end

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

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

Re: DateTextField

2011-11-07 Thread Martin Grigorov
DateTextField components. So, which I use it? org.apache.wicket.datetime.markup.html.form.DateTextField org.apache.wicket.extensions.markup.html.form.DateTextField thanks, kemal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DateTextField-tp3998533p3998533

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 kemal.m...@gmail.com wrote: Hi, There are two DateTextField components. So, which I use

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

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

Re: Strange problem with DateTextField

2011-06-21 Thread Peter Ertl
().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 found a problem with DateTextField, when a date comes like 11

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: Javascript string formatting problem with DateTextField and DatePicker

2010-06-04 Thread Jimi
-- 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 at Nabble.com

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 clicking in the button do

Re: Javascript string formatting problem with DateTextField and DatePicker

2010-06-03 Thread Jimi
-formatting-problem-with-DateTextField-and-DatePicker-tp2241433p2241559.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-mail

Re: Javascript string formatting problem with DateTextField and DatePicker

2010-06-03 Thread Igor Vaynberg
check if the datepattern matches and then leave the year as it is. /Jimi -- View this message in 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

Re: DateTextField and DatePicker returning wrong date

2010-05-06 Thread Jeremy Thomerson
? 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.html Sent from the Wicket

Re: DateTextField and DatePicker returning wrong date

2010-05-06 Thread taygolf
-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.org

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 PropertyModelDate(this, value), new PatternDateConverter(MM/dd/, false)); DatePicker dp = new DatePicker(){ public boolean

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 had no luck

Re: saving datetextfield values on ajax refresh

2010-04-05 Thread Martin Makundi
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 had no luck. anyone else had this problem

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
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 wic...@geofflancaster.com: along with the datetextfield i have a dropdownchoice menu. the page

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
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.apache.org/mod_mbox/wicket-users

Re: busy indicator and DateTextField / DatePicker / YUI

2010-02-24 Thread Bert
, calheader. You can of cause add more class name into 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

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: DateTextField and DatePicker Default Date

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

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 feedbackPanel to show

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 cmoulli...@gmail.comwrote: I use a DateTextField to check if a user encode

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

2009-09-28 Thread Matthias Keller
). 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 DateTextField to check

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

2009-05-14 Thread jobiwankanobi
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 jobr...@spinnphr.com wrote: I have the following: DateTextField when = new DateTextField(when, newPropertyModel(bloodPressure, when), M/d/

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 igor.vaynberg wrote

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 DatePicker

Re: DateTextField design issue

2009-05-07 Thread Eyal Golan
print this e-mail unless it's really necessary On Wed, May 6, 2009 at 6:43 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: 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 egola...@gmail.com wrote

Re: DateTextField design issue

2009-05-07 Thread Igor Vaynberg
...@gmail.comwrote: 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 egola...@gmail.com wrote: Hello, We use Wicket 1.3.5 and I found something annoying with the DateTextField. In the constructor

Re: DateTextField design issue

2009-05-07 Thread Eyal Golan
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 egola...@gmail.com wrote: Hello, We use Wicket 1.3.5 and I found something annoying with the DateTextField

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 egola...@gmail.com wrote: if you want to use your own converter then override

Re: DateTextField design issue

2009-05-07 Thread Eyal Golan
necessary On Thu, May 7, 2009 at 9:36 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: 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

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: http

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 egola...@gmail.com wrote: Hello, We use Wicket 1.3.5 and I found something annoying with the DateTextField. In the constructor of that class

Re: DateTextField design issue

2009-05-06 Thread Eyal Golan
...@gmail.comwrote: 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 egola...@gmail.com wrote: Hello, We use Wicket 1.3.5 and I found something annoying with the DateTextField. In the constructor

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
---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-mail: users-h

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 adding

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 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 r...@ryangravener.comwrote: What version of wicket, what timezone?

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

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-format-not-valid%2C

DateTextField, format not valid, message key

2008-10-20 Thread Goran Novak
the validator name. The component is defined as follows in the java file: SomePage.java -- ... DateTextField dateTextField= new DateTextField(dateTextField, new PropertyModel(model,propertyName), new PatternDateConverter(dd.MM.,true)); dateTextField.add(new DatePicker()); add

Re: DateTextField, format not valid, message key

2008-10-20 Thread Serkan Camurcuoglu
name. The component is defined as follows in the java file: SomePage.java -- ... DateTextField dateTextField= new DateTextField(dateTextField, new PropertyModel(model, propertyName), new PatternDateConverter(dd.MM.,true)); dateTextField.add(new DatePicker()); add(dateTextField

Re: DateTextField, format not valid, message key

2008-10-20 Thread Serkan Camurcuoglu
of the NameOfValidator string. I searched the javadoc for the component and the web but didn't find the validator name. The component is defined as follows in the java file: SomePage.java -- ... DateTextField dateTextField= new DateTextField(dateTextField, new PropertyModel(model, propertyName

Re: Strict 4 digit year for DateTextField?

2008-07-28 Thread damnitjim
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 DateTextField? Hi, Has anyone been able to enforce that the year is 4 digits

RE: Strict 4 digit year for DateTextField?

2008-07-28 Thread Zappaterrini, Larry
: 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 think

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 looks like

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

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 pdc = new PatternDateConverter

RE: Strict 4 digit year for DateTextField?

2008-07-25 Thread Zappaterrini, Larry
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 DateTextField? Hi, Has anyone been able to enforce that the year is 4 digits

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

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 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

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 date

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

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

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 required field (named title

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

2008-07-10 Thread Joseph P.
://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 additional

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

2008-07-10 Thread Igor Vaynberg
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 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
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 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 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 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 Nabble.com

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

2008-06-20 Thread taygolf
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 figured out how this works yet. Has anyone used

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

DateTextField - what am I missing here?

2008-05-13 Thread V. Jenks
I must be missing something obvious but I can't spot itI'm using a DateTextField (Wicket 1.3.2) in my form like so: Java: DateTextField expiryDate = new DateTextField( expiryDate, new PropertyModel(this, date), new StyleDateConverter(S-, true

Re: DateTextField - what am I missing here?

2008-05-13 Thread Maurice Marrink
must be missing something obvious but I can't spot itI'm using a DateTextField (Wicket 1.3.2) in my form like so: Java: DateTextField expiryDate = new DateTextField( expiryDate, new PropertyModel(this, date), new StyleDateConverter(S-, true

Re: DateTextField - what am I missing here?

2008-05-13 Thread Maurice Marrink
] wrote: I don't know, would it? That's what I'm trying to figure out, the example is very vague. By that logic, I should name pass in expiryDate even though I've already named the field that? I tried: DateTextField expiryDate = new DateTextField( expiryDate

Re: DateTextField - what am I missing here?

2008-05-13 Thread standon
[EMAIL PROTECTED] wrote: I don't know, would it? That's what I'm trying to figure out, the example is very vague. By that logic, I should name pass in expiryDate even though I've already named the field that? I tried: DateTextField expiryDate = new DateTextField

Re: problem with DateTextField in wicket 1.3

2008-04-19 Thread Maurice Marrink
Please create a Jira issue. Maurice On Fri, Apr 18, 2008 at 4:45 AM, Vadim Tesis [EMAIL PROTECTED] wrote: all, i'm trying to move from wicket-1.3.0-rc2 to wicket-1.3.3. for some reason i started having problems with DateTextField. it's displaying an error in java script: Line

  1   2   >