Default or initial value to the choice of the Message drop-down list

Hello

How to set the initial value to choose list (Message choice drop-down) based on the State of certain? in R12.1.3.

setValue do not work, please help.


IF cust_function = "NH" then set message of choice initial value items has another b (on A, b, c, d...) in extended CO.

Thank you

Hello

for the dropdown list use this

class oracle.apps.fnd.framework.webui.beans.OAWebBeanPickList

Get your list of choices

Use these functions to set initial values based on the State.

setDefaultValue (String defaultValue)
setSelectionValue (pageContext OAPageContext, String selectionValue)
Set selection - internal value of the element of choice that will be shown as selected.

Kind regards
Pradeep

Tags: Oracle Applications

Similar Questions

  • reset the number of subform based on the value of the selected drop-down list

    Hello

    I have a questions.  I have a form called request.  Inside of the application form, there is a subform called MultiForm, which is repeatable.  Application form has a drop down DropdownList1.  MultiForm has buttons 'Add profile' and 'delete profile '.

    The form is the first launch, query appears with DropDownList1, MultiForm button "Add Profile".

    That the user clicks on "Add Profile", a second MultiForm is insert.  On this second MultiForm, there is the 'Add Profile' button and 'delete profile '.

    When the user change the value of the DropDownList1, I want the number of MultiForm reset so that it has only this MultiForm.  The 2nd, 3rd, etc., MultiForm is deleted.

    Also, I want the "Add Profile" button to show only on the first MultiForm, not the subsequent MultiForm.

    I came with the scripts below:

    Remove MultiForm (added under the change event for DropDownList1.

    function resetMyForm (myForm) {}

    var vCount = myForm.count;

    If (vCount > 1) {}

    If (vCount == 3) {}

    myForm.removeInstance (2);

    myForm.removeInstance (1);

    } ElseIf (vCount == 2) {}

    myForm.removeInstance (1);

    } else {}

    do nothing

    }

    } else {}

    do nothing

    }

    }

    -The reason this function works for me because I'm only accommodate max 3 MultiForms to insert and there is always a MultiForm on the page.  I'm looking for a more "dynamic" script instead of the 'static' script above.  Any suggestions would be greatly appreciated.

    Also, I have another question: I want the "Add Profile" to be present on the first MultiForm only.  As new MultiForm added, I don't want the "Add Profile" button to display on the subsequent MultiForm (with the exception of the first form)

    Is there an example of a function that I can use?  Where should I insert this function?

    Thank you very much for your help.

    Hello

    A quick fix would be the setInstances() method.

    I'm surprised you found removeInstance() to work without calling instanceManager or trait shorthand (_) underscore.

    _myForm.setInstances(0); // remove all instances
    _myForm.setInstances(1); // create a new blank instance
    

    Hope that helps,

    Niall

  • Moving Listbox values in the other drop-down lists

    Hi - I am an advisor to undergraduate students. I am trying to create a planner of degree two page. Page 1 of the Planner keeps track of the required courses. See this link for my inspiration. Page two helps students during the sequence. Here is an example of page two of something I did in Livecycle.

    My vision is for students to complete what they have completed on page 1, the poster form the unfinished journey in a main list at the top of page two and students can delegate classes to any sentence they want. I have attached a work in progress at this post for your comment.

    Here's my problem; I'm new to javascript. If you looked at the example, you can see that I figured out how to create a dynamic drop down and fill the list box on page 2. I need help, find ways to move values between the areas of list on page 2. Is it still possible?

    Thanks in advance.

    -Brian

    Form1. Page2.Term1Button::click - (JavaScript, client)

    Form1. Page2.Term1.AddItem (form1. Page2.ListBox1.RawValue);

  • If Google is my default search, can I go and change it if I want to do a search for GMaps; only the default is in the search drop-down list.

    If Google is my default search, can I go and change it if I want to do a search for GMaps; only the default is in the search drop-down list.
    So I have to change the default to Google Maps then back to Google to search for one.

    I have it! It's the topic: config "hiddenoneoffs" where the 3 elements of google, maps and mcafee have been included. There was no space between Google and maps. I put one in from Google Maps. She appeared in the first box-ff, but not sure about the search in the second time zone. I went back to the subject: one-offs. Safe search was shown with a space after Secure. I took out the space. Safe search arose in the 2nd single search box!
    Weird! This is contrary to how they show in the search parameters.
    Can I have messed that when Firefox has been reset all the search engines on an update, but I do not.
    Either incidentally, I tried to re-installation characteristic but the file comes down as a .dmg that I'm not familiar with and don't apparently is 8.0 to win because he couldn't open it. Thank you once again.

  • How to create the link between the two drop-down lists

    Hi all

    I've created a form in which there are two drop-down lists.

    Let's say a drop-down list contains three elements A, B, C

    and another drop-down list contains three elements, Apple, banana and cherry.

    So, my request is how to create a relationship between these two drop-down lists, so that if I choose 'A' in the 1st drop-down list, Apple will be selected automatically in the 2nd drop-down list.

    Thank you

    Stéphane

    Hi Scott,.

    Niall is great. You can also use a hidden field to update the second drop-down list value.

    The first drop-down list change event script.

    Select var = xfa.event.change;
    var Items = List1.resolveNode("#items[0]").nodes;
    for (var i = 0; i)
    {
    if(Select == items.) Item (i) .value)
    {
    break;
    }
    }

    If (List1.Length > 1)

    {

    var Items_List2 = SecondDropdownlist.resolveNode("#items[0]").nodes;
    HiddenTextField.rawValue = Items_List2.item (i) .value;
    SecondDropdownlist.rawValue = HiddenTextField.rawValue;

    }

    Thank you

    Sidonie.

  • The firefox drop-down list in the upper left corner is missing

    I do not have the firefox drop-down list box in the upper left corner.

    View > toolbars = uncheck the Menu bar

  • How to remove the old google browser displays the start menu in the internet drop-down list box?

    Original title: Start menu

    When I go to the taskbar and start menu properties I go in Start menu, and then click Customize. then at the bottom where it says see the start menu in the box, it shows an old browser I don't have how to remove it is the browser drop-down list internet google ch

    Hi OliveBrook,

    You can try to uninstall entries of Google chrome under programs and features and check if it appears in the start option of Internet link menu.

    See the link below to uninstall a program.

    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

    Hope this information is useful.

  • Task due date established by default depends on the Type drop-down list

    Hi all, I would like to implement the task of today + 2 days due date IF the drop-down list type is a known value AND if the deadline is today.

    I have thin, this is the real configuration: IIf (IIf ([< Type >] = "To Do", 1, 0) = 1 AND [< DueDate >] = today(), [< DueDate >] + 2 [< DueDate >])
    But it does not work, why? :(

    The default value 'post' is taken in, no syntax errors.

    Published by: bandikaa on 2011.06.14. 01:32

    Hello

    I don't think that default post won't work here. You can use the workflow to update expiration date field if the type is known.
    Create a workflow wiith the following criteria
    Registration type: activity
    Active: Y
    Triggering event: when the new record
    Workflow rule condition: [] = "To Do" AND [] = today()

    Workflow actions
    Action1
    Wait
    Active: Y
    Reassess the rule Conditions after waiting: Y
    Duration: 0 minutes
    Action2
    Update field after the Action of waiting
    Active: Y
    Field name: Due Date
    Value: Today () + 2
    Replace the existing values: Y

    It may be useful

    Thank you & best regards
    Sablok

  • Text of default list - see the HTML drop-down list as an indicator, no show in the list

    I would like to have the text of the 'selected option', 'COLOR' to be visible as a hint, but did not appear as a choice in the drop-down list.

    Existing code as follows:

    < select name = "color" id = "color" >

    < option selected = "selected" > COLOR < / option >

    < Option > BLACK < / option >

    < Option > COAL < / option >

    < / select >

    Thank you...

    Something like that...

  • How to make the menu drop-down list with a scroll bar

    Hello

    I have a drop-down list that is filled with different table sizes.

    I have a size of 30-element array.  Some of the last items just go off the screen at the bottom of the Simulator PB.

    Is it possible for me to add a drop-down scroll bar?

    DP = new DropDown();
    dp.rowHeight = 24;
    DP.prompt = "stuff";
    DP. Height = 34;
    DP.width = 230;
    DP.x = TitleTB.x + 170;
    DP.y = Title.y-3;
    addChild (dp);

    Some of the tables look like this-

    case 'List 1':
    dp.rowCount = 2;
    for (var i: int = 0; i<2;>
    {
    if(i==0)
    {
    DPP.splice (0);
    DPP.unshift({label:"blahblah"});)
    }
    else if (i == 1) {}
    DPP.unshift({label:"foofoo"});)
    }
    }
    dp.dataProvider = new DataProvider (dpp);
    addChild (dp);
    break;

    case "List2":
    dp.rowCount = 30;
    for (var n: int = 0; n<30;>
    {
    if(n==0)
    {
    DPP.splice (0);
    DPP.unshift({label:"lalalala"});)
    }
    Else if (n == 1) {}

    **********

    Delete the existing table using splice (0);

    then I add the new array of labels.

    Before, when I didn't have the splice (0), I only had the .unshift () and sometimes got bays combined together and a scroll bar appears automatically in the Simulator.  But then the berries were mixed.

    Thanks for the help!

    Hey mlin13,

    from the looks of it, your property rowCount is set too high. the rowCount property represents the number of lines displayed on the screen when the drop down menu is open. so if the number of rows is less than the amount of items on the list, it will create a scroll bar with a drop-down list for you. try to set the number of lines to a default value of 10 and and keep it manipulate your list from there. and see if you get the desired results. Good luck!

  • How to remove the filter of the table drop-down list

    Hello

    Jdev: 12.1.3

    I have a table of readonly in my page. On the one hand of the column, I've defined LOV (VO attribute is ID and name will appear in the LOV) in the VO. So in the filter of the Table, he comes as a drop-down list. How can I change this drop-down list for the field of plain text.

    When the user types text in the search field and press ENTER, it must filter the table with the name you entered.

    1.JPG

    See you soon

    AJ

    Johny

    I made a few changes in your application, added a transitional and populated with lov accessor and applied the filter on departmentid of this transitional

    Check it out, in the same way, that you can do for other attributes

    In fact I think that it is the default when you apply lov on certain attribute and then filter works in this way, or you enter the string full or just the value of the id

    Ashish

  • Data from the field drop-down list does not clear when the reset button is activated

    Acrobat Pro XI

    All field boxes are checked in the tab properties of the button actions... but when I click on the reset button of the form I created only the data in clear text fields, not any of the data that has been selected in a drop-down list.  What I am doing wrong?

    The 'rest shape' command returns the fields to their default values. If this

    value is not empty, that's what he'll be back.

  • Import the cascading drop-down list

    Hello Experts,

    We are able to import drop-down cascading when the pickist 'parent' has a value but 'list of related choices' is empty.

    We cannot do the import in this case, seems that parents and related lookup must have a value before you can import the data,

    We just want to check if this is the limitation of the system.

    Thank you, SAB.

    Hi Sab!

    I did the test on my environment with a simple import of SR (I have the dropdown cascading on that object). In my file were two lines:

    NUM; Object; Subobject; Status
    4; SWITCH the Bill recipient. O open
    3; SWITCH the Bill recipient. Names; Open

    Num is the external Id of SR, object is the Type field, which is the parent, subobject selection list, which means "Subtype" is a related drop-down list and status is the status field, which is needed for the creation of a SR.
    I have not had any problems during the import of these two lines... And in the first, the related selection list has no value...

    Can you give me an example of the file you are trying to import?

    Thank you

    Max

  • How to: Disable the new 'Visit what you type' in the url drop-down list. FF 43

    So with the update of FF 43 Mozilla is still destroying my workflow. While browsing I have I'll especially out of muscle memory. And the new updated through upward in the top position most of the url drop-down the search with the option. I disabled that within 5 minutes but now instead of it's me give "visit"url what ever I can partially be hit". I wish that this new item disabled and can't seem to find an option for her.

    I never understood why the url bar allowed for searching the Web when there is already a dedicated search bar.

    You can set this pref to false on the topic: config page.

    • Browser.urlbar.unifiedcomplete = false

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

    Location drop-down menu bar may show items from the history, as well as pages of a bookmark and sites currently open in tabs.
    You can define what suggestions to show when you enter a URL in the address bar in "Options/Preferences > privacy".

    • Tools > Options > privacy > address bar: when you use the location bar, suggest:
      History
      Bookmarks
      Open tabs
    • choice of browser.urlbar.suggest.history.onlyTyped must be modified directly through the pref
    • choice of browser.urlbar.Suggest.Searches is present in Firefox 43 + as 'See the search in the location bar results suggestions' in "Options/Preferences > Search" in the search parameters
  • expand the category drop-down list table in the model of checkbook

    Using version 2.3 of numbers 09.  Try to understand the model section for checkbook and to expand the available categories in the menu drop-down allows to assign a category to an entry in the checkbook.  Where would we go to learn this procedure.

    Hi Robert,.

    This is as good one place as any.

    If you have started using the model and have defined categories for all operations, make changes to the cells in these rows. Fill the pop-up menu edited cells wil also reset the value of each cell filled to the currently selected value in the source cell to this filling.

    Add new categories to a cell in the context menu

    In the Transactions table, click any cell to the row and column reference tabs appear.

    Line control grip (red arrow in the image below) and drag to the bottom to add a new line. The new line will contain a new copy of the cell from the popup menu in the category column. Click this cell to select it.

    In the bar of buttons above the workspace, click the Inspector button to open the Inspector, and then click the format cell [42] button to go to the cell format Inspector.

    You will see the list of the menu items for the selected cell. The list below are a pair of buttons marked + and - (blue arrow). To add a new item to the menu, click on the button +.

    The new item appears at the bottom it has the list, with its highlighted text as shown. Type the new category name.

    Repeat for as many new features that you need.

    You can also edit the items already in the list.

    Double-click an existing item to select the text. Type the new name for the item.

    When you are finished, close the Inspector.

    The menu changes are applied immediately and affect only the menu in the modified cell, and cells, this version of the menu is filled in. If you add a new line to the bottom of the table, for example, the edition menu of line 15 will be filled in the new line.

    Add a new category to the account categories table

    The new category is not automatically added to the category table account. When you add it, ensure that there is an exact match between the label of the table and the category in the menu.

    Click any cell in the account categories table to select it.

    Enter the line control handle and drag down to add as many lines as necessary.

    Note that the totals in a footer line moves down and the new lines are added above it.

    Fill in the new lines of the new category (or categories). *

    If you have completed transactions for these categories, these will be totaled in the B column and adds the total in the footer line, but not yet appear on the pie chart.

    Add the new categories on the pie chart

    Click the pie chart to select it and show its data source.

    Data for the graph comes from the cells defined by the selection (in blue) rectangle. The cells shown in white on a background come from the chart legend labels black in column A of the table in the colors of the wedge can be seen in the box beside the category name (and can be changed by clicking on the box, and then choosing a new color in the fill color in the toolbar).

    To add the new category to the table, place the mouse pointer on the small handful (circle in the lower right corner of the selection rectangle. When the pointer changes into a Black plus sign, click and drag down to lock the new categories, which will be instantly assigned a color and added to the graph.

    Click anywhere outside the objects onscreen to deselect all objects, and then save your work.

    * To ensure matched spelling between the menus and the list of categories, select one of the new cells of menu and copy. Select one (or all) cells new category on the table of the types of accounts and paste. Specify each menu to the new categories, and then select all the cells in the new category. In the format of cell Inspector, use the context menu to change the format of these cells to the text. This removes the attribute from popup menu of the cells, leave the text as it was when the last value.

    Kind regards

    Barry

Maybe you are looking for