Is wicket:message tag escape behaviour customizable?

2014-10-29 Thread Kees van Dieren
Hi, We need the wicket:message tag to be able to escape its messages . One of our applications uses wicket:message with an escape attribute, e.g. A search gives a related wicket Jira issue which was resolved years ago: https://issues.apache.org/jira/browse/WICKET-369 However in Wicket

Re: Is wicket:message tag escape behaviour customizable?

2014-10-29 Thread Martin Grigorov
Hi, I'm not sure why the ticket says "Fixed" but there was never such attribute for tag. I think the default is to escape HTML. What is the issue you try to solve ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Oct 29, 2014 at 10:01 AM, Kees van Dieren w

Tracking changes when updating models

2014-10-29 Thread Tom Götz
Hi there, I need to track all modifications made to FormComponents' target objects in order to generate some kind of changelog when saving my entity. Therefore I created a custom Model that wraps the components' default model and remembers the original value when setObject is called. This work

Re: Is wicket:message tag escape behaviour customizable?

2014-10-29 Thread Kees van Dieren
Hi, Resource retrieved using wicket:message values are not escaped (verified with Wicket 6.13). We have build our own custom mini-cms to allow system administrators to alter texts. Those texts are stored in database, and loaded with a custom ComponentStringResourceLoader. Those texts are sometim

Re: Is wicket:message tag escape behaviour customizable?

2014-10-29 Thread Martin Grigorov
On Wed, Oct 29, 2014 at 1:59 PM, Kees van Dieren wrote: > Hi, > > Resource retrieved using wicket:message values are not escaped (verified > with Wicket 6.13). > > We have build our own custom mini-cms to allow system administrators to > alter texts. Those texts are stored in database, and loaded

Wicket jQuery js loaded twice when modal window opened

2014-10-29 Thread prasad.bhandagi
I have a Wicket v6 page with couple of AjaxButtons. When the AjaxButton is clicked, am opening a modal window using jQuery ui Dialog passing the URL of a second page. The second wicket page also has a AjaxButton. When wicket fetches the second page using Ajax to be rendered in the modal window, it

Re: Wicket jQuery js loaded twice when modal window opened

2014-10-29 Thread Maxim Solodovnik
I believe this is because you are using ModalWindow with page, Maybe you better use it with panel? Or use dialog from wicket-jqueryui: http://www.7thweb.net/wicket-jquery-ui/dialog/MessageDialogPage ? On 30 October 2014 06:08, prasad.bhandagi wrote: > I have a Wicket v6 page with couple of AjaxB