Hi ADF Experts,
JDev Version 11.1.1.7.0
I have the below: The value of the outputtext is to be processed in javascript and the serverlistener method has that same value. Based on that value I return a String which wshould show inj mouseover.
Please help. Thanks in advance.
<af:column sortProperty="#{bindings.OrderProposalReadClient.hints.exceptions.name}"
filterable="true" sortable="true"
headerText="#{suiviewBundle.EXCEPTIONS}"
id="c16">
<af:outputText value="#{row.exceptions}" id="ot32" clientComponent="true">
<af:clientListener type="mouseOver"
method="customJsFunction"/>
<af:serverListener type="mycustomserverEvent"
method="#{pageFlowScope.ChangeOrderProposalBean.handleServerEvent}"/>
</af:outputText>
</af:column>
javascript
<af:resource type="javascript">
var customJsFunction = function(event)
{
var exceptiondata = AdfPage.PAGE.findComponentByAbsoluteId('ot32');
AdfCustomEvent.queue();
return true;
}
</af:resource>
BackingBean
public String handleServerEvent(ClientEvent ce)
{
//please let me know how to get the value which the javascript sends here.
Lets say javascript sends the value of outputtext as "001".
So I have to check "001" in my list and return a value which will be shown in mouseover.
}
Regards,
Roy