I'm using 2.2.M1 and i tried to use some parameters in the commandbutton like this:
Code: Select all
<p:commandButton actionListener="#{logicalDevicesInLogicalDeviceGroupComponent.updateLogicalDevicesInGroup}" ajax="false"
action="/pages/configuration/logicalDeviceGroupList.jsf" value="#{msg['page.logicalDevicesInGroup.button.save']}">
<f:param name="parkId" value="#{logicalDevicesInLogicalDeviceGroupComponent.idLogicalDeviceGroup}"/>
</p:commandButton>
Code: Select all
public class CommandButtonRenderer extends CoreRenderer {
...
protected String buildNonAjaxRequest(FacesContext facesContext, CommandButton button, String formId) {
...
request.append(addSubmitParam(formId, param.getName(), (String) param.getValue()));
...
}
...
}
Code: Select all
param.getValue().toString()
Regards
Rudy De Busscher