You can also just use ResourceModel("some.string.property") if you
don't have any thing that needs to be substituted into the strings
when they are rendered.
ie
some.string.property=this is some text
or StringResourceModel( various constructors ) if you need some
dynamic value in there:
ie
some.string.property=This is a {0} string
This will work from the same YourApplicationName.properties file.
cheers,
Steve
On 11/03/2009, at 7:24 PM, Jeremy Thomerson wrote:
Put them in YourApplicationName.properties and use
StringResourceModel. See
internationalization help in Wicket in Action.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Mar 11, 2009 at 2:20 PM, Seven Corners
<shel...@blackwave.tv> wrote:
I have some strings that I'd like to access from a common string
table that
is not tied to any particular component. How can I do this?
--
View this message in context:
http://www.nabble.com/Shared-string-resources-
tp22462537p22462537.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org