Re: wicket conversation scope - weld integration

2013-10-31 Thread Francois Meillet
Hi, you need to use compatible dependencies run the 6.11 examples with these dependencies dependency groupIdorg.apache.wicket/groupId artifactIdwicket-core/artifactId version6.11.0/version /dependency dependency groupIdorg.apache.wicket/groupId

Re: wicket conversation scope - weld integration

2013-10-31 Thread brazz
Hello François, thanks for your reply. yes that are exactly the dependencies that i use. I found out, that api changed between 1.5 and 1.6.. I checked out wicket examples 1.6 from wicket homepage and now it compiles. But still I get: WELD-001408 Unsatisfied dependencies for type

RequestCycle with multiple handlers

2013-10-31 Thread Nick Pratt
Wicket 6.11 I have an AbstractDefaultAjaxBehavior that returns JSON in its protected void respond( AjaxRequestTarget target ) method by: requestCycle.scheduleRequestHandlerAfterCurrent( new TextRequestHandler( text/plain, UTF-8, json ) ); This ADAB is used for returning status information back

Re: RequestCycle with multiple handlers

2013-10-31 Thread Ernesto Reinaldo Barreiro
Hi, Yes I think than when you schedule new request target ajax request target is discarded. I do not know how this component works but maybe you can return your JSON as part as a javaScript eval target.append(myEvalaJSON('JSON')) ? On Thu, Oct 31, 2013 at 8:35 PM, Nick Pratt

Re: RequestCycle with multiple handlers

2013-10-31 Thread Nick Pratt
The JS component sends JSON to the server and expects JSON in response. I was stepping through the Wicket code, and it looks like I can only invoke scheduleRequestHandlerAfterCurrent once since there is only a single 'next' variable. Any JS appended to the ART doesn't seem to get executed on the

Re: RequestCycle with multiple handlers

2013-10-31 Thread Nick Pratt
I figured this out - the handler was being invoked by the JS component in two different places - one using Wicket.Ajax.get() and the other by direct jquery Ajax invocation (same callback URL). I swapped out the plain jQuery invocation for a Wicket.ajax call and everything works as expected. N

Installing Wicket application on a VPS server - How?!

2013-10-31 Thread MartinoSuperman
Hi, I have a website address online on the internet. It is a VPS server. Here, I installed Glassfish 3 and it works perfect. But now, I would like to upload the Wicket Application I built on the VPS server running on GlassFish. So, when you go to the website address in Internet Explorer, you