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!

有帮助吗?

解决方案

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!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top