Question

after researching for a while I still cannot find what I'm doing wrong.

I'm using Primefaces 3.5 with Seam. I have a selectOneMenu that is submitting a null value to the method manualServiceRequestController.setService(Service service). This is the .xhtml code:

<p:selectOneMenu id="service" value="#{manualServiceRequestController.service}">
    <f:converter converterId="serviceConverter" />
    <f:selectItems value="#{manualServiceRequestController.allServices}" />
    <p:ajax render="parameterPanel" event="change" process="@parent" partialSubmit="true" />
</p:selectOneMenu>

Thanks!

Était-ce utile?

La solution

The problem was the attribute partialSubmit="true". I removed it and now the correct value is sent. I still don't understand exactly why.

Thanks skuntsel and Xtreme Biker for your responses.

Regards!

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top