Following the suggestion of @bidifx I changed the zul in this way:
<grid sizedByContent="true" span="true" model="@load(vm.getPendingRequests('RETURN'))"
emptyMessage="Nessuna richiesta trovata" height="100%" width="100%">
And in the view model I created a method that returned directly the list to the zul:
public List<PendingRequest> getPendingRequests(String stype) {
RequestType type = RequestType.valueOf(stype);
return pendingRequests.get(type);
}
This worked for me. Thanks to all!