Re: ajax update page in iframe

2013-07-08 Thread Paul Bors
Well, have you tried updating the iframe by itself? Use a timer event and see if that works fist. Then try to write the JavaScript which would refresh the iframe from within the parent HTML doc. Now remember, as far as I know those two pages are equivalent of having one user session with the

ajax update page in iframe

2013-07-08 Thread haiko
Hi, I have an unusual construction. I have a main Wicket Page with an InlineFrame ( iframe ) referring to another Wicket Page. Now I want to update by ajax the Page in the InlineFrame on userinput in the main Page. I seem to get a ajax call to the new page with updated data, but the co

Re: Wicket-Atmosphere : best way to call server

2013-07-08 Thread Pierre Goupil
Hi, I've tried to provide the same URL than with Wicket.Ajax.get to my request objet but it miserably fails with a client-side exception that Firebug is unable to copy / paste. I'm a bit disappointed. Is there anything I should be aware of? Regards, Pierre On Mon, Jul 8, 2013 at 10:12 AM, Pi

Re: why is getHomePage called multiple times?

2013-07-08 Thread Martin Grigorov
Hi, There is nothing wrong here. Are all invocations of your Home page constructor with the same stack traces ? On Mon, Jul 8, 2013 at 8:05 PM, dev wrote: > Hi sorry for the confusion...here is the stack > > Daemon Thread [http-8080-5] (Suspended (breakpoint at line 81 in HomePage)) >

RE: why is getHomePage called multiple times?

2013-07-08 Thread harmoniaa
You could also print stacktrace of all invocations of the constructor by adding this line: new Exception().printStackTrace(); br, Edvard -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/why-is-getHomePage-called-multiple-times-tp1881852p4660161.html Sent from the

RE: why is getHomePage called multiple times?

2013-07-08 Thread dev
Hi sorry for the confusion...here is the stack Daemon Thread [http-8080-5] (Suspended (breakpoint at line 81 in HomePage)) HomePage.(PageParameters) line: 81 NativeConstructorAccessorImpl.newInstance0(Constructor, Object[]) line: not available [native method]

RE: why is getHomePage called multiple times?

2013-07-08 Thread Paul Bors
Hey there, That's not a stack trace, that's your console output. Try using Eclipse and then configure your Tomcat for hot-deployment. Start Tomcat in debug mode so that you can set your breakpoint and then extract the stack trace. Alternately, throw a runtime exception from that method and analy

Re: why is getHomePage called multiple times?

2013-07-08 Thread dev
Hi, here is the stacktrace.. Jul 8, 2013 8:44:07 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_31\bin;C:\Wind

Re: how to solve this problem

2013-07-08 Thread Paul BorČ™
That's a basic use case we all have to preserve our app's layout. Yes, put together a quick start and share it with us as there must be something else you're doing wrong. Have a great day, Paul Bors On Jul 8, 2013, at 3:10 AM, fan wang wrote: > in fact i have a main page and other pages ex

Re: Looking to pair

2013-07-08 Thread Mike Pence
Thanks for the feedback! Are there some projects on github that would be good to watch? On Mon, Jul 8, 2013 at 8:56 AM, Sebastien wrote: > Ohh well, seems I didn't catch correctly... (sorry for the interference) > > Sebastien. > > On Mon, Jul 8, 2013 at 2:42 PM, Martin Grigorov >wrote: > > > H

Re: why is getHomePage called multiple times?

2013-07-08 Thread Martin Grigorov
Hi, Put a breakpoint in MyHomePage's constructor and see the stacktrace(s). Paste them here if you are not sure how to read interpret them. On Mon, Jul 8, 2013 at 4:29 PM, dev wrote: > Hi > > I am also facing similar issue, I have an application which was developed > in > wicket 1.4.18 and som

Re: May Ajax handlers in Wicket 6 slow down rendering?

2013-07-08 Thread Martin Grigorov
I've created https://issues.apache.org/jira/browse/WICKET-5267 and attached my demo app. I see no big gains with JS event delegation. Only the actually binding of all JS events is slightly faster. But clicking on the links is not faster/slower. On Fri, Jul 5, 2013 at 3:45 PM, Martin Grigorov wrot

Re: why is getHomePage called multiple times?

2013-07-08 Thread dev
Hi I am also facing similar issue, I have an application which was developed in wicket 1.4.18 and sometime back we decided to upgrade the Wicket version to 6.8.0. After making the making and fixing the error I found that for some reasons my HomePage is getting instantiated again and again. I trie

Re: Looking to pair

2013-07-08 Thread Sebastien
Ohh well, seems I didn't catch correctly... (sorry for the interference) Sebastien. On Mon, Jul 8, 2013 at 2:42 PM, Martin Grigorov wrote: > Hi Sebastien, > > > On Mon, Jul 8, 2013 at 2:30 PM, Sebastien wrote: > > > Hi Martin, I have a doubt on the thread you answered... :) > > > > No. It is th

Re: Multiple wicket.properties files in uber JAR

2013-07-08 Thread William Speirs
On Mon, Jul 8, 2013 at 8:24 AM, Sven Meier wrote: > Hi, > > for string resources you could use shade "transformers" to join the > property files: > > http://stackoverflow.com/**questions/6831954/how-to-** > package-an-apache-cxf-**application-into-a-monolithic-** > jar-with-the-maven-s

Re: Looking to pair

2013-07-08 Thread Martin Grigorov
Hi Sebastien, On Mon, Jul 8, 2013 at 2:30 PM, Sebastien wrote: > Hi Martin, I have a doubt on the thread you answered... :) > No. It is the correct thread. I suggest Mike Pence to watch some open source project, i.e. being notified when the project receives some commits. He actually asks exact

Re: Multiple wicket.properties files in uber JAR

2013-07-08 Thread Sven Meier
Hi, for string resources you could use shade "transformers" to join the property files: http://stackoverflow.com/questions/6831954/how-to-package-an-apache-cxf-application-into-a-monolithic-jar-with-the-maven-s Sven On 07/08/2013 02:16 PM, William Speirs wrote: On Jul 8, 2013 2:30 AM, "Mart

Re: Multiple wicket.properties files in uber JAR

2013-07-08 Thread William Speirs
On Jul 8, 2013 2:30 AM, "Martin Grigorov" wrote: > > I don't see another solution. > Call them manually in the beginning of your MyApp#init() method. Calling them is one thing, but that's actually not enough. It appears I also have to add the string resources. (That is where I was really getting

Re: Looking to pair

2013-07-08 Thread Sebastien
Hi Martin, I have a doubt on the thread you answered... :) On Mon, Jul 8, 2013 at 7:03 AM, Martin Grigorov wrote: > Hi, > > You can "watch" some Wicket project in GitHub. > For example: > https://github.com/l0rdn1kk0n/wicket-bootstrap > https://github.com/sebfz1/wicket-jquery-ui > https://github

Re: Spring: cannot inject bean with scope request/session

2013-07-08 Thread Alexey Mukas
Hi, Thank you very much. Now it works fine) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Spring-cannot-inject-bean-with-scope-request-session-tp4660112p4660145.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: Wicket-Atmosphere : best way to call server

2013-07-08 Thread Pierre Goupil
Thanks, Martin! So it definitely worth giving it a try: I'll do that ASAP. Regards, Pierre On Mon, Jul 8, 2013 at 8:13 AM, Martin Grigorov wrote: > Hi, > > I think you should use the Atmosphere APIs. > > Wicket.Ajax.get() knows nothing about WebSocket technology so it won't > work. > > Wicket

Re: Spring: cannot inject bean with scope request/session

2013-07-08 Thread Martin Grigorov
Hi, In our app we use both: org.springframework.web.context.ContextLoaderListener org.springframework.web.context.request.RequestContextListener in web.xml The beans config looks like: and both request and session scoped beans work fine. On Mon, Jul 8,

Re: Problem with inmethod grid if double quotes are in strings

2013-07-08 Thread Martin Grigorov
Hi, Please create a ticket at WicketStuff project. Someone may fix it for you. On Mon, Jul 8, 2013 at 10:25 AM, PDiefent wrote: > Hallo, > I'm using the inmethod grid component in my web application. For the fi

Problem with inmethod grid if double quotes are in strings

2013-07-08 Thread PDiefent
Hallo, I'm using the inmethod grid component in my web application. For the first time a double quote (") appeares in my table data and now the grid is extended by an additional column containing the .toString() value of the column with the double quote characters in it. Now I can't change size and

Re: how to solve this problem

2013-07-08 Thread fan wang
in fact i have a main page and other pages extends this page.when i login in this page first time ,its work, but when i close the page and login again ,then throw the exception.. should i show some code of java or html? -- View this message in context: http://apache-wicket.1842946.n4.nabble.co

Re: Spring: cannot inject bean with scope request/session

2013-07-08 Thread Alexey Mukas
Hi Martin, Here is bean config: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd";> Java def: