Component has a getString() method that you can use to access its
message bundle.

On Tue, Nov 11, 2008 at 8:17 AM, Steve Swinsburg
<[EMAIL PROTECTED]> wrote:
> Is there a way to internationalise the error messages? I'd like them to come
> from my resource bundle:
> error(new ResourceModel("error.empty.file.uploaded"));
> doesnt work and gives:
> Model:classname=[org.apache.wicket.model.ResourceModel]
> as the output. Alternatively I'll need to look at using a custom panel to
> render my messages in one spot.
>
> cheers,
> Steve
>
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to