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!

Was it helpful?

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!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top