LOV depending on the OFA

Hello

I create a dependent reference http://oracleanil.blogspot.com/2010/12/dependent-lov-in-oaf.html LOV

My LOV provider works both SupplierSite LOV fine, but the Site LOV provider are not dependent on the provider LOV.
If I choose a provider and choose provider Site LOV all the Supplier Site then opens in the LOV.

Please advice.


Thanks in advance,
Roselyne

Roselyne,

Make sure you have a mapping for site beg LOV and it is question of criteria is SupplierIdFV and
make this necessary. So that when you select Site LOV provider, it will complain if the SupplierIdFV is not set.

Thank you

With respect,
Kali.
OSSI.

Tags: Oracle Applications

Similar Questions

  • LOV dependent inside the OFA

    Hello

    I'm looking how to implement LOV dependent within a table.

    I have two columns inside the so-called A, B.

    I have a value in a (text style) and then B (LOV). After mark I will be showing the values in the table so A is completed by research and B will take A value of show the dependent values of the a.

    Hope I'm clear with the tip.

    Concerning

    RAM

    This can be achieved by using the following steps.

    To make the second LOV to be dependent by the first style of message text.

    Create a form value in the same region and make the viewobject definition is the same as the message text style (MST).

    now, use the VALUE of the criteria for the lovmap element in the ENTRANCE of the LOV.

    as the value of the form is in the region it will choose the value whenever the LOV is interviewed and helps in implementing this feature.

  • LOV depending on the separate View object with ViewCriteria

    Hello

    I use JDev 12.1.3. My use case is the following - I've simplified as much as I can. I insert and update the SFGroupUser table, but I want the LOV to the UserID field be limited to only the users that are connected to today's society through the SFCompanyUser table. Here is the structure of the table:CompanyGroupUserTables.png

    The key point is that when you assign users (SFUser) (SFGroup) groups in the SFGroupUser table, not all users may be assigned to a group because the groups are part of the business and the users are associated with one or more companies. Could not assign a user to a group that belongs to a company that the user is not assigned to. If GroupID 1 belongs to CompanyID 1 and 1 UserID is also assigned to number 1 in the SFCompanyUser table, then Pseudo1 can be assigned to GroupID 1.

    In my ADF application, I created the entity objects and visualization of objects for all tables and all associations and links. I configured the perspective in the AppModule have a master relationship / detail like this:

    CompanyGroupUserAM.png

    In the SFGroupUserView I put in place a LOV to the UserID field. Is this LOV I want to limit just users who are assigned to the current society (the master of the relationship master / detail). It is possible to limit the LOV uses a separate view object, in this case a SFCompanyUser based, where society is today's society?

    I worked with a view read-only as the LOV object. This VO joins SFCompanyUser and SFUser and has a view with a parameter of binding criteria for the CompanyID information. It seems that it is the way to go, but I do not see how to assign the current CompanyID to the variable binding.

    Another point. I read different things, including corner Code article http://www.oracle.com/technetwork/developer-tools/adf/learnmore/44-restrict-lov-169186.pdf of Frank Nimphius. In this article, it updates a variable binding in a listener of the popup. I would like to have all the logic to stay in business if possible components. The idea is that the JSF page displays data controls in the form of a table of editable with a menu item drop-down selectOneChoice.

    Kind regards

    Steve

    I solved my problem. The precious documentation carried out since the development of the Fusion of Web Applications with document Oracle Application Development Framework in section 5.12, in particular section 5.12.2 - How to define cascading lists LOV-Enabled view object attributes: https://docs.oracle.com/middleware/1213/adf/develop/adf-bc-vo-queries.htm#ADFFD349.

    Using a view criteria named in the view LOV object was correct. When the attribute of username in the SfgroupuserView view object has been configured to use the LOV, a view accessor was created for the SfgroupuserView. The accessor view points to the LOV view object. Edition of the accessor of view I said to use the criteria of view named object View LOV. The problem was that the ID of the company in the main table (sfgroup) was not an attribute of the SfgroupuserView view object, so I was not able to assign a value to the variable binding. So, I added the entity sfgroup as one of the entities that the SfgroupuserView was based on and then added the companyID attribute. I then used the new attribute companyID as the value to be assigned to the variable binding, the criteria of display for the view LOV object in view accessor.

    Now, everything works well in the AppModule. When you insert a new record in SfgroupuserView1 the user's selection is a drop-down list that displays only users assigned to today's society.

  • Need to change the field LOV checked a selection on the page of the OFA

    Hi all

    I have a requirement as below:

    I have a customized page of the OPS with an lov field that is mandatory, a checkbox and a two text fields.

    So, based on the selection of the values LOV I'm failing two text field the value automatically.

    My requirement is so when the user selects the check box automatically LOV should be non-mandatory and the user can insert the values in the lov field and the text field and submit.

    SO basically based on selection of field box that I need to make the lov in such a way, he must accept all the values that the user spends instead of checking the query added in VO behind the LOV.

    Please suggest me some tips to achieve this requirement.

    Thank you

    Deb

    Hello

    Instead of create MessageStyledText, create MessageTextInput and set its ReadOnly property to True & False accordingly.

    you will get more information in the link below:

    https://forums.Oracle.com/thread/2226696

    Concerning

    Mahesh

  • LOV property for the 'return' with pragmatic value

    Hi gurus,

    I use

    Forms [64 Bit] Version 11.1.2.2.0 (Production)

    Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production

    With the options of partitioning, OLAP, advanced analytics and Real Application Testing

    How can I set property LOV to return the value of a column with pragmatism.

    ReturningValue.PNG

    We're going on the basis of a State, I want Field2 value in any other column we will say that it is Control.attribute3

    Dear Sir

    You cannot change the name of checking back to a LOV. Instead, you can return the value of a dummy control, and then you can assign the value to different controls depending on the condition.

    I hope this helps.

    Manu.

  • Different behavior of LOV dependent when copying folder

    Dear gurus,

    I use Jdeveloper 11.1.2.3.0

    method 1 is the new method that I wrote today, the record copy and depend on LOV is also refreshing about changing the parent value LOV LOV dependent same bit is also populated as the Franchise of the brand and the Type of mark, but the problem with this is little InputTextLOV load value is not complete when you copy as ASM SM, RFAM, RSM, TYPE of ACTIVITY, the NAME of the HIERARCHY and BRAND MANAGER who is highlighted in yellow.  as shown in the image below.


    https://outlook.office365.com/owa/service.svc/s/GetFileAttachment?id=AAMkADM4NzcwNjk5LWI2MTgtNDY1My05NzZmLWRlNGFiMGFmMjUwMwBGAAAAAACm8DyCMaD%2BQp7yH%2BWFWMVGBwBTXXB8hJYiTLjuY1paep%2BAAAAAAAEJAABTXXB8hJYiTLjuY1paep%2BAAAB9TPUOAAABEgAQAOgMHOGjUJJKmNT1aIvwLXw%3D&X-OWA-CANARY=QObvCeI93Eam98r9h2x6ouAdx8aU_9IY28_fuumJ1-0uhB5QaTdkinlT9oUPC5qZOENwaeKCD0I.

    Transient attribute with update = never is commented in the method 1. even tried transitional attribute update = ALWAYS,

    
           //method-1
                  public void copyProposal(javax.faces.event.ActionEvent actionEvent) {
                  // Add event code here...
            
                   System.out.println("Inside copyProposal Method::::");
                    AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
                    java.util.Map pageFlowScope = adfctx.getPageFlowScope();
                    String userName = (String) pageFlowScope.get("user").toString();
                    Date date = new Date();
                    System.out.println("date::: " +date);
                    String date1 = new SimpleDateFormat("dd-MMM-yyyy").format(new Date()).toString();
                    System.out.println("date1::: " +date1);
                    String date2 = new SimpleDateFormat("mm/dd/yyyy").format(new Date()).toString();
                    
                    Calendar currenttime = Calendar.getInstance();
                        Date sqldate = new Date((currenttime.getTime()).getTime());
                        System.out.println("current Date_Time::: " +sqldate);
                    AppModuleImpl am = this.getAm();
                    ViewObject proposalHeaderVO = am.getProposalHeaderView2();    
                    //        ViewObjectImpl proposalHeaderVO = this.getProposalHeaderView2();
                    Row propHeaderCurrentRow = proposalHeaderVO.getCurrentRow();
                    String[] propHeaderAttrs = propHeaderCurrentRow.getAttributeNames();
                    //Skip copying the primay key attributes or any attributes which you want to skip
                    String[] skipAttrs = new String[] {"BranchProposalNumber", "BranchHoSerial","ProposalId","ProposalDate","CreationDate","ApprovalStatus","Attribute9","Attribute10",
                                                       "ProposalAmt","ApprovalRemarks","ApproverRemarkTemp","BudgetAmt","ConsumedAmt","RemainingAmt","AmountUtilized", "TotalLineAmount",
                                                       "TotalBudgetAmount","TotalRemainingAmount","TotalConsumedAmount"};//,"L1Approver","L2Approver","L3Approver","L1Code","L2Code","L3Code"
                    List skipAttrList = Arrays.asList(skipAttrs);
                    //creating a new duplicate row
                    Row dupRow = proposalHeaderVO.createRow();
          
            dupRow.setAttribute("ProposalDate", sqldate);
            dupRow.setAttribute("ProposalType", propHeaderCurrentRow.getAttribute("ProposalType"));
            dupRow.setAttribute("EffectiveStartDate", propHeaderCurrentRow.getAttribute("EffectiveStartDate"));
            dupRow.setAttribute("EffectiveEndDate", propHeaderCurrentRow.getAttribute("EffectiveEndDate"));
            dupRow.setAttribute("BranchId", propHeaderCurrentRow.getAttribute("BranchId"));
            dupRow.setAttribute("BranchName", propHeaderCurrentRow.getAttribute("BranchName"));
            dupRow.setAttribute("State", propHeaderCurrentRow.getAttribute("State"));
            dupRow.setAttribute("BusinessLine", propHeaderCurrentRow.getAttribute("BusinessLine"));
            dupRow.setAttribute("BrandFranchise", propHeaderCurrentRow.getAttribute("BrandFranchise"));
            dupRow.setAttribute("BrandType", propHeaderCurrentRow.getAttribute("BrandType"));
            dupRow.setAttribute("ApprovalStatus", "Pending");
            dupRow.setAttribute("BrandManager", propHeaderCurrentRow.getAttribute("BrandManager"));
           dupRow.setAttribute("ProposalAction", propHeaderCurrentRow.getAttribute("ProposalAction"));
            dupRow.setAttribute("ActionRemarks", propHeaderCurrentRow.getAttribute("ActionRemarks"));
            dupRow.setAttribute("ActivityTypeId", propHeaderCurrentRow.getAttribute("ActivityTypeId"));
            dupRow.setAttribute("ActivityType", propHeaderCurrentRow.getAttribute("ActivityType"));
            dupRow.setAttribute("Attribute1", propHeaderCurrentRow.getAttribute("Attribute1"));
            dupRow.setAttribute("Attribute2", propHeaderCurrentRow.getAttribute("Attribute2"));
            dupRow.setAttribute("Attribute3", propHeaderCurrentRow.getAttribute("Attribute3"));
            dupRow.setAttribute("Attribute4", propHeaderCurrentRow.getAttribute("Attribute4"));
            dupRow.setAttribute("BusinessLineName", propHeaderCurrentRow.getAttribute("BusinessLineName"));
            dupRow.setAttribute("BudgetAmt", propHeaderCurrentRow.getAttribute("BudgetAmt"));
            dupRow.setAttribute("ConsumedAmt", propHeaderCurrentRow.getAttribute("ConsumedAmt"));
            dupRow.setAttribute("RemainingAmt", propHeaderCurrentRow.getAttribute("RemainingAmt"));
            dupRow.setAttribute("ProposalAmt", propHeaderCurrentRow.getAttribute("ProposalAmt"));
            dupRow.setAttribute("ProposalDescription", propHeaderCurrentRow.getAttribute("ProposalDescription"));
            dupRow.setAttribute("CreatedBy", userName);
    //        dupRow.setAttribute("CreationDate",sqldate);
            dupRow.setAttribute("LastUpdatedBy", propHeaderCurrentRow.getAttribute("LastUpdatedBy"));
    //        dupRow.setAttribute("LastUpdateDate", sqldate);
            dupRow.setAttribute("AdfCreatedBy", userName);
            dupRow.setAttribute("ApprovalRemarks", propHeaderCurrentRow.getAttribute("ApprovalRemarks"));
            dupRow.setAttribute("Attribute6", propHeaderCurrentRow.getAttribute("Attribute6"));
            dupRow.setAttribute("Attachment", propHeaderCurrentRow.getAttribute("Attachment"));
            dupRow.setAttribute("Attribute7", propHeaderCurrentRow.getAttribute("Attribute7"));
            dupRow.setAttribute("Attribute8", propHeaderCurrentRow.getAttribute("Attribute8"));
            dupRow.setAttribute("Attribute9", propHeaderCurrentRow.getAttribute("Attribute9"));
            dupRow.setAttribute("Attribute10", userName);
            dupRow.setAttribute("Segment1", propHeaderCurrentRow.getAttribute("Segment1"));
            dupRow.setAttribute("Segment2", propHeaderCurrentRow.getAttribute("Segment2"));
            dupRow.setAttribute("Segment3", propHeaderCurrentRow.getAttribute("Segment3"));
            dupRow.setAttribute("Segment4", propHeaderCurrentRow.getAttribute("Segment4"));
            dupRow.setAttribute("Segment5", propHeaderCurrentRow.getAttribute("Segment5"));
            dupRow.setAttribute("Segment6", propHeaderCurrentRow.getAttribute("Segment6"));
            dupRow.setAttribute("L1Approver", propHeaderCurrentRow.getAttribute("L1Approver"));
            dupRow.setAttribute("L2Approver", propHeaderCurrentRow.getAttribute("L2Approver"));
            dupRow.setAttribute("L3Approver", propHeaderCurrentRow.getAttribute("L3Approver"));
            dupRow.setAttribute("L1Code", propHeaderCurrentRow.getAttribute("L1Code"));
            dupRow.setAttribute("L2Code", propHeaderCurrentRow.getAttribute("L2Code"));
            dupRow.setAttribute("L3Code", propHeaderCurrentRow.getAttribute("L3Code"));
            dupRow.setAttribute("ExpenceCategory", propHeaderCurrentRow.getAttribute("ExpenceCategory"));
            dupRow.setAttribute("ExpenceCategoryId", propHeaderCurrentRow.getAttribute("ExpenceCategoryId"));
            dupRow.setAttribute("HierarchyName", propHeaderCurrentRow.getAttribute("HierarchyName"));
            dupRow.setAttribute("FinYear", propHeaderCurrentRow.getAttribute("FinYear"));
            dupRow.setAttribute("Posm", propHeaderCurrentRow.getAttribute("Posm"));
            dupRow.setAttribute("HiqBrandManager", propHeaderCurrentRow.getAttribute("HiqBrandManager"));
            dupRow.setAttribute("Projectcode", propHeaderCurrentRow.getAttribute("Projectcode"));
    //        dupRow.setAttribute("PendingAppName", userName);
    //        dupRow.setAttribute("InHierarchy", propHeaderCurrentRow.getAttribute("InHierarchy"));
            dupRow.setAttribute("CurrentUser", userName);
            dupRow.setAttribute("CurrencyCode", propHeaderCurrentRow.getAttribute("CurrencyCode"));
            dupRow.setAttribute("ExchangeRate", propHeaderCurrentRow.getAttribute("ExchangeRate"));
    //        dupRow.setAttribute("ApStatus", propHeaderCurrentRow.getAttribute("ApStatus"));
    //        dupRow.setAttribute("StateCodeName", propHeaderCurrentRow.getAttribute("StateCodeName"));
            dupRow.setAttribute("BudgetLevel", propHeaderCurrentRow.getAttribute("BudgetLevel"));
            dupRow.setAttribute("AdfCreatedName",userName);
            dupRow.setAttribute("StateName", propHeaderCurrentRow.getAttribute("StateName"));
    //        dupRow.setAttribute("TotalLineAmount", propHeaderCurrentRow.getAttribute("TotalLineAmount"));
    //        dupRow.setAttribute("ExpenceMainCategory", propHeaderCurrentRow.getAttribute("ExpenceMainCategory"));
    //        dupRow.setAttribute("TotalBudgetAmount", propHeaderCurrentRow.getAttribute("TotalBudgetAmount"));
    //        dupRow.setAttribute("TotalRemainingAmount", propHeaderCurrentRow.getAttribute("TotalRemainingAmount"));
    //        dupRow.setAttribute("TotalConsumedAmount", propHeaderCurrentRow.getAttribute("TotalConsumedAmount"));
    //        dupRow.setAttribute("BudgetId", propHeaderCurrentRow.getAttribute("BudgetId"));
    //        dupRow.setAttribute("ExpenseCategorySwitcher", propHeaderCurrentRow.getAttribute("ExpenseCategorySwitcher"));
    //        dupRow.setAttribute("AmountUtilized", propHeaderCurrentRow.getAttribute("AmountUtilized"));
    //        dupRow.setAttribute("ApproverRemarkTemp", propHeaderCurrentRow.getAttribute("ApproverRemarkTemp"));
            dupRow.setAttribute("SpotLightAtt", propHeaderCurrentRow.getAttribute("SpotLightAtt"));
           
                    //Inserting the duplicate row
                    proposalHeaderVO.insertRow(dupRow);
                    
                    //EXECUTING SETPARAM for SelectActivities..
                    String activityType = (String)propHeaderCurrentRow.getAttribute("ActivityType");
                      activityType =   activityType.substring(0,activityType.indexOf("-",0));
                      System.out.println("value in activity Type::: " +activityType);
                    setParam(activityType);
                   
        }
    

    and here's the method 2

    method 2 is to copy all the fields, but change of LOV dependent parent or child LOV don't is not re-rested

    public void copyProposal(javax.faces.event.ActionEvent actionEvent) {
    // Add event code here...
            System.out.println("Inside copyProposal Method::::");
                    AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
                    java.util.Map pageFlowScope = adfctx.getPageFlowScope();
                    String userName = (String) pageFlowScope.get("user").toString();
                    Date date = new Date();
                    System.out.println("date::: " +date);
                    String date1 = new SimpleDateFormat("dd-MMM-yyyy").format(new Date()).toString();
                    System.out.println("date1::: " +date1);
                    String date2 = new SimpleDateFormat("mm/dd/yyyy").format(new Date()).toString();
                    
                    Calendar currenttime = Calendar.getInstance();
                        Date sqldate = new Date((currenttime.getTime()).getTime());
                        System.out.println("current Date_Time::: " +sqldate);
                    AppModuleImpl am = this.getAm();
                    ViewObject proposalHeaderVO = am.getProposalHeaderView2();    
                    //        ViewObjectImpl proposalHeaderVO = this.getProposalHeaderView2();
                    Row propHeaderCurrentRow = proposalHeaderVO.getCurrentRow();
                    String[] propHeaderAttrs = propHeaderCurrentRow.getAttributeNames();
                    //Skip copying the primay key attributes or any attributes which you want to skip
                    String[] skipAttrs = new String[] {"BranchProposalNumber", "BranchHoSerial","ProposalId","ProposalDate","CreationDate","ApprovalStatus","Attribute9","Attribute10",
                                                       "ProposalAmt","ApprovalRemarks","ApproverRemarkTemp","BudgetAmt","ConsumedAmt","RemainingAmt","AmountUtilized"};  //,"L1Approver","L2Approver","L3Approver","L1Code","L2Code","L3Code"
                    List skipAttrList = Arrays.asList(skipAttrs);
                    //creating a new duplicate row
                    Row dupRow = proposalHeaderVO.createRow();
                    //copying all attributes one by one
                    for (int i = 0; i < propHeaderAttrs.length; i++) {
                        String propHeaderAttrName = propHeaderAttrs[i];
                    
                        if ("ProposalDate".equals(propHeaderAttrName))
                            dupRow.setAttribute(propHeaderAttrName, sqldate);
                        
                        int attrIndex = dupRow.getAttributeIndexOf(propHeaderAttrName);
                        //Checking if the attribute is in the skip attribute list and the attribute is updatable
                        if (!skipAttrList.contains(propHeaderAttrName) &&
                            dupRow.isAttributeUpdateable(attrIndex))
                            //Setting the value for the attributes
                            dupRow.setAttribute(propHeaderAttrName,
                                                propHeaderCurrentRow.getAttribute(propHeaderAttrName));
                        
                
                        System.out.println("nm,"+propHeaderAttrName+" k, j," +" " +propHeaderAttrName+" , ");
                    }
                    
                    dupRow.setAttribute("AdfCreatedBy",userName);
                    dupRow.setAttribute("Attribute10",userName);
                    dupRow.setAttribute("ApprovalStatus", "Pending");
                    dupRow.setAttribute("L1Approver", propHeaderCurrentRow.getAttribute("L1Approver"));
                    dupRow.setAttribute("L1Code", propHeaderCurrentRow.getAttribute("L1Code"));
                    dupRow.setAttribute("L2Approver", propHeaderCurrentRow.getAttribute("L2Approver"));
                    dupRow.setAttribute("L2Code", propHeaderCurrentRow.getAttribute("L2Code"));
                    dupRow.setAttribute("L3Approver", propHeaderCurrentRow.getAttribute("L3Approver"));
                    dupRow.setAttribute("L3Code", propHeaderCurrentRow.getAttribute("L3Code"));
                    
                    dupRow.setAttribute("ActivityType", propHeaderCurrentRow.getAttribute("ActivityType"));
                    dupRow.setAttribute("HierarchyName", propHeaderCurrentRow.getAttribute("HierarchyName"));
                    
                    dupRow.setAttribute("HiqBrandManager", propHeaderCurrentRow.getAttribute("HiqBrandManager"));
    
                    //Inserting the duplicate row
                    proposalHeaderVO.insertRow(dupRow);
                    
                    //EXECUTING SETPARAM for SelectActivities..
                    String activityType = (String)propHeaderCurrentRow.getAttribute("ActivityType");
                      activityType =   activityType.substring(0,activityType.indexOf("-",0));
                      System.out.println("value in activity Type::: " +activityType);
                    setParam(activityType);
                   
        }
    

    kindly help me to get the copy feature and feature update dependent lov.

    Best regards,

    MD Jahangir Pasha

    Dear gurus,

    Thank you for your support and answers.

    Problem solved, I added view accessors name in the attribute skip list. now it does not work as expected.

    Kind regards

  • LOV dependent parameter is not getting updated

    Dear gurus,

    I use the method below to copy a line and go to the createInsert page is to copy attribute values navigate successfully as expected, there are a few dependent LOV on my page. Passage in depenent LOV of parameters is not getting updated.

    For example, the StateNameId attribute is text input LOV using StateVO for LOV and set the values of the attribute state name, State. and it has dependent attribute like L1ApproverId which is also a LOV input text that uses L1ApproverVO for LOV, L1LOV takes the State as a parameter to retrieve values based on the State.

    When you click on L1ApproverLOV it gives old discs only, even if that we tested with StateNameId. Kindly help me out.

    Here is the source.

    {} public void copyProposal (actionEvent javax.faces.event.ActionEvent)

    Add the code in the event here...

    System.out.println ("inside the copyProposal method :::"); ")

    AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance ();

    java.util.Map pageFlowScope = adfctx.getPageFlowScope ();

    String userName = (String) pageFlowScope.get("user").toString ();

    Date date = new Date();

    System.out.println ("date:" + date);

    Dim date1 = new SimpleDateFormat("dd-MMM-yyyy").format (new Date()) m:System.NET.SocketAddress.ToString ();

    System.out.println ("date1:" + date1);

    String date2 = new SimpleDateFormat("mm/dd/yyyy").format (new Date()) m:System.NET.SocketAddress.ToString ();

    Calendar currenttime = Calendar.GetInstance ();

    Date sqldate = new Date ((currenttime.getTime () .getTime ());

    System.out.println ("current Date_Time:" + sqldate);

    AppModuleImpl am = this.getAm ();

    ViewObject proposalHeaderVO = am.getProposalHeaderView2 ();

    Line propHeaderCurrentRow = proposalHeaderVO.getCurrentRow ();

    String [] propHeaderAttrs = propHeaderCurrentRow.getAttributeNames ();

    Skip copying the attributes of primary key or attributes that you want to ignore

    String [] skipAttrs = new String() {"BranchProposalNumber", 'BranchHoSerial', 'ProposalId', 'ProposalDate', "CreationDate", 'ApprovalStatus', 'Attribute9', 'Attribute10',

    'ProposalAmt', 'ApprovalRemarks', 'ApproverRemarkTemp', 'BudgetAmt', 'ConsumedAmt', 'RemainingAmt', 'AmountUtilized'};  , 'L1Approver', 'L2Approver', 'L3Approver', 'L1Code', 'L2Code', 'L3Code '.

    The skipAttrList list = Arrays.asList (skipAttrs);

    creating a new duplicate row

    Line dupRow = proposalHeaderVO.createRow ();

    copy all of the attributes of a

    for (int i = 0; i < propHeaderAttrs.length; i ++) {}

    String propHeaderAttrName = propHeaderAttrs [i];

    int attrIndex = dupRow.getAttributeIndexOf (propHeaderAttrName);

    Check if the attribute is in the attribute of jump list and that the attribute is updateable

    If (! skipAttrList.contains (propHeaderAttrName) & &)

    dupRow.isAttributeUpdateable (attrIndex))

    Setting the value for the attributes

    dupRow.setAttribute (propHeaderAttrName,

    propHeaderCurrentRow.getAttribute (propHeaderAttrName));

    dupRow.setAttribute (propHeaderAttrName,

    //                                "Pending");

    System.out.println ("name of the attribute:" + propHeaderAttrName);

    }

    dupRow.setAttribute ("AdfCreatedBy", userName);

    dupRow.setAttribute ("Attribute10", userName);

    dupRow.setAttribute ("ApprovalStatus", "pending");

    dupRow.setAttribute ("L1Approver", propHeaderCurrentRow.getAttribute ("L1Approver"));

    dupRow.setAttribute ("L1Code", propHeaderCurrentRow.getAttribute ("L1Code"));

    dupRow.setAttribute ("L2Approver", propHeaderCurrentRow.getAttribute ("L2Approver"));

    dupRow.setAttribute ("L2Code", propHeaderCurrentRow.getAttribute ("L2Code"));

    dupRow.setAttribute ("L3Approver", propHeaderCurrentRow.getAttribute ("L3Approver"));

    dupRow.setAttribute ("L3Code", propHeaderCurrentRow.getAttribute ("L3Code"));

    dupRow.setAttribute ("Attribute7", propHeaderCurrentRow.getAttribute ("Attribute7"));

    dupRow.setAttribute ("ActivityType', propHeaderCurrentRow.getAttribute ("ActivityType"));

    dupRow.setAttribute ("the HierarchyName", propHeaderCurrentRow.getAttribute ("the HierarchyName"));

    dupRow.setAttribute ("HiqBrandManager", propHeaderCurrentRow.getAttribute ("HiqBrandManager"));

    Insert the duplicate line

    proposalHeaderVO.insertRow (dupRow);

    EXECUTION of SETPARAM for SelectActivities...

    String activityType = (String) propHeaderCurrentRow.getAttribute ("ActivityType");

    activityType = activityType.substring (0, activityType.indexOf("-",0));

    System.out.println ("value by activity Type:" + activityType);

    setParam (activityType);

    }

    < af:inputListOfValues id = "stateNameId".

    popupTitle = "search and select: #{bindings." StateName.hints.label}.

    value = "#{bindings." StateName.inputValue}.

    label = "State of GPI/location.

    model = ' #{bindings. " StateName.listOfValuesModel}.

    required = "#{bindings." StateName.hints.mandatory}.

    Binding = "#{backingBeanScope.backing_ProposalSearch.stateNameId} '"

    labelStyle = "' make-weight: Bold" "

    valueChangeListener = "#{backingBeanScope.backing_ProposalMaster.stateNameId_valueChangeListener} '"

    returnPopupListener = "#{pageFlowScope.ProposalActivities.returnStateNamePopUpData} '"

    autoSubmit = "true" >

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

    < / af:inputListOfValues >

    {} public void stateNameId_valueChangeListener (ValueChangeEvent valueChangeEvent)

    Add the code in the event here...

    AppModuleImpl am = this.getAm ();

    ViewObject propHdrVO = am.getProposalHeaderView2 ();

    Line rowHeader = propHdrVO.getCurrentRow ();

    System.out.println ("attribut1 =" + rowHeader.getAttribute ("Attribute4"));

    rowHeader.setAttribute ("L1Approver", null);

    rowHeader.setAttribute ("L1Code", null);

    rowHeader.setAttribute ("L2Approver", null);

    rowHeader.setAttribute ("L2Code", null);

    rowHeader.setAttribute ("L3Approver", null);

    rowHeader.setAttribute ("L3Code", null);

    rowHeader.setAttribute ("BrandManager", null);

    rowHeader.setAttribute ("Attribute6", null);

    String state_old = (String) valueChangeEvent.getOldValue ();

    Status string = (String) valueChangeEvent.getNewValue ();

    System.out.println ("value in old state:" + state_old);

    System.out.println ("value in State:" + State);

    }

    {} public void returnStateNamePopUpData (ReturnPopupEvent returnPopupEvent)

    RichInputListOfValues = lovField

    (RichInputListOfValues) returnPopupEvent.getSource ();

    ListOfValuesModel lovModel = lovField.getModel ();

    CollectionModel = CollectionModel

    lovModel.getTableModel () .getCollectionModel ();

    JUCtrlHierBinding = treeBinding

    CollectionModel.getWrappedData ((JUCtrlHierBinding));

    selected lines are defined in a RowKeySet.As the LOV table only

    supports simple selections, there is only one entry in the rks

    RKS RowKeySet = returnPopupEvent.getReturnValue ((RowKeySet));

    the key of table row ADF Faces is a list. The list contains the

    oracle.jbo.Key

    TableRowKey = rks.iterator () .next () (list);

    Retrieves the iterator binding for binding mapping LOV

    DCIteratorBinding dciter = treeBinding.getDCIteratorBinding ();

    get the line selected by its key Houston

    Key = tableRowKey.get (0) (Key);

    stateCode = key.getAttribute (0) m:System.NET.SocketAddress.ToString ();

    setIsApproverDisable (stateCode);

    }

    < af:inputListOfValues id = "l1ApproverId".

    popupTitle = "search and select: #{bindings." L1Approver.hints.label}.

    value = "#{bindings." Label L1Approver.inputValue}"=" ASM/MMR.

    model = ' #{bindings. " Required to L1Approver.listOfValuesModel'} = 'true '.

    columns = "35" shortDesc = "#{bindings." L1Approver.hints.ToolTip}.

    Binding = "#{backingBeanScope.backing_ProposalSearch.l1ApproverId} '"

    labelStyle = "' make-weight: Bold ' showRequired = 'true'"

    partialTriggers = "stateNameId" >

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

    < / af:inputListOfValues >

    <? XML version = "1.0" encoding = "windows-1252"? >

    <! DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd" >

    <!-->

    < ViewObject

    "xmlns ="http://xmlns.oracle.com/bc4j"

    Name = "StateVO".

    Version = "11.1.2.62.76".

    BindingStyle = "OracleName".

    CustomQuery = 'true '.

    RowClass = "proposal.model.StateVORowImpl"

    ComponentClass = "proposal.model.StateVOImpl"

    PageIterMode = "Full".

    UseGlueCode = "false".

    OrderBy = "DESCRIPTION" >

    < DesignTime >

    < name Attr = "_codeGenFlag2" Value = "access |" Coll | VarAccess "/ >"

    < name Attr = "_isExpertMode" Value = "true" / >

    < name Attr = "_isCodegen" Value = "true" / >

    < / DesignTime >

    Properties of <>

    < SchemaBasedProperties >

    < LABEL

    ResId="proposal.model.StateVO_LABEL"/ >

    < / SchemaBasedProperties >

    < / properties >

    < variable

    Name = "p_hierarchy_level".

    Type = "where".

    Type = "Java.lang.String" > "

    Properties of <>

    < SchemaBasedProperties >

    < DISPLAYHINT

    Value = 'Hide' / >

    < / SchemaBasedProperties >

    < / properties >

    < / variable >

    < SQLQuery > <! [CDATA [/ * SELECT fvv.]] FLEX_VALUE_ID, fvv. FLEX_VALUE, fvv. FLEX_VALUE_MEANING, fvv. DESCRIPTION DESCRIPTION, fvv.hierarchy_level

    OF fvv, FND_FLEX_VALUE_SETS fvs FND_FLEX_VALUES_VL

    WHERE 1 = 1

    and fvv.flex_value_set_id = fvs.flex_value_set_id

    and SVF. FLEX_VALUE_SET_NAME 'LOCATION GPIL_ '.

    and fvv.hierarchy_level =: p_hierarchy_level * /.

    SELECT fvv. FLEX_VALUE_ID, fvv. FLEX_VALUE, fvv. FLEX_VALUE_MEANING, fvv. DESCRIPTION DESCRIPTION, fvv.hierarchy_level

    From apps. FND_FLEX_VALUES_VL fvv, apps. FND_FLEX_VALUE_SETS fvs

    WHERE 1 = 1

    and fvv.flex_value_set_id = fvs.flex_value_set_id

    and SVF. FLEX_VALUE_SET_NAME 'LOCATION GPIL_ '.

    and fvv.hierarchy_level =: p_hierarchy_level

    and fvv.flex_value

    in

    (by selecting gpistate in apps.xxgp_gpistate_emp_check gec

    WHERE fvv.flex_value = gpistate and empcode in (select distinct tag EPI apps.xxgp_proposal_employees_v))]] > < / SQLQuery >

    < ViewAttribute

    Name = "FlexValueId".

    IsUpdateable = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Precision = "15".

    Scale = '0 '.

    Type = "Oracle.jbo.domain.Number"

    ColumnType = 'NUMBER '.

    AliasName = 'FLEX_VALUE_ID. '

    Expression = "FLEX_VALUE_ID."

    SQLType = 'DIGITAL' / >

    < ViewAttribute

    Name = "FlexValue".

    IsUpdateable = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Precision = '150 '.

    Type = "Java.lang.String"

    ColumnType = "VARCHAR2".

    AliasName = 'FLEX_VALUE. '

    Expression = "FLEX_VALUE."

    SQLType = 'VARCHAR' >

    < DesignTime >

    < name Attr = "_DisplaySize" Value = "150" / >

    < / DesignTime >

    < / ViewAttribute >

    < ViewAttribute

    Name = "FlexValueMeaning".

    IsUpdateable = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Precision = '150 '.

    Type = "Java.lang.String"

    ColumnType = "VARCHAR2".

    AliasName = 'FLEX_VALUE_MEANING. '

    Expression = "FLEX_VALUE_MEANING."

    SQLType = 'VARCHAR' >

    < DesignTime >

    < name Attr = "_DisplaySize" Value = "150" / >

    < / DesignTime >

    Properties of <>

    < SchemaBasedProperties >

    < DISPLAYWIDTH

    Value = "10" / >

    < / SchemaBasedProperties >

    < / properties >

    < / ViewAttribute >

    < ViewAttribute

    Name = "Description".

    IsUpdateable = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Precision = "240".

    Type = "Java.lang.String"

    ColumnType = "VARCHAR2".

    AliasName = 'DESCRIPTION '.

    Expression = "DESCRIPTION".

    SQLType = 'VARCHAR' >

    < DesignTime >

    < name Attr = "_DisplaySize" Value = "240" / >

    < / DesignTime >

    < / ViewAttribute >

    < ViewAttribute

    Name = "HierarchyLevel.

    IsUpdateable = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Precision = "30".

    Type = "Java.lang.String"

    ColumnType = "VARCHAR2".

    AliasName = 'HIERARCHY_LEVEL. '

    Expression = "HIERARCHY_LEVEL."

    SQLType = 'VARCHAR' >

    < DesignTime >

    < name Attr = "_DisplaySize" Value = "30" / >

    < / DesignTime >

    < / ViewAttribute >

    < ViewCriteria

    Name = "StateVOCriteria".

    ViewObjectName = "proposal.model.StateVO"

    Concert = 'AND' >

    Properties of <>

    < CustomProperties >

    < property

    Name = "displayOperators".

    Value = "InAdvancedMode" / >

    < property

    Name = "AutoPlay".

    Value = "true" / >

    < property

    Name = "allowConjunctionOverride".

    Value = "true" / >

    < property

    Name = "showInList".

    Value = "true" / >

    < property

    Name = 'mode '.

    Value = "Basic" / >

    < / CustomProperties >

    < / properties >

    < ViewCriteriaRow

    Name = "StateVOCriteria_row_0".

    UpperColumns = "1" >

    < ViewCriteriaItem

    Name = "FlexValue".

    ViewAttribute = "FlexValue".

    Operator = 'STARTSWITH '.

    Concert = 'AND '.

    Required 'Optional' = >

    Properties of <>

    < SchemaBasedProperties >

    < DISPLAYWIDTH

    Value = "10" / >

    < / SchemaBasedProperties >

    < / properties >

    < / ViewCriteriaItem >

    < / ViewCriteriaRow >

    < / ViewCriteria >

    < ViewCriteria

    Name = "StateVOCriteria1".

    ViewObjectName = "proposal.model.StateVO"

    Concert = 'AND' >

    Properties of <>

    < CustomProperties >

    < property

    Name = "displayOperators".

    Value = "InAdvancedMode" / >

    < property

    Name = "AutoPlay".

    Value = "false" / >

    < property

    Name = "allowConjunctionOverride".

    Value = "true" / >

    < property

    Name = "showInList".

    Value = "true" / >

    < property

    Name = 'mode '.

    Value = "Basic" / >

    < / CustomProperties >

    < / properties >

    < ViewCriteriaRow

    Name = "StateVOCriteria1_row_0".

    UpperColumns = "1" >

    < ViewCriteriaItem

    Name = "HierarchyLevel.

    ViewAttribute = "HierarchyLevel.

    Operator = 'STARTSWITH '.

    Concert = 'AND '.

    "Value =": p_hierarchy_level ".

    IsBindVarValue = 'true '.

    Required = "Optional" / >

    < / ViewCriteriaRow >

    < / ViewCriteria >

    < AttrArray Name = "KeyAttributes" >

    < point Value = "FlexValue" / >

    < point Value = "FlexValueMeaning" / >

    < / AttrArray >

    < ResourceBundle >

    < PropertiesBundle

    PropertiesFile="proposal.model.ModelBundle"/ >

    < / ResourceBundle >

    < / ViewObject >

    <? XML version = "1.0" encoding = "windows-1252"? >

    <! DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd" >

    <!-->

    < ViewObject

    "xmlns ="http://xmlns.oracle.com/bc4j"

    Name = "L1ApproverVO".

    Version = "11.1.2.62.76".

    BindingStyle = "OracleName".

    CustomQuery = 'true '.

    RowClass = "proposal.model.L1ApproverVORowImpl"

    ComponentClass = "proposal.model.L1ApproverVOImpl"

    PageIterMode = "Full".

    UseGlueCode = "false" >

    < DesignTime >

    < name Attr = "_codeGenFlag2" Value = "access |" Coll | VarAccess "/ >"

    < name Attr = "_isExpertMode" Value = "true" / >

    < name Attr = "_isCodegen" Value = "true" / >

    < / DesignTime >

    Properties of <>

    < SchemaBasedProperties >

    < LABEL

    ResId="proposal.model.L1ApproverVO_LABEL"/ >

    < / SchemaBasedProperties >

    < / properties >

    < variable

    Name = "p_state".

    Type = "where".

    Type = "Java.lang.String" > "

    Properties of <>

    < SchemaBasedProperties >

    < DISPLAYHINT

    Value = 'Hide' / >

    < / SchemaBasedProperties >

    < / properties >

    < / variable >

    < SQLQuery > <! [CDATA [SELECT pv.adfuser username, pv.tag emp_number, pv.full_name emp_name,

    E-mail PV.email_address

    SUBSTR (fv.lookup_code, 1, INSTR (fv.lookup_code, '-')-1) State

    From apps. XXGP_PROPOSAL_APPR_HIERARCHY_V fv, pv apps.xxgp_proposal_employees_v

    WHERE fv.lookup_type = 'XXGP_PROPOSAL_APPR_HIERARCHY. '

    AND SUBSTR (fv.lookup_code, INSTR (fv.lookup_code, '-') + 1) = pv.tag

    AND SUBSTR (fv.lookup_code, 1, INSTR (fv.lookup_code, '-')-1) =: p_state

    Union

    SELECT the user name pv.adfuser, pv.tag emp_number, pv.full_name emp_name,

    E-mail PV.email_address

    SUBSTR (fv.lookup_code, 1, INSTR (fv.lookup_code, '-')-1) State

    From apps. XXGP_PROPOSAL_APPR_HIERARCHY_V fv, pv apps.xxgp_proposal_employees_v

    WHERE fv.lookup_type = 'XXGP_PROPOSAL_APPR_HIERARCHY. '

    AND SUBSTR (fv.rmm_code, INSTR (fv.rmm_code, '-') + 1) = pv.tag

    AND SUBSTR (fv.rmm_code, 1, INSTR (fv.rmm_code, '-')-1) =: p_state

    [[Group of pv.adfuser, pv.tag, pv.full_name, pv.email_address, SUBSTR (lookup_code, 1, INSTR (lookup_code, '-')-1)]] > < / SQLQuery >

    < ViewAttribute

    Name = "username".

    IsUpdateable = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Precision = "255".

    Type = "Java.lang.String"

    ColumnType = "VARCHAR2".

    AliasName = 'USER name '.

    Expression = "USER name".

    SQLType = 'VARCHAR' >

    < DesignTime >

    < name Attr = "_DisplaySize" Value = "90" / >

    < / DesignTime >

    < / ViewAttribute >

    < ViewAttribute

    Name = "EmpNumber.

    IsUpdateable = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Precision = '150 '.

    Type = "Java.lang.String"

    ColumnType = "VARCHAR2".

    AliasName = 'EMP_NUMBER. '

    Expression = "EMP_NUMBER."

    SQLType = 'VARCHAR' >

    < DesignTime >

    < name Attr = "_DisplaySize" Value = "150" / >

    < / DesignTime >

    < / ViewAttribute >

    < ViewAttribute

    Name = "EmpName".

    IsUpdateable = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Precision = "240".

    Type = "Java.lang.String"

    ColumnType = "VARCHAR2".

    AliasName = 'EMP_NAME.

    Expression = "EMP_NAME.

    SQLType = 'VARCHAR' >

    < DesignTime >

    < name Attr = "_DisplaySize" Value = "240" / >

    < / DesignTime >

    < / ViewAttribute >

    < ViewAttribute

    Name = "Email".

    IsUpdateable = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Precision = "240".

    Type = "Java.lang.String"

    ColumnType = "VARCHAR2".

    AliasName = 'EMAIL '.

    Expression = "EMAIL".

    SQLType = 'VARCHAR' >

    < DesignTime >

    < name Attr = "_DisplaySize" Value = "240" / >

    < / DesignTime >

    < / ViewAttribute >

    < ViewAttribute

    Name = "State".

    IsUpdateable = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Precision = "30".

    Type = "Java.lang.String"

    ColumnType = "VARCHAR2".

    AliasName = 'STATE '.

    Expression = 'STATE '.

    SQLType = 'VARCHAR' >

    < DesignTime >

    < name Attr = "_DisplaySize" Value = "30" / >

    < / DesignTime >

    < / ViewAttribute >

    < ViewCriteria

    Name = "L1ApproverVOCriteria".

    ViewObjectName = "proposal.model.L1ApproverVO"

    Concert = 'AND' >

    Properties of <>

    < CustomProperties >

    < property

    Name = "displayOperators".

    Value = "InAdvancedMode" / >

    < property

    Name = "AutoPlay".

    Value = "true" / >

    < property

    Name = "allowConjunctionOverride".

    Value = "true" / >

    < property

    Name = "showInList".

    Value = "true" / >

    < property

    Name = 'mode '.

    Value = "Basic" / >

    < / CustomProperties >

    < / properties >

    < ViewCriteriaRow

    Name = "L1ApproverVOCriteria_row_0".

    UpperColumns = "1" >

    < ViewCriteriaItem

    Name = "username".

    ViewAttribute = "user name".

    Operator = 'STARTSWITH '.

    Concert = 'AND '.

    Required 'Optional' = >

    Properties of <>

    < SchemaBasedProperties >

    < DISPLAYWIDTH

    Value = "15" / >

    < / SchemaBasedProperties >

    < / properties >

    < / ViewCriteriaItem >

    < ViewCriteriaItem

    Name = "EmpNumber.

    ViewAttribute = "EmpNumber.

    Operator = 'STARTSWITH '.

    Concert = 'AND '.

    Required 'Optional' = >

    Properties of <>

    < SchemaBasedProperties >

    < DISPLAYWIDTH

    Value = "15" / >

    < / SchemaBasedProperties >

    < / properties >

    < / ViewCriteriaItem >

    < ViewCriteriaItem

    Name = "L1ApproverVOCriteria_L1ApproverVOCriteria_row_0_EmpName".

    ViewAttribute = "EmpName".

    Operator = 'STARTSWITH '.

    Concert = 'AND '.

    Required 'Optional' = >

    Properties of <>

    < SchemaBasedProperties >

    < DISPLAYWIDTH

    Value = "30" / >

    < / SchemaBasedProperties >

    < / properties >

    < / ViewCriteriaItem >

    < / ViewCriteriaRow >

    < / ViewCriteria >

    < ViewCriteria

    Name = "L1ApproverVOCriteria1".

    ViewObjectName = "proposal.model.L1ApproverVO"

    Concert = 'AND' >

    Properties of <>

    < CustomProperties >

    < property

    Name = "displayOperators".

    Value = "InAdvancedMode" / >

    < property

    Name = "AutoPlay".

    Value = "false" / >

    < property

    Name = "allowConjunctionOverride".

    Value = "true" / >

    < property

    Name = "showInList".

    Value = "true" / >

    < property

    Name = 'mode '.

    Value = "Basic" / >

    < / CustomProperties >

    < / properties >

    < ViewCriteriaRow

    Name = "L1ApproverVOCriteria1_row_0".

    UpperColumns = "1" >

    < ViewCriteriaItem

    Name = "State".

    ViewAttribute = 'State '.

    = '=' Operator

    Concert = 'AND '.

    "Value =": p_state ".

    IsBindVarValue = 'true '.

    Required = "Optional" / >

    < / ViewCriteriaRow >

    < / ViewCriteria >

    < ResourceBundle >

    < PropertiesBundle

    PropertiesFile="proposal.model.ModelBundle"/ >

    < / ResourceBundle >

    < / ViewObject >

    Dear gurus,

    Thank you for your support and answers.

    Problem solved, I added view accessors name in the attribute skip list. now it does not work as expected.

  • Population of trigger of the field dependent on the loading of the page

    Hello

    I use JDeveloper 12 c. I have a text with a LOV entry field and the output text field which depends on the input box. I created these in the view entity such that when I change the value of the entry in the field (directly or indirectly), he correctly fills the field of dependent result. Note that the input field is linked to the data, but the result field is not (it is a transient field). So that everything works correctly.

    When I load the page fragment, the data are filled in the field as expected. But I would also field dependent for automatically filled with the appropriate value based on the value in the input field. I've tried to set 'auto-submit' on the entry field and a PPR trigger on the output field, but it was not effective. Is there a setting that can allow to do it automatically? Or do I need to use code in a backing bean? And if so, examples of code would be great.

    Thank you.

    As first, write continuation method in the Java ViewRowImpl class:

    /**
     @param lbdName - List Of Values Name you attached to the attribute
     @param attrName -LOV attribute name whose value you want to return from method
     @param arr - LOV's key attributes values
    */
    protected Object getLovAttribute(String lbdName, String attrName, Object[] arr){
        Object result = null;
        ListBindingDef lbd = getViewDef().findListBindingDef(lbdName);
        if (lbd != null) {
            Key keyForLovVO = new Key(arr);
            Row lovRow = getListBindingRSI(lbd).getRow(keyForLovVO);
            if (lovRow != null)
                result = lovRow.getAttribute(attrName);
        }
        return result;
    }
    

    Then, change getter transitional attribute, in the following way:

    public String getTransAttr() {
        if (getAttributeInternal(TRANS_ATTR) == null) {
            // check to see if databound attribute (where is LOV attached) have value, and if so, get appropriate value from LOV row
            if (getDataBoundAttribute() != null)
                return (String)getLovAttribute("_List_Of_Values_Name", "LOV_attribute_you_want", new Object[]{getDataBoundAttribute()});
        }
        return (String) getAttributeInternal(TRANS_ATTR);
    }
    

    Of course, change over the method to return the appropriate type and ajdust databound attribute accessor Get etc...

  • ADFDI 3 LOV dependent errors

    I have a scenario where say THAT LOV A depends on B LOV which depends on the LOV C. Please read LOV 'List of choice' for the user interface reference.

    All above mentioned LOVs are implemented as Model Driven lists i.e. the LOV is defined on the attribute of the VO itself.

    I tested the same scenario in a JSF page, and sometimes correctly without error.

    But when I tried to do the same in the sheet of DI of the ADF, execution, I get the following error:

    ADFDI-05566: impossible to retrieve values for the liaison "EntityName" list, or one or more of its dependent lists

    ADFDI-00126: an attempt was made to set the position of the line of control linking LovRegion to 27. Iterator a 1 lines.

    ~~~~~~~~~~
    RangeRowOutOfBoundsException: ADFDI-00126: an attempt was made to set the position of the line of control linking LovRegion to 27. Iterator a 1 lines.
    Source: adfdi-excel-runtime
    Battery:
    to oracle.adf.client.windows.excel.runtime.cache.LovCacheItem.PopulateLovCache (name namedRange, dictionary 2 mapDependsOnPositions)
    at oracle.adf.client.windows.excel.runtime.cache.LovCacheItem.CreateDLOVNamedRange (Int32 iItem, dictionary 2 mapDependsOnPositions)
    at oracle.adf.client.windows.excel.runtime.cache.LovCacheItem.CreateDLOVNamedRanges (Int32 dlovPositions, dictionary 2 [] mapDependsOnPositions)
    to oracle.adf.client.windows.excel.runtime.cache.LovCacheItem.CreateOrUpdateLOVNamedRange (name namedRange, dictionary 2 mapDependsOnPositions)
    to oracle.adf.client.windows.excel.runtime.cache.LovCacheItem.PopulateLovCache (name namedRange, dictionary 2 mapDependsOnPositions)

    Anil,

    As stated in the doc, you tried to add 2 bind variable (pointing a parent attribute and another pointing to the attribute of a grandparent) to the request of the child great VO? (IE to the vo which is used as LOV to the dependence of 3rd level).

    Try to create the DLOVs according to the model that I have explained in this blog: https://blogs.oracle.com/aramamoo/entry/how_to_create_multi_level and see if you have found a mistake even aftre that.

    Arun-

  • OFA: Hide the errors and Exceptions top of the OFA

    Hello world

    I created one create and refresh the page for employees with several lovs.
    In the PAge to update, I changed the value of a lov page update through encoding (lov through code value set) and try clicking on the Refresh button to update
    but it throws error:
    1 developer Mode Exception: input Lov should be by default the criteria that can be queried and the result.
    2. failed to check the value entered in the customer name field. Please select the icon of the list of the values in this field select a valid value.

    So when I click on the button update she calls the same page again not the method corresponding to the update button.
    How did we can hide the error CAME or Exceptions in the page (top of the page of the OAF) OFA?
    How can we continue with the flow of the page by hiding this eceptions or errors?
    All Suggestions will be really useful.

    Thank you.

    Go-> Oracle Applications-> the execution Options for project properties and remove the OADeveloperMode of the selected list. This will stop showing the dev mode warnings when the page is run from Jdev. Note that these warnings should not be ignored, because they might indicate a leak in your code that might break at a later stage, so take note of these warnings and fix them if possible.

    Thank you
    Shree

  • How can we dynamically open an external URl of the page of the OFA

    Hi team
    Hello, how can we dynamically open an external URl of the page of the OFA
    For example: my datas table DB are like that
    Employee no       Url
    1     https://www.google.co.in/
    2     https://www.facebook.com/
    3     https://www.yahoomail.com/
    When I don't ask used no 1 of my Search Page
    In the result of my search page table, I get
    1 https://www.google.co.in/
    NOTE: Here item URL is type bean link when I click on the link it should open google page in separate browser
    At the same time, when I question used no 2 which is shown below, then it should open facebook page in a separate browser.
    2 https://www.facebook.com/

    When I try this
    Destination URI - https://www.google.co.in/
    It opens no separate browser, but for employees don't I question as open 1,2,3 only the same page of google in the separate browser for everyone, it is static, I want to dynamically open the URL depend on my employee to query no. If I query emp No 2 it must open facebook page this is my requirement. How can I pass the URL as a parameter?

    Please share your knowledge and experience and your advice my on this issue
    How can I complete my task
    I hope that my requirement is clear, if not please let me know I explained more anyway :)

    Is it Possible to achieve this OAF Page
    Thank you for all your suggestions on this
    Thanks in advance

    A.T. :)

    .findIndexedChildRecursive ("ResultTable");

    Here, you should have the exact itrm link id and not the region containing the lino

    Would it be more likely ImagePath I think ResultTable corresponds to the id of the table of search results

  • On the issue of the OFA JDeveloper

    I have a need to do a messageChoice dependent (drop-down list). I "carrier" as a menu drop down and underneath, 'level of service' depend on 'carrier' means that the second query of poplist depend on the first. From my understanding, JDeveloper does not support this technology. The closest thing I found an explanation is a statement in the JDev tutorial that says that MessageChoice does not change to 'event '. A change of the event is run by the user when you click on a submit"" button.

    Is this correct?

    I also have a need to fill a group of areas that are of the same shape, based on a selection of poplist. From what I've read so far, LOV is much more flexible in this regard.

    Thanks for your help.
    -Scott

    Published by: user608904 on February 9, 2009 12:01

    Scott,
    You can certainly build dependent poplists, this problem has been discussed I have several old son. You can refer to the blog entry:
    http://mukx.blogspot.com/2007/09/dependent-dynamic-message-choicelists.html
    Mukul-

  • installed Firefox depending on the instructions on the screen, but cannot connect. Have now added the new user name. How to complete the installation?

    I can't connect or open Firefox. Uploaded by on screen instructions but still cannot connect or use firefox.

    Installation of Firefox is not dependent on the signing in. You don't need a username / password for Firefox.

    Please explain what works and what's not more in detail.

  • percentages vertical positioning depends on the width of the block?

    I seem to have found a problem when firefox is positioning of blocks based on the values of percentage margin offsets

    In short, look at this page: http://akos.maroy.hu/~akos/frontend/experiment/awake.html

    the desired size of the image section is 75% of the available area, also well vertically than horizontally. the planned place of the section of the image is so, it is in the Middle, vertically and horizontally.

    If it works horizontally, it seems that the vertical position of the image depends on the horizontal width of the window. If you change the width of the window, the image will move vertically.

    It is not exclusive to Firefox. Your problem is that uses margin-top '%' to mean '% of the width.
    http://www.w3schools.com/cssref/pr_margin-top.asp

  • Y at - it somewhere I can find a list of items that is supposed to be running in activity monitor and those that should raise red flags?  I know the list varies depending on the applications and installed process but a base line would be nice

    Y at - it somewhere that I can find a list of explanations or definitions of applications that are running in the monitor of activity as well as a list of items that should raise red flags?  I realize account from the list will vary depending on the applications and programs installed and running, but it would be nice to have a base line of what should be expected and considered safe or normal.  There are too many items to research and one at a time.

    No, not so much.

    You have a problem you're trying to solve?

Maybe you are looking for

  • Firefox won't let me use Hola! RAM as an Add on more. Why? I want it.

    I used the Hola! Unblocker for ever to sites like Netflix, MTV, NBC, ABC, Hulu, basically any network American which is not broadcast its content to the Canada and it was great. Now all of a sudden Hola! went and every time I try and install, Firefox

  • MiniPCI Wifi card work with Satellite A200-1V0?

    Wifi miniPCI card works with Satellite A200-1V0?Specifically the Intel Pro/Wireless 3945 ABG Mini PC will work with this laptop? See you soon,. Prashant

  • How do I manually usb drivers date Microsoft

    USB DRIVERS CAN BE MICROSOFT UPDATES

  • P H Solution Center

    I recently upgraded to Windows 7 from Windows Vista. I use an HP officejet Pro 8500 printer. I tried Re-Setup, update drivers from HP and windows 7 (every thing, but a hammer) but I am unable to analyze manually or with HP solution Center. Everything

  • Add a keyListener to the BlackBerry e-mail client

    Hello I'm new to the BlackBerry Java development and found this forum really useful. The problem I am trying to solve is to hang a keyListener to the e-mail client BlackBerry existing (MessageApplication).  My request is a background process (run in