Re: How save entity after clicking on submit button inside Form Wicket class.

2017-03-29 Thread Martin Grigorov
Hi, I wonder why it worked with a WebPage but broke when used in a Form ? I think it should not work in a Page as well. >From your earlier posts I've got the impression that you use wicket-cdi. This integration supports @Inject. If you need to use @EJB then you need to use https://github.com/wick

Re: How save entity after clicking on submit button inside Form Wicket class.

2017-03-29 Thread Sokab
Hi Sebastian. Thank You For answer. I solved this problem after I changed inside Form: @EJB NewSessionBeanLocal beanLocal to @Inject NewSessionBeanLocal beanLocal ..and it works. I didn't configured the dependency injection because I don't know how if You ask me about some separate fil

[ANNOUNCE] WicketStuff 8.0.0-M5 Released

2017-03-29 Thread Martin Grigorov
WicketStuff core 8.0.0-M5 based on Apache Wicket 8.0.0-M5 is released and soon will be available at Maven Central! The changelog since 8.0.0-M4 is: Maxim Solodovnik (8): org.json import is replaced with com.github.openjson, build is partially fixed org.json import is replaced with com

[ANNOUNCE] Apache Wicket 8.0.0-M5 Released

2017-03-29 Thread Andrea Del Bene
The Apache Wicket PMC is proud to announce Apache Wicket 8.0.0-M5! Apache Wicket is an open source Java component oriented web application framework that powers thousands of web applications and web sites for governments, stores, universities, cities, banks, email providers, and more. You can fin

WG: Re: Infinite Redirect Loop when using a Link

2017-03-29 Thread rene . hartwig
Hi, I found the cause. This is happening because of the redirect I am making with the 'ConstraintSecurityHandler' together with the same name for the session cookie in both applications. When using a separate session name for both applications everything is working fine. Mit freundlichen Grü

Re: How save entity after clicking on submit button inside Form Wicket class.

2017-03-29 Thread Bas Gooren
Hi Sokab, I’m not an expert regarding EJB injection, but my first guess is that your @EJB NewSessionBeanLocal beanLocal is null inside your form. Can you check this please? If that is the case, it’s probably related to the way you have set up injection. Can you share how you have configure