7 Replies Latest reply on Apr 19, 2007 8:52 PM by sergeysmirnov

    selectonemenu

    jyothish02

      i am new to a4j. please help me

      i have applied the a4j on selectonemenu to rerender the text box.
      on the text i have applied the validations.
      when ever i got the validate message on running.
      now i have select the another item from the selectone menu the value was not rerender to the text.

        • 1. Re: selectonemenu

          surround this selectonemenu with <a4j:region>

          • 2. Re: selectonemenu
            jyothish02

            Thank u for ur kind response
            i have applied like this , i have also applied surround the selectonemenu. then i didn't get normal reRender in a4j function.
            pleace give ur valuble suggestion

            <h:selectOneMenu styleClass="selectOneMenu" id="menu3"
            value="#{pc_MudIntervalProductsEdit.insertingIntervalProducts.PRODUCTID}" immediate="true">
            <a4j:region>
            <a4j:support ajaxSingle="false" event="onchange"
            action="#{pc_MudIntervalProductsEdit.dogetPrice}"
            reRender="textuser,text67">
            </a4j:support>
            </a4j:region>
            <f:selectItem itemValue=" " itemLabel="Select" />
            <f:selectItems
            value="#{pc_MudIntervalProductsEdit.productsListCombo}" /></h:selectOneMenu>

            • 3. Re: selectonemenu

              surround this selectonemenu with <a4j:region>

              • 4. Re: selectonemenu
                jyothish02

                u mean like this only.In this situation also we are not getting a4j functionality to reRender the text


                <a4j:region>
                <h:selectOneMenu styleClass="selectOneMenu" id="menu3"
                value="#{pc_MudIntervalProductsEdit.insertingIntervalProducts.PRODUCTID}" immediate="true">
                <a4j:support ajaxSingle="false" event="onchange"
                action="#{pc_MudIntervalProductsEdit.dogetPrice}"
                reRender="textuser,text67">
                </a4j:support>
                <f:selectItem itemValue=" " itemLabel="Select" />
                <f:selectItems value="#{pc_MudIntervalProductsEdit.productsListCombo}" /> </h:selectOneMenu></a4j:region>

                • 5. Re: selectonemenu

                  why not getting?

                  • 6. Re: selectonemenu
                    jyothish02

                    Thank u very much for kind response

                    Once check it my code is there any think wrong. Before Appling the <a4j:region> its working except validation fired on text box. I have applied the validation on text that?s the problem. When I got the validation on taxt further I am not getting a4j reRender on text box.
                    Please friend help me its almost deadline for me. Once gather the answer by your friends circle also.

                    • 7. Re: selectonemenu

                      what Ajax4jsf u use