Re: does spring-boot migration require wicket-spring-boot

2023-01-29 Thread Martin Grigorov
We have documentation how to integrate Wicket with Spring - https://nightlies.apache.org/wicket/guide/9.x/single.html#_integrating_wicket_with_spring How to "upgrade" from Spring to Spring-Boot you should advice with Spring Boot ocumentation. On Mon, Jan 30, 2023 at 3:04 AM A

Re: does spring-boot migration require wicket-spring-boot

2023-01-29 Thread Arunachalam Sibisakkaravarthi
Thank you Martin Grigorov. Is there any document/guide/sample to integrate Apache Wicket framework with Spring-Boot? Please share the links *Thanks And RegardsSibi.ArunachalammCruncher* On Fri, Jan 20, 2023 at 5:32 PM Martin Grigorov wrote: > On Fri, Jan 20, 2023 at 11:16 AM Arunacha

Re: does spring-boot migration require wicket-spring-boot

2023-01-20 Thread Martin Grigorov
On Fri, Jan 20, 2023 at 11:16 AM Arunachalam Sibisakkaravarthi < arunacha...@mcruncher.com> wrote: > Hi guys, > We develop Wicket + Spring based web applications. > Now we are working to migrate the Spring framework to Spring Boot. Does > this require wicket-spr

does spring-boot migration require wicket-spring-boot

2023-01-20 Thread Arunachalam Sibisakkaravarthi
Hi guys, We develop Wicket + Spring based web applications. Now we are working to migrate the Spring framework to Spring Boot. Does this require wicket-spring-boot migration? Is it mandatory to migrate Wicket framework to wicket-spring-boot? *Thanks And RegardsSibi.ArunachalammCruncher*

Re: Will Wicket 9.x blocks Spring 6.x upgrade

2022-12-14 Thread Martijn Dashorst
-to-use-the-eclipse-transformer-project-to-convert-a-3rd-party-library - https://openliberty.io/blog/2021/03/17/eclipse-transformer.html Martijn On Wed, Dec 14, 2022 at 10:00 AM Arunachalam Sibisakkaravarthi < arunacha...@mcruncher.com> wrote: > Hi all, > Currently we use Wicket 9.x an

Will Wicket 9.x blocks Spring 6.x upgrade

2022-12-14 Thread Arunachalam Sibisakkaravarthi
Hi all, Currently we use Wicket 9.x and Spring 5.x that require javax-servlet-api 4.x. During upgrade activity found that Spring 6.x requires jakarta-servlet-api 5.x Now, should I be able to upgrade the Spring framework to the latest 6.x? *Thanks And RegardsSibi.ArunachalammCruncher*

Re: Wicket 10: Release date & Compatibility with Spring 6?

2022-10-24 Thread Andrea Del Bene
Hi, no planned date yet, but we are definitely planning to release version 10 with Spring 6 support. See this other conversation: https://lists.apache.org/thread/mqdwhjg5x0lcdyfkcjw9p4c000cyrt44 Bye! On Mon, Oct 24, 2022 at 11:30 AM Muhammad Fakhar Anwar < fakharan...@hotmail.com> wrote:

Wicket 10: Release date & Compatibility with Spring 6?

2022-10-24 Thread Muhammad Fakhar Anwar
Hi, I hope you are doing well. We have a project on Wicket 9 and Spring 5 but since Spring 6 is released therefore, we are working to migrate to it but it seems Wicket 10 will support Spring 6, correct? If yes, Is there an planned release date for Wicket 10? Please let me know. Thanks Kind

Re: Spring Boot 3, Wicket 10, Roadmap?

2022-10-20 Thread Greb Lindqvist
t; On Wed, Oct 19, 2022 at 11:53 PM Greb Lindqvist > wrote: > > > Hello, > > > > My organization has several internal apps running with Spring Boot 2.7 > and > > Wicket 9. We are planning ahead for updating to Spring Boot 3. My > > understanding is that we'

Re: Spring Boot 3, Wicket 10, Roadmap?

2022-10-20 Thread Martin Grigorov
Hi, On Wed, Oct 19, 2022 at 11:53 PM Greb Lindqvist wrote: > Hello, > > My organization has several internal apps running with Spring Boot 2.7 and > Wicket 9. We are planning ahead for updating to Spring Boot 3. My > understanding is that we'll need to wait for Wicket 10. >

Spring Boot 3, Wicket 10, Roadmap?

2022-10-19 Thread Greb Lindqvist
Hello, My organization has several internal apps running with Spring Boot 2.7 and Wicket 9. We are planning ahead for updating to Spring Boot 3. My understanding is that we'll need to wait for Wicket 10. Is there a Wicket Roadmap page? Any guesses for when Wicket 10 milestone releases might

Re: Reg: Integrate Spring REST and OAuth2 in Wicket web Application

2022-09-26 Thread Martin Terra
have a more specific question? ** Martin ma 26. syysk. 2022 klo 9.40 sundar saba (sundarsabapa...@gmail.com) kirjoitti: > Hi all, > > I would like to use OAuth2 client credentials grant type > authentication in my Wicket project. Currently I am using spring security >

Reg: Integrate Spring REST and OAuth2 in Wicket web Application

2022-09-26 Thread sundar saba
Hi all, I would like to use OAuth2 client credentials grant type authentication in my Wicket project. Currently I am using spring security in my project. But I already implement REST features from Wicketstuff REST annotations for internal use. Now I want to create new REST endpoints

Re: spring-bean RCE (indirect vulnerability of Servlet/jsp request get/post)

2022-04-07 Thread kyrindorx
Thank you for your advice and help :) Am 05.04.2022 um 21:54 schrieb Andrea Del Bene: Also it is worth mentioning that we have an upcoming version (9.9.1) that has Spring core dependency updated to 5.3.18 On 05/04/22 21:47, Martin Grigorov wrote: On Tue, Apr 5, 2022, 13:18 kyrindorx wrote

Re: spring-bean RCE (indirect vulnerability of Servlet/jsp request get/post)

2022-04-05 Thread Andrea Del Bene
Also it is worth mentioning that we have an upcoming version (9.9.1) that has Spring core dependency updated to 5.3.18 On 05/04/22 21:47, Martin Grigorov wrote: On Tue, Apr 5, 2022, 13:18 kyrindorx wrote: Hi, Thank you for the first answer of this issue. I have also a question about https

Re: spring-bean RCE (indirect vulnerability of Servlet/jsp request get/post)

2022-04-05 Thread Martin Grigorov
On Tue, Apr 5, 2022, 13:18 kyrindorx wrote: > Hi, > > Thank you for the first answer of this issue. I have also a question > about https://github.com/MarcGiffing/wicket-spring-boot and a upgrade of > spring-beans or spring in general. Do you have good idea upgrade spring >

Re: spring-bean RCE (indirect vulnerability of Servlet/jsp request get/post)

2022-04-05 Thread kyrindorx
Hi, Thank you for the first answer of this issue. I have also a question about https://github.com/MarcGiffing/wicket-spring-boot and a upgrade of spring-beans or spring in general. Do you have good idea upgrade spring to version 5.2.20, 5.3.18 without an impact with wicket-spring-boot? I'll

Re: spring-bean RCE (indirect vulnerability of Servlet/jsp request get/post)

2022-04-01 Thread Martin Grigorov
Hi, I don't think a normal Wicket application is vulnerable to this attack. But I recommend you to update Spring in your applications anyway. On Fri, Apr 1, 2022, 10:21 kyrindorx wrote: > Hello everyone, > > The internet developer community found a bug in > spring-beans/spring-web

spring-bean RCE (indirect vulnerability of Servlet/jsp request get/post)

2022-04-01 Thread kyrindorx
Hello everyone, The internet developer community found a bug in spring-beans/spring-webmvc on 03/30/2022. I would like to know to what extent Wicket could be affected for this exploit? I think it should be a specific behavior with Spring and the servlet engine (Tomcat was used in the exploit

Re: Spring Boot Circular reference error

2021-12-12 Thread Martin Grigorov
Hi, I think there is no release of Wicket-Spring-Boot-Starter for Spring Boot 2.6. Maybe you have both 2.5.x and 2.6.1 on the classpath. Check with "mvn dependency:tree" On Sun, Dec 12, 2021, 09:03 Pranav Kacholia wrote: > Hi, > > I started the same app with spring

Re: Spring Boot Circular reference error

2021-12-11 Thread Pranav Kacholia
Hi, I started the same app with spring boot version 2.5.7 and it works fine. If I change it to 2.6.1 it fails with the above. On Sat, 11 Dec, 2021, 7:45 pm Andrea Del Bene, wrote: > Hi, > > I've recently started a new project with wicket-spring-boot-starter and > wicket 9.7.0 an

Re: Spring Boot Circular reference error

2021-12-11 Thread Andrea Del Bene
Hi, I've recently started a new project with wicket-spring-boot-starter and wicket 9.7.0 and everything is fine. I would blame your dependencies on spring-boot-starter-web and spring-boot-starter-test. I don't have them in my pom and I don't think you need them. Try to remove them to see

Spring Boot Circular reference error

2021-12-11 Thread Pranav Kacholia
HI, I am trying to start a new spring boot project with wicket. Even with no dependencies added and only a basic home page i am facing errors. My POM file:- org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-test test

Aw: Re: Extend session metadata with user-data-scope after login (spring question)

2021-03-07 Thread Per Newgro
Thanks Sven, great. Works. > Gesendet: Sonntag, 07. März 2021 um 11:58 Uhr > Von: "Sven Meier" > An: users@wicket.apache.org > Betreff: Re: Extend session metadata with user-data-scope after login (spring > question) > > Hi, > > Wicket tries to create a

Re: Extend session metadata with user-data-scope after login (spring question)

2021-03-07 Thread Sven Meier
so on. That scope is provided by a spring bean (UserScopeFinder). This bean is created in a Configuration as a @Bean. What i tried so far is add an ISessionListener to WebApplication and inject the UserScopeFinder. @com.giffing.wicket.spring.boot.context.extensions.ApplicationInitExtension public

Extend session metadata with user-data-scope after login (spring question)

2021-03-07 Thread Per Newgro
Hi, i would like to extend a session (metadata) with scope of user logged in. Something like "allowed countries", "allowed companies" and so on. That scope is provided by a spring bean (UserScopeFinder). This bean is created in a Configuration as a @Bean. What i

Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Daniel Weiss
works :) https://github.com/geramaya/wicket-spring-boot-simple thx for help Am 13.01.2021 um 20:19 schrieb Martin Grigorov: In that case you should report it at https://github.com/MarcGiffing/wicket-spring-boot/issues On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss wrote: Hey all, I've

Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Daniel Weiss
https://github.com/MarcGiffing/wicket-spring-boot/issues/174 Done. Thx for your help :) Am 13.01.2021 um 20:19 schrieb Martin Grigorov: In that case you should report it at https://github.com/MarcGiffing/wicket-spring-boot/issues On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss wrote: Hey all

Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Martin Grigorov
In that case you should report it at https://github.com/MarcGiffing/wicket-spring-boot/issues On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss wrote: > Hey all, > > I've tested it. A mini spring-boot provide static content with functions > of https://www.baeldung.com/spring-mvc-stat

Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Daniel Weiss
Hey all, I've tested it. A mini spring-boot provide static content with functions of https://www.baeldung.com/spring-mvc-static-resources. A mini spring boot app with wicket-spring-boot does not provide it. I got a error message with not found of ... Some ideas or experience about it? Am

Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Daniel Weiss
Thx :) I have found this, but it doesn't work with my app. My next should step is to use a clean small spring boot app and spring boot with the wicket-spring-boot to exclude own bugs with my wonderful program :D Thx Daniel Am 13.01.2021 um 14:52 schrieb Martin Grigorov: Hi, There is nothing

Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Martin Grigorov
Hi, There is nothing Wicket specific in this. Just use Spring Boot/MVC facilities: https://www.baeldung.com/spring-mvc-static-resources On Wed, Jan 13, 2021 at 3:08 PM Daniel Weiss wrote: > > Hi all, > > I use https://github.com/MarcGiffing/wicket-spring-boot wit

Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Daniel Weiss
Hi all, I use https://github.com/MarcGiffing/wicket-spring-boot with Wicket 8.x and with a spring boot application. I would add static web content (online help page) to provide a documentation inside the spring boot application. Knows someone a way to provide to serve static web content

Re: Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-11 Thread Igor Khvostenkov
ould suggest you to generate your application with JHipster and then >> remove the front-end (Angular/React) and add Wicket instead. >> >> On Sun, Dec 8, 2019, 10:02 Per Newgro wrote: >> >>> Hello *, >>> >>> i try to setup a spring boot project based

Re: Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-11 Thread Igor Khvostenkov
Sun, Dec 8, 2019, 10:02 Per Newgro wrote: > >> Hello *, >> >> i try to setup a spring boot project based on wicket-spring-boot-parent. >> To built my frontend assets (sass, js, svg minify etc) i like to use >> webpack. >> >> But if i start my proje

Re: Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-08 Thread Martin Grigorov
Hi, I would suggest you to generate your application with JHipster and then remove the front-end (Angular/React) and add Wicket instead. On Sun, Dec 8, 2019, 10:02 Per Newgro wrote: > Hello *, > > i try to setup a spring boot project based on wicket-spring-boot-parent. > To built

Re: Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-08 Thread Tobias Soloschenko
Hi again, some hints I found on stackoverflow: https://stackoverflow.com/questions/38738587/migrate-frontend-maven-plugin-from-maven-to-gradle kind regards Tobias > Am 08.12.2019 um 09:02 schrieb Per Newgro : > > Hello *, > > i try to setup a spring boot project based on wic

Re: Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-08 Thread Tobias Soloschenko
ieb Per Newgro : > > Hello *, > > i try to setup a spring boot project based on wicket-spring-boot-parent. > To built my frontend assets (sass, js, svg minify etc) i like to use webpack. > > But if i start my project the assets are not loaded. So i hope to find an > exa

Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-08 Thread Per Newgro
Hello *, i try to setup a spring boot project based on wicket-spring-boot-parent. To built my frontend assets (sass, js, svg minify etc) i like to use webpack. But if i start my project the assets are not loaded. So i hope to find an example project, where i can find some inspirations how i

Re: Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Martin Grigorov
e. > > (DCEVM i need to inspect :-).) > > Thanks for your support. > Regards > Per > > > Gesendet: Mittwoch, 28. August 2019 um 10:37 Uhr > > Von: "Martin Grigorov" > > An: "users@wicket.apache.org" > > Betreff: Re: Wicket S

Aw: Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Per Newgro
: Mittwoch, 28. August 2019 um 10:37 Uhr > Von: "Martin Grigorov" > An: "users@wicket.apache.org" > Betreff: Re: Wicket Spring boot - use spring devtools > > Hi, > > This is how Spring Dev Tools work. When it detects a change it removes the > old

Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Martin Grigorov
Hi, This is how Spring Dev Tools work. When it detects a change it removes the old application class loader and creates a new one. Why this is a problem for you ? I personally prefer to use DCEVM (https://dcevm.github.io/). It is able to redefine a specific class in the current class loader

Wicket Spring boot - use spring devtools

2019-08-28 Thread Per Newgro
Hello *, I migrate my current wicket app to spring boot version (https://github.com/MarcGiffing/wicket-spring-boot). So far it was straightforward. But now i experience a problem with inclusion of org.springframework.boot

Re: Wicket tests with Spring Boot

2019-07-10 Thread Zbynek Vavros
Not sure if it helps or it is what are you looking for but this is how I do it. I have abstract base class that - sets Wicket application into Spring ApplicationContext - creates WicketTester - uses static configuration class to create mocks of required Spring components in ApplicationContext

AW: Re: Wicket tests with Spring Boot

2019-07-10 Thread Stephan Schrader
Have you tried @MockBean from Spring Boot. Alternative with @ContextConfiguration you can assign configuration classes and export custom mocks. Stephan Von meinem gesendet Tom Götz schrieb >We have both, a service layer and a persistence layer (each in it's own maven >

Re: Wicket tests with Spring Boot

2019-07-10 Thread Tom Götz
We have both, a service layer and a persistence layer (each in it's own maven module). We use Spring Data Jpa repositories for the persistence layer and Liquibase for managing DB changes. When testing the Wicket layer I don't want the complete persistence and service layer to be initialized

Re: Wicket tests with Spring Boot

2019-07-10 Thread Andrei Kondratev
, "Tom Götz" wrote: > Hi there, > > we have a Spring Boot based webapp (Wicket 8.4 with wicket-spring-boot > 2.1.6) and would like to create a base test class for our Wicket tests. For > testing, we would like to mock the service and persistence layer (e.g. with > Mocki

Wicket tests with Spring Boot

2019-07-10 Thread Tom Götz
Hi there, we have a Spring Boot based webapp (Wicket 8.4 with wicket-spring-boot 2.1.6) and would like to create a base test class for our Wicket tests. For testing, we would like to mock the service and persistence layer (e.g. with Mockito). Is there a good example for that purpose? Cheers

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-25 Thread Zbynek Vavros
oginPage("/wicket/page/login").loginProcessingUrl("/fake-url") .and().csrf().disable(); this will redirect to login page in case you are not logged in. Regarding lack of privileges (roles) that's another story and you should probably read Spring Securi

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-25 Thread nino martinez wael
Have you gone through this : https://ci.apache.org/projects/wicket/guide/8.x/single.html#_extending_the_default_lookup_algorithm (which seems you have, please show a little code) And could you tell med howto make Spring redirect to my wicket login page for all urls except /actuator (which

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread Zbynek Vavros
9 at 4:13 PM nino martinez wael < > > nino.martinez.w...@gmail.com> wrote: > > > > > It sort of works, If I go to the actuator I get the http basic auth, > if I > > > on the same session goto my pages.. I get an "ugly" access denied page > > and

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
, 2019 at 4:13 PM nino martinez wael < > nino.martinez.w...@gmail.com> wrote: > > > It sort of works, If I go to the actuator I get the http basic auth, if I > > on the same session goto my pages.. I get an "ugly" access denied page > and > > not the configured wic

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread Zbynek Vavros
e same session goto my pages.. I get an "ugly" access denied page and > not the configured wicket login page. So it sort of works.. > > If I just goto localhost:8080/ I get an default spring login page not the > wicket one.. Upon succesfull login it forwards me to the wicket login

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
It sort of works, If I go to the actuator I get the http basic auth, if I on the same session goto my pages.. I get an "ugly" access denied page and not the configured wicket login page. So it sort of works.. If I just goto localhost:8080/ I get an default spring login page not the

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
ons().disable(); > > > > > > On Thu, Jan 24, 2019 at 3:06 PM Zbynek Vavros > > wrote: > > > > > Hi, > > > > > > I did similar thing, the trick here is to use two > > > WebSecurityConfigurerAdaptes. > >

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread Zbynek Vavros
the trick here is to use two > > WebSecurityConfigurerAdaptes. > > > > Zbynek > > > > On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael < > > nino.martinez.w...@gmail.com> wrote: > > > > > Hope its okay to use the wicket user mailing list for th

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread Zbynek Vavros
fing for making the project. But I cannot get > actuator endpoints to work with spring security and wicket spring boot.. > I've tried a lot of things.. > > IN my WebSecurityConfigurerAdapter: > > http > > > .authorizeRequests().antMatchers("/actuator/**","/a

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
of all thanks to MarcGiffing for making the project. But I cannot > get > > actuator endpoints to work with spring security and wicket spring boot.. > > I've tried a lot of things.. > > > > IN my WebSecurityConfigurerAdapter: > > > > http >

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
On Thu, Jan 24, 2019 at 3:01 PM Andrea Del Bene wrote: > I had a problem with Spring Boot 2 and actuator as many of them are > disabled by default in the new version. I don't know if this is the case > for you, but I would try enabling all of them via config file. For example > with

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread Andrea Del Bene
I had a problem with Spring Boot 2 and actuator as many of them are disabled by default in the new version. I don't know if this is the case for you, but I would try enabling all of them via config file. For example with yml is something like: management: endpoints: web: exposure

Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
Hope its okay to use the wicket user mailing list for this:) First of all thanks to MarcGiffing for making the project. But I cannot get actuator endpoints to work with spring security and wicket spring boot.. I've tried a lot of things.. IN my WebSecurityConfigurerAdapter: http

Spring cloud config or just config integration?

2018-10-04 Thread nino martinez wael
Have any one tried or seen a ui front that pops up in front of your normal app if it's not configured? In pax wicket we have one.. But are not able to find one at the spring stack? Regards Nino

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
Op 10 september 2018 bij 20:01:31, extraquoo (extraq...@gmail.com) schreef: the purpose is the clients want to reuse an existing wicket html page for some enhancement in a spring mvc flow of business. br/>I am ttrying three ways "redirect:../[url]" , "redirect:[url]" and

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

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

Re: Wicket and Spring Rest (MVC & DispatcherServlet)

2018-07-20 Thread Martin Grigorov
Hi, On Fri, Jul 20, 2018 at 10:13 AM kyrindorx wrote: > > Hi, > > I have to run a wicket app in the Servlet Context / Path "/*". I want to > use Spring MVC with Rest on "/api/*". > You will need to use "ignorePaths" parameter on WicketFilter t

Wicket and Spring Rest (MVC & DispatcherServlet)

2018-07-20 Thread kyrindorx
Hi, I have to run a wicket app in the Servlet Context / Path "/*". I want to use Spring MVC with Rest on "/api/*". I found the WicketSessionFilter and some infos about it, but I can't see a way to delegate into the Spring DispatcherServlet with "/*" bind on

Re: Serialization Problem for Streams' Lambda used in Spring beans

2018-06-21 Thread Sven Meier
od in the Wicket component tree, e.g. by using a LoadableDetachableModel. Have fun Sven Am 21.06.2018 um 13:26 schrieb m.xinu: I manually create the Spring context, which is ClassPathXmlApplicationContext, and pass it to Wicket application by calling       getComponentInstantiationListeners()

Re: Serialization Problem for Streams' Lambda used in Spring beans

2018-06-21 Thread m.xinu
or don't keep the result of your service method in the Wicket component tree, e.g. by using a LoadableDetachableModel. Have fun Sven Am 21.06.2018 um 13:26 schrieb m.xinu: > I manually create the Spring context, which is > ClassPathXmlApplicationContext, and pa

Re: Serialization Problem for Streams' Lambda used in Spring beans

2018-06-21 Thread Sven Meier
-to-serialize-a-lambda ... or don't keep the result of your service method in the Wicket component tree, e.g. by using a LoadableDetachableModel. Have fun Sven Am 21.06.2018 um 13:26 schrieb m.xinu: I manually create the Spring context, which is ClassPathXmlApplicationContext, and pass

Re: Serialization Problem for Streams' Lambda used in Spring beans

2018-06-21 Thread Andrea Del Bene
That's strange. Could you show the full exception stack trace? On Thu, Jun 21, 2018 at 1:26 PM, m.xinu wrote: > I manually create the Spring context, which is > ClassPathXmlApplicationContext, and pass it to Wicket application by > calling > > getComponentInstantiationList

Re: Serialization Problem for Streams' Lambda used in Spring beans

2018-06-21 Thread m.xinu
I manually create the Spring context, which is ClassPathXmlApplicationContext, and pass it to Wicket application by calling     getComponentInstantiationListeners().add(new SpringComponentInjector(this, MyApp.get().getApplicationContext())). Then, In my panel I have this     private class

Re: Serialization Problem for Streams' Lambda used in Spring beans

2018-06-21 Thread Andrea Del Bene
I think you are keeping a reference to your Spring bean in a page or in a component, that's why Wicket is trying to serialize it. Are you injecting this bean with @SpringBean annotation? On Thu, Jun 21, 2018 at 12:45 PM, m.xinu wrote: > Thanks for your reply. > > Both of your proposed

Re: Serialization Problem for Streams' Lambda used in Spring beans

2018-06-21 Thread m.xinu
Thanks for your reply. Both of your proposed solutions mean using other interfaces in the Lambda expressions. However most of my Lambda definitions are in my Service tier classes (Spring beans), and the Service tier must be independent from the Web tier, and the force of Wicket serialization

Re: Serialization Problem for Streams' Lambda used in Spring beans

2018-06-20 Thread Maxim Solodovnik
t; >> I'm using Apache Wicket 7.9.0 alongside Spring 5.0.5.RELEASE. In one of >> my beans, I call some stream API containing multiple lambda expressions. >> During that page execution, I get following exception: >> >> Caused by: java.io.NotSerializableExceptio

Re: Serialization Problem for Streams' Lambda used in Spring beans

2018-06-20 Thread Maxim Solodovnik
20, 2018, 22:42 m.xinu wrote: > Hi, > > I'm using Apache Wicket 7.9.0 alongside Spring 5.0.5.RELEASE. In one of my > beans, I call some stream API containing multiple lambda expressions. > During that page execution, I get following exception: > > Caused by: java.io.Not

Serialization Problem for Streams' Lambda used in Spring beans

2018-06-20 Thread m.xinu
Hi, I'm using Apache Wicket 7.9.0 alongside Spring 5.0.5.RELEASE. In one of my beans, I call some stream API containing multiple lambda expressions. During that page execution, I get following exception: Caused by: java.io.NotSerializableException

Re: Wanted: example for Spring Security with wicket-auth-roles

2018-04-27 Thread David Beer
Hi Tom Please have a look at this project I did https://github.com/dmbeer/wicket-7-spring-security >From what I remember the process is pretty much as Martin says. If you look through the archives I am sure you will find my explanation. Thanks David On 19 April 2018 at 06:39, Martin Grigo

Re: Wanted: example for Spring Security with wicket-auth-roles

2018-04-18 Thread Martin Grigorov
Hi Tom, I do not remember everything by heart but basically it is: 1. Provide impl of Spring Security's UserDetailsService and make it a @Bean 2. In your AuthenticatedWebSession#authenticate() impl use Spring Security's Authentication to do the work. It was something like

Wanted: example for Spring Security with wicket-auth-roles

2018-04-18 Thread Tom Götz
Hi! Does anyone have a working example for an integration of Spring Security and wicket-auth-roles? We currently use Wicket 7.9.0 and Spring Boot 2.x … We’d like to authenticate users via a login form (SignInPanel) and also use a „remember me“ cookie based authentication. Anyone? Cheers

Re: Google Login with spring boot @WicketApp

2018-04-13 Thread Tobias Soloschenko
Pac4jApplication or mimic it. > The scheme is that AuthenticatedWebApplication decides first (according to > role annotations) if users are loggedIn or not, I mean that URL protection > is not made by PACJ4. It might be different with Spring boot. > The project depends on Wicket 8 but

Re: Google Login with spring boot @WicketApp

2018-04-12 Thread guillaume.mary
ycleListener in your web.xml or equivalent, then use the Pac4jApplication or mimic it. The scheme is that AuthenticatedWebApplication decides first (according to role annotations) if users are loggedIn or not, I mean that URL protection is not made by PACJ4. It might be different with Spring boot.

Google Login with spring boot @WicketApp

2018-03-31 Thread Per Newgro
Hello, i would like to replace my local (db-based) login with OAuth Provider Google. But so far i could not implement a working solution. The app is registered at Google. Client secret and ID are present. But i can not find an example how to integrate everything in my Wicket App. Is

Re: Wicket Spring Boot open entity manager in view config

2018-03-31 Thread Per Newgro
("openEntityManagerInView");         registration.addUrlPatterns("/*");         return registration;     } If some1 else looks for this. Cheers Per Am 23.03.2018 um 19:47 schrieb Per Newgro: Hello, we would like to use the open-entitymanager-in-view pattern. It was working in our &q

Wicket Spring Boot open entity manager in view config

2018-03-23 Thread Per Newgro
Hello, we would like to use the open-entitymanager-in-view pattern. It was working in our "old fashioned" spring application by configuring filter in web.xml. But we can not find the appropriate config for wicket spring boot. Enable spring.jpa.open-entitymanager-in-view=

Re: javax websockets in Spring Boot project: 404 error

2017-06-22 Thread Martin Grigorov
http://git-wip-us.apache.org/repos/asf/wicket/commit/a95c5982 Thank you ! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jun 20, 2017 at 3:24 PM, ansc <a.schu...@laudert.de> wrote: > and > > > org.springframework.boot &g

Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread ansc
and org.springframework.boot spring-boot-starter-websocket has to be added to pom -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678113.html Sent from the Users forum

Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread ansc
I found the reason of my problem. By using Spring Boot it is necessary to set the WicketFilter @Bean public FilterRegistrationBean wicketFilter() { final FilterRegistrationBean wicketFilter = new FilterRegistrationBean(); wicketFilter.setDispatcherTypes

Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread Martin Grigorov
gt; > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error- > tp4678080p4678110.html > Sent from the Users forum mailing list archive at Nabble.com. > > -

Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread ansc
I tried with packaging as war instead fat jar, but I get the same 404 error. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678110.html Sent from the Users forum mailing list archive at Nabble.com

Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread Martin Grigorov
Try without fat jar, e.g. mvn spring-boot:run or in the IDE. There are many bug reports in Spring Boot that fat jars do not behave like normal .war. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jun 20, 2017 at 10:31 AM, ansc <a.schu...@laudert.de>

Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread ansc
Yes tomcat-embed-websocket-8.5.15.jar is in the spring boot fat jar -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678101.html Sent from the Users forum mailing list archive at Nabble.com

Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread Martin Grigorov
;wicket native websockets" in a springboot > project: > > 1) filter changed to > „org.apache.wicket.protocol.ws.javax.JavaxWebSocketFilter“ > > 2) added „add(new WebSocketBehavior() {});“ to page > > 3) pom: > 1.8 > 8.5.15 > 7.7.0 > ... > > org.spri

javax websockets in Spring Boot project: 404 error

2017-06-20 Thread ansc
I just tried to switch to "wicket native websockets" in a springboot project: 1) filter changed to „org.apache.wicket.protocol.ws.javax.JavaxWebSocketFilter“ 2) added „add(new WebSocketBehavior() {});“ to page 3) pom: 1.8 8.5.15 7.7.0 ... org.springframework.boot s

Re: javax websockets in Spring Boot project: 404 error

2017-06-19 Thread Martin Grigorov
WebSocketFilter“ 2) added „add(new WebSocketBehavior() {});“ to page 3) 1.8 8.5.15 7.7.0 ... org.springframework.boot spring-boot-starter parent 1.4.2.RELEASE ... org.apache.wicket wicket-native-websocket-javax ${wicket.version} 5) @Spr

  1   2   3   4   5   6   7   8   9   10   >