Re: How get path html page

2016-03-02 Thread Martin Grigorov
Hi, You need something like: String finalPageHtml = ComponentRenderer.renderPage(pageInstance); InputStream htmlStream = new ByteArrayInputStream(finalPageHtml.getBytes(), "UTF-8"); XMLWorkerHelper.getInstance().parseXHtml(pdfWriter, document, htmlStream); Martin Grigorov Wicket Training and

Re: http/2

2016-03-02 Thread Lars Törner
Ok, thanks! I hope to find the time to test it in the near future. :-) 2016-03-02 17:30 GMT+01:00 Martin Grigorov : > That's correct! > > Honestly I haven't checked the network traffic to verify that all or at > least several resources are served in the same connection

Re: http/2

2016-03-02 Thread Martin Grigorov
That's correct! Honestly I haven't checked the network traffic to verify that all or at least several resources are served in the same connection but I have verified that both Google Chrome and Firefox report that the site is HTTP/2 enabled. Martin Grigorov Wicket Training and Consulting

Re: http/2

2016-03-02 Thread Lars Törner
Hi Martin, that sounds interesting! So what you´re saying is that if the server where the wicket-applictation is deployed supports http/2 then wicket itself doesn't need any wicket-specific-extension to work. And that, for example, all components css/javascript-resources of a page will be

Re: http/2

2016-03-02 Thread Martin Grigorov
Hi Lasse, I have successfully tested a Wicket application (my WebSockets demo app) on Tomcat 9.0.0.M1/M2/M3 ( https://twitter.com/mtgrigorov/status/665916977957982208) with HTTP/2. Currently there is a discussion at Tomcat dev@ mailing list about porting back the changes to Tomcat 8.5.0. 8.5 will

http/2

2016-03-02 Thread Lars Törner
Hi, I have some (naive?) questions: - Isn't it time to think about wicket and http/2? - Must we wait for javaee8/servlet 4.0 and then wait for a new version of wicket that supports it? - Is it possible to implement an extension to support http/2 in wicket? - Is it a huge effort to make this

[CVE-2015-7520] Apache Wicket XSS vulnerability

2016-03-02 Thread Martin Grigorov
Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Wicket 1.5.x, 6.x and 7.x Description: It is possible for JavaScript statements to break out of a RadioGroup’s and CheckBoxMultipleChoice’s “value” attribute of elements This might pose a security threat if

Re: Wicket 6.22.0

2016-03-02 Thread Martin Grigorov
Thanks, I've fixed the _config.yml. Please close the PR because we don't have permissions. On Tue, Mar 1, 2016 at 11:31 PM, Jered Myers wrote: > I made the pull request. I noticed the link to the change log lists Wicket > 7 (top of the page here >

Re: Wicket in the news!

2016-03-02 Thread Tobias Soloschenko
I like the first answer! ;-D Thanks for sharing Martijn! kind regards Tobias > Am 02.03.2016 um 08:35 schrieb Martijn Dashorst : > > http://www.infoq.com/news/2016/03/apache-wicket-7.2 > > InfoQ interviewed me about our most recent release, the state of the