Re: Google Login with spring boot @WicketApp

2018-04-12 Thread guillaume.mary
Hi, I came accross the same problem some months ago (in a more generic way because it wasn't targeting Google only). I made the choice to use PAC4J to benefit from its principle and algorithm : "all you have to do" is to handle page requests and decide wheither or not it should be pushed to PAC4J

Re: Wicket 8 and servlet 3.1 async nio

2017-03-04 Thread guillaume.mary
Hi, Thank you for your code, I gave it a try and looked at it closer, and I'm ont sure it feets a real need, well at least mine : it delegates the answer to another thread, so it's as if we add a worker thread to the container, kind of machine load. It is not what I expected : my very first idea

Re: Wicket 8 and servlet 3.1 async nio

2017-02-16 Thread guillaume.mary
-loading pages due to background sql select (for list item for instance) ? 2017-02-16 10:11 GMT+01:00 Martin Grigorov-4 [via Apache Wicket] < ml-node+s1842946n4677129...@n4.nabble.com>: > On Thu, Feb 16, 2017 at 9:50 AM, guillaume.mary <[hidden email] > <http:///user/SendEmail.jtp?t

Re: Wicket 8 and servlet 3.1 async nio

2017-02-16 Thread guillaume.mary
Ok. Thanks for the explanation. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-8-and-servlet-3-1-async-nio-tp4677098p4677128.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket 8 and servlet 3.1 async nio

2017-02-15 Thread guillaume.mary
Martin Grigorov-4 wrote > On Wed, Feb 15, 2017 at 9:41 PM, guillaume.mary > guiom.mary@ > > wrote: > >> Martin Grigorov-4 wrote >> > Hi, >> > >> >> >> >> Did I miss something ? if not is there anything planned about async IO >

Re: Wicket 8 and servlet 3.1 async nio

2017-02-15 Thread guillaume.mary
Martin Grigorov-4 wrote > Hi, > >> >> Did I miss something ? if not is there anything planned about async IO in >> Wicket 8 ? >> > > There is no planned support for asynchronous pages for Wicket 8! Is there some technical (known) reason ? Or just because of roadmap decision ? I mean, if i have

Wicket 8 and servlet 3.1 async nio

2017-02-12 Thread guillaume.mary
Hi there ! I had a look at the future Wicket 8 and I saw that the servlet 3.1 was the target. So I looked a little bit at the code and I didn't see anything about async IO usage. I was looking for some code that looks like the recommended one by Oracle

Markup not found for Component id =_header_ and WICKET-6231, regression ?

2016-12-19 Thread guillaume.mary
Hi ! I'm upgrading our application from Wicket 7.4.0 to 7.5.0 to benefit from the security issue fix. While doing this I encounter a problem with pages that extend other one and define a in their markup, for instance: The parent page have a defined markup with and . If

Re: Visibility/Enability change event

2016-08-22 Thread guillaume.mary
Thanks i'll give it a try. Le 22 août 2016 18:45, "Sven Meier [via Apache Wicket]" < ml-node+s1842946n4675362...@n4.nabble.com> a écrit : > You can call #configure() on the subcomponents from your #onConfigure(). > > Have fun > Sven > > -- > If you reply to this

Re: Visibility/Enability change event

2016-08-22 Thread guillaume.mary
Well, in my use case, subcomponents use a Behavior#onConfigure() to change their own visibility, and this method is called after Component#onConfigure(), hence the visibility state is not uptodate. Le 22 août 2016 13:54, "Sven Meier [via Apache Wicket]" <

Visibility/Enability change event

2016-08-22 Thread guillaume.mary
Hi, I'm a Wicket user since several years and I regularly lack a feature in Wicket : component state change. I know that Event/Sink exists but it doesn't feets my need : when I use a component that wraps others from a third party, I need it to be hidden or disabled when *all* subcomponents are.

Re: OnChangeAjaxBehavior listened event modified in 1.6.18

2014-12-20 Thread guillaume.mary
at the moment. Martin Grigorov-4 wrote Hi, On Wed, Dec 17, 2014 at 12:26 PM, guillaume.mary guillaume.mary@ wrote: Hi all, With WICKET-5711 OnChangeAjaxBehavior now listen both change and inputchange on TextField. Hence when you type in the TextField, the behavior is called twice because both

OnChangeAjaxBehavior listened event modified in 1.6.18

2014-12-17 Thread guillaume.mary
Hi all, With WICKET-5711 OnChangeAjaxBehavior now listen both change and inputchange on TextField. Hence when you type in the TextField, the behavior is called twice because both events are fired by the browser. It's the same problem as WICKET-5603 but applied to TextField for all browsers

Wicket-Atmosphere: how to post to only one client ?

2014-07-28 Thread guillaume.mary
Hi ! I want to implement a simple use case where a notification is sent to a client when its reports is finished, with Wicket Atmosphere. I’m new to Atmosphere concepts, but not to Wicket. So I had a look at Wicket-Atmosphere Quick Start. A broadcast is very simple to create as it is done there,

Re: Wicket-Atmosphere: how to post to only one client ?

2014-07-28 Thread guillaume.mary
Yes, thanks for the entry point. So I came to the following solution: register a ResourceRegistrationListener on the EventBus which fills a Map (concurrent) of SessionId to UUID. The SessionId is took from Session.get(), and the UUID is the one from resourceRegistered(..). Then my reporter

Re: Overriding Form.onFileUploadException in nested forms

2013-05-15 Thread guillaume.mary
issue 5190 created because of same question asked here http://apache-wicket.1842946.n4.nabble.com/Manage-exceptions-on-a-nested-multipart-upload-form-td4658815.html https://issues.apache.org/jira/browse/WICKET-5190 -- View this message in context:

Re: Manage exceptions on a nested multipart upload form

2013-05-15 Thread guillaume.mary
sorry for duplicate, i will update the other post as I created a quickstart and created issue 5190: https://issues.apache.org/jira/browse/WICKET-5190 -- View this message in context:

Re: Interpolate response with IResponseFilter

2012-08-27 Thread guillaume.mary
Thanks for the tip Sven, I will give it a try. For now I have another issue about the AbstractTransformerBehavior: as soon as I add it to my Page, I get encoding problems of characters into my page, this is weird. Here is my very simple transformer: new AbstractTransformerBehavior() { public

Re: Interpolate response with IResponseFilter

2012-08-27 Thread guillaume.mary
After searching a bit, I found that AbstractTransformerBehavior replaces the RequestCycle.response temporarly to put its own, between beforeRender en afterRender methods, whereas other classes manipulates the response during that phase, so when AbstractTransformerBehavior puts back the original

Re: Interpolate response with IResponseFilter

2012-08-24 Thread guillaume.mary
Thanks Martin, it's easier to find the actual page with PageRequestHandlerTracker. Nevertheless, the redirecting case is still not filled because as I debugged, PageRequestHandlerTracker returns null for both first and last handler when my filter is called (am i wrong ??). That's almost the same

Re: Interpolate response with IResponseFilter

2012-08-24 Thread guillaume.mary
Because I didn't know AbstractTransformerBehavior ! :) Many thanks ! I put it on my Page instance so it fullfills the last case of post + redirect (but the filter is still necessary for components refreshed by Ajax, otherwise I should add AbstractTransformerBehavior to all components of my Page)

Re: Why RelativePathPrefixHandler calculates path from context path ?

2011-06-30 Thread guillaume.mary
Martin Grigorov-4 wrote: Because the resources are supposed to be next to WEB-INF folder. Wicket should handle the requests to dynamic resources (pages, callback listeners, etc.), while the static resources better should be handled by the web container. Why do you use 'resources' ? I

Re: DropDownChoice and null value internationalization key

2009-10-19 Thread guillaume.mary
Created the 2531. Thanks. -- View this message in context: http://www.nabble.com/DropDownChoice-and-null-value-internationalization-key-tp25924643p25954595.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: DropDownChoice and null value internationalization key

2009-10-18 Thread guillaume.mary
well, that's for the first reason. Doing this would allow us to distinguish wicket Ids from keys. So it would be really better for our translators since we could concentrate our keys in a couple of files, and prefixing our keys (or even rename them totally) could add sense to them. Currently

IndexOutOfBoundException and PropertyModel

2008-05-19 Thread guillaume.mary
Hi all, I'm wondering why the PropertyModel sends an IndexOutOfBoundException when I use an expression such as myList.0.name and that the 0 element doesn't exist, whereas it doesn't sends a NullPointerException when I user person.name with a null person. Is it a wanted behavior or not (or a

Re: IndexOutOfBoundException and PropertyModel

2008-05-19 Thread guillaume.mary
Well, if the person is null I don't get a NPE (to check, I took a wicket page, added an attribute A to it, displayed A.B with a Label + PropertyModel, but never setted the attribute A = I never got the NPE) What I meant in my first post, is since I don't get a NPE in that case, I was thinking

Re: IndexOutOfBoundException and PropertyModel

2008-05-19 Thread guillaume.mary
Well, i'm just doing A a; But I put a trace on the getA() and a is really null. Can you make a try ? Mathias P.W Nilsson wrote: I don't know if I got it right. Is the A null? Are you just doing A a; or A a = null; ? If you do this I don't understand why you don't get an exception. The

Re: IndexOutOfBoundException and PropertyModel

2008-05-19 Thread guillaume.mary
I agree with you, my problem is on the fact that Wicket seems to me inconsistent because of the 2 behaviors: if I have the IOOBE I should have the NPE. Wouter Huijnink wrote: Yes, you are wrong. It's bad practice to refer to a location in a list if you're not sure the entry exists.