Package choice List

I have created a package choice list as given in the timecard documentation.
Added a new field called payroll code.
In my Layout i can see the label payroll code and also the field,but no data which i returned by the function is not visible...
Thanks

BEGIN HXC_LAYOUT_COMPONENTS "Custom Field - Payroll Code"
          OWNER = "ORACLE"
          SEQUENCE = "105"
          COMPONENT_DEFINITION = "PACKAGE_CHOICE_LIST"
          RENDER_TYPE = "WEB"
          PARENT_COMPONENT =
          "Projects Timecard Layout - Header Field Table Layout Component"
          LAST_UPDATE_DATE = "2004/05/23"
          BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Custom Field - Payroll Code"
          OWNER = "ORACLE"
          QUALIFIER_ATTRIBUTE_CATEGORY = "PACKAGE_CHOICE_LIST"
          QUALIFIER_ATTRIBUTE1 = "XX_OTL_TEST_PKG.test"
          QUALIFIER ATTRIBUTE2 = "@RESOURCE_IDENTIFIER_ID"
          QUALIFIER_ATTRIBUTE6 = "Y"
          QUALIFIER_ATTRIBUTE20 = "N"
          QUALIFIER_ATTRIBUTE21 = "Y"
          QUALIFIER_ATTRIBUTE22 = "L"
          QUALIFIER_ATTRIBUTE30 = "Y"
          LAST_UPDATE_DATE = "2004/05/23"
          END HXC_LAYOUT_COMP_QUALIFIERS

Similar Messages

  • ADF Dependent select one choice list

    hi all
    i have two lists in my page, and the second one takes value from the first, but it is not working, the second list is empty always whatever i select in the first one.
    i have searched many threads and it is not working. i also did the steps in the page http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html#t2
    this what i have did in details:
    first list : LevelComboVO
    select distinct group_level from mrcps_group_link
    second list: GroupComboVO
    select large_group_seq, group_level, symbol
    from mrcps_group_link
    where group_level = :selectedLevel
    then i made a bind variable for the second list GroupComboVO named selectedLevel
    for the first list LevelComboVO i made the following:
    press plus on the ListOfValues:GroupLevel and for the list data source i have made new one for GroupComboVO and choosen the list attribute groupLevel and for ui hent i chosed groupLevel
    then i have tested the AM but no data returned for GroupComboVO
    please help

    first i have done the 2 view objects and the corresponding two select one choice list
    for the first list i have made a managed bean for valueChangedListener -- > #{GrouplLevelBean.passLevel}
    and i have put code as you told me :
    package mrcps.view;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.jbo.ViewObject;
    public class GrouplLevelBean {
    public GrouplLevelBean() {
    public void passLevel(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    DCIteratorBinding testListIter1 = getItrtBindings("GroupComboVOObj1Iterator");
    ViewObject vo1 = testListIter1.getViewObject();
    vo1.setNamedWhereClauseParam("selectedLevel", valueChangeEvent);
    vo1.executeQuery();
    getItrtBindings( is giving me a red underline indication that method not found
    Edited by: user604057 on Apr 3, 2009 3:27 PM

  • How to get selected values from Select Many Choice List

    Hello All -
    I am using Select Many Choice List and wish to get the selected values in the bean. I have created method binding for valueChangeListener for the choice list, but not sure how to get the selected values.
    I am facing problem in getting values from valueChangeEvent.getNewValue(). For Select One Choice List this returns int, but some list type object for Select Many Choice List.
    When I try to print the value it comes something like:
    ArrayList newVal = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue()));
    System.out.println(newVal);
    [Ljava.lang.Integer;@870ad8
    Could anyone please suggest how to type cast and use the return of valueChangeEvent.getNewValue() to get the selected values.
    Regards -
    Rohit

    Hi Timo -
    Thanks for the suggestion. I could get the values as below:
    public void multiOpUnitValChange(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding opUnitIter = (DCIteratorBinding)bindings.get("OperatingUnit2VOIterator");
    Integer[] values = (Integer[])valueChangeEvent.getNewValue();
    for (int i=0; i<values.length; i++){
    Row row = opUnitIter.getRowAtRangeIndex(i);
    System.out.println(row.getAttribute("OpUnitId"));
    Thanks -
    Rohit

  • Can't get a blank entry in Choice List of Values (LOV)

    Using Jdev 11.1.1.3 but will be upgrading to 11.1.1.5 in few weeks.
    Need to display a Choice List that is bound a view object with static data. The List should show a blank item since users don’t need to select any.
    I am able to display the LOV in the page but can’t seem to get a blank item as a first item.
    Here is what I did:
    1.     Created the VO with static data. Initially didn’t include it in the Application Module based on the developer guide sec 5.3 but later added to get it in the data control list.
    (Note the application doesn’t need to use any database and simply is using Web Service but for test I am using a DB)
    2.     To configured the VO, tried to add a View Accessor to the VO, but couldn’t select a data source until I added the VO to the App Module !
    3.     In attributes tab added an LOV and specified the data source. In UI Hints ensure the “Include “No Selection” Item” was selected.
    (Initially didn’t shuttle the attribute to the right in the UI hints.)
    4.     In the List UI hints ensured that “Include “No Selection” Item” was selected.
    5.     Dragged the VO Data control to the page and selected ADF Select One Choice.
    6.     On running the List DID NOT include a blank item !? How to get one?
    In pageDef got:
    <list IterBinding="GenderListVO1Iterator" ListOperMode="navigation"
    ListIter="GenderListVO1Iterator" id="GenderListVO1"
    DTSupportsMRU="true">
    <AttrNames>
    <Item Value="Gender"/>
    </AttrNames>
    </list>
    I even added the tag NullValueFlag="start" to the PageDef but no blank entry.
    In Page got:
    <af:selectOneChoice value="#{bindings.GenderListVO1.inputValue}"
    label="#{bindings.GenderListVO1.label}"
    required="#{bindings.GenderListVO1.hints.mandatory}"
    shortDesc="#{bindings.GenderListVO1.hints.tooltip}"
    id="soc3">
    <f:selectItems value="#{bindings.GenderListVO1.items}" id="si7"/>
    </af:selectOneChoice>
    If I don't use the VO and code all items in the JSPX page with a blank item that get a blank entry (didn't test with the Web Service yet since not ready).
    What is the issue with VO?
    ( I am also considering a number of SelectManyChecks on the same page but might be difficult)
    Thanks for the reply.
    Edited by: user8769031 on Jun 10, 2011 11:12 AM

    Thanks for the hint, but in my case the attribute is not required. I never see a blank entry. The only way I was able to get a blank is to add a blank item to the static list in the VO. The VO XML file has:
    <LOVUIHints
    ListType="105"
    MRUCount="0"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="LOVUIHints_NullValueId">
    The Include "No selection" item is not working as expected.

  • Is there a way to import a choice list in multiple (or single) selection fields?

    Is there a way to import a previously created choice list in multiple (or single) selection fields in forms central? 

    Hello Dr. Ryan,
    Unfortunately there is no way to move this data into FormsCentral.
    As far as your question about using PDFs with FormsCentral, 'soon' is actually 'now'! You have two options:
    1) Author a new form with FormsCentral. From the distribute tab, save a submission-enabled PDF form. You can send this form out to your recipients and their responses will be collected on FormsCentral.
    2) Import an exsiting PDF form into FormsCentral from the dashboard, and then submission-enable it. Distribute the submission-enabled version and responses will be collected on FormsCentral.
    Thanks!
    Shannon

  • R12 Time Card - Is it possible to add criteria for Choice list?

    Hi,
    Is it possible to add criteria for choice list created using HXC_CUI_CUSTOMn_V?
    If it is possible could you share which attribute to use and if could share sample code that will be great.
    Thanks
    Prasad

    You actually have a choice of both Norsk Nynorsk and Norsk Bokmål.
    First select your text then:
    +Inspector > Text (T tab) > More > Language > Norsk Nynorsk / Norsk Bokmål+
    The method is to label the language you want to spell check with its native dictionary. So having done the above, when you spell check it will now use the Norwegian dictionaries.
    see p 115 +Working with Spelling Suggestions+ in the Pages09_UserGuide.pdf downloadable from under the Help menu.
    If you don't see the Norwegian options it is because you haven't added them in the International preferences in your System preferences:
    +Menu > Finder > System Preferences… > International > Language > Edit List… > Norsk Nynorsk and Norsk Bokmål > OK+
    If you drag them to the top of your language list they become the System language. If you leave them lower down they are available in other menus such as Pages Inspector palette.
    Peter

  • ADF BC Attribute with VC of CONTAINS Ignores Choice List on the LOV

    JDev 11g PS 1.
    Objects:
    - A view criteria with attribute defined as CONTAINS (literal)
    - An LOV on that attribute with a default list type UI hint of Choice List
    - ADF Faces query-table based in the VC
    Problem: query-table ignores the Choice List and renders an Input Text.
    Clue: Changing the operator to EQUALS causes the expected Choice List to be rendered in ADF BC.
    If this is documented in the online help or in this forum, it is escaping me.
    Anyone know the best workaround? Set the VC using EQUALS and switch it to CONTAINS in buildWhereClause() maybe?
    Thanks,
    Peter

    Frank,
    Thanks for the fast reply and for the bug entry. Unfortunately stopping work is not an option. We've come up with a solution using a query listener that replaces EQUALS with CONTAINS before the query and resets it to EQUALS after the query (otherwise the component draws the text item after the query).
    Maybe you can think of another solution to our requirement: display a single master record in the results table for a master-detail database view. For example, in an altered Oracle HR world, each DEPARTMENTS record is associated with multiple LOCATIONS records (through a DEPT_LOC table). A database view, DEPT_LOC_VW, based on that table also contains the location description and department description.
    Users want to select and then edit (on another page) a department by querying by location. If we represent DEPT_LOC_VW in the query-table component, we see multiple result rows for a single department and that is unnecessary confusion for the purpose of editing a single department.
    So we have created an alternative database view, DEPT_VW, based on DEPARTMENTS only, with an additional column -- LOC_LIST -- based on a function that returns a delimited list of all location codes for that department. This way, the user sees only one department record in the results table (although we lose the location description in the results -- not an issue) and is still able to query based on location.
    A LOCATIONS_VW view contains the location code surrounded with the delimiiter. The DeptVw view attribute LocList contains an LOV based on that database view.
    We want the view criteria to create a query condition:
    WHERE loc_list LIKE '%'||<selected location code>||'%'We thought about some kind of clever use of a subquery using a bind variable:
    SELECT...
    FROM  departments -- not DEPT_VW or DEPT_LOC_VW
    WHERE department_id IN (
       SELECT department_id
       FROM   dept_loc
       WHERE  location_id = NVL(:userSelectedLocationId, location_id);But that bind variable does not show in the view criteria selection list so it will not appear in the query component.
    Thanks again,
    Peter

  • Refresh Choice List in an af:query

    Hi,
    I have several tabs in my application and on one of them i can update a list of value that is used in other tabs to query on view criterias. The VO that is used for the LOV is in a Shared Application Module so i created a button to call a function in the shared AM to update the VO.
    When i click on the button the VO is updated and if i have a list on the VO and not in an af:query they update too, but for the list that is in an af:query nothing happen and the old value of the VO is kept.
    How can i make the choice list inside af:query to update ?
    I tried with a poll to put on partial trigger of the af:query but it doesn't change anything.
    Do you have some idea ?
    Thanks,
    Nico

    Hi,
    if the VO is read-only, how is this +"so i created a button to call a function in the shared AM to update the VO."+ supposed to work ? Is the function updating the database directly ?
    Frank
    Edited by: Frank Nimphius on Aug 21, 2012 7:45 AM

  • Choice list in af:query turns into inputText when AM pooling is disabled

    Hi all,
    I have a choice list field in an af:query search area. This field is based on attribute FlagYN VARCHAR2(1) and is bound to a list of values.
    When AM pooling is disabled, executing the search makes that field loose its Display property and search operator original value: it turns into an inputText, the operator, originally set as "equal to" is now "less than" and the expected value is now the index in the choice list.
    What can be happening?
    Thanks
    JDeveloper 11.1.1.3.0
    Anyone has the same problem?
    Edited by: Marge on 02-sep-2010 3:02

    Hi,
    there are two bugs associated with bind variables in successors that I am aware of. One of them is supposed to be fixed in the next patch set, another one is still open. However, both problems were found with AM pooling enabled as well, so I don't know this is the same problem (though it sounds like). If you can, I suggest to create a reproducible testcase on one of the Oracle database schema, like HR or OE, and file a bug. If you don't have a time for or access to support, send the test case in a zip file (rename ".zip" to ".unzip") to the mail Id you find in my OTN profile. However, be aware that when I file the bug then it wont be visible for you, nor can it be escalated on your behalf. Anyway, at least it would get filed
    Frank

  • Can we default a value in choice list in OTL

    Hi,
    Can we default a value in the choice list? To explain in detail the issue is
    When the user enters the time entries he also choses a Yes/No in the choice list directly under the Day for each day. Now there can be an entry for a week where he does not enter hours for a day and hence the choice list value should be No. When the user does not select any value there review and confirmation page does not show them prooperly.
    ex: User enters
    _______________ Day1 Day2 Day3 Day4 Day5 Day6 Day7
    Overtime_________ 1_____________1______1
    Comp Acc________Yes____________No_____No
    The review should also be like the above but it appears as
    _______________Day1 Day2 Day3 Day4 Day5 Day6 Day7
    Overtime_________1_____________1_____1
    Comp Acc_______Yes_____No_____No
    The 2nd No appears incorrectly for the 2nd row. If I can provide a default value such as space when the user does not select anything then that might solve the issue. Can we do this.
    Thanks

    Hi
    Can someone help on this one please. The version is 11.5.9.
    Thanks

  • Buyer Work Center - Group by Choice List Needed to Requistion

    Hi Guru's,
    In R12.1.3 Application - Purchasing Super User
    I am looking for personalization of self service page in PO Buyer work center for Requisition update.
    I wanted choice list/LOV Group by in Request header of Requisition self service page to be defaulted to "Requisition" instead "Default".
    I didn't find option in self service personalization of this page. Can some body help me in this how to default it to requisition.
    Thanks in advance...
    Edited by: user8822881 on Sep 24, 2012 6:22 AM

    Hi,
    You need to do it by profile option setup.
    Setup the profile option "PO: Default Requisition Grouping" to "Requisition" at the site level.
    You have two options - "Default" and "Requisition".
    Thanks,
    PS.

  • Creating Choice list

    Dear All,
                I have a choice list control on Search tile. I need to display all customer names when I click it. For this I have taken
    1. Find-choice tileset and added one list tile to it.
    2. Created Business Query and Business object for the Find-choice tileset.
    3. I did not perform any mapping on this tileset
    4. After that, I have linked this tileset (Find-choice) to Choice list control and set the target attribute, business anchor and BO Attribute.
    5. But the thing is, the tileset is getting populated on clicking choice list but the selected name is not coming onto the choice list control.
    Is this a mapping issue?
    Please help me out.
    Thanks
    Mateen

    Mohammed,
    Please, look at the preoperties for your chioce control. There should be a "Bound Column" and a "List Column" properties. They should be filled.
    Regards,
    Vadim.

  • Can we have a choice list (lookup) while editing a report.

    I have created a report and it has one editable field. BAM shows an input field which user can update but to avoid typing mistakes we want to make it choice list.
    Can I do it? Source data for choice list is fixed for time being but I would like to know if its possible to query data for choice list from other data objects.
    Thanks
    Sanjeev

    That is not going to happen.

  • Dynamic choice list dependent on current record in edit form (10.1.3.4)

    Using JDeveloper 10.1.3.4.0. BC4J+ADF Faces
    I have a page with an edit form that shows one record at a time for a view object ("VO one") and also has buttons to navigate to other records in the view object (first, prev, next, last).
    I use a selectOneChoice component to edit one of the attributes on the edit form. The choices for the selectOneChoice are driven by another view object ("VO two").
    The query for "VO two" so that it has a bind variable which is populated with one of the attributes of the current record of "VO one". Therefore, as the user navigates through records the choice list on the page shows different choices.
    What is the best way set up the selectOneChoice and to update the bind variable for "VO two" and re-execute its query when the form is navigated to different records in 10.1.3.4.0?
    (Yeah, I know its easy in 11g but I can't update the project yet...)
    Thank you for reading my question.

    Hello -
    I found a solution and am documenting it here in case someone else finds this while trying to solve a similar problem.
    1. I added the bind variable to my list choices view object and added a method in the app module that would set the bind variable and execute the query of the view object. The method was then added to the app module's public interface.
    2. In the page definition for the edit form page, I created a method binding for the method in the app module and set as parameter values data from attribute bindings already in the page definition.
    3. I created a backing bean to act as a page phase listener as detailed here:
    http://download.oracle.com/docs/html/B25947_01/bcdcpal005.htm#sm0271
    4. In the "onPagePreRender" method I get a hold of the method binding and execute it.

  • ADF web select one choice list return value

    hi
    how can i make a choice list that displays a value but return another value
    and then use it as a parameter in a method for a button
    my problem is how to return another value to the button
    thanks

    Hi,
    After creating the selectOneChoice based on the steps you followed, you will need to follow up with the steps below.
    1) Open up your Page Definition file. In the Structure panel, right click on bindings --> Insert inside bindings --> Generic bindings --> attributeValues.
    2) Under Data Source, select your iterator value used to bind the selectOneChoice component. The attribute should be your value ID (example: productId) that you want to be returned by selecting the selectOneChoice component.
    In the backing bean, you get the actual value of the selected item in the list in step #2 by resolving the expression (example) #{bindings.productId.inputValue}.
    Regards,
    Chan Kelwin

Maybe you are looking for