Forum Stats

  • 3,828,121 Users
  • 2,260,865 Discussions
  • 7,897,483 Comments

Discussions

Disabling Lov values when it matches with output text values of the table

User_EGW4G
User_EGW4G Posts: 6 Employee
edited Apr 2, 2022 12:37PM in JDeveloper and ADF

disable inputtext based on lov selection using a bean

-=========================================================


Here the requirement is when a parentOrg list values (which is selected) is should be compare with orgCode values and it should disable it 


1.outputtext and Lov values 


 <af:column sortProperty="#{bindings.SourceSystemOrgs.hints.Orgcode.name}"

                      sortable="false"

                      

                      id="c24" filterable="true"

                      filterFeatures="caseInsensitive">

                 <af:outputText value="#{row.OrgCode}"

                         id="it8"/>

                </af:column>

  <af:column headerText="#{bindings.SourceSystemOrgs.hints.ParentSrOrganizationCode.label}">

                 <af:inputComboboxListOfValues id="pareId"

                                popupTitle="Search and Select: #{bindings.SourceSystemOrgs.hints.PCode.label}"

                                value="#{row.bindings.tionCode.inputValue}"

                                model="#{row.bindings.ParentizationCode.listOfValuesModel}"

                                required="#{bindings.SourceSystemOrgs.hints.ParentSrOrgCode.mandatory}"

                                columns="#{row.bindings.Code.hints.displayWidth}"

                                shortDesc="#{bindings.SourceSystemOrgs.hints.Pare.tooltip}"

                                valueChangeListener="#{Bean.OrgVCL}"

                                disabled="#{Bean.OrgEnable eq 1} "

                                autoSubmit="true"

                                binding="#{Bean.OrgBindVal}">

                  <f:validator binding="#{row.bindings.OrgCode.validator}"/>

                 </af:inputComboboxListOfValues>

                </af:column>

                

Answers