Re: spring controller redirect ModelAndView to a wicket panel class

2018-09-11 Thread extraquoo
thank you for your advice. I will let our architect team investigate such an integration problem. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

Re: spring controller redirect ModelAndView to a wicket panel class

2018-09-10 Thread Bas Gooren
Hi! Sounds like wicket is redirecting to the login page due to the user not being authenticated. To handle cross-framework authorization, I suggest you either share the http session, use a shared security framework (e.g. apache shiro) or (what we do every now and then) have a shared list of

Re: spring controller redirect ModelAndView to a wicket panel class

2018-09-10 Thread extraquoo
the purpose is the clients want to reuse an existing wicket html page for some enhancement in a spring mvc flow of business. I am trying three ways "redirect:../[url]" , "redirect:[url]" and "/[url]" .The first two just kicks me out and return to the application home page which is coded by

Re: spring controller redirect ModelAndView to a wicket panel class

2018-09-08 Thread Bas Gooren
Hi! I’m not sure why wicket is wrapping a spring exception. Sounds like wicket is not handling the request, but passing it on to spring. I don’t use spring on a daily basis, but from what I read you should be using a “redirect:[url]”-style model and view. Which login page is shown? Your

Re: spring controller redirect ModelAndView to a wicket panel class

2018-09-07 Thread extraquoo
Thanks for your answer. The panel class has its HTML file and it is mounting in the startup initialization mountBookmarkablePage("/CaseVerificationUpload.html",CaseVerificationUploadsPage.class); when I am using return new ModelAndView("redirect:../CaseVerificationUpload.html") then the

Re: spring controller redirect ModelAndView to a wicket panel class

2018-09-07 Thread extraquoo
just correct that the panel class is CaseVerificationUploadsPanel -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: spring controller redirect ModelAndView to a wicket panel class

2018-09-07 Thread Bas Gooren
Hi! Wicket and Spring have different render cycles, so if you want to redirect from spring to a wicket panel, you’ll need to put the wicket panel in a page and expose that page on a public url by mounting it. That wicket page can then take url parameters (either path or query params), which you

spring controller redirect ModelAndView to a wicket panel class

2018-09-06 Thread extraquoo
Hi my project is implemented by two frameworks: spring web flow and wicket. Now in one of the spring controller, I want to the spring ModelAndView redirects to an existing wicket panel class. the code of spring controller is below : protected ModelAndView onSubmit(HttpServletRequest request,