Skip to Main Content

Java Development Tools

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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

User_EGW4GMar 31 2022 — edited Apr 2 2022

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>

Comments

Post Details

Added on Mar 31 2022
6 comments
185 views