Joseph Fifield wrote:

> I have a simple jsp page with a form which makes use of the text('key')
> syntax to get messages from a resources bundle, and a simple action
> class that inherits from ActionSupport and implements LocaleAware. When
> I initially access the jsp page, none of the resource bundle messages
> are used (the values all return blank). However, after submitting my
> form and invoking the action the first time, now the messages show up. I
> assume because on the initial request of the jsp, there is no
> relationship between that jsp and the action class yet (until after the
> form submission)...? Not sure though...


Correct. You can wrap your JSP code using the "i18n" tag though which 
will allow you to use the bundle regardless. Or, you can access the 
action using the "default" command, which will cause it to be on the 
stack without executing doExecute().


/Rickard


-- 
Rickard �berg



_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to