Re: Looking to pair

2013-07-08 Thread Paul Borș
As Martin M. said Hands-on head-first head-banging is the way to go. Watching aside won't take you fare and won't float long. If you're a manager, why even bother? You should be confident in your staff and they should follow your methodologies. I know as a team lead that the involvement

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

2013-07-08 Thread Martin Grigorov
Hi, How do you define your request scoped bean ? Show us the code - Java/XML. On Sun, Jul 7, 2013 at 12:58 PM, Alexey Mukas alexey.mu...@gmail.comwrote: Hi all, I'm trying to use Spring in my app. Using: - wicket 6.9 - spring 3.2.3 Injection works fine with prototype/singleton, but

Re: wicketstuff-gmap3 and CryptoMapper

2013-07-08 Thread Martin Grigorov
Hi, It seems WicketStuff-Gmap3 generates its callback listeners' urls manually. I.e. it doesn't use Wicket's #urlFor() method and that's why the url is not encrypted. Look in this direction. On Sun, Jul 7, 2013 at 9:19 PM, Paul Borș p...@bors.ws wrote: QuickStart, Jira ticket, attaché the fix

Re: how to solve this problem

2013-07-08 Thread Paul Borș
Simply put? RTFM... sorry for being mean and direct. Okay, so you are missing the markup (aka HTML file) with all the silly wicket:id tags. The missing tag as per your exception is a header 0 of some sort. Post more code or tell us what you're trying to achieve if you want more help. Better

Re: Wicket-Atmosphere : best way to call server

2013-07-08 Thread Martin Grigorov
Hi, I think you should use the Atmosphere APIs. Wicket.Ajax.get() knows nothing about WebSocket technology so it won't work. Wicket NativeWebSocket exposes Wicket.WebSocket.** APIs but afaik there is no such thing in WIcket-Atmosphere. On Sat, Jul 6, 2013 at 6:43 PM, Pierre Goupil

Re: how to solve this problem

2013-07-08 Thread Martin Grigorov
On Mon, Jul 8, 2013 at 9:13 AM, Paul Borș p...@bors.ws wrote: Simply put? RTFM... sorry for being mean and direct. Don't be so mean and direct ;-) Component: [HtmlHeaderContainer [Component id = _header_0]] is a component auto-created by Wicket. Why this error is thrown - I cannot say. But

Re: Multiple wicket.properties files in uber JAR

2013-07-08 Thread Paul Borș
See the Wicket Free Guid section on the properties files. https://wicket-guide.googlecode.com/files/Wicket%20free%20guide.pdf#page92 Long story short, you can define the language pack at your application level and overrite the default labels Wicket ships with. Per say, i use your ubber

Re: Multiple wicket.properties files in uber JAR

2013-07-08 Thread Martin Grigorov
Hey Paul. On Mon, Jul 8, 2013 at 9:24 AM, Paul Borș p...@bors.ws wrote: See the Wicket Free Guid section on the properties files. https://wicket-guide.googlecode.com/files/Wicket%20free%20guide.pdf#page92 Long story short, you can define the language pack at your application level and

Re: how to solve this problem

2013-07-08 Thread Paul Borș
I was trying to nicely ask for a bit of development effort such some coding. But ya, a quick start or at least more details (your Java o/and HTML) would help us help you ;) QuickStart is always preferred: http://wicket.apache.org/start/quickstart.html Modify it to reproduce the missing markup

Re: Multiple wicket.properties files in uber JAR

2013-07-08 Thread Paul Borș
Hmm, sorry then. Got that one wrong :( But wait, I think I overcome that in a similar way... We overwrite most string (especially the NULL keys) for most messages. I don't have the code in front of me, but I recall we do it through the Lang pack. Have a great day, Paul Bors On Jul 8,

Re: how to solve this problem

2013-07-08 Thread fan wang
thx,i dont know how to describe this question, the project sometimes is okay ,but some times when i open it again and then throw the exception.. thx everyone..i will read the manual..thx... -- View this message in context:

Re: how to solve this problem

2013-07-08 Thread Paul Borș
No need to read a full book if you know Wicket, isolate it in a quick start. If we see your java and HTML we might better understand your use case. Have a great day, Paul Bors On Jul 8, 2013, at 2:42 AM, fan wang xingfan_w...@live.cn wrote: thx,i dont know how to describe this question,

Re: Multiple wicket.properties files in uber JAR

2013-07-08 Thread Paul Borș
N/m initializers are way trickier than what we do in our web app. I would imagine you have to write your own intelligent initializer here to fallback to you own lang pack? I never tried it, so I won't know Count me outta this one :) Have a great day, Paul Bors On Jul 8, 2013, at 2:35

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

2013-07-08 Thread Alexey Mukas
Hi Martin, Here is bean config: ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.springframework.org/schema/beans

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:

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: Problem with inmethod grid if double quotes are in strings

2013-07-08 Thread Martin Grigorov
Hi, Please create a ticket at WicketStuffhttps://github.com/wicketstuff/core/issues?direction=descsort=createdstate=open project. Someone may fix it for you. On Mon, Jul 8, 2013 at 10:25 AM, PDiefent pdief...@csc.com wrote: Hallo, I'm using the inmethod grid component in my web application.

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

2013-07-08 Thread Martin Grigorov
Hi, In our app we use both: listener listener-classorg.springframework.web.context.ContextLoaderListener/listener-class /listener listener listener-classorg.springframework.web.context.request.RequestContextListener/listener-class /listener in web.xml The beans config looks

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 mgrigo...@apache.orgwrote: Hi, I think you should use the Atmosphere APIs. Wicket.Ajax.get() knows nothing about WebSocket technology so it won't

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: 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 mgrigo...@apache.orgwrote: Hi, You can watch some Wicket project in GitHub. For example: https://github.com/l0rdn1kk0n/wicket-bootstrap https://github.com/sebfz1/wicket-jquery-ui

Re: Multiple wicket.properties files in uber JAR

2013-07-08 Thread William Speirs
On Jul 8, 2013 2:30 AM, Martin Grigorov mgrigo...@apache.org 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

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, Martin

Re: Looking to pair

2013-07-08 Thread Martin Grigorov
Hi Sebastien, On Mon, Jul 8, 2013 at 2:30 PM, Sebastien seb...@gmail.com 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

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 s...@meiers.net 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-**

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 mgrigo...@apache.orgwrote: Hi Sebastien, On Mon, Jul 8, 2013 at 2:30 PM, Sebastien seb...@gmail.com wrote: Hi Martin, I have a doubt on the thread you

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

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

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 your@gmail.com wrote: Hi I am also facing similar issue, I have an application which was developed in wicket

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 seb...@gmail.com 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

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 xingfan_w...@live.cn wrote: in fact i have a main

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

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

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.init(PageParameters) line: 81 NativeConstructorAccessorImpl.newInstance0(Constructor, Object[]) line: not available [native method]

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 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 your@gmail.com wrote: Hi sorry for the confusion...here is the stack Daemon Thread [http-8080-5] (Suspended (breakpoint at line 81 in

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,

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

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