Please edit and correct:
http://wicket-wiki.org.uk/wiki/index.php/Newuserguide#Locale_and_Style
thx,
jim
Juergen Donnerstag wrote:
On 12/19/05, Jim McLaughlin <[EMAIL PROTECTED]> wrote:
Since I am a new user, I will add the answers to these questions to the
new user guide wiki.
When to use StringResourceModel and when to call getLocalizer() directly?
StringResourceModel is an IModel and thus the right choice whereever
an IModel parameter is requested (usually container.add(id, model)).
StringResourceModel uses the Localizer internally. Localizer provides
a general purpose interface to access properties files.
What is the difference between setVariant and setStyle?
A style applies to the application, a variation to a component only.
How do you set the application up to use the WicketMessageTagHandler?
override Application.getAdditionalMarkupHandler()
Also, it looks like it traverses the stack upward from the component to
look for properties. Is this true?
Please see AbstractStringResouceLoader for details.
Is this traversal opposite of Localizer?
No, it is using the Localizer
Juergen
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user