exception when setting immediate='true' property on a command link
898133Nov 4 2011 — edited Nov 9 2011On clicking a command Link, from the menu, we need to skip the client validation on the current page and navigate to the new page.
here is the code for the command Link which is a part of our portal template.
<af:commandLink text="#{node.title}"
styleClass="portalTopNavigationLink"
action="pprnav"
disabled="#{not node.navigable}"
actionListener="#{navigationContext.processAction}"
clientComponent="#{node.attributes['Target'] == '_popup' ? true : false}" immediate="true">
<f:attribute name="node" value="#{node}"/>
</af:commandLink>
The commandlink is inside a forEach loop that iterates through the navigationModel.
On adding immediate='true' property to the command link,it throws the exception below.
'oracle.adf.controller.AdfcUnsupportedOperationException: ADFC-0622: Attempt to set view port view ID outside of INVOKE_APPLICATION phase'
is this the expected behavior or am i missing something ? if so, how do i skip the client Validation on clicking the command Link?
Edited by: user13356912 on Nov 4, 2011 11:48 AM