Yes, in JSF 1.2 you can add a resource-bundle tag to
faces-config.xml, which will add a ResourceBundle as
if it were a managed bean available on all pages. This
is more efficient than f:loadBundle, and also makes the
resource bundle available at all parts of the JSF lifecycle
(instead of just
But still necesary to put:
- Mensaje original
De: Adam Winer [EMAIL PROTECTED]
Para: MyFaces Discussion users@myfaces.apache.org
Enviado: miércoles, 16 de mayo, 2007 9:06:14
Asunto: Re: Sandbox behaviour!!
Yes, in JSF 1.2 you can add a resource-bundle tag to
faces-config.xml, which will add
But still necesary to write?
s:loadBundle var=msg basename=servidesk.messages.MessageResources/
- Mensaje original
De: Angel Miralles Arevalo [EMAIL PROTECTED]
Para: MyFaces Discussion users@myfaces.apache.org
Enviado: miércoles, 16 de mayo, 2007 12:48:42
Asunto: Re: Sandbox behaviour
servidesk.messages.MessageResources
/message-bundle
/application
But still necesary to put:
- Mensaje original
De: Adam Winer [EMAIL PROTECTED]
Para: MyFaces Discussion users@myfaces.apache.org
Enviado: miércoles, 16 de mayo, 2007 9:06:14
Asunto: Re: Sandbox behaviour!!
Yes, in JSF 1.2 you
, 2007 14:39:08
Asunto: configure language bundle as managed bean (was: Sandbox behaviour!!)
Hi!
I meant you create a managed bean entry, something like:
managed-bean
managed-bean-namebundle/managed-bean-name
managed-bean
Hi everybody,
can anybody explain me, what are functionalities for sandbox components? For
example if you put a message from a .properties inside a
s:pprPanelGroup/s:pprPanelGroup. When you execute the component (ajax) the
message has disappeared!
Thank you very much!!
sounds familiar
try using s:loadBundle instead of f:loadBundle for your messages
regards
Ernst
On 5/15/07, Angel Miralles Arevalo [EMAIL PROTECTED] wrote:
Hi everybody,
can anybody explain me, what are functionalities for sandbox components? For
example if you put a message from a
Hi!
try using s:loadBundle instead of f:loadBundle for your messages
If there is only one bundle for your application I'd suggest to
configure it as managed bean (implementing the map interface).
That way you
* can get rid of configuring it on each page
* have it available even for ajax requests
8 matches
Mail list logo