Wicket Cayenne

2010-04-24 Thread Arnaud Garcia
Hello, Does anyone knows how to set up Cayenne for wicket ? In my WicketPage I have : private DataContext ctxt = (DataContext) DataContext.getThreadObjectContext(); but, I don't think it is the good way, since I suppose wicket will serialized the full DataContext... (maybe I can put the

Persistence.xml problem

2010-04-24 Thread Matias Pansa
Hi , i'm developing an app under netbeans + wicket + tomcat + wicket-contrib-javaee +eclipselink . The problem is that i run the app the first time and everything works fine , but i change the data source in persistence.xml and the app stop working , i change again to the original source and

Re: HttpsRequestCycleProcessor goes back to http on form failure

2010-04-24 Thread Istvan Soos
Further analysis showed that this problem is somehow related to the apache + mod-proxy + mod-headers environment, because pure jetty or pure glassfish didn't have any issue. Regards, Istvan On Fri, Apr 23, 2010 at 4:12 PM, Istvan Soos istvan.s...@gmail.com wrote: Hi, I'm using

Beginner: Pre-select value on RadioChoice component using compound model

2010-04-24 Thread Alexandros Karypidis
Hi, I'm using the RadioChoice component on a form with a CompoundPropertyModel. I'd like the form to come up witn a specific radio option selected. So I try: RadioChoiceSex sexRadio = new RadioChoiceSex(profile.sex, Arrays .asList(Sex.values()));

Re: Back button

2010-04-24 Thread Igor Vaynberg
that doesnt matter because the url of the link you click contains the version number of the page -igor On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: In firefox it doesn't. Firefox reads the page back from it's in memory cache, which is the state before you

Re: Persistence.xml problem

2010-04-24 Thread Igor Vaynberg
wicket has nothing to do with it. maybe your IDE is not updating your persistence.xml in the target directory. -igor On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa matute...@hotmail.com wrote: Hi , i'm developing an app under netbeans + wicket + tomcat + wicket-contrib-javaee +eclipselink .

Re: Beginner: Pre-select value on RadioChoice component using compound model

2010-04-24 Thread Igor Vaynberg
your profile object is null -igor On Sat, Apr 24, 2010 at 8:08 AM, Alexandros Karypidis akary...@yahoo.gr wrote: Hi, I'm using the RadioChoice component on a form with a CompoundPropertyModel. I'd like the form to come up witn a specific radio option selected. So I try:        

RE: Persistence.xml problem

2010-04-24 Thread Matias Pansa
Ok thanks , i'm still searching. From: igor.vaynb...@gmail.com Date: Sat, 24 Apr 2010 09:10:15 -0700 Subject: Re: Persistence.xml problem To: users@wicket.apache.org wicket has nothing to do with it. maybe your IDE is not updating your persistence.xml in the target directory. -igor

Re: Wicket and Guice / legup / warp persist?

2010-04-24 Thread nino martinez wael
BTW if anyone has trouble with this until 1.4.8 comes out then just write your own injectorholder class and in your guice module call requeststatic injection on that.. Works like a charm.. 2010/4/8 nino martinez wael nino.martinez.w...@gmail.com: Ahh typical :) And thanks for the update.

SignInPage as panel in an AuthenticatedWebApplication?

2010-04-24 Thread Thomas Götz
Is there an easy way to use a panel for signing in when using an application class that extends AuthenticatedWebApplication? The normal Wicket behaviour is that the user gets forwarded to a dedicated signin-page. I'd prefer to use a modal window (displaying a login panel), but

Re: Wicket and Guice / legup / warp persist?

2010-04-24 Thread Douglas Ferguson
Interesting... I've been curious about how to properly use injection in data provider as this does not subclass component. Any tips on how to get this to work? D/ On Apr 24, 2010, at 12:32 PM, nino martinez wael wrote: BTW if anyone has trouble with this until 1.4.8 comes out then just

Re: Back button

2010-04-24 Thread Douglas Ferguson
Well something is happening, because I see it in the production logs and from time to time on my dev machine. What if the server is restarted? D/ On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote: that doesnt matter because the url of the link you click contains the version number of the

Re: Wicket and Guice / legup / warp persist?

2010-04-24 Thread Douglas Ferguson
I'm curious about how this would work with serialization/deserialization. For instance, with a data provider where would you actually put this: InjectorHolder.getInjector().inject(this) To make sure it gets called at the appropriate times? Is it ok to put it in the constructor of the data

Re: WicketTester fails with a custom WebRequestCodingStrategy

2010-04-24 Thread Martin Grotzke
Hi, no feedback so far. It would be really nice if s.o. familiar with WicketTester could a look at this. Thanx cheers, Martin On Thu, 2010-04-22 at 21:21 +0200, Martin Grotzke wrote: Hi, I have an issue with a simple app working fine when run in the app server, but where the test (using

Re: Back button

2010-04-24 Thread Igor Vaynberg
then you would get a page-expired error -igor On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Well something is happening, because I see it in the production logs and from time to time on my dev machine. What if the server is restarted? D/ On Apr 24,

Re: Back button

2010-04-24 Thread Douglas Ferguson
Ah yes.. I am definitely seeing the component not found on page error. Any tips on how to get a quick start for this? Anybody got any example quickstarts that deal with back button issues? D/ On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote: then you would get a page-expired error -igor

Re: Back button

2010-04-24 Thread Douglas Ferguson
I just saw the issue again, but this time it happened right after an exception. I got an except. Hit back and then it complained that the link didn't exist. D? On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote: Ah yes.. I am definitely seeing the component not found on page error.

Re: WicketTester fails with a custom WebRequestCodingStrategy

2010-04-24 Thread Kent Tong
Hi Martin, You may take a look at http://wicketpagetest.sourceforge.net/ which will work for your case. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Back button

2010-04-24 Thread Igor Vaynberg
the exception might have caused your page to not be serialized properly into the pagestore -igor On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I just saw the issue again, but this time it happened right after an exception. I got an except. Hit back and