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]

Reply via email to