Re: Ajax timer not counting when tab doesn't have focus?

2014-05-13 Thread Martin Grigorov
It could be that https://issues.apache.org/jira/browse/WICKET-5570 is the issue. Please try with 6.16.0-SNAPSHOT if you can. Martin Grigorov Wicket Training and Consulting On Mon, May 12, 2014 at 8:02 PM, Bruce Lombardi brlom...@gmail.com wrote: Thanks Ernesto. Yes, I do mean another

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-13 Thread Stefan Renz
Hi, Piratenvisier wrote: If I include the folowing lines : if(NachweiseForm.this.getModelObject().getKunde()!=null) { Kunde kunde = kundeManager.get(NachweiseForm.this.getModelObject().getKunde().getId()); NachweiseForm.this.getModelObject().setKunde(kunde);

Re: # in URL

2014-05-13 Thread Sven Meier
Hi, AFAIK everything after the hashbang is not sent to the server: http://stackoverflow.com/questions/6745993/how-to-get-the-anchor-name-in-http-get Regards Sven On 05/13/2014 03:36 AM, infiniter wrote: Wicket version: 6.7.0 I need to get the url parameters even if there is a #, because I

Re: Wicket FormPost via ProxyFilter

2014-05-13 Thread smöker
hi, thanks for your reply. we de-activated cookies within container and are using JSESSIONID as URL Parameter (otherwise our user/session management would not work either). - the proxy filter principally works on a protocol level and is passing 100% of the request content (besides one replaced

Wicket FormPost via ProxyFilter

2014-05-13 Thread smöker
hi guys, i am just evaluating the possiblity of sending a wicket form post from browser to backend using a kind of third party proxy filter (which is required to filter certain user input, that should not touch our infrastructure). the setup would look as follows : WicketPage with Form

Re: Wicket FormPost via ProxyFilter

2014-05-13 Thread Martin Grigorov
Hi, On Tue, May 13, 2014 at 2:14 PM, smöker smoe...@gmail.com wrote: hi, thanks for your reply. we de-activated cookies within container and are using JSESSIONID as URL Parameter (otherwise our user/session management would not work either). - the proxy filter principally works on a

Re: Wicket FormPost via ProxyFilter

2014-05-13 Thread smöker
hi, thanks! can you assist me in creating an absolute form action url from the relative ones wicket provides? my test application is running on http://MYSERVER:MYPORT/MYCONTEXT the default form action for the example page de.package.Page would be :

Re: Wicket FormPost via ProxyFilter

2014-05-13 Thread Serban.Balamaci
Well how are you passing the user's session between the requests? I mean your user's httpsession is stored in a cookie(not in the url), the cookie containing your user's domain usersession will not be submitted to this 3rd party in the post, and they cannot hand it over back to you. How will your

Re: Wicket Can't Find Component Error

2014-05-13 Thread Serban.Balamaci
Hi, just my 2 cents. When I usually encounter this, is because of user clicking on an old link. For example say we have a change-profile AjaxLink taking the user to profile panel. But until the server responds with the new Profile panel, it's possible for the user to click another link products in

Re: Wicket FormPost via ProxyFilter

2014-05-13 Thread Serban.Balamaci
Hi, does this work for you? protected CharSequence getActionUrl() { RequestCycle.get().getUrlRenderer().renderFullUrl(Url.parse(urlFor(IFormSubmitListener.INTERFACE, getPage().getPageParameters()).toString())); -- View this message in context:

Re: Wicket FormPost via ProxyFilter

2014-05-13 Thread Martin Grigorov
Actually the url looks OK. It has pageId == 3. You mentioned '9' and I thought this is the problem. If the original url has a pageId and the forwarded one also has the same pageId then it should work. Martin Grigorov Wicket Training and Consulting On Tue, May 13, 2014 at 4:44 PM, smöker

AW: How to replace deprecated visitChildren() and filterByClass()?

2014-05-13 Thread Stefan Lorenz
Solution is working fine... Thx a lot. -Ursprüngliche Nachricht- Von: Sven Meier [mailto:s...@meiers.net] Gesendet: Montag, 12. Mai 2014 14:01 An: users@wicket.apache.org Betreff: Re: How to replace deprecated visitChildren() and filterByClass()?

RE: Ajax timer not counting when tab doesn't have focus?

2014-05-13 Thread Bruce Lombardi
Thanks Martin, This is important to know about, and I will try with 6.16, but I don't think it is related, since it works find if focus isn't changed to a different tab. It may be more related to something mentioned by Serban Balamaci in response to Ernesto's questions and the sample code.

Re: Ajax timer not counting when tab doesn't have focus?

2014-05-13 Thread Ernesto Reinaldo Barreiro
Martin, Thanks for pointing out this. The exact JavaScript enabling this feature can be found here https://github.com/reiern70/antilia-bits/blob/master/client-sign-out-parent/client-sign-out/src/main/java/com/antilia/signout/InactivitySignOutPanel.js Maybe there is a memory leak in here as

Re: # in URL

2014-05-13 Thread Jeremy Thomerson
Browsers don't send the # or anything after it to the server, so you can't get access to that on the server. You can test this by watching in Firebug or dev tools in your browser and submitting a request to http://www.example.com/test/something/#afterhash or anything else. Only the

Re: Ajax timer not counting when tab doesn't have focus?

2014-05-13 Thread Ernesto Reinaldo Barreiro
Hi, On Tue, May 13, 2014 at 12:02 PM, Serban.Balamaci thespamtr...@gmail.comwrote: Hi, Why so low of a timeout 50ms? https://github.com/reiern70/antilia-bits/blob/master/client-sign-out-parent/client-sign-out/src/main/java/com/antilia/signout/InactivitySignOutPanel.js#L34 should it not

FilterToolbar with composite PK problem

2014-05-13 Thread Sandor Feher
Hi, I have an entity which has composite primary key with two fields. I need to use one of them to filter. In this case I need to fill this field everytime (though I want to filter another field or fields). If I don't fill this field then I get 'Filter field is required' message. So the question

Re: Wicket FormPost via ProxyFilter

2014-05-13 Thread Serban.Balamaci
I meant IF your user's session is stored in a cookie(you can store it also in the url - this is considered as a security bad practice without additional countermeasures). -- View this message in context:

problem with message order delivered to wicket users list

2014-05-13 Thread Ernesto Reinaldo Barreiro
Hi, I the last couple of days I have been experiencing problems with the order of messages delivered to wicket users list: sometimes I receive an answer and then a few minutes after the original message. Is someone else experiencing this behavior? -- Regards - Ernesto Reinaldo Barreiro

RE: Ajax timer not counting when tab doesn't have focus?

2014-05-13 Thread Serban.Balamaci
Hi, Why so low of a timeout 50ms? https://github.com/reiern70/antilia-bits/blob/master/client-sign-out-parent/client-sign-out/src/main/java/com/antilia/signout/InactivitySignOutPanel.js#L34 should it not be something like 5000? I don't see the point of counting down so often. Maybe count down