Hi,
Gerhard, you are right. I made a mistake and created a recursion:
<tr:commandLink id="edit" binding="#{cm.editLink}"
actionListener="#{cm.edit}" text="Edit" partialSubmit="true"
rendered="#{cm.visibleOnly}" immediate="true"/>
and the bean function:
public boolean isVisibleOnly() {
if (editLink != null && !editLink.isRendered())
visibleOnly = false;
return visibleOnly;
}
Since the rendered el expression calls isVisibleOnly and this function calls
isRendered of the same component, a recursion occurs.
My initial problem is that IE 6 does not display partially renderend pages
correctly, if I use the back button immediately followed by the forward
button. Is that a knowing problem? I tried to disable caching without luck.
--
Kind regards,
Mathias
-----Original Message-----
From: Gerhard Petracek [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 17, 2008 4:49 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] MissingResourceException
hello mathias,
as matthias already mentioned:
please provide detailed information.
so the following part is just a guess:
it sounds like you have an invalid page.
please have a second look at your page and the used el expressions.
alternative:
please have a look at the el-impl you are using.
does the (binary) jar file contain the following file?
com\sun\el\Messages.properties
if it is missing you can use the following workaround:
use the Messages.properties file of the el-impl sources jar file.
-> add the file to the classpath (don't forget the package)
-> result: com.sun.el.Messages will be available
-> you will see an error message which describes the real problem (instead
of the MissingResourceException).
regards,
gerhard
2008/1/16, Matthias Wessendorf < [EMAIL PROTECTED]>:
can u provide some more stack?
-M
On Jan 16, 2008 1:22 PM, Mathias Walter <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've declared:
>
> private org.apache.myfaces.trinidad.component.core.nav.CoreCommandLink
> editLink;
>
> Than I bound a commandLink to this backing beans variable.
>
> In a backing bean method I'm calling:
>
> if (editLink != null && editLink.isRendered ())
>
> If I request the page, I get the following error:
>
> java.util.MissingResourceException: Can't find bundle for base name
> javax.el.LocalStrings, locale de_DE
>
>
> If I comment out "editLink.isRendered()", it works well.
>
> What's wrong?
>
> BTW: I'm using Trinidad 1.2.5 with JSF 1.2 RI.
>
> --
> Kind regards,
> Mathias
>
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces