Hi Mark,
thanks for the hint.
I was not able to run your sample, probably because I’m using MWS 7.1.3.
But I was able to reproduce the sample on my environment using your sample’s code content.
So, I’m yet able to get the value of the first row of my sorted table through this code snipet:
@Override
protected void afterRenderResponse() {
String boundValue = (String) resolveExpression("#{SortPortletDefaultviewView.sampleItemsProvider.id}");
// I Call my service here using the retrieved ID
super.afterRenderResponse();
}
The only problem remaining is that my portlet has already been displayed at this phase, and I don’t get the results of the service displayed before I refresh the portlet page.
Do you know any way to force an automatic refresh of the page after the service call? Maybe over java-script?
By the way: I’ve checked the value returned by the EL-expression of the code snippet above for other phases. The value returned during before-render-response was the first value of the provider list. Only after the rendering of the table, the value was changed to the first row of the table.
Regards,
Frederic
#MWS-CAF-Task-Engine#webMethods#webMethods-BPMS