This discussion is archived
1 Reply Latest reply: May 18, 2012 3:44 AM by 862998 RSS

Issue With Golink ServerListner

Sreedhar Newbie
Currently Being Moderated
Hi All,

I Am using af:goLink , below one is my code..

<af:resource type="javascript">
function callRollback(event)
{
var inputComponent = event.getSource();
AdfCustomEvent.queue(inputComponent, "myCustomEvent", null, true);
}

<af:goLink text="Return To My WorkBench" id="pt_newProject"
inlineStyle="color:#6F6F6F; text-decoration:underline; font-size:12px; padding:0pt; font-family:Tahoma;"
destination="#{navigationContext.currentNavigationModel.node['myworkbench'].goLinkPrettyUrl}">
<af:serverListener method="#{MyBacking.rollbackObjects}" type="myCustomEvent" />
<af:clientListener method="callRollback" type="click"/>
</af:goLink>


the problem is after calling method from backing bean using serverlistner the page is not navigating to destination.
anything i am missing, please help me.

Thanks and Regards,
Sreedhar

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points