Re: Safe way to display HTML user input

2017-02-15 Thread Martin Grigorov
For the history here is library: https://github.com/owasp/java-html-sanitizer Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Feb 9, 2017 at 11:28 PM, daniel simko wrote: > Thank you Martin! This is exactly what I was looking for. > > 2017-02-09 13:03 GMT+0

Re: How to do this in wicket

2017-02-15 Thread Entropy
Ha, yeah. I forgot about that. I implemented a solution based on that thread (not exactly the same) but then a bit later it turned out to cause problems for our web designer, hence me being back. I ended up using renderHead() to put out exactly what the web designer needed in the delivered HTML,

AjaxSubmitLink not working

2017-02-15 Thread Entropy
I have a header links section in my header that must build in a dynamic way. AjaxSubmitLink link = new AjaxSubmitLink(linkName, formToSubmit) { @Override public void onSubmit(AjaxRequestTarget target, Form form) {

Re: AjaxSubmitLink not working

2017-02-15 Thread Martin Grigorov
On Wed, Feb 15, 2017 at 6:51 PM, Entropy wrote: > I have a header links section in my header that must build in a dynamic > way. > > AjaxSubmitLink link = new AjaxSubmitLink(linkName, > formToSubmit) { > @Override > public void onSub

Re: AjaxSubmitLink not working

2017-02-15 Thread Entropy
Okay, I just did. Control does not get there either. BTW, if onError is something we should always override, perhaps it should be abstract? Still mystified -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-not-working-tp4677120p4677122.html Sent fro

Re: Wicket 8 and servlet 3.1 async nio

2017-02-15 Thread guillaume.mary
Martin Grigorov-4 wrote > Hi, > >> >> Did I miss something ? if not is there anything planned about async IO in >> Wicket 8 ? >> > > There is no planned support for asynchronous pages for Wicket 8! Is there some technical (known) reason ? Or just because of roadmap decision ? I mean, if i have s

Re: Wicket 8 and servlet 3.1 async nio

2017-02-15 Thread Martin Grigorov
On Wed, Feb 15, 2017 at 9:41 PM, guillaume.mary wrote: > Martin Grigorov-4 wrote > > Hi, > > > >> > >> Did I miss something ? if not is there anything planned about async IO > in > >> Wicket 8 ? > >> > > > > There is no planned support for asynchronous pages for Wicket 8! > > Is there some techni

Re: AjaxSubmitLink not working

2017-02-15 Thread Richard W. Adams
This may not be the issue, but it's good practice to always include an onError method in the anonymous class. Once you add that, put a break point there & see what turns up. From: Entropy To: users@wicket.apache.org Date: 02/15/2017 11:55 AM Subject:AjaxSubmitLink not working

Re: Wicket 8 and servlet 3.1 async nio

2017-02-15 Thread guillaume.mary
Martin Grigorov-4 wrote > On Wed, Feb 15, 2017 at 9:41 PM, guillaume.mary < > guiom.mary@ > > > wrote: > >> Martin Grigorov-4 wrote >> > Hi, >> > >> >> >> >> Did I miss something ? if not is there anything planned about async IO >> in >> >> Wicket 8 ? >> >> >> > >> > There is no planned support

Re: Wicket 8 and servlet 3.1 async nio

2017-02-15 Thread Martin Grigorov
On Wed, Feb 15, 2017 at 10:29 PM, guillaume.mary wrote: > Martin Grigorov-4 wrote > > On Wed, Feb 15, 2017 at 9:41 PM, guillaume.mary < > > > guiom.mary@ > > > > > > wrote: > > > >> Martin Grigorov-4 wrote > >> > Hi, > >> > > >> >> > >> >> Did I miss something ? if not is there anything planned a