h:selectOneMenu doesn't call setter
-----------------------------------

                 Key: MYFACES-1765
                 URL: https://issues.apache.org/jira/browse/MYFACES-1765
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions:  1.2.0
         Environment: MyFaces 1.2.1 - Tomahawk 2.0 Snapshot - Facelets 1.1.13
            Reporter: Wolf Benz
            Priority: Blocker
             Fix For: 1.2.1-SNAPSHOT


I don't know whether this error only occurs in combination with facelets, but 
this is what happens: the "return value: of a h:selectOneMenu in always "null" 
in the sense that the SETTER IS NEVER CALLED (-> value stays null)
So for:
<h:selectOneMenu value="#{testOverviewBean.compoundCodeFromMenu}" 
valueChangeListener="#{testOverviewBean.fillTestSeqNrs}" onchange="submit();">
                <f:selectItem itemLabel="Choose One" itemValue="choose_one"/>
                <f:selectItems value="#{utilBean.compoundCodes}" />
</h:selectOneMenu>

... the setCompoundCodeFromMenu() is never called, which always leads to NPEs 
later on.
As this is one of the few core components ("h:"), I think labelling it 
"blocking" is justiefied.

-Wolf 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to