Hi,
I have a two dependent selecOneMenu in my page and they have parent child
dependency when i fill in the form. At first submit the action method
could't be invoked although i have no validation error on page. when i press
the commandButton second time the method being invoked. customerBean is in
session scope.
Thanks for your helps.

<ct:selectOneMenu id="city" label="#{msg['city']}"
value="#{customerBean.customer.city}">
        <koylu:jsfValidator name="ignore" mask="#" message="Lutfen Gecerli Bir 
Il
Seciniz"/>
        <f:selectItem itemLabel="Seciniz" itemValue="#"/>
        <s:selectItems value="#{customerBean.cityList}" var="item"
itemLabel="#{item.name}" itemValue="#{item.id}" />
        <a4j:support event="onchange" 
actionListener="#{customerBean.updateField}"
reRender="county" immediate="true"/>
</ct:selectOneMenu>

<ct:selectOneMenu id="county" label="#{msg['county']}"
value="#{customerBean.customer.county}">
        <koylu:jsfValidator name="ignore" mask="#" message="Lutfen Gecerli Bir 
Ilce
Seciniz"/>
        <f:selectItem itemLabel="Seciniz" itemValue="#"/>
        <s:selectItems value="#{customerBean.countyList}" var="item"
itemLabel="#{item.name}" itemValue="#{item.id}" />
</ct:selectOneMenu>
<h:commandButton value="#{msg['button.save']}"
action="#{customerBean.saveCustomer}"/>


                                                


-- 
View this message in context: 
http://www.nabble.com/CommandButton-Action-NOT-being-invoked-tp20342958p20342958.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to