Friday, February 8, 2013

Webcenter folder not working NullPointerException

Our WebCenter portal has a custom menu and when clicking on a folder link I got an empty popup then next click a NullPointerException.

Fix just added a check and disable the links we where using if they are not navigable.

<af:commandLink id="mnuCbx"
      blocking="true" action="pprnav"
    <af:outputText value="#{node.title}" id="pt_ot2"/>
    <f:attribute name="node" value="#{node}"/>
    <f:attribute name="treeLink" value="#{true}"/>

Very cool document - set of expressions for web center and an explanation

No comments:

Post a Comment