jigarzon
jigarzon

Reputation: 1228

primefaces JSF p:selectOneMenu submitting null value

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!

Upvotes: 3

Views: 2560

Answers (1)

jigarzon
jigarzon

Reputation: 1228

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!

Upvotes: 2

Related Questions