Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ValueChnage Listener for af:inputText not getting called in Mobile view

3563520Jul 23 2018 — edited Jul 24 2018

Hi all,

We are developing an application for desktop and mobile users. We are using ADF 11g for this.

In one of the page we are using af:inputText and add value change listener on it.

when we run application this component is working properly on desktop view but when we open application in mobile the valueChangeListener is not getting called.

Kindly suggest any solution on this.

Following is code

<af:panelGroupLayout id="pgl7" layout="vertical">

               <af:panelGroupLayout id="pgl3" layout="vertical">

                  <af:outputText value="#{UIBundle.MOBILE_NUMBER_CODE}"

                                 styleClass="staticInputLable" id="ot4"/>

                  <af:inputText id="it1"

                                placeholder="#{UIBundle.CD_BENEFICIARY_MOBILE_NUMBER}"

                                autoSubmit="true" clientComponent="true"

                                maximumLength="10" simple="true"

                                autoComplete="off" label="#{null}"

                                styleClass="inputstyle inputStaticLable col12 inputMobAmtBC"

                                value="#{pageFlowScope.CashWithdrawalBean.mobileNumber}"

                                usage="#{'tel'}"

                                valueChangeListener="#{pageFlowScope.CashWithdrawalBean.onMobileNumberChange}">

                     <af:validateRegExp pattern="^[5-9]{1}[0-9]{9}$"

                                        messageDetailNoMatch="#{UIBundle.INVALID_MOBILE_NUMBER}"/>

                     <af:clientListener method="allowOnlyNumericInput"

                                        type="keyPress"/>

                     <af:clientListener method="enforcePreventUserInput"

                                        type="valueChange"/>

                  </af:inputText>

                  <af:message id="m2" for="::it1" styleClass="terror"/>

               </af:panelGroupLayout>

            </af:panelGroupLayout>

Thanks

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 21 2018
Added on Jul 23 2018
3 comments
152 views