Re: ModalWindow cannot trigger setWindowClosedCallback or setCloseButtonCallback problem

2019-03-06 Thread kyc
Hi Bas, Thanks for your reply. Since we are saving data in the page of Modal Page itself, it is no problem. However, we have problem to close that modalwindow with a separate close button. Even I change the form to StatelessForm, the close button still have the PageExpiredException

Re: ModalWindow cannot trigger setWindowClosedCallback or setCloseButtonCallback problem

2019-03-06 Thread Bas Gooren
Hi, Since you are not storing pages, how does the form in your modal window work? I assume you are using a stateless form? Since your on close callback is stateful, it will not work; you will either need to use a stateless Ajax behavior or stateless form where in onsubmit you redirect to a new

ModalWindow cannot trigger setWindowClosedCallback or setCloseButtonCallback problem

2019-03-06 Thread kyc
Our page open a WindowModal for editing a form, there is an exception throw when closed the modal window. This problem only happens when our site is using NoPageStore but we have to use NoPageStore. The following exception happen and the setWindowClosedCallback cannot be called. Page with id '16'

Re: Wicket and material theme

2019-03-06 Thread Martin Grigorov
Hi, On Thu, Mar 7, 2019 at 12:14 AM Zbynek Vavros wrote: > Hi Martin, > > sorry if the message understood was to put this project in a bad light, not > at all! > > I played with it a while and seems to be doing exactly what advertised. > Maybe a question (since I see you are one of the authors)

Re: Wicket and material theme

2019-03-06 Thread Zbynek Vavros
Hi Martin, sorry if the message understood was to put this project in a bad light, not at all! I played with it a while and seems to be doing exactly what advertised. Maybe a question (since I see you are one of the authors) - how does one add a theme? By checking the ThemeProvider I see only

Re: Skip URL escape on redirect

2019-03-06 Thread Calin Pavel
Hi Martin, It works fine if using this status code. Thank you for your help. Calin Pavel On 3/6/2019 5:47 PM, Martin Grigorov wrote: Hi, Use RedirectToUrlException(yourUrl, HttpServletResponse.SC_SEE_OTHER) See https://markmail.org/message/bis57nb2yecdgzqx for more details. It has been

Re: Skip URL escape on redirect

2019-03-06 Thread Martin Grigorov
Hi, Use RedirectToUrlException(yourUrl, HttpServletResponse.SC_SEE_OTHER) See https://markmail.org/message/bis57nb2yecdgzqx for more details. It has been discussed last week. On Wed, Mar 6, 2019 at 5:02 PM Calin Pavel wrote: > Hello, > > I'm doing a redirect from Wicket code like* throw new

Re: Skip URL escape on redirect

2019-03-06 Thread Maxim Solodovnik
IMO better way would be to create hash for encoded URL On Wed, 6 Mar 2019 at 22:02, Calin Pavel wrote: > > Hello, > > I'm doing a redirect from Wicket code like* throw new > RedirectToUrlException("http://mydomain/file(1).txt?Signature=JdfsuerJQEWQA2"); > *and this should redirect user to this

Skip URL escape on redirect

2019-03-06 Thread Calin Pavel
Hello, I'm doing a redirect from Wicket code like*   throw new RedirectToUrlException("http://mydomain/file(1).txt?Signature=JdfsuerJQEWQA2"); *and this should redirect user to this page which is accessible if signature is valid (checks if URL did not changed). But, when doing the redirect

4 Apache Events in 2019: DC Roadshow soon; next up Chicago, Las Vegas, and Berlin!

2019-03-06 Thread Rich Bowen
Dear Apache Enthusiast, (You’re receiving this because you are subscribed to one or more user mailing lists for an Apache Software Foundation project.) TL;DR: * Apache Roadshow DC is in 3 weeks. Register now at https://apachecon.com/usroadshowdc19/ * Registration for Apache Roadshow Chicago is

Re: Wicket and material theme

2019-03-06 Thread Martin Grigorov
Hi, On Wed, Mar 6, 2019 at 1:36 AM Zbynek Vavros wrote: > Hi, > > for a new project we would like to use (hopefully) well known material > design. > After some discussion we discarded using any popular JS frameworks. > Since most of us work with Wicket for quite some time and we all like it >