...
Code Block | ||||
---|---|---|---|---|
| ||||
if ( ServantUtil.isServantMode(requestportletRequest) ) { IGroupMember[] groupMembers = (IGroupMember[]) ServantUtil.getAttribute(requestportletRequest); ... if ( "Done".equals(request.getParameter("grpCommand") ) { // Return result to clients ServantUtil.setAttribute(req,getResults(portletRequest)); // Notify clients that the servant is complete ServantUtil.setServantDone(portletRequest); } } |
Portlet servant locator
The portlet servant locator provides the client-portlet with the reference to IPortletServant instance, internally getting the portlet definition from the definition registry by a functional name and keeping track of client changes to the servant in the portlet session. The client-portlet obtains a reference to the locator by calling the static method of ServantLocatorAccessor utility-class.
...