That throws ajava.util.MissingResourceException: Unable to find resource: error.empty.file.uploaded for component: .....
Is there a reason why StringResourceModel is not preferred. Its just as localisable as the other method right?
Steve On 11 Nov 2008, at 13:34, Jurrie Overgoor wrote:
Steve Swinsburg wrote:Cool, ended up doing this:error(new StringResourceModel("error.empty.file.uploaded", this, null).getString());Reckon thats the best solution? It's a bit heavier than just ResourceModel, for simple strings with no param substitution would it still be ok?I suppose it would work, but I think in Wicket you are ment to do: error(getString("error.empty.file.uploaded")); -- Met vriendelijke groet, Jurrie Overgoor 2go-mobile b.v. t: +31 570 609 910 f: +31 877 844 210 e: [EMAIL PROTECTED] w: www.2go-mobile.nl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
