RE: Repalcement of servlets in wicket.

2012-03-30 Thread SudeepShakya
Refer me a book for the latest version of wicket i will be using wicket 1.5.3 in netbeans.(latest netbeans wicket plugin.) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Repalcement-of-servlets-in-wicket-tp4514480p4518146.html Sent from the Users forum mailing list

Re: AjaxRequestTarget.add(component) not replacing component, but duplicating it

2012-03-30 Thread Martin Grigorov
Hi, Check what additional markup if generated by Chosen. It transforms select to more complex HTML structure. Then you'll have more information what should be done to replace the whole thing, not just to provide new select as what Wicket would do by default. I can also recommend you to take a

Re: Atmosphere multi-request

2012-03-30 Thread Martin Grigorov
Hi, On Thu, Mar 29, 2012 at 11:04 PM, Pierre Goupil goupilpie...@gmail.com wrote: Good evening, Sorry for the lag, I missed this thread! The multi-request functionality of Atmosphere allows Comet channels and subscribing / pushing only in the right channel. There an example of Atmosphere

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

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

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 satrix...@gmail.com wrote: Hello, Let me describe my

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

Re: POST parameters lost during InterceptException

2012-03-30 Thread Martin Grigorov
On Fri, Mar 30, 2012 at 10:44 AM, Andrea Del Bene adelb...@ciseonweb.it 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

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:

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: 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 olivierandr...@gmail.com wrote: is moved or doesn't exist anymore ? -- View this message in context:

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: 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

Re: POST parameters lost during InterceptException

2012-03-30 Thread Martin Grigorov
On Fri, Mar 30, 2012 at 12:24 PM, Satrix satrix...@gmail.com 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

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

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: 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

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:

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 resource elements to include the correct file types and folders. - Tor Iver

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

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 shakyasud...@live.com 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

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 god

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: link rel=shortcut icon type=image/x-icon href=favicon.ico/ and in my WebApplication-descended application class, I have: @Override protected void init() { super.init(); ... PackageResourceReference

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.

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 ListLayer layers = new ArrayListLayer(); final Layer layerOSMTilesAtHome = new OSM(Osmarender, OSMLayer.TilesAtHome); final Layer

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

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 sureshkumar@gmail.com wrote: Hello,          I am just

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

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

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 rfr...@rogers.com 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

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.