wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien <seb...@gmail.com>
Subject Re: Datepicker with range selection support
Date Wed, 26 Sep 2012 19:29:10 GMT
Excellent! I deployed it just 5 min ago! :)
So, it is good to know we should make a mvn clean before the deploy in case
of git branch switching...

Enjoy then!

Best regards,
Sebastien.

On Wed, Sep 26, 2012 at 9:23 PM, Sebastien Gautrin <
sebastien.gautrin@gmail.com> wrote:

> Just tested with the new snapshot you deployed, it works great now.
>
> Thanks.
>
> Sébastien
>
>
> On 26/09/12 13:36, Sebastien wrote:
>
>> Hi Sebastien,
>>
>> Well, I am a little bit confused because it is technically almost
>> impossible to deploy a wrong version.
>> I checked the 1.2.3-SNAPSHOT source on the Nexus repository and it seems
>> to
>> be correct.
>>
>> What I know is that I deployed the 1.2.3-SNAPSHOT just after the
>> 6.0.1-SNAPSHOT. I remember I did not recompile explicitly (but deploy
>> phase
>> comes after compile and install) and the branch switching may have caused
>> a
>> kind of mistake. To be sure, I will clean/install/deploy a new snapshot
>> tonight. If you can retry tomorrow morning and let me know, it would be
>> nice!
>>
>> Thanks & best regards,
>> Sebastien.
>>
>> On Wed, Sep 26, 2012 at 11:25 AM, Sébastien Gautrin <
>> sebastien.gautrin@gmail.com> wrote:
>>
>>  I had noticed that, although I had in my pom version 1.2.3-SNAPSHOT for
>>> wicket-jquery-ui, and when maven fetched it from the sonatype repository,
>>> it would lead to the error. But when installing the snapshot from source
>>> (from master as I needed the 1.5.x version), without changing the
>>> wicket-jquery-ui dependency version, it'd work.
>>>
>>> The situation is the same with the samples (and for the samples, that
>>> can't be a dependency configuration mistake of mine).
>>>
>>> So I'd really think there's something wrong with the 1.2.3-SNAPSHOT on
>>> sonatype (the one from September 22).
>>>
>>> Note : just noticed that in the earlier mail I had forgotten to tell I
>>> was
>>> requesting 1.2.3-SNAPSHOT for a wicket 1.5.8 app, and installing from
>>> master, so I wasn't very clear in the end, sorry.
>>>
>>> Sébastien
>>>
>>> -------- Original Message --------
>>> *Subject: *Re: Datepicker with range selection support
>>> *From: *Sebastien <sebfz1@gmail.com>
>>> *To: *users@wicket.apache.org
>>> *Date: *2012-09-26
>>>
>>>   Agreed with Martin; that's also explain why it is working when you
>>> build
>>>
>>>> it
>>>> manually (the default branch - master - is the wicket 1.5.x version).
>>>> Please note that the snapshot repository hosts both 1.2.3-SNAPSHOT (for
>>>> wicket 1.5.x) and 6.0.1-SNAPSHOT (for wicket 6.0.0).
>>>>
>>>> Sorry if it was not clear enough,
>>>> Sebastien.
>>>>
>>>> On Wed, Sep 26, 2012 at 8:50 AM, Martin Grigorov <mgrigorov@apache.org
>>>>
>>>>> wrote:
>>>>>
>>>>   It seems you use Wicket 1.5.x with wicket-jquery-ui 6.x which depends
>>>>
>>>>> on Wicket 6.0.0
>>>>>
>>>>> On Wed, Sep 26, 2012 at 3:48 AM, Sebastien Gautrin
>>>>> <sebastien.gautrin@gmail.com> wrote:
>>>>>
>>>>>  Hi,
>>>>>>
>>>>>> Me again. I started looking into integrating your RangeDatePicker
>>>>>> (with
>>>>>>
>>>>>>  the
>>>>>
>>>>>  text field for now), but I get I an odd error when using the snapshots
>>>>>>
>>>>>>  for
>>>>>
>>>>>  sonatype repository, which I also get when running the samples. I get
>>>>>> it
>>>>>> with jetty:run and tomcat:run, with oracle jdk7, open jdk7 and open
>>>>>> jdk6
>>>>>> (see below for the stacktrace).
>>>>>>
>>>>>> However if I build the snapshots myself, it works smoothly, so there
>>>>>>
>>>>>>  might
>>>>>
>>>>>  have been some kind of bug when you packaged them (well, to be honest
>>>>>> I
>>>>>>
>>>>>>  have
>>>>>
>>>>>  absolutely no idea where that can come from).
>>>>>>
>>>>>> Have a good night.
>>>>>>
>>>>>> Sébastien
>>>>>>
>>>>>> ==== stacktrace ===
>>>>>>
>>>>>> ERROR - DefaultExceptionMapper     - Unexpected error occurred
>>>>>> org.apache.wicket.****WicketRuntimeException: Method onRequest of
>>>>>> interface
>>>>>> org.apache.wicket.behavior.****IBehaviorListener targeted at
>>>>>>
>>>>>>   com.googlecode.wicket.jquery.****ui.plugins.datepicker.**
>>>>>>
>>>>> RangeDatePicker$2@62565d57
>>>>>
>>>>>  on component [ [Component id = datepicker> threw an exception
>>>>>>           at
>>>>>>
>>>>>>   org.apache.wicket.****RequestListenerInterface.****
>>>>>> internalInvoke(**
>>>>>>
>>>>> RequestListenerInterface.java:****270)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.****RequestListenerInterface.****invoke(**
>>>>>>
>>>>> RequestListenerInterface.java:****241)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.request.****handler.****
>>>>>> ListenerInterfaceRequestHandle****
>>>>>>
>>>>> r.invokeListener(****ListenerInterfaceRequestHandle****r.java:255)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.request.****handler.****
>>>>>> ListenerInterfaceRequestHandle****
>>>>>>
>>>>> r.respond(****ListenerInterfaceRequestHandle****r.java:234)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.request.****cycle.RequestCycle$**
>>>>>>
>>>>> HandlerExecutor.respond(****RequestCycle.java:784)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.request.****RequestHandlerStack.execute(**
>>>>>>
>>>>> RequestHandlerStack.java:64)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.request.****cycle.RequestCycle.execute(**
>>>>>>
>>>>> RequestCycle.java:255)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.request.****cycle.RequestCycle.**
>>>>>>
>>>>> processRequest(RequestCycle.****java:212)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.request.****cycle.RequestCycle.**
>>>>>>
>>>>> processRequestAndDetach(****RequestCycle.java:283)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.protocol.****http.WicketFilter.**
>>>>>>
>>>>> processRequest(WicketFilter.****java:188)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.protocol.****http.WicketFilter.doFilter(**
>>>>>>
>>>>> WicketFilter.java:244)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.servlet.****ServletHandler$CachedChain.**
>>>>>>
>>>>> doFilter(ServletHandler.java:****1332)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.servlet.****ServletHandler.doHandle(**
>>>>>>
>>>>> ServletHandler.java:477)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****handler.ScopedHandler.handle(****
>>>>>>
>>>>> ScopedHandler.java:119)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.security.****SecurityHandler.handle(**
>>>>>>
>>>>> SecurityHandler.java:524)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****session.SessionHandler.**
>>>>>>
>>>>> doHandle(SessionHandler.java:****227)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****handler.ContextHandler.**
>>>>>>
>>>>> doHandle(ContextHandler.java:****1031)
>>>>>
>>>>>            at
>>>>>> org.eclipse.jetty.servlet.****ServletHandler.doScope(**
>>>>>> ServletHandler.java:406)
>>>>>>           at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****session.SessionHandler.**
>>>>>>
>>>>> doScope(SessionHandler.java:****186)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****handler.ContextHandler.**
>>>>>>
>>>>> doScope(ContextHandler.java:****965)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****handler.ScopedHandler.handle(****
>>>>>>
>>>>> ScopedHandler.java:117)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****handler.****
>>>>>> ContextHandlerCollection.**
>>>>>>
>>>>> handle(****ContextHandlerCollection.java:****250)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****handler.HandlerCollection.**
>>>>>>
>>>>> handle(HandlerCollection.java:****149)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****handler.HandlerWrapper.handle(****
>>>>>>
>>>>> HandlerWrapper.java:111)
>>>>>
>>>>>            at org.eclipse.jetty.server.****
>>>>>> Server.handle(Server.java:348)
>>>>>>           at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****AbstractHttpConnection.****
>>>>>> handleRequest(**
>>>>>>
>>>>> AbstractHttpConnection.java:****452)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****AbstractHttpConnection.****
>>>>>> headerComplete(**
>>>>>>
>>>>> AbstractHttpConnection.java:****884)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****AbstractHttpConnection$**
>>>>>>
>>>>> RequestHandler.headerComplete(****AbstractHttpConnection.java:****938)
>>>>>
>>>>>            at
>>>>>>
>>>>>>  org.eclipse.jetty.http.****HttpParser.parseNext(****
>>>>> HttpParser.java:630)
>>>>>
>>>>>            at
>>>>>> org.eclipse.jetty.http.****HttpParser.parseAvailable(**
>>>>>> HttpParser.java:230)
>>>>>>           at
>>>>>>
>>>>>>   org.eclipse.jetty.server.****AsyncHttpConnection.handle(**
>>>>>>
>>>>> AsyncHttpConnection.java:77)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.io.nio.****SelectChannelEndPoint.handle(****
>>>>>>
>>>>> SelectChannelEndPoint.java:****606)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.io.nio.****SelectChannelEndPoint$1.run(**
>>>>>>
>>>>> SelectChannelEndPoint.java:46)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.util.thread.****QueuedThreadPool.runJob(**
>>>>>>
>>>>> QueuedThreadPool.java:603)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.eclipse.jetty.util.thread.****QueuedThreadPool$3.run(**
>>>>>>
>>>>> QueuedThreadPool.java:538)
>>>>>
>>>>>            at java.lang.Thread.run(Thread.****java:722)
>>>>>> Caused by: java.lang.reflect.****InvocationTargetException
>>>>>>           at sun.reflect.****NativeMethodAccessorImpl.****
>>>>>> invoke0(Native
>>>>>> Method)
>>>>>>           at
>>>>>>
>>>>>>   sun.reflect.****NativeMethodAccessorImpl.****invoke(**
>>>>>>
>>>>> NativeMethodAccessorImpl.java:****57)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   sun.reflect.****DelegatingMethodAccessorImpl.****invoke(**
>>>>>>
>>>>> DelegatingMethodAccessorImpl.****java:43)
>>>>>
>>>>>            at java.lang.reflect.Method.****invoke(Method.java:601)
>>>>>>           at
>>>>>>
>>>>>>   org.apache.wicket.****RequestListenerInterface.****
>>>>>> internalInvoke(**
>>>>>>
>>>>> RequestListenerInterface.java:****260)
>>>>>
>>>>>            ... 35 more
>>>>>> Caused by: java.lang.****IncompatibleClassChangeError: Found class
>>>>>> org.apache.wicket.ajax.****AjaxRequestTarget, but interface was
>>>>>> expected
>>>>>>           at
>>>>>>
>>>>>>   com.googlecode.wicket.jquery.****ui.plugins.datepicker.**
>>>>>>
>>>>> RangeDatePickerTextField$1.****onValueChanged(**
>>>>> RangeDatePickerTextField.java:****117)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   com.googlecode.wicket.jquery.****ui.plugins.datepicker.**
>>>>>>
>>>>> RangeDatePicker.onEvent(****RangeDatePicker.java:128)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.settings.****def.FrameworkSettings.****
>>>>>> dispatchEvent(**
>>>>>>
>>>>> FrameworkSettings.java:127)
>>>>>
>>>>>            at
>>>>>> org.apache.wicket.****ComponentEventSender.send(**
>>>>>> ComponentEventSender.java:73)
>>>>>>           at org.apache.wicket.Component.****
>>>>>> send(Component.java:4503)
>>>>>>           at
>>>>>>
>>>>>>   com.googlecode.wicket.jquery.****ui.ajax.JQueryAjaxBehavior.**
>>>>>>
>>>>> respond(JQueryAjaxBehavior.****java:134)
>>>>>
>>>>>            at
>>>>>>
>>>>>>   org.apache.wicket.ajax.****AbstractDefaultAjaxBehavior.****
>>>>>> onRequest(**
>>>>>>
>>>>> AbstractDefaultAjaxBehavior.****java:369)
>>>>>
>>>>>            ... 40 more
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 24/09/12 13:00, Sebastien wrote:
>>>>>>
>>>>>>  James, thanks for your comment.
>>>>>>> Yes, the demo site is a functional wicket app. You can get the
source
>>>>>>> at
>>>>>>> the github project.
>>>>>>>
>>>>>>> Sebastien, you are welcome!
>>>>>>> Thanks to let me know what you finally did...
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Sebastien.
>>>>>>>
>>>>>>> On Mon, Sep 24, 2012 at 3:06 AM, James Eliyezar <james@mcruncher.com
>>>>>>> >
>>>>>>> wrote:
>>>>>>>
>>>>>>>   This is really amazing Sebastien.
>>>>>>>
>>>>>>>> wicket-jquery-ui is really feature rich.
>>>>>>>>
>>>>>>>> Is the demo site a wicket app?
>>>>>>>>
>>>>>>>> On Mon, Sep 24, 2012 at 1:38 AM, Sébastien Gautrin <
>>>>>>>> sebastien.gautrin@gmail.com> wrote:
>>>>>>>>
>>>>>>>>   Wow,
>>>>>>>>
>>>>>>>>> This is simply terrific. I will sift through all this
in the next
>>>>>>>>>
>>>>>>>>>  weeks.
>>>>>>>>
>>>>>>> All I can say is a big thanks for everything!
>>>>>>
>>>>>>> Sébastien
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>   ------------------------------****----------------------------**
>>>>>>>>> --**
>>>>>>>>>
>>>>>>>> ---------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.**apa**che.org<http://apache.org>
>>>>>> <users-unsubscribe@**wicket.apache.org<users-unsubscribe@wicket.apache.org>
>>>>>> >
>>>>>>
>>>>>>
>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>
>>>>>>
>>>>>>  --
>>>>> Martin Grigorov
>>>>> jWeekend
>>>>> Training, Consulting, Development
>>>>> http://jWeekend.com
>>>>>
>>>>> ------------------------------****----------------------------**--**
>>>>> ---------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.**apa**che.org<http://apache.org>
>>>>> <users-unsubscribe@**wicket.apache.org<users-unsubscribe@wicket.apache.org>
>>>>> >
>>>>>
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.org<users-unsubscribe@wicket.apache.org>
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message