Ah so is the form-id in the docs the wicket:id which is static in the HTML or is it the markup id of the form which is dynamic? Does this then mean that in my Application properties I should put:

myForm.uploadTooLarge=No way dude, far too large!

What about including the actual size ( ie 2M) like the Form component does?



cheers,
Steve
4 (0) 1524 594870







On 11 Nov 2008, at 15:55, [EMAIL PROTECTED] wrote:

How dynamic is your form's id?

Shouldn't be static because of HTML reference?

On Nov 11, 2008 1:53pm, Steve Swinsburg <[EMAIL PROTECTED]> wrote:
I'd like to override the default form feedback messages (also so I can
localise them). ie
'Upload must be less than'

In Form.java I found this :
// Resource key should be .uploadTooLarge to
// override default message


But I'm still not sure how to override it in a Properties file if the
form-id is dynamic?


Any help much appreciated.


Steve












Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to