You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Paola Attadio <pa...@gmail.com> on 2006/11/27 15:28:00 UTC
Resource Bundles
Hi All,
I'm using MyFaces 1.1.4 and Facelets 1.1.11.
In a page I declare a resource bundle with <f:loadbundle
basename="message" var="bundle">. It works very well. But, if the
resource bundle can't find a key, it throw an exception. Is it
possible to configure a default friendly message?
Best regards,
Paola
Re: Resource Bundles
Posted by Paola Attadio <pa...@gmail.com>.
Thanks and Regards,
Paola Attadio
On 11/28/06, ::SammyRulez:: <sa...@gmail.com> wrote:
> an exception is thrown so standard http error 500 will work fine
> (web.xml error page tag)
>
> message bundle should be design time why do you need to display
> friendly messages to coders... detailed facelets error should be
> preferred
>
> 2006/11/27, Paola Attadio <pa...@gmail.com>:
> > Hi All,
> > I'm using MyFaces 1.1.4 and Facelets 1.1.11.
> >
> > In a page I declare a resource bundle with <f:loadbundle
> > basename="message" var="bundle">. It works very well. But, if the
> > resource bundle can't find a key, it throw an exception. Is it
> > possible to configure a default friendly message?
> >
> > Best regards,
> > Paola
> >
>
>
> --
> ::SammyRulez::
> http://www.kyub.com/blog/
> -----------------------------------------------------------------
> La programmazione è per un terzo interpretazione e per due terzi ispirazione.
> E per un terzo mistificazione
>
Re: Resource Bundles
Posted by "::SammyRulez::" <sa...@gmail.com>.
an exception is thrown so standard http error 500 will work fine
(web.xml error page tag)
message bundle should be design time why do you need to display
friendly messages to coders... detailed facelets error should be
preferred
2006/11/27, Paola Attadio <pa...@gmail.com>:
> Hi All,
> I'm using MyFaces 1.1.4 and Facelets 1.1.11.
>
> In a page I declare a resource bundle with <f:loadbundle
> basename="message" var="bundle">. It works very well. But, if the
> resource bundle can't find a key, it throw an exception. Is it
> possible to configure a default friendly message?
>
> Best regards,
> Paola
>
--
::SammyRulez::
http://www.kyub.com/blog/
-----------------------------------------------------------------
La programmazione è per un terzo interpretazione e per due terzi ispirazione.
E per un terzo mistificazione