THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
YesMost often, the Action provides access to the resource bundle through its getText
method. To access another resource bundle, or to access the resource bundle without executing the Action first, use the <ww:i18n> i18n
tag to push a resource bundle on to the stack. Now calls with <ww:text/> or <ww:property value="getText(...)"/> will read from that
Code Block |
---|
<p><saf:i18n name="alternate">
<img src="<saf:text name="action.logo.path"/>"
alt="<saf:text name="action.logo.alt"/>"/>
</saf:i18n></p>
|
Within the scope of the i18n}}tag, calls to the {{text
tag or {{%getText} will read from the specified resource bundle.