Wicket in the news!

2016-03-01 Thread 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 project and the future. Enjoy! Thanks to Matt Raible for reaching out and the Wicket team for helping with the interview. Martijn --

Re: Wicket 6.22.0

2016-03-01 Thread Jered Myers
I made the pull request. I noticed the link to the change log lists Wicket 7 (top of the page here http://archive.apache.org/dist/wicket/6.22.0/CHANGELOG-6.x ). I wasn’t sure where fix it. Cheers, Jered > On Mar 1, 2016, at 1:52 PM,

Re: Wicket 6.22.0

2016-03-01 Thread Sven Meier
Yes, please do. Sven On 01.03.2016 22:28, Jered Myers wrote: Okay great. Should I pull request for https://github.com/apache/wicket-site? I can update the _config.yml file with the new version. On Mar 1, 2016, at 10:44 AM, Sven Meier wrote: Hi Jare

Re: Wicket 6.22.0

2016-03-01 Thread Jered Myers
Okay great. Should I pull request for https://github.com/apache/wicket-site? I can update the _config.yml file with the new version. > On Mar 1, 2016, at 10:44 AM, Sven Meier wrote: > > Hi Jared, > > yes it is: > > http://mail-archives.us.apache.org/m

Re: Wicket 6.22.0

2016-03-01 Thread Sven Meier
Hi Jared, yes it is: http://mail-archives.us.apache.org/mod_mbox/www-announce/201602.mbox/%3CCAB63Y-d-1wB+kP6aGAJOEoMO4y1woFQG=A=ubqdqnis+m+4...@mail.gmail.com%3E Have fun Sven On 01.03.2016 19:19, Jered Myers wrote: Is Wicket 6.22.0 out? I thought I saw email stating it was, but the website

Wicket 6.22.0

2016-03-01 Thread Jered Myers
Is Wicket 6.22.0 out? I thought I saw email stating it was, but the website is still showing 6.21.0. Jered - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.

Re: How get path html page

2016-03-01 Thread Ilia
Ok, my old code. This code working for SIMPLE html page but not work for wicket html page : Document document = new Document(); PdfWriter pdfWriter = PdfWriter.getInstance(document, new FileOutputStream(fc.getSelectedFile() + ".pdf")); document.open();

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
I'm not allowed to re-open the issue, so I added a comment to the closed issue. Thank you so far -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dateparsing-error-kendo-AjaxDateTimePicker-only-in-March-May-October-tp4673756p4673787.html Sent from the Users forum mail

[CVE-2015-5347] Apache Wicket XSS vulnerability

2016-03-01 Thread Sven Meier
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 ModalWindow's title - only quotes are escaped in the JavaScript settings object, allowing JavaScript to be in

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread Sebastien
Ok, please reopen the issue bellow with a description (is it only for Dutch, is it repro with default/US locale for instance?) https://github.com/sebfz1/wicket-jquery-ui/issues/216 No need a quickstart for this case. I will try to look at this before the WE... Thanks in advance, Sebastien.

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
EEE is the abbreviated day, the full day-name. But EEE doesn't work either. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dateparsing-error-kendo-AjaxDateTimePicker-only-in-March-May-October-tp4673756p4673782.html Sent from the Users forum mailing list archive a

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread Sebastien
The EEE issue has been fixed some month ago (i had forgot) http://apache-wicket.1842946.n4.nabble.com/Bug-in-wicket-jqueryui-Kendo-DateTimePicker-td4673069.html But isn't it supposed to be 3 'E', not 4 ? http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread Sebastien
IIRC, is not supported by kendi UI, try finding a previous post about this... (maybe in the wicket-jquery-ui forum) On Tue, Mar 1, 2016 at 3:11 PM, hfriederichs wrote: > That solved the problem, thank you Sebastian! > > By he way, when I use E in my date pattern, like in " d ",

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
That solved the problem, thank you Sebastian! By he way, when I use E in my date pattern, like in " d ", that still doesn't work. When the datetimepicker is displayed first, it renders ok: dinsdag 1 maart 2016 (dinsdag=tuesday, maart=march in Dutch) But when I change the date, I

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread Sebastien
I've added a todo to automatically register current culture and messages https://github.com/sebfz1/wicket-jquery-ui/issues/222 I still should debate if it's a good idea or not... :/

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread Sebastien
Additional setup options: @Override public void renderHead(IHeaderResponse response) { super.renderHead(response); // response.render(new KendoCultureHeaderItem("fr")); // or fr-FR // response.render(new KendoCultureHeaderI

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread Sebastien
Yes, that explains, you need to have kendo cultures: com.googlecode.wicket-jquery-ui wicket-kendo-ui-culture 7.2.0 Usage is (was, see bellow) explained here: http://localhost:8080/wicket-jquery-ui/kendo/datetimepicker/LocaleDateTimePickerPage

Re: How get path html page

2016-03-01 Thread Martin Grigorov
OK, I think I see your problem. You pasted the raw HTML templates. You need to generate the PDF from the rendered page. Use ComponentRenderer.renderPage(yourPageInstance) and convert the result to PDF. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 1, 20

Re: How get path html page

2016-03-01 Thread Ilia
Ok, the example of a simple html page works good and created *.pdf file open no problems. When I make an example html page wicket I get error: file is corrupt or in an unsupported format. Example code html page NamePage.html: http://www.w3.org/1999/xhtml"; xmlns:wicket="http://wicket.apache.org";

Re: How get path html page

2016-03-01 Thread Martin Grigorov
Well, this is an application problem. You have to debug it. Start by trying to open this PDF file in a PDF viewer. Don't hesitate to come back to us if you have Wicket related problem! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 1, 2016 at 12:45 PM,

Re: How get path html page

2016-03-01 Thread Ilia
Thanks but now don't open created *.pdf error: file is corrupt or in an unsupported format -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-get-path-html-page-tp4673768p4673771.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
It's a Locale thing... I Have: @Override public Locale getLocale() { return new Locale("nl", "NL"); } When I change this to ("en", "US") it works fine for me too. And I discovered another thing: the dutch short, three letter forms for months are the same as in English, except for March,

Re: Generate css from less for package resources at runtime.

2016-03-01 Thread Lars Törner
Thanks for your quick answer Martin! We will look into your suggestions and get back to you if we have more questions! 2016-03-01 11:49 GMT+01:00 Martin Grigorov : > Hi Lasse, > > I think the easiest would be to save the generated CSS in memory, e.g. in > YourApplication. > Once you receive an up

Re: How get path html page

2016-03-01 Thread Martin Grigorov
Hi, You can use: Class componentClass = component.getClass(); InputStream htmlStream = componentClass.getResourceAsStream(componentClass.getSimpleName() + ".html"); Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 1, 2016 at 12:09 PM, Ilia wrote: > Hel

How get path html page

2016-03-01 Thread Ilia
Hello! I have the following object NamePanel.class NamePanel.html NamePage.class NamePage.html Onclick button I need to get the path of the page for further conversion html to pdf buttonSave.add(new AjaxEventBehavior("onclick") { @Override protected void onEvent(final AjaxRe

Re: how to display the more ListView in ListView in html wicket:id

2016-03-01 Thread Ilia
Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-display-the-more-ListView-in-ListView-in-html-wicket-id-tp4673283p4673767.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread Sebastien
I can make it work with: final DateTimePicker datetimepicker = new AjaxDateTimePicker("datetimepicker", Model.of(calendar.getTime()), "dd MMM ", "HH:mm") On Tue, Mar 1, 2016 at 10:43 AM, hfriederichs wrote: > It's not a DatePicker, but a AjaxDateTimePicker. > I discovered it is indeed a pa

Re: Improve ResourceStreamResource api

2016-03-01 Thread Martin Grigorov
Hi, I think this would be a good improvement for Wicket 8.x. Please file a ticket in JIRA! Thank you! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 1, 2016 at 10:44 AM, Jonas wrote: > Hi all, > > I'd like to propose an improvement of > org.apache.wic

Re: Generate css from less for package resources at runtime.

2016-03-01 Thread Martin Grigorov
Hi Lasse, I think the easiest would be to save the generated CSS in memory, e.g. in YourApplication. Once you receive an update from the other system you should just delete the cache (entry). I guess you will have to use read lock when serving the response and write lock when updating it. Wicket u

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
It's not a DatePicker, but a AjaxDateTimePicker. I discovered it is indeed a pattern issue. This is my code: private final static String dateDisplay = "dd MMM "; private final static String timeDisplay = "HH.mm"; scheduleDateTimeField = new AjaxDateTimePicker("scheduledatumtijd", planDateMode

Generate css from less for package resources at runtime.

2016-03-01 Thread Lars Törner
Hi! We would like to be able to set new colors in our gui at runtime, i.e. change the theme. We use less on component basis. To day we compile the less files to css at buildtime and these becom packacke resources. Now we would like to change the colors by altering the appropriate less-variables.

Improve ResourceStreamResource api

2016-03-01 Thread Jonas
Hi all, I'd like to propose an improvement of org.apache.wicket.request.resource.ResourceStreamResource: it is currently quite hard to determine the IResourceStream inside the #getResourceStream method, as the relevant context (i.e. the Attributes object) isn't available. Of course it is possible

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread Martin Grigorov
Can you reproduce it at http://www.7thweb.net/wicket-jquery-ui/kendo/datetimepicker/AjaxDatePickerPage ? It works for me Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 1, 2016 at 10:09 AM, hfriederichs wrote: > I upgraded Wicket, Wicket JQuery and Kend

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread Sebastien
Hi, I make me think about a locale or pattern issue. This does not repro in the sample site: http://www.7thweb.net/wicket-jquery-ui/kendo/datetimepicker/PatternDateTimePickerPage Please try to isolate the issue in a quickstart (we often find the solution while doing the quickstart ;)) Thanks &

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
I upgraded Wicket, Wicket JQuery and KendoUI to 7.2.0. Same problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dateparsing-error-kendo-AjaxDateTimePicker-only-in-March-May-October-tp4673756p4673758.html Sent from the Users forum mailing list archive at Nabble.co

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread Martin Grigorov
Hi, Please try with Wicket JQuery UI 7.2.0. I think KendoUI has been updated with 7.2.0. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 1, 2016 at 9:52 AM, hfriederichs wrote: > Good morning/afternoon/evening > > I'm using a com.googlecode.wicket.kend

Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
Good morning/afternoon/evening I'm using a com.googlecode.wicket.kendo.ui.form.datetime.AjaxDateTimePicker version 7.1.0 on top of Wicket 7.1.0 Since today, march 1st, I get this error when I pick a month: Error while parsing datetime: date was '01 Mar 2016' and time was '17:30'. And this is ve