Manage exceptions on a nested multipart upload form

2013-05-15 Thread Guillaume Mary
Hi all ! I have a nested form inside a root one, both are multipart. I want to cutomize the onFileUploadException(..) method of the nested form in order to trace this event. So I overrided the method of my nested form instance, typically to get a trace of file size limit exceeded. But Wicket

Interpolate response with IResponseFilter

2012-08-24 Thread Guillaume Mary
Hi all, Here is my use case: I need to fill variables, like {myVar}, that are rendered into the page. My approach is to use a specialized IResponseFilter for that. The important point is the filter should be applied to a certain Page of my application, and more of that, the variable values are

Why RelativePathPrefixHandler calculates path from context path ?

2011-06-29 Thread Guillaume Mary
Hi all, I'm using Wicket 1.4.17 and my Wicket filter is mounted on a sub url of the context path (I declared /MyApp/* in the url-mapping of web.xml, important point). I use img src=resources/. directly in the markup, without a ResourceReference in the Java component, and suprisingly the

Bug in FormComponent.MessageSource.getMessage(String) getValidatorKeyPrefix()

2010-01-26 Thread Guillaume Mary
Hi all, I tried to use the getValidatorKeyPrefix() feature to have a more suitable translation key for a RequiredTextField and the required message. But Wicket wasn't able to find my key : the debug log said that it couldn't find my key whereas it is well-formed (getValidatorKeyPrefix() +

DropDownChoice and null value internationalization key

2009-10-16 Thread Guillaume Mary
Hi all, The DropDownChoice and overall AbstractSingleSelectChoice does not allow to specify the internationalization key for null nor nullValid values. Instead it laies down the management of those keys with getId() + .null. I suggest a very small enhancement to externalize the building of