Retrieving display attribute of ADF dependant dropdown

I have implemented a dynamic dropdown in ADF where the two dropdowns are bind with the Attribute command_id.For my first dropdown the display attribute is command name.But when I am retrieving the the selected value of the 1st i am getting the command_id. please let me know how to get the commandname attribute.

Hi
You should loop through your ViewRowImpl object for the first list and then u can access the different attribte of the object.
Then go through the list of attibute to get the name
String[] arra = (o).getAttributeNames();
for(int i =0;i<arra.length;i++){
System.out.println(arra);
Hope it may help you
Regards
Lutchumaya

Similar Messages

  • ADF dependent dropdown not working for me

    I used the following example
    [http://ranajitsahoo.blogspot.com/2008/05/how-to-implement-dependent-drop-down.html]
    I can not get the dependent employee list to populate.
    I tested my emplist object from the app module tester and the values were retrieved after I input my parameter for deptid
    This is what I verified:
    Departmentlist properties -- autosubmit = true, id=empdeptid
    Emplist properties -- partial triggers = empdeptid
    Page Def properties:
    Bindings
    Execute with parameters was added
    iterator is Emplistiterator bind value = bindings.EmployeesView1DepartmentId.inputValue
    Executables:
    invoke action was created binded to executewithparms and placed before the emplist
    refresh was set to render model
    Can anyone see anything that i missed?

    Frank,
    Thanks. I was able to find one of your blogs and get my drop down boxes working.
    I'm not sure I totally understand this piece of code
    OperationBinding opBindingEmployeesLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    Can you tell me what it is doing??
    Thanks so much

  • APD query key date with variable for time dependent MD display attributes

    Hello,
    In a APD I use a query as a source with a query key date that is filled with a customer exit variable.
    When I run the query as a user, the time dependent MD display attributes look fine. However, when I use the query in an APD, I get no values for the time dependent display attributes.
    Any suggestions?
    Thanks

    Hi,
    Try to run query using RSCRM_BAPI Tcode, this you can also schedule in background
    Thanks
    Reddy

  • Display attribute of master data depending on time

    Hi gurus,
    I have a requirement where in I need to show the employee ratings in the report. Employee rating is the attribute of 0employee. I have to create a report on the master data 0employee.
    As employee is the time dependent object for which we valid to and valid from dates. When I run the report, I am getting the record which belongs to current date. Ex I have three entires in the employee master for employee 1001.
    Employee---- valid to----
    valid from --profit center
    1001--31.12.2011-01.05.2011----P001
    1001--20.02.201201.01.2012-P002
    1001--01.06.201221.02.2012--P003
    1001--31.12.999902.06.2012--P004
    So now when i run the report today report will show the following record
    1001----01.06.2012-21.02.2012----P003 (Becuase today is 01.03.2012 and falls in this range)
    Now employee ratings for the previous year (2011) in the master data
    Employee- valid to -valid from -profit center-Rating LY2011
    1001--31.12.201101.05.2011P001--
    PP+
    1001--20.02.201201.01.2012P002--
    1001--01.06.201221.02.2012--
    P003
    1001--31.12.999902.06.2012--
    P004.
    When i run the report, i get following record but I need u201Crating LY2011u201D to be displayed in report. How is this possible?
    1001----01.06.2012-21.02.2012----P003 (AS IS)
    TO BE
    1001----01.06.2012-21.02.2012----P003....PP+
    PS: In simple words I need to dispaly performance rating of last yr in the report.
    Rating is characteristic field.
    Hope its clear
    Thanks
    Annie

    Hi Annie,
    The time dependent data displayed in the report depends on the key date used for reporting. For setting the key date you will have to go to Query Propeties option from Query designer.
    Now in this case you can either hardcode the key date or you can use ready to input variable or customer exit variable to calculate the key date.
    Based on the key date value the valid records from employee master will be selected.
    So if you key date falls between 01.05.2011 to 31.12.2011 first record will be shown otherwise second record will be shown.
    1001--31.12.201101.05.2011P001--
    PP+
    1001--20.02.201201.01.2012P002--
    Regards,
    Durgesh.

  • UI hints is not displaying display attributes

    Hello all,
    I am new in ADF but i need your assistance in creating a LIST OF VALUES on a particular attribute e.g jobID to show job_title instead of the job_id in employee object.
    my headache is thus: Display attributes is not show when configuring the UI Hints in create lists of values. thereby i will not be able to select the attribute i was to show on the jspx page.
    i am using jdeveloper 11gR2  and the DB is oracle xe on windows XP.
    what can the issue be, kindly assist.
    thanks
    AbdurRahman

    Hi
    which jdev version ur using ?
    Have you created the View Accessor on JobsView ??
    below link may be helpful for u
    Oracle ADF 11g and Java/J2EE Application Developer: Oracle ADF 11g Creating Dependent LOV's
    Thanks,
    Nitesh

  • Sales Order form error  "Not able to retrieve Display values for Service"

    Hi,
    Few of our orders flash the below error message when the order is queried
    "Not able to retrieve Display values for Service"
    Below are the points I observed
    1.The orders I am referring to are imported order via EDI interface.
    2.The service reference type code has value of ORDER, however no other service related fields (like service reference line id) have any values.
    3. The item is not a service item (service tab in Item setup is disabled)
    4. Same item when imported with value of "Customer Ordered" in "service reference type code" field, does not throw an error.
    5. If I update "service reference type code" with value null or change it to CUSTOMER_PRODUCT, the error disappears.
    Can someone explain the significance of this column value and what could have been causing this error message?
    May be there are some dependent fields/setups which must have a value when service reference type code =ORDER.
    Thanks in advance,
    JC
    Edited by: user10174990 on Oct 25, 2012 10:58 AM

    Hi,
    Maintain the dafault values using Tcode OISF with respective to Planning Plant you have to maintain the following values like Order Type, Main Work Center, Maint. Plant,Group,Group Counter,Business Area & Task List type.
    or
    Apply these OSS note 150732 / 195993.
    regards,
    Venkatesan Anandan

  • Entity Descriptions are not displayed correctly in Combo box dropdown list

    In Web Analysis, Entity Descriptions are not displayed correctly in Combo box dropdown list when entity descriptions from HFM contains a dot(.)
    Example:
    'Entity A. LTD' becomes 'LTD'
    'Entity B Inc.' becomes blank
    It seems that everything before the dot is not displayed when opening the combobox.
    It looks like it is acting like the option to show short description for entities in HR where the parent-child relation is not shown. This behaviour I don't expect for descriptions. And in my opinion is not an option in Web Analysis.
    Does anybody knows the sollution or have seen this issue before?

    Hi,
    This is a known issue with combo box list of values.
    Please follow this workaround:
    - Remove ComboboxLOV on Deptno
    - Create an updateable transient attribute(Say Dname) of type String
    - Define combobox lov with following values:
    List Data Source: DeptView1
    List Attribute: Dname
    List Return Values:
    Dname - Dname
    Deptno - Deptno
    UI Hints: Display Attribute - Dname
    - Edit Dname(transient attribute) and provide following groovy expression
    oracle.jbo.Key key = new oracle.jbo.Key(Deptno);
    return DeptView1.findByKey(key, 1)[0].getAttribute("Dname");- Now, you are done and observe that Dname combo box lov shows Description even on selection and change in this combo box sets the Deptno value
    Sireesha

  • Displaying more than one display attribute in a tree component problem

    Hi,
    I have a parent table and child table, I want to display a parent table's display attribute and below that i want to display child tables two display attributes (while defining the rule for a tree compoment).
    What i'm getting is :
    I can able to display more than one "display attributes" for my parent table, but when i'm trying to implement that for my child table under my parent table. I am only geting the blank folder structure without names.
    For example:
    Parent table: Deparetment(id, name)
    child table: Employee(id, firstName, lastName)
    What i want is:
    In a Tree:-
    (Department name): software below that i want display both (firstName and LastName) stephen Fleming
    for that employee.

    Hi,
    do you use ADF ? If yes, have a look at "master table with inline detail" option when dragging the master View
    Frank

  • Displaying images in ADF Table

    I have a column in table of type blob. I created entity and view against it. In view type of attribute is blobdomain (by default). Now when i drop that view on form to create table, it places control inputText for blob. I want to ask how i can display images in ADF table column?

    Check this post:
    Re: multi-row block with many image-java-beans
    How to display the content of a BLOB column in a ADF/BC pages ?
    and this might be helpful too:
    http://www.pascalalma.net/2008/04/22/oracle-adf-medior-rendering-images-based-on-blob-columns/
    Regards,
    ~Krithika

  • Show Display Attributes for LOV in af:query

    ADF 11g (11.1.1.3.0)
    Hi all,
    I'm using an af:query that uses an LOV for a PERSON_ID column, with an EMPLOYEE view as the View Accessor.
    Since the user experience may require the user to search for a particular employee, using either a "Combo Box with List of Values" or an "Input Text with List of Values" makes most sense, but those UI controls only display a the PERSON_ID when returning from the search pop-up. This is in contrast to using a Choice List, which would show, in addition to the original column (PERSON_ID), the selected Display Attributes (eg PersonID, FirstName, LastName).
    It is possible to show the additional Display Attributes when using the "Combo Box with List of Values" or "Input Text with List of Values" controls for an af:query, and if so, how?
    Thanks!

    Hi user,
    Take your base VO and create a transient attribute or an attribute derived from a reference entity as the display value (let's say "PerFirstName"). Then, create the list of values of employees on this attribute and set the return values "FirstName" > "PerFirstName" and "EmployeeId" > "PersonId". Define a view criteria to be used for your af:query component and add "PerFirstName" with '=' operator (this will render as a LOV).
    Let me know if it helps...
    Barbara

  • Why is there increased overhead(performance) in NAV than DISPLAY attribute?

    Hi,
    I understand that navigational attibutes lead to increased overhead because of the additional joins: The join between Fact table and dimension table ( I guess on DIM ID) and then the additional join between the Dimension and the Master Data tables (I guess on the SID).
    1.
    What happens in the case where the attribute is NOT a Nav but DISPLAY? Can you modify the above paragraph for me if it were a DISPLAY attribute? Isn't the display attribute also in the Master Data table and won't there also be an additional join?
    2.
    So when a query runs, which of the joins takes place first? I am trying to get the order whether it is from inside to the outside or outside to the inside? When you execute a query does the join between the master table and dimension table take place first then the join between the dimension and fact table next? Or the reverse?
    Explanation with examples will be very help.
    Thanks
    Edited by: Amanda Baah on May 10, 2011 10:42 AM

    hi,
    I understand that navigational attibutes lead to increased overhead because of the additional joins: The join between Fact table and dimension table ( I guess on DIM ID) and then the additional join between the Dimension and the Master Data tables (I guess on the SID).
    The above understanding is correct
    1.
    What happens in the case where the attribute is NOT a Nav but DISPLAY? Can you modify the above paragraph for me if it were a DISPLAY attribute? Isn't the display attribute also in the Master Data table and won't there also be an additional join?
    In both the cases the joins formed will be as per the above statement, however in case of navigational attribute the query fetching the data stores the data independent of master data such that you are able to do navigation/drill down independently on the values.
    2.
    So when a query runs, which of the joins takes place first? I am trying to get the order whether it is from inside to the outside or outside to the inside? When you execute a query does the join between the master table and dimension table take place first then the join between the dimension and fact table next? Or the reverse?
    the schema structure is fact table at center then the dimension tables and then the SID tables. when query is executed it first fetches data from Fact table then retrieves entries corresponding to those in DIM tables and after that SID tables.
    regards,
    Arvind.

  • Populating dependent dropdown without using AJAX

    In my struts application, I have jsp where I have two dropdowns (<html:select>) - Course and Subject.
    The values are being retrieved from database.
    Now depending on the selection of my Course, I have to get corresponding Subjects from database.
    If I call same Action class from jsp, when jsp loads again, it refreshes my dropdowns and the value selected previously for Course reset.
    I dont want to use AJAX.
    Please give some idea, how can I acheive it.
    Thanks in advance.

    Gagz wrote:
    but when jsp loads, it clears the value of first dropdown.Ah, that's your whole problem! Populating the 2nd dropdown has completely nothing to do with it. You would still get the same problem if you didn't populate any 2nd dropdown. Try to elaborate problems the smart way the next time.
    Not sure how to do it in Struts (you're here at a JSP forum, not at a Struts forum), but basically you should set the selected value based on the submitted value/property. something like <html:select value="${beanname.propertyname}"> or <html:select property="propertyname">. In plain JSP/HTML terms you just need to set the <option> to "selected" based on the submitted value as request parameter.

  • Display attributes from "global" and other entities in a single screen

    As far as I know, in OPM attributes of only one type of entity can be added to any given screen.
    As per of functional requirements of my current project Ihave to display attributes from more than one type of entity in some of the screens.
    I found a workaround for entities which has only one instance (singleton entity in version 10.1), but couldn’t figure out how to display attributes of entities which has multiple instances.
    For example:
    We have an entity called <b>“the child”</b> which has many attributes. There can be more than one child instances defined in a given assessment session.
    This particular screen should have attributes which belong to the <b>"global"</b> and <b>"the child"</b> instances.
    (The names of all the children should be displayed on the screen as <b>check boxes</b> so the user can select the children who are affected by the global attributes displayed on the screen.)
    Is this achievble in OPM 10.1?
    SP1D3R MAN

    Displaying Global attributes and nested entity level attributes on the same question screen cannot be done in OPM 10.1 with out-of-the-box functionality. It would have to be a custom screen. (FYI, I'm not a programmer so I can't advise on how to build such a custom screen.)
    Before building customisations, you should also consider whether you really need to use an old version of the product. OPA 10.1 was released early last year; the current version is 10.3.

  • How to implement two dependent dropdown lists in an input  table row?

    Hi all,
    I am new in Jdev 11g. I try to develop an input table with two dependent dropdown list. I can create independent dropdown list in such table. When I try to implement dependent one following some examples do it in a form using bind variable in the view object I get an empty listbox. How can I do this? Is it possible. I cannot find any documents about this.
    Thanks in advance

    Hi,
    it hasn't changed between 10.1.3 and 11. The basic outline of how you do it is
    - use a managed bean to query the data
    - populate the list with f:selectItems that point to the managed bean ArrayList<SelectItem> for the master and the detail
    - obtain the master ID in the managed bean by parsing the #{row} variable when the table renders
    - then bulild the detail list
    - have the detail list referencing the ArrayList<SelectItem> you expose for the details
    Note that without proper caching, the action is quite expensive
    Frank

  • Error while changing the Display Attribute into Navigational Attribute

    Hi all.. Gud Mrng.
    I was changed the attribute (product) from display attribute into navigational attribute and while save and activating the info object it is not getting activated and it is throwing the below error message.
    Error Message: u201CThe Info object is being used in several data targetsu201D
    My Questions:
    i)     Do I need to delete the data from all the data targets (where this info object is using)??
    ii)     Do I need to delete data only from the main info object (Zmaterial)? Is this single action enough?
    Please suggest me which action I need to follow & What are the precautions need to take while changing the Display Attribute (product) into Navigational attribute of info object (Zmaterial).
    Thanks in advance.
    Thanks & Regards,
    B Venugopal

    Hi Garima
    Only in case of key figures we cannot change it from display to navigational.
    If the info object is a characteristics then in the General tab of the info object if you select 'attribute only' then the iobj would be a display attribute only. If you leave it unmarked then you can use the iobj as a navigational atribute.
    I am sure you know that these settings only mean if a IOBJ can be used as display or navigational.  To  use it as a navigational within another object you will have to change the settings from 'DIS' to 'NAV' for the said info object in the 'Attributes' tab of its parent info object.
    Further if you use the parent info object in any data target / infio provider you will have to further mark the info object as 'navigational' while defining the attrbute of the said data target / info provider. The info object gets displayed in the data target / info provider attribute properties as 'parent IOBJ_info object'
    Cheers
    Umesh

Maybe you are looking for

  • Link iPad to audio

    I have a decent traditional hi fi system (Denon separates with Bose Speakers) Can anyone advise if there is a way/ the best way to hook up my iPad or iphone to the amp through a dock, wire or wirelessly The system will have traditionalcable inputs an

  • Problem To Start NetMgr In Oracle 10g

    hi all Few days ago I have Get Same Type of Problem That I can't Start runInstaller file to Setup Oracle Database. This Time Same Problem come but can't Solve privious way. I can't Start My netmgr. To better Understand Error Message is Given Bellow..

  • Languange is not allowed error in service notification

    Just want to ask help regarding the error I encountered in change service notification iw52, when I wanted to put historical description using the Task Long Text, error prompt was LANGUANGE IS NOT ALLOWED. then when I view the diagnosis here's what t

  • Load balancing between application server and database

    Hi, is there any load balancing between the application server and the database? Consider we have a single instance of an application server that sends database queries from different clients to the database. Are the requests queued in some way at th

  • Problems installing OSX on a new hard drive

    My hard drive was dead/dying a few months ago and I hadn't touched it for awhile. I recently decided to take it to the apple store and see what I could do. The genius bar associate suggested I either take it to a third party repair company or replace