You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mohan Radhakrishnan <Mo...@hclcomnet.co.in> on 2002/12/13 12:17:08 UTC
format messages
Hi,
We are trying to format messages with the resource bundle. Our messages
depend on the user selection stored in the form bean.
Is it a good practice to directly access the form bean from the scope
and look for the values in the JSP page using tags ?
The only way to access a particular form bean is to iterate over the
collection of form beans ?
If I were to use the java messageformat class then it is duplication of
effort because struts is already doing this.
What is recommended ? How do you access the form bean using the
bean:define tag ?
Something like this <bean:define id="foo" value='<%=...
FORM_BEANS_KEY.../> ?
Mohan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>