0

Here is what I have

<h:form>
        <h:selectOneMenu value="#{userBean.chosen_Cinema}">
            <f:selectItem itemValue="#{null}" itemLabel="Cinemas Available" />
            <f:selectItem itemValue="Stafford" itemLabel="Stafford" />
            <f:selectItem itemValue="Stoke" itemLabel="Stoke" />
            <f:selectItem itemValue="Hastings" itemLabel="Hastings" />
        </h:selectOneMenu>
    </h:form>

My backing bean code is

public class UserBean
{
        private String Chosen_Cinema;

        public void setChosen_Cinema(String Cinema)
        {
            Chosen_Cinema = Cinema;
        }                
        public String getChosen_Cinema()
        {
            return Chosen_Cinema;
        }
}

I set a breakpoint on the set method but it never triggers.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555

0 Answers0