Re: AjaxEditableLabel causes exceptions after session timeout

2012-09-22 Thread Ondřej Žižka
Martin Grigorov píše v Út 18. 09. 2012 v 10:02 +0300: Hi, See https://issues.apache.org/jira/browse/WICKET-4594 The problem is that Wicket cannot differentiate between page parameters and ajax request parameters Maybe Wicket could off-load some of the AJAX params to headers?

Excluding path from Wicket filter (to let 404 pass as-is)?

2012-09-22 Thread Ondřej Žižka
Hi, I have Wicket filter at /* and RESTEasy in AS 7, which is a servlet at /rest/* Wicket processes 404 because of filter-mapping filter-nameWicketFilter/filter-name url-pattern/*/url-pattern dispatcherREQUEST/dispatcher

Re: Excluding path from Wicket filter (to let 404 pass as-is)?

2012-09-22 Thread Christoph Leiter
There's a parameter ignorePaths which you can configure in web.xml. See WicketFilter source. Christoph On 22.09.2012 10:07, Ondřej Žižka wrote: Hi, I have Wicket filter at /* and RESTEasy in AS 7, which is a servlet at /rest/* Wicket processes 404 because of filter-mapping

Re: String Value Conversion Exception

2012-09-22 Thread Stephen Walsh
On a related note to this original question. Can someone explain the difference between the two lines below? listItem.add(new Label(when, new ModelPost(blogPost))); listItem.add(new Label(text, blogPost.getText())); The first one gives me some random but predictable

Re: String Value Conversion Exception

2012-09-22 Thread Stephen Walsh
Sorry for the barrage of emails. It seems like when I changed the Post.toString() method, it changed all of my models in the blog page. Also not sure why this happened. Thanks for your patience. I'm really trying to understand this. On Sep 22, 2012, at 09:25, Stephen Walsh

Re: String Value Conversion Exception

2012-09-22 Thread Sebastien
Hi, Label is designed to display a text, and that's what you supplied in the second line. But you provides a typed model in the first one. So the effect is that le Label will call blobPost.toString(). If you wish to provide a model to the Label (which is recommended in case the text changes),

Re: String Value Conversion Exception

2012-09-22 Thread Stephen Walsh
Thanks, Sebastien. I'll give that a try. On Sep 22, 2012, at 10:08, Sebastien seb...@gmail.com wrote: Hi, Label is designed to display a text, and that's what you supplied in the second line. But you provides a typed model in the first one. So the effect is that le Label will call

Re: Datepicker with range selection support

2012-09-22 Thread Sebastien
Hi Sebastien. wicket-jquery-ui has the goal to integrate jQuery UI widgets as Wicket components; but it's also designed to integrate (easily, I guess) any jQuery plugins (that's what I tend to evince in the tutorial series...). So, I played around with the fox-run-software (range-)date-picker...

Re: what license is WicketStuff DataTables ?

2012-09-22 Thread Alexei Fedotov
Hello Bruno, Here (http://www.datatables.net/) I read DataTables is dual licensed under the GPL v2 license or a BSD (3-point) license. Does it apply to https://github.com/wicketstuff/core/wiki/DataTables ? Could you please comment on Wicket compatibility? -- With best regards / с

Re: Wicket+Spring Security the Wicket way

2012-09-22 Thread pureza
Hi Michal, In the end I opted for shiro instead. Much simpler and does everything I need. See this: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/shiro-security/ -- View this message in context:

Re: String Value Conversion Exception

2012-09-22 Thread Stephen Walsh
This worked wonderfully. Thanks for the guidance on this. Stephen Walsh | http://connectwithawalsh.com On Sep 22, 2012, at 10:08, Sebastien seb...@gmail.com wrote: Hi, Label is designed to display a text, and that's what you supplied in the second