I am using Wicket 6.6.0, and I'm running into a nasty problem
with upload sizes. In a complex editor, there is an upload
component which itself contains a Form with an AjaxButton for
triggering the upload. 

If the upload exceeds the allowed max size, the 
SizeLimitExceededException is caught in the outer form, i.e. the
form to which the upload component was added. Thus, I cannot
override Form.onFileUploadException in my inner form and thus
not implement a custom handling (this is necessary, as in this
case I need to explicitly call FeedbackPanel.error on my upload
component's FeedbackPanel and add update it via Ajax). Adding
custom code to the outer form is not an option as this way I'd
have to modify all users of my upload component.

Is this a bug or a feature? 

M'bert

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Wer bist du, ungezaehltes Frauenzimmer? Du bist - bist du? - Die Leute sagen, 
du waerest - lass sie sagen, sie wissen nicht, wie der Kirchturm steht. 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to