You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Woodchuck <wo...@yahoo.com> on 2004/09/30 15:23:23 UTC

with multiple bundles?

hihi,

has anyone a good way to handle displaying multiple messages that come
from multiple bundles (resource files) on the jsp?

how can i make my jsp handle messages that can come from more than one
bundle?

the reason why i need to do this is because we made a "base"
application that all projects will include.  this base application
contains generic functionality that all future projects will inherit. 
so it has it's own bundles of messages, that has now come into the
situation where it's possible that the returned ActionMessages or
ActionErrors collection contains ActionMessage or ActionError objects
with keys coming from the base bundles and the project bundles.  ie. it
is not guaranteed that all message collection keys will come from one
bundle.

any suggestions on how to handle this is greatly appreciated as always.

please and thanks,
woodchuck



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: with multiple bundles?

Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
There are outstanding enhacement requests for this kind of feature:

http://issues.apache.org/bugzilla/show_bug.cgi?id=7892
http://issues.apache.org/bugzilla/show_bug.cgi?id=30401

Niall

----- Original Message ----- 
From: "Woodchuck" <wo...@yahoo.com>
To: "struts" <us...@struts.apache.org>
Sent: Thursday, September 30, 2004 2:23 PM
Subject: <html:messages> with multiple bundles?


> hihi,
> 
> has anyone a good way to handle displaying multiple messages that come
> from multiple bundles (resource files) on the jsp?
> 
> how can i make my jsp handle messages that can come from more than one
> bundle?
> 
> the reason why i need to do this is because we made a "base"
> application that all projects will include.  this base application
> contains generic functionality that all future projects will inherit. 
> so it has it's own bundles of messages, that has now come into the
> situation where it's possible that the returned ActionMessages or
> ActionErrors collection contains ActionMessage or ActionError objects
> with keys coming from the base bundles and the project bundles.  ie. it
> is not guaranteed that all message collection keys will come from one
> bundle.
> 
> any suggestions on how to handle this is greatly appreciated as always.
> 
> please and thanks,
> woodchuck
> 
> 
> 
> 
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org