Re: Example for advanced grid for wicket with timer/date picker controls

2013-05-17 Thread Bruno Moura
Thanks Sebastien.

I'll verify your links and I hope some one will help me a lot!

Regards

Bruno Moura


2013/5/17 Sebastien 

> Hi Bruno,
>
> If you plan to use jQuery UI, you way find a DatePicker (for wicket 1.5 or
> 6) here for instance:
> http://www.7thweb.net/wicket-jquery-ui/datepicker/DefaultDatePickerPage
>
> The DatePickerBehavior is also available in case you want to make your
> own...
>
> https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui/src/main/java/com/googlecode/wicket/jquery/ui/form/datepicker/DatePickerBehavior.java
>
> There is also the Kendo UI's one:
>
> http://www.7thweb.net/wicket-jquery-ui/kendo/datetimepicker/KendoDatePickerPage
>
> Best regards,
> Sebastien.
>
> On Fri, May 17, 2013 at 3:36 PM, Bruno Moura 
> wrote:
>
> > Thanks Martin
> >
> > I will investigate this and how add a datepicker behaviour in a
> textField.
> >
> > Bruno Moura
> >
>


Re: Example for advanced grid for wicket with timer/date picker controls

2013-05-17 Thread Sebastien
Hi Bruno,

If you plan to use jQuery UI, you way find a DatePicker (for wicket 1.5 or
6) here for instance:
http://www.7thweb.net/wicket-jquery-ui/datepicker/DefaultDatePickerPage

The DatePickerBehavior is also available in case you want to make your
own...
https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui/src/main/java/com/googlecode/wicket/jquery/ui/form/datepicker/DatePickerBehavior.java

There is also the Kendo UI's one:
http://www.7thweb.net/wicket-jquery-ui/kendo/datetimepicker/KendoDatePickerPage

Best regards,
Sebastien.

On Fri, May 17, 2013 at 3:36 PM, Bruno Moura  wrote:

> Thanks Martin
>
> I will investigate this and how add a datepicker behaviour in a textField.
>
> Bruno Moura
>


Re: Example for advanced grid for wicket with timer/date picker controls

2013-05-17 Thread Bruno Moura
Thanks Martin

I will investigate this and how add a datepicker behaviour in a textField.

Bruno Moura


2013/5/17 Martin Grigorov 

> Hi Bruno,
>
> WicketStuff provides two grid components - InMethod Grid and EnhancedGrid.
> DatePicker usually is just a behavior added to a TextField. It should be
> simple to achieve what you need.
>
>
> On Fri, May 17, 2013 at 5:59 AM, Bruno Moura 
> wrote:
>
> > Someone could give an example of code of an app built with an advanced
> grid
> > with date picker component in it cells?
> >
> > Thanks
> >
> > Bera
> >
>
>
>
> --
> Martin Grigorov
> Wicket Training & Consulting
> http://jWeekend.com <http://jweekend.com/>
>


Re: Example for advanced grid for wicket with timer/date picker controls

2013-05-16 Thread Martin Grigorov
Hi Bruno,

WicketStuff provides two grid components - InMethod Grid and EnhancedGrid.
DatePicker usually is just a behavior added to a TextField. It should be
simple to achieve what you need.


On Fri, May 17, 2013 at 5:59 AM, Bruno Moura  wrote:

> Someone could give an example of code of an app built with an advanced grid
> with date picker component in it cells?
>
> Thanks
>
> Bera
>



-- 
Martin Grigorov
Wicket Training & Consulting
http://jWeekend.com <http://jweekend.com/>


Example for advanced grid for wicket with timer/date picker controls

2013-05-16 Thread Bruno Moura
Someone could give an example of code of an app built with an advanced grid
with date picker component in it cells?

Thanks

Bera


Re: target.addComponent breaks Jquery date picker

2011-07-25 Thread lucast
Thank you, Andrea.
I added target.appendJavascript( "jquery code here" ); and that solved the
problem.
Kind regards,
Lucas


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/target-addComponent-breaks-Jquery-date-picker-tp3693121p3693360.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...@wicket.apache.org



Re: target.addComponent breaks Jquery date picker

2011-07-25 Thread Andrea Del Bene

Hi,

try using ajaxRequest.appendJavaScript("JQuery here") to restore data 
picker functionality on updated field.



Dear Forum,
I'm have a jquery date picker field that I can update by adding
AjaxFormComponentUpdatingBehavior to a drop down choice.

After I have updated the date field using ajax through the drop down choice,
the jquery date picker functionality is no longer working.


Following the advice on this
http://apache-wicket.1842946.n4.nabble.com/target-addComponent-td2713413.html
post ,
I have added renderHead(IHeaderResponse response) {
response.renderOnLoadJavascript("jquery here");
}
to the form.
The behaviour is the same, the date picker works until the date field is
updated via ajax through the drop down choice.

Neither response.renderOnLoadJavascript or
response.renderOnDomReadyJavascript can make the date picker work after it
has been updated through  target.addComponent( startDateField );

Would anyone know how I can solve this problem?

Thanks in advance,
Lucas

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/target-addComponent-breaks-Jquery-date-picker-tp3693121p3693121.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...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



target.addComponent breaks Jquery date picker

2011-07-25 Thread lucast
Dear Forum,
I'm have a jquery date picker field that I can update by adding
AjaxFormComponentUpdatingBehavior to a drop down choice.

After I have updated the date field using ajax through the drop down choice,
the jquery date picker functionality is no longer working.


Following the advice on this 
http://apache-wicket.1842946.n4.nabble.com/target-addComponent-td2713413.html
post , 
I have added renderHead(IHeaderResponse response) {
response.renderOnLoadJavascript("jquery here");
} 
to the form.
The behaviour is the same, the date picker works until the date field is
updated via ajax through the drop down choice.

Neither response.renderOnLoadJavascript or
response.renderOnDomReadyJavascript can make the date picker work after it
has been updated through  target.addComponent( startDateField );

Would anyone know how I can solve this problem?

Thanks in advance,
Lucas

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/target-addComponent-breaks-Jquery-date-picker-tp3693121p3693121.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...@wicket.apache.org



Date Picker issue

2011-07-06 Thread ramlael
Hi,
Mouse out of any date box, the date picker should disappear, but I used
apache wicket date picket, its not closing once the mouse out after opening
the date picker. Please help me on this.

Thanks in advance.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Date-Picker-issue-tp3647913p3647913.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...@wicket.apache.org



Date Picker issue

2011-07-05 Thread ramlael
Hi,

I am facing issue with DatePicker, needs to close the datepicker once the
mouse out from the Date text box.


The requirement : Screen has two date text boxes (From Date and To Date) ,
if the user click "from date" datepicker and next he clicks "to date" Date
picker, the from date picker has to close and todate date picker has to open
but here the from date picker remains open, its not closing.  Please help
me, how to solve this problem.

Thanks in advance.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Date-Picker-issue-tp3647831p3647831.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...@wicket.apache.org



Re: date picker calendar shown on text field clicked

2010-05-29 Thread Doug Leeper

I actually have a requirement for the Date Picker to be shown when focus is
applied to the field.  Is this possible too?  Can this be configurable, i.e.
not all fields have this onfocus behavior?
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/date-picker-calendar-shown-on-text-field-clicked-tp2234853p2236054.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...@wicket.apache.org



Re: date picker calendar shown on text field clicked

2010-05-29 Thread Jeremy Thomerson
2010/5/29 Vytautas Čivilis 

> Is everything ok with this patch?


Don't know - haven't had time to look at it (and I probably won't personally
any time this week).

-- 
Jeremy Thomerson
http://www.wickettraining.com


Re: date picker calendar shown on text field clicked

2010-05-29 Thread Vytautas Čivilis
Is everything ok with this patch?

V

2010/5/28 Vytautas Čivilis 

> https://issues.apache.org/jira/browse/WICKET-2899
>
>
> On Fri, May 28, 2010 at 9:18 PM, Jeremy Thomerson <
> jer...@wickettraining.com> wrote:
>
>> 2010/5/28 Vytautas Čivilis 
>>
>> > Hi.
>> >
>> > It would be great, if you'd consider including following code to make
>> > TextField, that is assigned to date picker, aware of date picker itself.
>> > So,
>> > when TextField is clicked, picker calendar would be displayed.
>> >
>> > Implement it is very easy:
>> >
>> >
>> > in wicket-date.js:
>> >
>> > add some configuration property, like showCalendarOnTextFieldSelect and
>> use
>> > it next to line:
>> >
>> > YAHOO.util.Event.addListener(cfg.icon, "click", showCalendar,
>> > YAHOO.wicket[cfg.dpJs], true);
>> >
>> > //new code below:
>> >
>> > if(cfg.showCalendarOnTextFieldSelect) {
>> >YAHOO.util.Event.addListener(cfg.widgetId, "click", showCalendar,
>> > YAHOO.wicket[cfg.dpJs], true);
>> > }
>> >
>> >
>> > Sorry that I didn't provide the patch, I could do it if you'd seriously
>> > consider incorporating this feature.
>> >
>> > V
>> >
>>
>> Please create a JIRA for this with patch attached.
>>
>> --
>> Jeremy Thomerson
>> http://www.wickettraining.com
>>
>
>


Re: date picker calendar shown on text field clicked

2010-05-28 Thread Vytautas Čivilis
https://issues.apache.org/jira/browse/WICKET-2899

On Fri, May 28, 2010 at 9:18 PM, Jeremy Thomerson  wrote:

> 2010/5/28 Vytautas Čivilis 
>
> > Hi.
> >
> > It would be great, if you'd consider including following code to make
> > TextField, that is assigned to date picker, aware of date picker itself.
> > So,
> > when TextField is clicked, picker calendar would be displayed.
> >
> > Implement it is very easy:
> >
> >
> > in wicket-date.js:
> >
> > add some configuration property, like showCalendarOnTextFieldSelect and
> use
> > it next to line:
> >
> > YAHOO.util.Event.addListener(cfg.icon, "click", showCalendar,
> > YAHOO.wicket[cfg.dpJs], true);
> >
> > //new code below:
> >
> > if(cfg.showCalendarOnTextFieldSelect) {
> >YAHOO.util.Event.addListener(cfg.widgetId, "click", showCalendar,
> > YAHOO.wicket[cfg.dpJs], true);
> > }
> >
> >
> > Sorry that I didn't provide the patch, I could do it if you'd seriously
> > consider incorporating this feature.
> >
> > V
> >
>
> Please create a JIRA for this with patch attached.
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>


Re: date picker calendar shown on text field clicked

2010-05-28 Thread Jeremy Thomerson
2010/5/28 Vytautas Čivilis 

> Hi.
>
> It would be great, if you'd consider including following code to make
> TextField, that is assigned to date picker, aware of date picker itself.
> So,
> when TextField is clicked, picker calendar would be displayed.
>
> Implement it is very easy:
>
>
> in wicket-date.js:
>
> add some configuration property, like showCalendarOnTextFieldSelect and use
> it next to line:
>
> YAHOO.util.Event.addListener(cfg.icon, "click", showCalendar,
> YAHOO.wicket[cfg.dpJs], true);
>
> //new code below:
>
> if(cfg.showCalendarOnTextFieldSelect) {
>YAHOO.util.Event.addListener(cfg.widgetId, "click", showCalendar,
> YAHOO.wicket[cfg.dpJs], true);
> }
>
>
> Sorry that I didn't provide the patch, I could do it if you'd seriously
> consider incorporating this feature.
>
> V
>

Please create a JIRA for this with patch attached.

-- 
Jeremy Thomerson
http://www.wickettraining.com


date picker calendar shown on text field clicked

2010-05-28 Thread Vytautas Čivilis
Hi.

It would be great, if you'd consider including following code to make
TextField, that is assigned to date picker, aware of date picker itself. So,
when TextField is clicked, picker calendar would be displayed.

Implement it is very easy:


in wicket-date.js:

add some configuration property, like showCalendarOnTextFieldSelect and use
it next to line:

YAHOO.util.Event.addListener(cfg.icon, "click", showCalendar,
YAHOO.wicket[cfg.dpJs], true);

//new code below:

if(cfg.showCalendarOnTextFieldSelect) {
YAHOO.util.Event.addListener(cfg.widgetId, "click", showCalendar,
YAHOO.wicket[cfg.dpJs], true);
}


Sorry that I didn't provide the patch, I could do it if you'd seriously
consider incorporating this feature.

V


Re: Date Picker in Editable TreeTable in IE7 and IE8

2009-10-15 Thread John MacEnri
Hi,

just to close this off in case it's of use to anyone else.

I gave up trying to get the DatePicker working from within a
wicket-extensions TreeTable (v1.4.2) in IE.
Instead I downloaded and used the new TableTree component from
http://code.google.com/p/wicket-tree/
(Thanks to Sven Meier)
This gives me pretty much the same functionality I had been using with the
wicket-extensions TreeTable, but now the DatePicker is working fine.

I think it's something to do with how IE handles . The wicket-tree
TableTree component is rendered based on standard HTML 
markup.

I found the new TableTree very natural in terms of the simplicity of the
tree model is uses (ITreeProvider) and my model objects at each node don't
have to implement a heavy TreeNode interface or be wrapped some
implementation of it.

The only drawback of TableTree was due to my own lack of experience of CSS.
I had to do a lot of the styling myself, whereas I was happy with what came
out of the box with extensions TreeTable.

Is this wicket-tree TableTree component going to be incorporated into
wicket-extensions? It seems like a good idea to drop the dependency on Swing
TreeModel etc.

Regards

John

2009/10/12 John MacEnri 

> Thanks for that Zoltan.
>
> Looks like it's worth a bit more digging into the css. I had already played
> with the z-index but that had no effect. There must be something coming from
> further up the structure tree that is causing it (only in IE, fine in
> FireFox).
>
> I might subclass the DatePicker in order to wrap it in an outer span like
> you've shown here to see if that has any effect.
>
> Thanks again
>
> John
>
>
>
> 2009/10/12 zlus...@gmail.com 
>
> Hi,
>>
>> Try to play with z-index css value; increase it, and it should bring the
>> calendar control above the other parts of the table. We are also using the
>> YUI calendar widget inside a table, see this page on JavaForge:
>> http://www.javaforge.com/proj/tracker/submitNew.do?tracker_id=5407.
>> (Sorry guys for showing a struts page here ;-).
>>
>> The calendar markup is wrapped in a > class="calOuterContainer"> The relevan css is:
>>
>> /* "relative" puts the calendar where the container is on screen */
>> .calOuterContainer {
>>   position: relative;
>>   z-index:20;
>>   /* holy hack for IE6 scrollbar bug on relative positioned controller
>>   see: http://www.positioniseverything.net/explorer/unscrollable.html
>>   */
>>   height: 1%;
>> }
>>
>> I hope that helps,
>> Zoltan
>>
>>
>> John MacEnri írta:
>>
>> Rolling my own seems like a pretty heavyweight solution. The control for
>>> the
>>> most part is fine. (Though the lack of any year change ability is a
>>> significant drawback)
>>>
>>> What I'm trying to find out is whether anyone else is having any trouble
>>> with the YUI datepicker in IE7 or IE8 when used within a Table or
>>> TreeTable.
>>> Thanks
>>>
>>> John
>>>
>>> 2009/10/10 Igor Vaynberg 
>>>
>>>
>>>
>>>> you can always roll your own datepicker if the YUI one does not work
>>>> properly.
>>>>
>>>> -igor
>>>>
>>>> On Fri, Oct 9, 2009 at 5:13 PM, John MacEnri 
>>>> wrote:
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>>
>>>>> I'm new to Wicket this week, so not familiar with the expected format
>>>>> or
>>>>> structure of emails to this mailing list.
>>>>>
>>>>> I picked Wicket after trawling around for a framework that would enable
>>>>>
>>>>>
>>>> UI
>>>>
>>>>
>>>>> programming on the Web make sense again. It's been an absolute pleasure
>>>>>
>>>>>
>>>> so
>>>>
>>>>
>>>>> far. Compared to the pain I've felt for some time now battling with web
>>>>> application frameworks where most of the code of the applications was
>>>>> in
>>>>> XML, JS, JSP etc. etc. and a light sprinkling of actual Java, the
>>>>>
>>>>>
>>>> elegance
>>>>
>>>>
>>>>> of Wicket as a natural UI programming environment makes everything seem
>>>>> possible and even enjoyable again. Thanks.
>>>>>
>>>>> But, (there always is a but:-) ), I'm struggling with an issue I've hit

Re: Date Picker in Editable TreeTable in IE7 and IE8

2009-10-12 Thread John MacEnri
Thanks for that Zoltan.

Looks like it's worth a bit more digging into the css. I had already played
with the z-index but that had no effect. There must be something coming from
further up the structure tree that is causing it (only in IE, fine in
FireFox).

I might subclass the DatePicker in order to wrap it in an outer span like
you've shown here to see if that has any effect.

Thanks again

John



2009/10/12 zlus...@gmail.com 

> Hi,
>
> Try to play with z-index css value; increase it, and it should bring the
> calendar control above the other parts of the table. We are also using the
> YUI calendar widget inside a table, see this page on JavaForge:
> http://www.javaforge.com/proj/tracker/submitNew.do?tracker_id=5407. (Sorry
> guys for showing a struts page here ;-).
>
> The calendar markup is wrapped in a  class="calOuterContainer"> The relevan css is:
>
> /* "relative" puts the calendar where the container is on screen */
> .calOuterContainer {
>   position: relative;
>   z-index:20;
>   /* holy hack for IE6 scrollbar bug on relative positioned controller
>   see: http://www.positioniseverything.net/explorer/unscrollable.html
>   */
>   height: 1%;
> }
>
> I hope that helps,
> Zoltan
>
>
> John MacEnri írta:
>
> Rolling my own seems like a pretty heavyweight solution. The control for
>> the
>> most part is fine. (Though the lack of any year change ability is a
>> significant drawback)
>>
>> What I'm trying to find out is whether anyone else is having any trouble
>> with the YUI datepicker in IE7 or IE8 when used within a Table or
>> TreeTable.
>> Thanks
>>
>> John
>>
>> 2009/10/10 Igor Vaynberg 
>>
>>
>>
>>> you can always roll your own datepicker if the YUI one does not work
>>> properly.
>>>
>>> -igor
>>>
>>> On Fri, Oct 9, 2009 at 5:13 PM, John MacEnri 
>>> wrote:
>>>
>>>
>>>> Hi,
>>>>
>>>>
>>>> I'm new to Wicket this week, so not familiar with the expected format or
>>>> structure of emails to this mailing list.
>>>>
>>>> I picked Wicket after trawling around for a framework that would enable
>>>>
>>>>
>>> UI
>>>
>>>
>>>> programming on the Web make sense again. It's been an absolute pleasure
>>>>
>>>>
>>> so
>>>
>>>
>>>> far. Compared to the pain I've felt for some time now battling with web
>>>> application frameworks where most of the code of the applications was in
>>>> XML, JS, JSP etc. etc. and a light sprinkling of actual Java, the
>>>>
>>>>
>>> elegance
>>>
>>>
>>>> of Wicket as a natural UI programming environment makes everything seem
>>>> possible and even enjoyable again. Thanks.
>>>>
>>>> But, (there always is a but:-) ), I'm struggling with an issue I've hit
>>>>
>>>>
>>> with
>>>
>>>
>>>> the DatePicker and can't seem to resolve it.
>>>>
>>>> I'm using Wicket 1.4.1.
>>>> I used the Editable TreeTable example from the Wicket site as a starter
>>>>
>>>>
>>> for
>>>
>>>
>>>> the very small app I needed to write.
>>>> Rather than just text editable columns though, I'm making them more type
>>>> specific, so one of them is for Dates and shows a DateTextField and a
>>>> DatePicker.
>>>>
>>>> The app is working fine in Firefox but the DatePicker is always caught
>>>> behind the rows above and below when I run the app in IE7 or 8.
>>>> The attached screen snippets show the difference. I've dug deep into the
>>>>
>>>>
>>> css
>>>
>>>
>>>> and used the developer tools in IE8 which give you something akin to
>>>>
>>>>
>>> Firebug
>>>
>>>
>>>> but couldn't find  any css change would fix it.
>>>>
>>>> Is there a way to fix this or an alternative date picker?
>>>>
>>>> Thanks
>>>>
>>>> John
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -
>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>
>>>>
>>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Date Picker in Editable TreeTable in IE7 and IE8

2009-10-11 Thread zlus...@gmail.com

Hi,

Try to play with z-index css value; increase it, and it should bring the 
calendar control above the other parts of the table. We are also using 
the YUI calendar widget inside a table, see this page on JavaForge: 
http://www.javaforge.com/proj/tracker/submitNew.do?tracker_id=5407. 
(Sorry guys for showing a struts page here ;-).


The calendar markup is wrapped in a class="calOuterContainer"> The relevan css is:


/* "relative" puts the calendar where the container is on screen */
.calOuterContainer {
   position: relative;
   z-index:20;
   /* holy hack for IE6 scrollbar bug on relative positioned controller
   see: http://www.positioniseverything.net/explorer/unscrollable.html
   */
   height: 1%;
}

I hope that helps,
Zoltan


John MacEnri írta:

Rolling my own seems like a pretty heavyweight solution. The control for the
most part is fine. (Though the lack of any year change ability is a
significant drawback)

What I'm trying to find out is whether anyone else is having any trouble
with the YUI datepicker in IE7 or IE8 when used within a Table or TreeTable.
Thanks

John

2009/10/10 Igor Vaynberg 

  

you can always roll your own datepicker if the YUI one does not work
properly.

-igor

On Fri, Oct 9, 2009 at 5:13 PM, John MacEnri 
wrote:


Hi,


I'm new to Wicket this week, so not familiar with the expected format or
structure of emails to this mailing list.

I picked Wicket after trawling around for a framework that would enable
  

UI


programming on the Web make sense again. It's been an absolute pleasure
  

so


far. Compared to the pain I've felt for some time now battling with web
application frameworks where most of the code of the applications was in
XML, JS, JSP etc. etc. and a light sprinkling of actual Java, the
  

elegance


of Wicket as a natural UI programming environment makes everything seem
possible and even enjoyable again. Thanks.

But, (there always is a but:-) ), I'm struggling with an issue I've hit
  

with


the DatePicker and can't seem to resolve it.

I'm using Wicket 1.4.1.
I used the Editable TreeTable example from the Wicket site as a starter
  

for


the very small app I needed to write.
Rather than just text editable columns though, I'm making them more type
specific, so one of them is for Dates and shows a DateTextField and a
DatePicker.

The app is working fine in Firefox but the DatePicker is always caught
behind the rows above and below when I run the app in IE7 or 8.
The attached screen snippets show the difference. I've dug deep into the
  

css


and used the developer tools in IE8 which give you something akin to
  

Firebug


but couldn't find  any css change would fix it.

Is there a way to fix this or an alternative date picker?

Thanks

John





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

  

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Date Picker in Editable TreeTable in IE7 and IE8

2009-10-11 Thread John MacEnri
Rolling my own seems like a pretty heavyweight solution. The control for the
most part is fine. (Though the lack of any year change ability is a
significant drawback)

What I'm trying to find out is whether anyone else is having any trouble
with the YUI datepicker in IE7 or IE8 when used within a Table or TreeTable.
Thanks

John

2009/10/10 Igor Vaynberg 

> you can always roll your own datepicker if the YUI one does not work
> properly.
>
> -igor
>
> On Fri, Oct 9, 2009 at 5:13 PM, John MacEnri 
> wrote:
> > Hi,
> >
> >
> > I'm new to Wicket this week, so not familiar with the expected format or
> > structure of emails to this mailing list.
> >
> > I picked Wicket after trawling around for a framework that would enable
> UI
> > programming on the Web make sense again. It's been an absolute pleasure
> so
> > far. Compared to the pain I've felt for some time now battling with web
> > application frameworks where most of the code of the applications was in
> > XML, JS, JSP etc. etc. and a light sprinkling of actual Java, the
> elegance
> > of Wicket as a natural UI programming environment makes everything seem
> > possible and even enjoyable again. Thanks.
> >
> > But, (there always is a but:-) ), I'm struggling with an issue I've hit
> with
> > the DatePicker and can't seem to resolve it.
> >
> > I'm using Wicket 1.4.1.
> > I used the Editable TreeTable example from the Wicket site as a starter
> for
> > the very small app I needed to write.
> > Rather than just text editable columns though, I'm making them more type
> > specific, so one of them is for Dates and shows a DateTextField and a
> > DatePicker.
> >
> > The app is working fine in Firefox but the DatePicker is always caught
> > behind the rows above and below when I run the app in IE7 or 8.
> > The attached screen snippets show the difference. I've dug deep into the
> css
> > and used the developer tools in IE8 which give you something akin to
> Firebug
> > but couldn't find  any css change would fix it.
> >
> > Is there a way to fix this or an alternative date picker?
> >
> > Thanks
> >
> > John
> >
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Date Picker in Editable TreeTable in IE7 and IE8

2009-10-09 Thread Igor Vaynberg
you can always roll your own datepicker if the YUI one does not work properly.

-igor

On Fri, Oct 9, 2009 at 5:13 PM, John MacEnri  wrote:
> Hi,
>
>
> I'm new to Wicket this week, so not familiar with the expected format or
> structure of emails to this mailing list.
>
> I picked Wicket after trawling around for a framework that would enable UI
> programming on the Web make sense again. It's been an absolute pleasure so
> far. Compared to the pain I've felt for some time now battling with web
> application frameworks where most of the code of the applications was in
> XML, JS, JSP etc. etc. and a light sprinkling of actual Java, the elegance
> of Wicket as a natural UI programming environment makes everything seem
> possible and even enjoyable again. Thanks.
>
> But, (there always is a but:-) ), I'm struggling with an issue I've hit with
> the DatePicker and can't seem to resolve it.
>
> I'm using Wicket 1.4.1.
> I used the Editable TreeTable example from the Wicket site as a starter for
> the very small app I needed to write.
> Rather than just text editable columns though, I'm making them more type
> specific, so one of them is for Dates and shows a DateTextField and a
> DatePicker.
>
> The app is working fine in Firefox but the DatePicker is always caught
> behind the rows above and below when I run the app in IE7 or 8.
> The attached screen snippets show the difference. I've dug deep into the css
> and used the developer tools in IE8 which give you something akin to Firebug
> but couldn't find  any css change would fix it.
>
> Is there a way to fix this or an alternative date picker?
>
> Thanks
>
> John
>
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Date Picker in Editable TreeTable in IE7 and IE8

2009-10-09 Thread John MacEnri
Hi,


I'm new to Wicket this week, so not familiar with the expected format or
structure of emails to this mailing list.

I picked Wicket after trawling around for a framework that would enable UI
programming on the Web make sense again. It's been an absolute pleasure so
far. Compared to the pain I've felt for some time now battling with web
application frameworks where most of the code of the applications was in
XML, JS, JSP etc. etc. and a light sprinkling of actual Java, the elegance
of Wicket as a natural UI programming environment makes everything seem
possible and even enjoyable again. Thanks.

But, (there always is a but:-) ), I'm struggling with an issue I've hit with
the DatePicker and can't seem to resolve it.

I'm using Wicket 1.4.1.
I used the Editable TreeTable example from the Wicket site as a starter for
the very small app I needed to write.
Rather than just text editable columns though, I'm making them more type
specific, so one of them is for Dates and shows a DateTextField and a
DatePicker.

The app is working fine in Firefox but the DatePicker is always caught
behind the rows above and below when I run the app in IE7 or 8.
The attached screen snippets show the difference. I've dug deep into the css
and used the developer tools in IE8 which give you something akin to Firebug
but couldn't find  any css change would fix it.

Is there a way to fix this or an alternative date picker?

Thanks

John

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Re: date picker

2008-11-03 Thread Wayne Pope
it probably hasn't been updated. just download the source and do it yourself
- its usually very trivial change.

On Tue, Nov 4, 2008 at 8:37 AM, tbt <[EMAIL PROTECTED]> wrote:

>
> Hi
>
> I'm using wicket 1.3.2 and downloaded wicket-contrib-datepicker-1.2 because
> I want to use a date picker for my application. But this release is not
> compatible with wicket 1.3 because it gives errors. Can someone give me the
> link to download a date picker component that is compatible with wicket 1.3
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/date-picker-tp20317456p20317456.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


date picker

2008-11-03 Thread tbt

Hi

I'm using wicket 1.3.2 and downloaded wicket-contrib-datepicker-1.2 because
I want to use a date picker for my application. But this release is not
compatible with wicket 1.3 because it gives errors. Can someone give me the
link to download a date picker component that is compatible with wicket 1.3

Thanks
-- 
View this message in context: 
http://www.nabble.com/date-picker-tp20317456p20317456.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread Frank Bille
This question is asked twice. See[0] for the other thread:

[0]:
http://www.nabble.com/New-to-Wicket%3A-Confused-with-versions%2C-wicket-extensions-etc.-tp18190491p18190491.html

On Mon, Jun 30, 2008 at 10:00 AM, jdj <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> I'm new to Wicket. I'm using Wicket 1.3.3.
>
> I'm looking for a date picker component for Wicket, and I noticed that
> there
> is one in the  http://wicket.sourceforge.net/wicket-extensions/
> wicket-extensions<http://wicket.sourceforge.net/wicket-extensions/wicket-extensions>
>  package. However, the information on that website seems
> to be out of date, it's about wicket-extensions 1.2 while the newest
> version
> in the Maven repository is wicket-extensions 1.3.3.
>
> In wicket-extensions 1.3.3, the DatePicker, which was in the package
> wicket.extensions.markup.html.datepicker in version 1.2, seems to be gone.
>
> I cannot find documentation for wicket-extensions 1.3.3 anywhere. Where is
> it?
>
> Is there a date picker component available in the current version of Wicket
> or Wicket Extenstions? If so, where can I find it? If not, then where can I
> find a date picker for Wicket?
> --
> View this message in context:
> http://www.nabble.com/New-to-Wicket%3A-Confused-with-versions%2C-wicket-extensions%2C-looking-for-date-picker-tp18190491p18190491.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread Frank Bille
The DatePicker from 1.2 is now in wicket-stuff[0]. The reason is that it
uses a non ASL compatible license and 1.3 is the first Apache release.

Regards,
Frank

[0]:
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-datepicker

On Mon, Jun 30, 2008 at 10:00 AM, jdj <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> I'm new to Wicket. I'm using Wicket 1.3.3.
>
> I'm looking for a date picker component for Wicket, and I noticed that
> there
> is one in the  http://wicket.sourceforge.net/wicket-extensions/
> wicket-extensions<http://wicket.sourceforge.net/wicket-extensions/wicket-extensions>
>  package. However, the information on that website seems
> to be out of date, it's about wicket-extensions 1.2 while the newest
> version
> in the Maven repository is wicket-extensions 1.3.3.
>
> In wicket-extensions 1.3.3, the DatePicker, which was in the package
> wicket.extensions.markup.html.datepicker in version 1.2, seems to be gone.
>
> I cannot find documentation for wicket-extensions 1.3.3 anywhere. Where is
> it?
>
> Is there a date picker component available in the current version of Wicket
> or Wicket Extenstions? If so, where can I find it? If not, then where can I
> find a date picker for Wicket?
> --
> View this message in context:
> http://www.nabble.com/New-to-Wicket%3A-Confused-with-versions%2C-wicket-extensions%2C-looking-for-date-picker-tp18190491p18190491.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread jdj

Thanks - where can I find more information about that datetime component?


Charlie Dobbie wrote:
> 
> There's a Datepicker component in the wicket-datetime package.  If using
> Maven:
> 
> 
>   org.apache.wicket
>   wicket-datetime
>   1.3.4
> 
> 

-- 
View this message in context: 
http://www.nabble.com/New-to-Wicket%3A-Confused-with-versions%2C-wicket-extensions%2C-looking-for-date-picker-tp18190491p18193690.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread jdj

Yes, I did see that. And I went to the Apache Wicket website, found something
about Wicket extensions, and discovered that the date picker component is no
longer included.

And so I asked my question: Is there a date picker component available in
the current version of Wicket or Wicket Extenstions? If so, where can I find
it? If not, then where can I find a date picker for Wicket?

- Jesper


Nino.Martinez wrote:
> 
> did you see:
> 
> 
>   IMPORTANT NOTICE
> 
> Wicket 1.2 is no longer supported. For supported versions go to Apache 
> Wicket <http://wicket.apache.org>.
> 
> 
> Please look at the apache web site...:) Sourceforge is sort of 
> deprecated and only contains information on wicket 1.2
> 

-- 
View this message in context: 
http://www.nabble.com/New-to-Wicket%3A-Confused-with-versions%2C-wicket-extensions%2C-looking-for-date-picker-tp18190491p18193655.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread Nino Saturnino Martinez Vazquez Wael

did you see:


 IMPORTANT NOTICE

Wicket 1.2 is no longer supported. For supported versions go to Apache 
Wicket <http://wicket.apache.org>.



Please look at the apache web site...:) Sourceforge is sort of 
deprecated and only contains information on wicket 1.2


jdj wrote:

Hello,

I'm new to Wicket. I'm using Wicket 1.3.3.

I'm looking for a date picker component for Wicket, and I noticed that there
is one in the  http://wicket.sourceforge.net/wicket-extensions/
wicket-extensions  package. However, the information on that website seems
to be out of date, it's about wicket-extensions 1.2 while the newest version
in the Maven repository is wicket-extensions 1.3.3.

In wicket-extensions 1.3.3, the DatePicker, which was in the package
wicket.extensions.markup.html.datepicker in version 1.2, seems to be gone.

I cannot find documentation for wicket-extensions 1.3.3 anywhere. Where is
it?

Is there a date picker component available in the current version of Wicket
or Wicket Extenstions? If so, where can I find it? If not, then where can I
find a date picker for Wicket?
  


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread Charlie Dobbie
There's a Datepicker component in the wicket-datetime package.  If using Maven:


org.apache.wicket
wicket-datetime
1.3.4




2008/6/30 jdj <[EMAIL PROTECTED]>:
>
> Hello,
>
> I'm new to Wicket. I'm using Wicket 1.3.3.
>
> I'm looking for a date picker component for Wicket, and I noticed that there
> is one in the  http://wicket.sourceforge.net/wicket-extensions/
> wicket-extensions  package. However, the information on that website seems
> to be out of date, it's about wicket-extensions 1.2 while the newest version
> in the Maven repository is wicket-extensions 1.3.3.
>
> In wicket-extensions 1.3.3, the DatePicker, which was in the package
> wicket.extensions.markup.html.datepicker in version 1.2, seems to be gone.
>
> I cannot find documentation for wicket-extensions 1.3.3 anywhere. Where is
> it?
>
> Is there a date picker component available in the current version of Wicket
> or Wicket Extenstions? If so, where can I find it? If not, then where can I
> find a date picker for Wicket?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread egolan74

Hi,
I updated our environment to 1.3.4
We use Maven's POM.
It was downloaded ok.

Eyal


-
Eyal Golan
[EMAIL PROTECTED]

Visit:  http://jvdrums.sourceforge.net/ http://jvdrums.sourceforge.net/ 
LinkedIn:  http://www.linkedin.com/in/egolan74
href=http://www.linkedin.com/in/egolan74 
-- 
View this message in context: 
http://www.nabble.com/New-to-Wicket%3A-Confused-with-versions%2C-wicket-extensions%2C-looking-for-date-picker-tp18190491p18191389.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Is it possible to disable dates in Wicket Date Picker ?

2008-04-21 Thread Enrique Rodriguez
On Mon, Apr 21, 2008 at 6:07 AM, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
> public class MyDatePicker extends DatePicker
> {
> ...
>private static final SimpleDateFormat format = new
> SimpleDateFormat("MM/dd/");

Maybe this was just quick example code but DateFormat's aren't thread
safe.  From the javadoc:

"Date formats are not synchronized. It is recommended to create
separate format instances for each thread. If multiple threads access
a format concurrently, it must be synchronized externally."

Just a heads-up,

Enrique

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Is it possible to disable dates in Wicket Date Picker ?

2008-04-21 Thread Gerolf Seitz
public class MyDatePicker extends DatePicker
{
private static final long serialVersionUID = 1L;

private static final SimpleDateFormat format = new
SimpleDateFormat("MM/dd/");

@SuppressWarnings("unchecked")
@Override
protected void configure(Map widgetProperties)
{
super.configure(widgetProperties);

// set minimal date
Date minDate = getMinDate();
widgetProperties.put("mindate", format.format(minDate));

// set maximal date
Date maxDate = getMaxDate();
widgetProperties.put("maxdate", format.format(maxDate));
}
}

  Gerolf

On Mon, Apr 21, 2008 at 3:02 PM, nanotech <[EMAIL PROTECTED]> wrote:

>
> Hi All,
>
> Is it possible to programatically disable dates that have passed in
> wicket's
> date picker. for exampleI want to disable all the dates before today's
> day.
>
> Can someone please give an example?
>
> Thanks,
> ~ R
> --
> View this message in context:
> http://www.nabble.com/Is-it-possible-to-disable-dates-in-Wicket-Date-Picker---tp16807706p16807706.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Is it possible to disable dates in Wicket Date Picker ?

2008-04-21 Thread nanotech

Hi All,

Is it possible to programatically disable dates that have passed in wicket's
date picker. for exampleI want to disable all the dates before today's
day.

Can someone please give an example?

Thanks,
~ R
-- 
View this message in context: 
http://www.nabble.com/Is-it-possible-to-disable-dates-in-Wicket-Date-Picker---tp16807706p16807706.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]