Re: Joda-time dependency
Hi Maxim, wicket-jquery-ui do not relied on wicket-datetime. On wicket-jquery-ui < 8.x, java datetime are handled by org.threeten api (which is ISO to java8 datetime) Best regards, Sebastien On Sat, Sep 16, 2017 at 2:26 PM, Maxim Solodovnikwrote: > I'm using kendo date-time picker from wicket-jquery-ui > And I believe it depends on wicket-datetime > > Will try to do my best on migration then you will review :) > > On Sat, Sep 16, 2017 at 7:13 PM, Martin Grigorov > wrote: > > Hi Maxim, > > > > Since I do not use wicket-datetime in my apps I also wanted to break it > > hard by replacing Joda-Time with Java 8 classes. > > But people who use it expressed concerns that it will be hard to migrate > > this way. Everyone will have to do the same for his/her application. > > I remember Igor even suggested to have univeral API that will work with > > java.util.Date, Joda-Time and Java 8! > > > > IMO the easiest thing that could be done is to copy the current code to > > WicketStuff, as https://github.com/wicketstuff/wicket1.5-tree, and > rework > > wicket-datetime to use Java 8 APIs. > > > > Martin Grigorov > > Wicket Training and Consulting > > https://twitter.com/mtgrigorov > > > > On Thu, Sep 14, 2017 at 7:11 AM, Maxim Solodovnik > > wrote: > > > >> Hello Martin, > >> > >> I tried to continue this work, but it seems I need some information > >> before I can proceed > >> Could you please tell me What was the goal of these changes? > >> > >> I would remove joda-time, and use LocalDate, LocalTime instead of Date > >> As I can see you are using ZonedDateTime ... > >> > >> > >> On Mon, Sep 11, 2017 at 9:01 PM, Martin Grigorov > >> wrote: > >> > Yes, if finished on time! > >> > Wicket 7 requires Java 7 > >> > > >> > Martin Grigorov > >> > Wicket Training and Consulting > >> > https://twitter.com/mtgrigorov > >> > > >> > On Mon, Sep 11, 2017 at 3:34 PM, Rakesh A > > >> > wrote: > >> > > >> >> Hi, > >> >> > >> >> Is it going to be for Wicket 8 only ? > >> >> > >> >> Regards, > >> >> Rakesh.A > >> >> > >> >> -- > >> >> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum- > >> >> f1842947.html > >> >> > >> >> > - > >> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> >> For additional commands, e-mail: users-h...@wicket.apache.org > >> >> > >> >> > >> > >> > >> > >> -- > >> WBR > >> Maxim aka solomax > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > -- > WBR > Maxim aka solomax > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: WebSocket and timeout
Hi, On Sat, Sep 16, 2017 at 1:32 PM, Manfred Bergmann mb@ wrote: > Found a different solution. > > Followed the advice here: > https://issues.apache.org/jira/browse/WICKET-5453 > > Where you can set the default idle timeout on the > WebSocketServerContainerInitializer. > This is a good start! But if there is a proxy involved then you will need to do the same there too. Better send heartbeat messages once in a while, e.g. every minute. OK. I'm not exactly certain how I would do that. Do you mean a timer on the server side which sends some message over the websocket, or some behavior, as suggested by Maxim? How do I handle that when the panel got disposed? Manfred -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Joda-time dependency
I'm using kendo date-time picker from wicket-jquery-ui And I believe it depends on wicket-datetime Will try to do my best on migration then you will review :) On Sat, Sep 16, 2017 at 7:13 PM, Martin Grigorovwrote: > Hi Maxim, > > Since I do not use wicket-datetime in my apps I also wanted to break it > hard by replacing Joda-Time with Java 8 classes. > But people who use it expressed concerns that it will be hard to migrate > this way. Everyone will have to do the same for his/her application. > I remember Igor even suggested to have univeral API that will work with > java.util.Date, Joda-Time and Java 8! > > IMO the easiest thing that could be done is to copy the current code to > WicketStuff, as https://github.com/wicketstuff/wicket1.5-tree, and rework > wicket-datetime to use Java 8 APIs. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Sep 14, 2017 at 7:11 AM, Maxim Solodovnik > wrote: > >> Hello Martin, >> >> I tried to continue this work, but it seems I need some information >> before I can proceed >> Could you please tell me What was the goal of these changes? >> >> I would remove joda-time, and use LocalDate, LocalTime instead of Date >> As I can see you are using ZonedDateTime ... >> >> >> On Mon, Sep 11, 2017 at 9:01 PM, Martin Grigorov >> wrote: >> > Yes, if finished on time! >> > Wicket 7 requires Java 7 >> > >> > Martin Grigorov >> > Wicket Training and Consulting >> > https://twitter.com/mtgrigorov >> > >> > On Mon, Sep 11, 2017 at 3:34 PM, Rakesh A >> > wrote: >> > >> >> Hi, >> >> >> >> Is it going to be for Wicket 8 only ? >> >> >> >> Regards, >> >> Rakesh.A >> >> >> >> -- >> >> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum- >> >> f1842947.html >> >> >> >> - >> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> >> >> >> >> >> -- >> WBR >> Maxim aka solomax >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> -- WBR Maxim aka solomax - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Joda-time dependency
Hi Maxim, Since I do not use wicket-datetime in my apps I also wanted to break it hard by replacing Joda-Time with Java 8 classes. But people who use it expressed concerns that it will be hard to migrate this way. Everyone will have to do the same for his/her application. I remember Igor even suggested to have univeral API that will work with java.util.Date, Joda-Time and Java 8! IMO the easiest thing that could be done is to copy the current code to WicketStuff, as https://github.com/wicketstuff/wicket1.5-tree, and rework wicket-datetime to use Java 8 APIs. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Sep 14, 2017 at 7:11 AM, Maxim Solodovnikwrote: > Hello Martin, > > I tried to continue this work, but it seems I need some information > before I can proceed > Could you please tell me What was the goal of these changes? > > I would remove joda-time, and use LocalDate, LocalTime instead of Date > As I can see you are using ZonedDateTime ... > > > On Mon, Sep 11, 2017 at 9:01 PM, Martin Grigorov > wrote: > > Yes, if finished on time! > > Wicket 7 requires Java 7 > > > > Martin Grigorov > > Wicket Training and Consulting > > https://twitter.com/mtgrigorov > > > > On Mon, Sep 11, 2017 at 3:34 PM, Rakesh A > > wrote: > > > >> Hi, > >> > >> Is it going to be for Wicket 8 only ? > >> > >> Regards, > >> Rakesh.A > >> > >> -- > >> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum- > >> f1842947.html > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > -- > WBR > Maxim aka solomax > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: WebSocket and timeout
Hi, On Sat, Sep 16, 2017 at 1:32 PM, Manfred Bergmannwrote: > Found a different solution. > > Followed the advice here: > https://issues.apache.org/jira/browse/WICKET-5453 > > Where you can set the default idle timeout on the > WebSocketServerContainerInitializer. > This is a good start! But if there is a proxy involved then you will need to do the same there too. Better send heartbeat messages once in a while, e.g. every minute. > > > > Manfred > > -- > Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum- > f1842947.html > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: WebSocket and timeout
Found a different solution. Followed the advice here: https://issues.apache.org/jira/browse/WICKET-5453 Where you can set the default idle timeout on the WebSocketServerContainerInitializer. Manfred -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org