Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
755
EL expression in rendered attribute of ig:dialogWindow
posted

Hi,

we upgraded to 2008 Volume 2 version (8.2.20082.1003) today with JSF 1.2 support. I found out there is problem with rendered attribute in ig:dialogWindow.

When I use the following then error  java.lang.ClassCastException: java.lang.String occurs:

rendered="#{!empty facesContext.maximumSeverity}"
rendered="#{assetController.asset.id > 0}"

It works fine in the previous versions (2008 Volume 1).

 

Best regards,

ANECT


  • 2151
    Offline posted

    Hello,

    Thank you for pointing us this issue.

    You can fix this problem by editing the TLD file (netadvantange.tld), find the declaration of the "dialogWindow" tag and inside find the attribute "rendered". There should be a tag in it: <deferred-value><type>java.lang.String</type></deferred-value>

    Please change this to: <deferred-value><type>java.lang.Boolean</type></deferred-value>

    The second option is to wait for the next hotfix.

    I hope this will solve you problem.