[ 
https://issues.apache.org/jira/browse/MYFACES-1765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547658
 ] 

Wolf Benz commented on MYFACES-1765:
------------------------------------

Hi Bruno, Leonardo, 
Thanks for following this up. 
First of, a clarification: I mentioned Tomahawk for completness of my setup - I 
don't believe it has anything to do with Tomahawk specifcally either. 

But: what happens is that with the combo MF1.2.1 (snapshot) + Facelets (using 
v1.1.13 currenlty), the  setCompoundCodeFromMenu() method is not called. To 
test this, I had put logging inside this method and it turned out this was 
never called - that was how I found out.

-Wolf

> 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
>            Assignee: Bruno Aranda
>            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