To trying to pass two parameters to another example page:
<p:commandButton icon="ui-icon-pencil" action="form?faces-redirect=true&id=cargo.id"></p:commandButton>
But I get this error:
A referência à entidade "id" deve terminar com o delimitador ';'.