RE: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)

2012-04-04 Thread Heikki Uotinen
Ok, this leak can be avoided by updating rapidly changing components with jQuery before upgrading to Wicket 6, -Heikki -Original Message- From: Heikki Uotinen [mailto:heikki.uoti...@syncrontech.com] Sent: 3. huhtikuuta 2012 16:17 To: users@wicket.apache.org Subject: IE9 Memory leak

Re: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)

2012-04-04 Thread Martin Grigorov
Hi, Can you share your findings ? What exactly you think caused the memory leak and how exactly did you solve it with jQuery ? On Wed, Apr 4, 2012 at 8:14 AM, Heikki Uotinen heikki.uoti...@syncrontech.com wrote: Ok, this leak can be avoided by updating rapidly changing components with jQuery

Re: Debugging error

2012-04-04 Thread SudeepShakya
I have attached the files. http://apache-wicket.1842946.n4.nabble.com/file/n4531058/Votes.java Votes.java http://apache-wicket.1842946.n4.nabble.com/file/n4531058/VoteEditForm.java VoteEditForm.java http://apache-wicket.1842946.n4.nabble.com/file/n4531058/VoteCollection.java VoteCollection.java

Re: Wicket with ServletContainerInitializer

2012-04-04 Thread Christoph Leiter
Hi, I'll reply to my own message. :) Martin Grigorov figured out that Jetty doesn't install the DefaultServlet in this configuration. Without a servlet the WicketFilter cannot work. There's now new working sample code at https://issues.apache.org/jira/browse/WICKET-4350 Christoph

Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Thomas Rohde
Hi! We are using Wicket 1.4.20 and Tomcat 7.0.21. After form based authentication (configured in web.xml) we call wicketSession.replaceSession() in the constructor of our base page and send a redirect to our welcome page. Due to tomcat's session fixation protection the session id changes for

RE: Debugging error

2012-04-04 Thread Michal Wegrzyn
Look at VoteEditForm constructor. Form form = new Form(form,new CompoundPropertyModel(aVote)) {...} Object aVote is null. Best regards, Michal Wegrzyn -Original Message- From: SudeepShakya [mailto:shakyasud...@live.com] Sent: Wednesday, April 04, 2012 8:20 To:

Re: Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Martin Grigorov
Hi Thomas, Wicket doesn't store anything in its session store. It always uses the currently active http session to get the id. See org.apache.wicket.protocol.http.AbstractHttpSessionStore#getSessionId(Request, boolean) On Wed, Apr 4, 2012 at 9:27 AM, Thomas Rohde t...@ordix.de wrote: Hi! We

Re: Debugging error

2012-04-04 Thread Martin Grigorov
On Wed, Apr 4, 2012 at 9:37 AM, Michal Wegrzyn michal.wegr...@onior.com wrote: Look at VoteEditForm constructor. Form form = new Form(form,new CompoundPropertyModel(aVote)) {...} Object aVote is null. It is not null. It is misleading because there is a member field and constructor parameter

Re: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Martin Grigorov
Hi Chris, Can you attach a quickstart to https://issues.apache.org/jira/browse/WICKET-4260 ? Thanks! On Wed, Apr 4, 2012 at 9:42 AM, Chris Colman chr...@stepaheadsoftware.comwrote: ** ** After upgrading to the latest Wicket snapshot a few days ago we now experience an IE specific problem

Re: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Martin Grigorov
Also can you tell us the version of Tomcat. On Wed, Apr 4, 2012 at 9:45 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi Chris, Can you attach a quickstart to https://issues.apache.org/jira/browse/WICKET-4260 ? Thanks! On Wed, Apr 4, 2012 at 9:42 AM, Chris Colman

RE: Debugging error

2012-04-04 Thread Michal Wegrzyn
-Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Wednesday, April 04, 2012 9:41 To: users@wicket.apache.org Subject: Re: Debugging error On Wed, Apr 4, 2012 at 9:37 AM, Michal Wegrzyn michal.wegr...@onior.com wrote: Look at VoteEditForm constructor.

Re: Debugging error

2012-04-04 Thread Martin Grigorov
On Wed, Apr 4, 2012 at 9:53 AM, Michal Wegrzyn michal.wegr...@onior.com wrote: -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Wednesday, April 04, 2012 9:41 To: users@wicket.apache.org Subject: Re: Debugging error On Wed, Apr 4, 2012 at 9:37 AM, Michal

RE: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Chris Colman
Tomcat 6.0.20 -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Wednesday, 4 April 2012 5:48 PM To: users@wicket.apache.org Subject: Re: IE redirect error with recent snapshot due to extra './' Also can you tell us the version of Tomcat. On Wed, Apr 4, 2012 at

AW: Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Thomas Rohde
Hi Martin, but the AbstractHttpSesionStore has a SessionBindingListener which stores the session id and the Session class has an id member variable. The getId() implementation of the Session class uses the following logic: if (id == null) id =

Re: wicketstuff.org - down

2012-04-04 Thread Martijn Dashorst
I've updated the wicketstuff.org repo with a CNAME file, and updated the DNS records. Should start working in a couple of hours. Martijn On Tue, Apr 3, 2012 at 11:34 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: redirect on the registrar... -igor On Tue, Apr 3, 2012 at 2:26 PM, Martin

Re: Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Martin Grigorov
Hi Thomas, On Wed, Apr 4, 2012 at 10:18 AM, Thomas Rohde t...@ordix.de wrote: Hi Martin, but the AbstractHttpSesionStore has a SessionBindingListener which stores the session id and the Session class has an id member variable. This is improved in 6.x and the session is taken from the passed

Re: Debugging error

2012-04-04 Thread SudeepShakya
Hello guys don't fight each other. What's the conclusion ?? I am using wicket 1.5.3 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Debugging-error-tp4530892p4531245.html Sent from the Users forum mailing list archive at Nabble.com.

RE: Debugging error

2012-04-04 Thread Michal Wegrzyn
We did not fight each other... We fought with your code! Best regards, Michal Wegrzyn -Original Message- From: SudeepShakya [mailto:shakyasud...@live.com] Sent: Wednesday, April 04, 2012 10:35 To: users@wicket.apache.org Subject: Re: Debugging error Hello guys don't fight each

RE: Debugging error

2012-04-04 Thread SudeepShakya
Ok, very well. U said that there is null in the constructor, what's that, I don't understand. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Debugging-error-tp4530892p4531271.html Sent from the Users forum mailing list archive at Nabble.com.

AW: Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Thomas Rohde
Hi Martin, see inline. Thanks! Thomas -Ursprüngliche Nachricht- Von:Martin Grigorov mgrigo...@apache.org Gesendet: Mi 04.04.2012 10:26 Betreff:Re: Wicket session id not up to date due to Tomcat session fixation protection An: users@wicket.apache.org; Hi Thomas,

Re: Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Martin Grigorov
Hi Thomas, Temporarily until there is a fix you can override #replaceSession() to look like: super.replaceSession(); Field idField = getField(id); idField.setAccessible(true); idField.set(this, null); I.e. null-ify the cached session id in Session. On Wed, Apr 4, 2012 at 10:57 AM, Thomas Rohde

AW: Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Thomas Rohde
Hi Martin, I already did that (I wrote above). But the problem still exists. I cannot see from where wicket gets the old and wrong session id. Thomas -Ursprüngliche Nachricht- Von:Martin Grigorov mgrigo...@apache.org Gesendet: Mi 04.04.2012 11:10 Betreff:Re: Wicket

Re: Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Martin Grigorov
Sorry. I didn't understand you. A quickstart will make it easier for me to help you. On Wed, Apr 4, 2012 at 11:39 AM, Thomas Rohde t...@ordix.de wrote: Hi Martin, I already did that (I wrote above). But the problem still exists. I cannot see from where wicket gets the old and wrong session

AW: Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Thomas Rohde
Okay a better attempt: I tried your suggestion to overwrite the replaceSession method of the Session class. It didn't work. But now I modified the lookup method of the AbstractHttpSessionStore like the following: public Session lookup(Request request) { String sessionId =

RE: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Chris Colman
I've tried it on Tomcat 6.0.18, 6.0.20 and 6.0.35 and the problem occurs on all of them. I remember seeing a recent Wicket git log entry about a change involving './' and I'm wondering if it has something to do with that. Chris -Original Message- From: Martin Grigorov

Re: Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Martin Grigorov
With a quickstart I'll be more certain what exactly happens and how to solve it the best way... Until then use this solution since it works for you. On Wed, Apr 4, 2012 at 12:11 PM, Thomas Rohde t...@ordix.de wrote: Okay a better attempt: I tried your suggestion to overwrite the replaceSession

Re: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Martin Grigorov
I gave you the ticket number in my first response :-) On Wed, Apr 4, 2012 at 12:19 PM, Chris Colman chr...@stepaheadsoftware.com wrote: I've tried it on Tomcat 6.0.18, 6.0.20 and 6.0.35 and the problem occurs on all of them. I remember seeing a recent Wicket git log entry about a change

RE: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Chris Colman
Quickstart has been added to JIRA issue with instructions on how to reproduce. Hi Chris, Can you attach a quickstart to https://issues.apache.org/jira/browse/WICKET-4260 ? Thanks! On Wed, Apr 4, 2012 at 9:42 AM, Chris Colman chr...@stepaheadsoftware.com wrote: ** ** After upgrading

AW: Wicket session id not up to date due to Tomcat session fixation protection

2012-04-04 Thread Thomas Rohde
Hi Martin, many thanks for your help!!! I'll try to reproduce this in a quickstart. Temporarily I use my quick fix. Regards, Thomas -Ursprüngliche Nachricht- Von:Martin Grigorov mgrigo...@apache.org Gesendet: Mi 04.04.2012 12:21 Betreff:Re: Wicket session id not up to

RE: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Chris Colman
The title of the bug report is interesting: WICKET-4260 make sure relative urls start either with dot or dot-dot I am redirecting to a page using its page class - which redirects to the mount for that page class - which is *always* an absolute path. Eg., /logon It seems strange that it would

Re: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Martin Grigorov
Wicket works with relative paths only. /logon is the mount path you specified in #mountPage() but later the produced urls are relative to the filter path. I.e. if a user is at /another/mount/point then a link to LoginPage will look like: ../../logon On Wed, Apr 4, 2012 at 2:33 PM, Chris Colman

Fallback for error page

2012-04-04 Thread jarnis
Hi all I set up an error page by calling getApplicationSettings().setInternalErrorPage(ErrorPage.class); in my application setup. However, I would like to redirect to a static html page (not a wicket page) if an error occurs, preventing the wicket error page from being shown. I thought about

RE: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Chris Colman
Ok, so if we go to /landing And user is not authenticated they get redirected to ./logon (a relative URL) Which is effectively http://mydomain.com/./logon Which IE can't handle but FF and Chrome seem to auto redirect to http://mydomain.com/logon It seems like we can't use the './' trick

Re: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Martin Grigorov
Sven has tested this in IE and it worked. It seems it is some additional specific which need to find and solve. The problem with plain 'logon' is that some users use something like: 'log:on', i.e. there is a colon in the first segment of the redirect url. And here ALL browsers confuse that 'log:'

Re: Fallback for error page

2012-04-04 Thread Martin Grigorov
Hi, You can use org.apache.wicket.request.cycle.IRequestCycleListener#onException() to track how many errors happened in the current request cycle. If this is the first error then set a flag (e.g. RequestCycle metadata) and let it be processed with InternalErrorPage (i.e. return null). Next time

RE: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Chris Colman
Sven has tested this in IE and it worked. It seems it is some additional specific which need to find and solve. My quickstart has comments that specify the additional specific requirements to make it happen - the app has to be in the context of a virtual host, not just installed in the root

Re: IE redirect error with recent snapshot due to extra './'

2012-04-04 Thread Sven Meier
Hi Chris, we'll find a solution, see my comments on WICKET-4260. Sven On 04/04/2012 04:44 PM, Chris Colman wrote: Sven has tested this in IE and it worked. It seems it is some additional specific which need to find and solve. My quickstart has comments that specify the additional specific

Re: wicketstuff.org - down

2012-04-04 Thread Rafał Krupiński
On Tue, Apr 3, 2012 at 23:14, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Wicketstuff.org appears to be down.  Any ideas on when it will be back up? wicketstuff is down regularly, what does it say about wicket? ;-) Seriously though, why does it breaks so often? -- Pozdrawiam / Best

Re: Fallback for error page

2012-04-04 Thread jarnis
Thanks for a quick reply and a useful solution. Being fairly new to wicker it would never have occurred to me to hook into the request cycle, but I just finished implementing it (as proof of concept at least) and it works fine. -- View this message in context:

Re: wicketstuff.org - down

2012-04-04 Thread Martijn Dashorst
2012/4/4 Rafał Krupiński r.krupin...@gmail.com: On Tue, Apr 3, 2012 at 23:14, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Wicketstuff.org appears to be down.  Any ideas on when it will be back up? wicketstuff is down regularly, what does it say about wicket? ;-) Seriously though,

Looking for a Wicket training in France (paris) and argument for Wicket versus Spring MVC

2012-04-04 Thread Yves-Marie LAINÉ
Hi all, I'm working with wicket since 2 years, and I'm convinced by this great fremework. Today, in my company we are facing the choice of a new web framework in order to replace our old Struts 1... The debate turn arround Spring MVC or Wicket. I spend one day to show Wicket to my colleagues, but

Re: What real life scenario calls for page ID?

2012-04-04 Thread Bertrand Guay-Paquet
Hi, Is there a JIRA issue tracking this render wrong page based on page version problem? I'm very interested in this issue since sharing links to stateful pages containing a page version is essentially broken. Regards, Bertrand On 20/03/2012 12:45 PM, Igor Vaynberg wrote: On Tue, Mar 20,

Re: Looking for a Wicket training in France (paris) and argument for Wicket versus Spring MVC

2012-04-04 Thread Yves-Marie LAINÉ
I was looking to it. Thanx Martjin. (and thx for your book ! ;-) ) 2012/4/4 Martijn Dashorst martijn.dasho...@gmail.com http://www.zenika.com/formation_wicket_avance.html Martijn 2012/4/4 Yves-Marie LAINÉ ymla...@gmail.com: Hi all, I'm working with wicket since 2 years, and I'm

IRequestparameters with OpenID

2012-04-04 Thread singh13
Hi there I am creating an OpeniD provider using wicket 1.5.4 and openid4java. On a part of my login page I have the following: public LoginPage(PageParameters page){ super(page); if(page.isEmpty()){

TextTemplateResourceReference problem

2012-04-04 Thread Burton, Tom F (DOR)
Hello, I have a component(It displays a menu common across the pages of my application.) All the WebPages in my application inherit from BasePage which includes the menu. BasePage includes a component MainMenu, which creates a List of Lists(that contain page links) The Lists of lists are

Re: What real life scenario calls for page ID?

2012-04-04 Thread Martin Grigorov
Hi Bertrand, Did you verify that ? If yes and you have a quickstart then create a ticket. There are no tickets from this discussion so far. On Wed, Apr 4, 2012 at 6:31 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, Is there a JIRA issue tracking this render wrong page based on

Re: TextTemplateResourceReference problem

2012-04-04 Thread Martin Grigorov
Hi Tom, Is ArrowModel and the TTRR recreated for for every page ? I guess the answer is YES but I need to ask. Please create a quickstart and attach it to Jira so we can take a look. On Wed, Apr 4, 2012 at 9:18 PM, Burton, Tom F (DOR) tom.bur...@alaska.gov wrote: Hello,  I have a component(It

RE: TextTemplateResourceReference problem

2012-04-04 Thread Burton, Tom F (DOR)
I'm not doing anything special to renderHead so it's getting called whatever the default is. (I thought every page, now I'm not so sure.) arrowModel is just a private class on the Panel that looks like this: private class arrowModel implements IModelMapString, Object { private

RE: TextTemplateResourceReference problem

2012-04-04 Thread Burton, Tom F (DOR)
Per you're instructions I've opened a ticket in JIRA. WICKET-4487 -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Wednesday, April 04, 2012 11:48 AM To: users@wicket.apache.org Subject: Re: TextTemplateResourceReference problem Hi Tom, Is ArrowModel and

Re: Wicket Application on GoDaddy

2012-04-04 Thread Jeremy Thomerson
On Wed, Apr 4, 2012 at 1:49 AM, Satrix satrix...@gmail.com wrote: Yes. I know that I can redirect all requests but the question is how to deploy Java Web App on their hosting because there is something like Parallels Panel and you have to upload your WAR file and the files are generated (cant

Inserting String/Date problem .

2012-04-04 Thread SudeepShakya
I have two textboxes which take dates using datepicker(I have set Date.class in the Textbox also) and a dropdown choice which takes 'telecom' and I have getters and setters for all of them. I have set all of them as String. And the query and code for doing the operation for selecting the data is

Re: Wicket Application on GoDaddy

2012-04-04 Thread Satrix
Yeah, You are right about that it's GoDaddy's problem. Their support couldn't help me with it... But my collegue who's managing this hosting finally did it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Application-on-GoDaddy-tp4529071p4534008.html Sent from

Re: Inserting String/Date problem .

2012-04-04 Thread SudeepShakya
Hello, is there anyone ?? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Inserting-String-Date-problem-tp4534005p4534020.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: What real life scenario calls for page ID?

2012-04-04 Thread Bertrand Guay-Paquet
I reproduced the issue in the quickstart attached to WICKET-4488. On 04/04/2012 3:44 PM, Martin Grigorov wrote: Hi Bertrand, Did you verify that ? If yes and you have a quickstart then create a ticket. There are no tickets from this discussion so far. On Wed, Apr 4, 2012 at 6:31 PM, Bertrand