Hi everyone
I have created a view object that results to service requests in a given date range. I have also created a method in this view object which returns the percentage of closed requests for the period. Finally I have also added this method to the view object's client Interface.
I was then able to drug the method in a JSF page, and create a method binding that looks like this
<methodAction id="getPercentage"
InstanceName="SRServiceDataControl.RequestsPerDeptAndDateRange"
DataControl="SRServiceDataControl" MethodName="getPercentage"
RequiresUpdateModel="true" Action="999"
IsViewObjectMethod="true"
ReturnName="SRServiceDataControl.methodResults.SRServiceDataControl_RequestsPerDeptAndDateRange_getPercentage_result"/>
I now want to be able to use the return name so as to display the value in my page just under the table containing the selected rows. Can anybody explain how ? ( I have tried the expression #{bindings.getPercentage.result} but it doesn't work.
Thanassis