I have this jsf page with primefaces 3.5. Controller and converter are @Component
from spring version 3.0.5.RELEASE.
<h:form>
<h:panelGrid columns="2" id="grid">
<h:outputText value="Field names: "/>
<p:selectOneMenu value="#{controller.something}"
converter="#{SomethingConverter}">
<f:selectItems value="#{controller.listOfsomething}"/>
</p:selectOneMenu>
<h:outputLabel value="Value : *" for="inputField" />
<p:inputText id="inputField" required="true"
value="#{documentController.documentValue.value}"/>
<p:commandButton value="Add" action="#{controller.add}" />
</h:panelGrid>
</h:form>
Class controller have this method:
public String add() {
//do something
return null;
}
Which is called only if I remove selectOneMenu
component. Values in selectOneMenu are converter successful.
I have no idea now..