Re: Sandbox behaviour!!

2007-05-16 Thread Adam Winer
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

Re: Sandbox behaviour!!

2007-05-16 Thread Angel Miralles Arevalo
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

Re: Sandbox behaviour!!

2007-05-16 Thread Angel Miralles Arevalo
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

configure language bundle as managed bean (was: Sandbox behaviour!!)

2007-05-16 Thread Mario Ivankovits
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

Re: configure language bundle as managed bean (was: Sandbox behaviour!!)

2007-05-16 Thread Angel Miralles Arevalo
, 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

Sandbox behaviour!!

2007-05-15 Thread Angel Miralles Arevalo
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!!

Re: Sandbox behaviour!!

2007-05-15 Thread Ernst Fastl
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

Re: Sandbox behaviour!!

2007-05-15 Thread Mario Ivankovits
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