logo       

Re: JSF bundle issue: msg#00434

cms.sakai.devel

Subject: Re: JSF bundle issue

Beth,
What appears to be happening is that the calling tool's bundle remains in
session, but the helper's bundle never gets loaded.
To get to our helper, we're doing a context.redirect.
These are OSP tools, running against Sakai 2.1.2, by the way.

Any more ideas?

Chris


On 4/18/06 5:32 PM, "Jon Anderson" <andersjb@xxxxxxxxx> wrote:

> Beth,
>
> The loadBundle tags were removed a while ago. I had tried renaming the
> managed bean yet it doesn't load that either! Hrm. (I had a break point in
> the ResourceLoader to ensure this)
>
> Any other ideas?
> Brad
>
> On 4/18/06 2:16 PM, "Beth Kirschner" <bkirschn@xxxxxxxxx> wrote:
>
>> Brad,
>>
>> This all looks fine to me -- what code-base are you working with?
>> Have you made sure the JSF doesn't make reference to <f:loadBundle>?
>> If you think that the helper is getting the wrong msgs bean, maybe
>> you can change the name of the bean from "msgs" in faces-config to
>> something like helperMsgs (and reference it that way in your JSF)?
>> Let me know if that helps or not.
>>
>> - Beth
>>
>> On Apr 18, 2006, at 12:44 PM, Jon Anderson wrote:
>>
>>> Beth,
>>>
>>> Thank you for responding. This is for the common code area if
>>> osp. We have
>>> a number of helpers in there. There is a guidance, user selection,
>>> and a
>>> list helper tool. I had followed the directions in the link you had
>>> provided. (I had found it a while ago during research. [isn't
>>> google the
>>> best?])
>>>
>>> There is definitely something odd going on.
>>>
>>> Brad
>>>
>>>
>>> On 4/18/06 11:33 AM, "Beth Kirschner" <bkirschn@xxxxxxxxx> wrote:
>>>
>>>> Jon,
>>>>
>>>> Can you give me a little more information on what you're doing --
>>>> perhaps a copy of your faces-config.xml and project.xml files? Have
>>>> you looked at http://bugs.sakaiproject.org/confluence/display/I18N/
>>>> How
>>>> +to+write+Internationalized+Tools+in+Sakai ?
>>>>
>>>> Also, if you wouldn't mind, can we move this discussion to the
>>>> i18n@xxxxxxxxxxxxxxxxxxxxxxx group (or at least copy them)?
>>>>
>>>> Thanks!
>>>> - Beth
>>>>
>>>> On Apr 18, 2006, at 9:27 AM, Jon Anderson wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm having a problem with the i18n of a tool. The regular tools
>>>>> work with
>>>>> the technology involved. We're having a problem with a jsf helper
>>>>> tool.
>>>>> The msgs managed bean doesn't load in the helper. It certainly
>>>>> loads the
>>>>> tool beans, just not the msgs managed bean.
>>>>>
>>>>> It has to do with having i18n in a helper instead of a regular
>>>>> tool. I'm
>>>>> not sure why it isn't loading the bean. Though it is getting a
>>>>> msgs bean
>>>>> from somewhere. I think the helper may be getting the calling
>>>>> tools' msgs
>>>>> beans and assumes that it's its own msgs bean. Then because a msgs
>>>>> bean is
>>>>> there it doesn't load the tools actual msgs bean. Any idea as to
>>>>> what's
>>>>> going on? More importantly, how is this fixed?
>>>>>
>>>>> Brad
>>>>>
>>>>>
>>>>>
>>>>
>>>> ----------------------
>>>> This automatic notification message was sent by Sakai Collab
>>>> (http://collab.sakaiproject.org/portal) from the DG: Development
>>>> site.
>>>> You can modify how you receive notifications at My Workspace >
>>>> Preferences.
>>>>
>>>
>>> <faces-config.txt>
>>> <project.txt>
>>
>
> ----------------------
> This automatic notification message was sent by Sakai Collab
> (http://collab.sakaiproject.org/portal) from the DG: Development site.
> You can modify how you receive notifications at My Workspace > Preferences.
>
[see attachment: "smime.p7s", size: 1854 bytes]


Attachments:

smime.p7s
http://collab.sakaiproject.org/access/content/attachment/fe643e80-6e3e-4f7c-801c-54a561943fa3/smime.p7s

----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise