Re: clearInput() if FormComponentPanel does not delegate to its inner FormComponents

2016-03-08 Thread Martin Grigorov
Done with https://issues.apache.org/jira/browse/WICKET-6114 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Mar 7, 2016 at 5:28 PM, Sven Meier wrote: > Sure, changes in 8.x won't break anything :P > > Sven > > > On 07.03.2016 15:49, Martin Grigorov wrote: >

Re: Ajax Editable Label -> Request Entity Too Large

2016-03-08 Thread Martin Grigorov
Hi, You can use #updateAjaxAttributes() ( https://github.com/apache/wicket/blob/fa83afe98a91d384737e0cc05395348242cdd8e8/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/AjaxEditableLabel.java#L189) to set POST as a request method. Martin Grigorov Wicket Training and

Ajax Editable Label -> Request Entity Too Large

2016-03-08 Thread Rob Audenaerde
Hi all, I'm testing my application on unexpected user-input, and I am now facing this error: "Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response: Request Entity Too Large" I triggered this by pasting 10 paragaphs of "Lorem Ipsum" into an AjaxEditableLabel. Is this expected beha

Re: Improve ResourceStreamResource api

2016-03-08 Thread Jonas
Hi, here's the JIRA ticket: https://issues.apache.org/jira/browse/WICKET-6113 Thanks! Jonas On Tue, Mar 1, 2016 at 12:02 PM, Martin Grigorov wrote: > Hi, > > I think this would be a good improvement for Wicket 8.x. > Please file a ticket in JIRA! > Thank you! > > Martin Grigorov > Wicket Tra

Re: control characters an setEscapeModels = false brakes AJAX request

2016-03-08 Thread Ernesto Reinaldo Barreiro
Hi Martin, Thanks for the super fast reply! On Tue, Mar 8, 2016 at 9:19 AM, Martin Grigorov wrote: > Hi Ernesto, > > Check org.apache.wicket.response.filter.XmlCleaningResponseFilter. > Its javadoc states that it used by Wicket for Ajax responses by default but > actually you have to set it up

Re: control characters an setEscapeModels = false brakes AJAX request

2016-03-08 Thread Martin Grigorov
Hi Ernesto, Check org.apache.wicket.response.filter.XmlCleaningResponseFilter. Its javadoc states that it used by Wicket for Ajax responses by default but actually you have to set it up yourself. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 8, 2016 at

control characters an setEscapeModels = false brakes AJAX request

2016-03-08 Thread Ernesto Reinaldo Barreiro
Dear Wicketeers, I have the following situation: 1- A TinyMC text-area area where users can copy paste HTML/Rich text 2- Later on I have another tab where user can see the "HTML". (A label with setEscapeMarkup(false)) 3- If user enters \u0001 ("Start of Heading, "SOH"). AJAX request to show "Vie