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"
actionListener="#{navigationBean.processAction}"
blocking="true" action="pprnav"
disabled="#{!node.navigable}">
<af:outputText value="#{node.title}" id="pt_ot2"/>
<f:attribute name="node" value="#{node}"/>
<f:attribute name="treeLink" value="#{true}"/>
</af:commandLink>
Very cool document - set of expressions for web center and an explanation
http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_app_els.htm
Fix just added a check and disable the links we where using if they are not navigable.
<af:commandLink id="mnuCbx"
actionListener="#{navigationBean.processAction}"
blocking="true" action="pprnav"
disabled="#{!node.navigable}">
<af:outputText value="#{node.title}" id="pt_ot2"/>
<f:attribute name="node" value="#{node}"/>
<f:attribute name="treeLink" value="#{true}"/>
</af:commandLink>
Very cool document - set of expressions for web center and an explanation
http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_app_els.htm
Comments
Post a Comment