
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Windows XP, JDK 1.4.2, Tomcat 5.0.28
|
|
|
I have the following specified in my webwork.properties file:
webwork.custom.i18n.resources=ApplicationResources
I've found that using getTexts() inside my Action doesn't return this bundle. However, all calls to getText() do work with this bundle.
Also, I found that if I implement ModelDriven on my Action, the following shows up with no label:
<ww:textfield label="getText('user.username')" name="'user.username'" value="user.username" required="true"/>
However, if I don't implement ModelDriven, then getText('user.username') works fine. If I create a .properties file for my Action with 'user.username' as a key in it - the label resolves fine with ModelDriven.
|
|
Description
|
I have the following specified in my webwork.properties file:
webwork.custom.i18n.resources=ApplicationResources
I've found that using getTexts() inside my Action doesn't return this bundle. However, all calls to getText() do work with this bundle.
Also, I found that if I implement ModelDriven on my Action, the following shows up with no label:
<ww:textfield label="getText('user.username')" name="'user.username'" value="user.username" required="true"/>
However, if I don't implement ModelDriven, then getText('user.username') works fine. If I create a .properties file for my Action with 'user.username' as a key in it - the label resolves fine with ModelDriven. |
Show » |
|