Re: Regarding datepicker popup when inputfield pressed

2009-08-25 Thread copenhag copenhagen
Hi, A very nice solution to the this problem could be as Michael Mosmann suggested: initStart3 = function() { Wicket.DateTime.init( { you should extend the input tag with -- onfocus=initStart3.showCalendar() The problem is that in the wicket-date.js the showCalendar

Re: Regarding datepicker popup when inputfield pressed

2009-08-24 Thread copenhag copenhagen
Hi Thanks for the tip... I looked at wiquery and it looks good. And i may use some nice features from WiQuery later on. The problem is that my datepicker is integrated with the default Wicket datepicker, so it would be to heavy a job to use the WiQuery datepicker. But appearently there is no

Re: Regarding datepicker popup when inputfield pressed

2009-08-21 Thread copenhag copenhagen
Hi, Thanks for the suggest, but it did not work. Any other ideas on how to do it ...? Best Regards Cemil On Thu, Aug 20, 2009 at 4:20 PM, Michael Mosmann mich...@mosmann.de wrote: Am Donnerstag, den 20.08.2009, 16:00 +0200 schrieb copenhag copenhagen: Maybe it's because i am a new Wicket

Re: Regarding datepicker popup when inputfield pressed

2009-08-21 Thread copenhag copenhagen
Has no one really needed the calendar popup when the input field is selected/pressed ? It is a common feature on many calendars...How can i make it work... Help would be appreciated a lot. Best Regards On Fri, Aug 21, 2009 at 11:13 AM, copenhag copenhagen copenha...@gmail.comwrote: Hi,

Re: Regarding datepicker popup when inputfield pressed

2009-08-21 Thread Michael Mosmann
Am Freitag, den 21.08.2009, 14:33 +0200 schrieb copenhag copenhagen: Has no one really needed the calendar popup when the input field is selected/pressed ? sorry.. (btw. IMHO it is annoying ..) i searched for some solution.. but i think you have to a) take a look into this yui magic b) ask on

Re: Regarding datepicker popup when inputfield pressed

2009-08-21 Thread sander v F
There is a JQuery plugin capable of doing this, see: http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerClickInput.html You should have a look at WiQuery ( http://code.google.com/p/wiquery/ ), a Wicket JQuery component. I don't know if they already implemented this datepicker,

Re: Regarding datepicker popup when inputfield pressed

2009-08-20 Thread Troy Cauble
I'm doing this in 1.3.6. -troy import org.apache.wicket.extensions.markup.html.form.DateTextField; import org.apache.wicket.extensions.yui.calendar.DatePicker; ... DateTextField date = new DateTextField(date, MM/dd/); date.add(new DatePicker());

Re: Regarding datepicker popup when inputfield pressed

2009-08-20 Thread copenhag copenhagen
Hi Troy, Thanks for the swift answer. I know that you can attach a TextField to a DatePicker, but how would i make the calendar popup by just pressing the text field. As it is now i have to click the calendar icon, but i want to pop the calendar, by clicking on the field also. Just as in the

Re: Regarding datepicker popup when inputfield pressed

2009-08-20 Thread Eyal Golan
without looking into code, you probably need to add a behavior with onclick to the text field. look how it's done in the click on icon. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this

Re: Regarding datepicker popup when inputfield pressed

2009-08-20 Thread copenhag copenhagen
Maybe it's because i am a new Wicket user, but i tried that, without any luck. I can't figure out how the calendar is called when clicked on the icon, it's pretty tricky for me how it's done. Best Regards Cemil On Thu, Aug 20, 2009 at 3:33 PM, Eyal Golan egola...@gmail.com wrote: without

Re: Regarding datepicker popup when inputfield pressed

2009-08-20 Thread Michael Mosmann
Am Donnerstag, den 20.08.2009, 16:00 +0200 schrieb copenhag copenhagen: Maybe it's because i am a new Wicket user, but i tried that, without any luck. I can't figure out how the calendar is called when clicked on the icon, it's pretty tricky for me how it's done. IMHO yui is doing some