4 comments
Comment actions Permalink

Hi Jan,

I believe you need to make your own custom Bundle class to reference your localized messages.

For instance if you look at the struts2 plugin, it has an action which references the bundle here
And here is the StrutsBundle code itself

Cheers,
Alan

0
Comment actions Permalink

Thanks Alan,

sometimes it's just too obvious. I already have the resources bundle but I didn't think about setting the values in the constructor.

Cheers
Jan

0
Comment actions Permalink

For every action, you can define the string action.<action_id>.text for the localized text of the action and action.<action_id>.description for its localized description,.

0
Comment actions Permalink

This thread is really useful!!!!! Thank you!!!

0

Please sign in to leave a comment.