In the Backing bean we can find the operation and add parameters like in here
Number currentRefId = ((Number)rw.getAttribute("RefId"));
OperationBinding op = findOperation("moveNode");
OperationBinding op = findOperation("moveNode");
op.getParamsMap().put("newParentId", currentRefId);
op.execute();
The other way could be by editing the method in the bindings of the page and select the attribute value from the bindings(note: attribute value should be added to the bindings before)
FYI: If we have 2 parameters to be sent to AM method, one parameter could be sent through backing bean and other through bindings
The other way could be by editing the method in the bindings of the page and select the attribute value from the bindings(note: attribute value should be added to the bindings before)
No comments:
Post a Comment