Wicket cookie timeout example?

2012-03-30 Thread kshitiz
Hi, Is there any way to set cookie expiration time in Wicket? I am not able to find any example related to that...like we can set session expiration time in web.xml... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-cookie-timeout-example-tp4521200p4521200.html

Re: StackOverflowError in session creation

2012-03-30 Thread kshitiz
OhI made a stupid mistakesorry for that and thanks for solving my problem... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/StackOverflowError-in-session-creation-tp4516170p4521161.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: 1.4.7 migration to 1.5.5 failing on AWS Elastic Beanstalk caused by Form class

2012-03-30 Thread Igor Vaynberg
attach visualvm to your aws instance and see whats hanging it up. -igor On Fri, Mar 30, 2012 at 7:43 PM, roddo123 wrote: > I have been running a wicket 1.4.7  application on the aws elastic beanstalk. > (It controls the server so the user only needs to deploy the war).  I > migrated to 1.5.5 and

1.4.7 migration to 1.5.5 failing on AWS Elastic Beanstalk caused by Form class

2012-03-30 Thread roddo123
I have been running a wicket 1.4.7 application on the aws elastic beanstalk. (It controls the server so the user only needs to deploy the war). I migrated to 1.5.5 and was able to run the application without issue in my local environment. However, when I deploy the 1.5.5 application to aws afte

Re: Version Pages by default

2012-03-30 Thread sudeivas
Thanks for the information. I am currently using wicket 1.5.3. I hope this applies to wicket-1.5.3 as well. But in my case, everything works fine. But when our session management fails, then we run into the following exceptions: PageExpiredException ComponentNotFoundException StalePageException

Re: Version Pages by default

2012-03-30 Thread Martin Grigorov
Hi, Check the docs from 6.x: http://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=blob_plain;f=wicket-core/src/main/java/org/apache/wicket/settings/IPageSettings.java;hb=master On Fri, Mar 30, 2012 at 11:30 PM, sudeivas wrote: > Hello, >          I am just trying to make sense when

Version Pages by default

2012-03-30 Thread sudeivas
Hello, I am just trying to make sense when to version pages and when not to. I found in my application I can do something like, getPageSettings().setVersionPagesByDefault(false); as the default value is true. But I am not sure why we need to turn off page version. I didn't find enough

Wicketstuff - Openlayers: not working with wicket 1.5.5?

2012-03-30 Thread datazuul
Hi I tried to embed an openstreetmap in my page with the code from SimpleOpenStreetMapPage (wicketstuff openlayers example): final List layers = new ArrayList(); final Layer layerOSMTilesAtHome = new OSM("Osmarender", OSMLayer.TilesAtHome); final Layer layerOSMMapnik = new

RE: Favicon best practice

2012-03-30 Thread Jeffrey Schneller
I just put the favicon.ico at the root of the WebContent directory and don't specify anything in the HTML. I believe browsers look in the root unless specified differently in the html (like you are doing). BTW... app is on Apache + Tomcat and runs as the root app of the tomcat instance. ---

Re: Favicon best practice

2012-03-30 Thread Ian Marshall
With Wicket 1.5.5, I have tried: In the HTML of my base page I have: and in my WebApplication-descended application class, I have: @Override protected void init() { super.init(); ... PackageResourceReference prrFavicon = new PackageResourceReference( ResourcesLocator.c

Re: When I am open title page of my application, the next error occurs...

2012-03-30 Thread armhold
Your IDE probably auto-imported it instead of java.lang.Object. Your IDE most likely has a feature whereby you can add org.omg.CORBA to the list of "don't ever auto-import this package". > Last cause: $Proxy155 cannot be cast to org.omg.CORBA.Object PS: I will forever read this package as "oh my

RE: Accessing .properties file

2012-03-30 Thread Richard W. Adams
This is really a Maven question, not Wicket. You'll probably get better answers from a Maven forum. From: SudeepShakya To: users@wicket.apache.org Date: 03/30/2012 07:15 AM Subject:RE: Accessing .properties file I mean that if sample.properties is the required file, then how

RE: Accessing .properties file

2012-03-30 Thread SudeepShakya
I mean that if sample.properties is the required file, then how to define in the pom.xml The sample.properties file is in the folder src/java. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Accessing-properties-file-tp4518748p4518872.html Sent from the Users forum ma

RE: Accessing .properties file

2012-03-30 Thread Wilhelmsen Tor Iver
> Coiuld u please give me a sample of the code for the pom.xml for accessing > .properties file Not sure what you mean, you don't usually put code in pom.xml. Look into configuring the elements to include the correct file types and folders. - Tor Iver --

RE: Accessing .properties file

2012-03-30 Thread SudeepShakya
Yes i had put it in the required folder but i think i didn't write the right code in pom.xml. Coiuld u please give me a sample of the code for the pom.xml for accessing .properties file Thanks for reply. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Accessing-proper

RE: Accessing .properties file

2012-03-30 Thread Wilhelmsen Tor Iver
> I am using netbeans for maven project(with added wicket framework) and i want > to access something.properties from a java class. Are the properties files not being put into the output jar/war files? Remember that Maven by default sets up a structure where *.java goes into src/main/java and e

Accessing .properties file

2012-03-30 Thread SudeepShakya
I am using netbeans for maven project(with added wicket framework) and i want to access something.properties from a java class. Tried to modify pom.xml but not worked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Accessing-properties-file-tp4518748p4518748.html

Re: POST parameters lost during InterceptException

2012-03-30 Thread Satrix
The point is that I cannot catch the exception. The code enters first if in the catch section: if (e.getTargetException() instanceof ReplaceHandlerException || e.getTargetException() instanceof AuthorizationException || e.getTargetException() instanceof WicketRuntimeException) { throw (

Re: POST parameters lost during InterceptException

2012-03-30 Thread Martin Grigorov
On Fri, Mar 30, 2012 at 12:24 PM, Satrix wrote: > Moreover, I've debugged continueToOriginalDestination (InterceptData data = > InterceptData.get();) > and the parameters are in the data but at > (RequestCycle.get().replaceAllRequestHandlers(new > RedirectRequestHandler(url));) it goes into the re

Re: POST parameters lost during InterceptException

2012-03-30 Thread Satrix
Moreover, I've debugged continueToOriginalDestination (InterceptData data = InterceptData.get();) and the parameters are in the data but at (RequestCycle.get().replaceAllRequestHandlers(new RedirectRequestHandler(url));) it goes into the replaceAllRequestHandlers method and then from this method it

Re: Wicket 6 resource aggregation..

2012-03-30 Thread coincoinfou
I got it ! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-resource-aggregation-tp4518466p4518530.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Wicket 6 resource aggregation..

2012-03-30 Thread Martin Grigorov
I guess you talk about the example - it is still there. On Fri, Mar 30, 2012 at 10:59 AM, coincoinfou wrote: > is moved or doesn't exist anymore ? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-6-resource-aggregation-tp4518466p4518466.html > Sent from

Wicket 6 resource aggregation..

2012-03-30 Thread coincoinfou
is moved or doesn't exist anymore ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-resource-aggregation-tp4518466p4518466.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: POST parameters lost during InterceptException

2012-03-30 Thread Satrix
Hmm, one question where shall I setup a breakpoint ? Cause I've no idea how to debug only the org.apache.wicket.RestartResponseAtInterceptPageException.InterceptData#set(). Regards, Satrix -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-lost-during-Int

Re: POST parameters lost during InterceptException

2012-03-30 Thread Martin Grigorov
On Fri, Mar 30, 2012 at 10:44 AM, Andrea Del Bene wrote: > Why not calling continueToOriginalDestination() after user has  logged in? > Do you think this could work? This is what should be used after successful authentication. > >> Hi, >> >> Try debugging at >> >> org.apache.wicket.RestartRespon

Re: POST parameters lost during InterceptException

2012-03-30 Thread Andrea Del Bene
Why not calling continueToOriginalDestination() after user has logged in? Do you think this could work? Hi, Try debugging at org.apache.wicket.RestartResponseAtInterceptPageException.InterceptData#set(). The post parameters should be preserved there and used later around line 200 (MAPPER.mapReq

Re: POST parameters lost during InterceptException

2012-03-30 Thread Martin Grigorov
Hi, Try debugging at org.apache.wicket.RestartResponseAtInterceptPageException.InterceptData#set(). The post parameters should be preserved there and used later around line 200 (MAPPER.mapRequest()). On Fri, Mar 30, 2012 at 10:05 AM, Satrix wrote: > Hello, > > Let me describe my problem. Easy sc

Re: Page/Session persistence on AppEngine

2012-03-30 Thread Per
Hi Chris, we encountered similar problems, and wrote two blogposts: One about tweaking all the components, one about zipping the session. http://www.small-improvements.com/blog/technical/tuning-wicket-session-size http://blog.small-improvements.com/2012/02/19/reducing-wicket-session-size-to-one-

POST parameters lost during InterceptException

2012-03-30 Thread Satrix
Hello, Let me describe my problem. Easy scenario, I have two pages. Login Page and Order Page. In order to access Order Page you need to be logged in. If you are not then my SimplePageAuthorizationStrategy will intercept that and redirect user to Login Page and here is my problem because I send po