How to fill out a drop-down list on the selection of items in another drop-down list using adf 12.1.3

Hello

I have a page that has the load drop-down lists and a "submit" button. The first drop down menu got filled using query based VO (IE read only VO) for LOV. The requirement is as below

-on the selection of an element any in the first drop-down list, the user must fill the second dropdown.

-Once the second dropdown is completed, the user can select element in the second drop-down list.

-capture the second drop down menu items value selected in the method of action of the click on the submit button.

Any help in this scenario will be useful.

---

Rabindranath

Sameh salvation,

Thanks for the reply. Your code

  1. DCIteratorBinding iter is BindingContext.getCurrent () .getCurrentBindingsEntry () .get ("iteratorNameInPageDef") (DCIteratorBinding);.
  2. Object secondDropdownValue = iter.getCurrentRow () .getAttribute ("AttributeName");  has been really helpful to get the selected value.

Thank you very much.

---

Rabindranath

Tags: Java

Similar Questions

  • How to fill out a field value based on the value of another field

    I developed a page. It has two fields 'Qualification' and ' Points' (these two values are stored in a table of rear end).»

    The requirement is, if I select "Qualification" "Points" should be auto Norway.

    This can be achieved using LOV. But I don't want to use LOV here.

    I tried this using the partial Action of fire, but I m not getting the details of "Qualification" in CO, instead getting the value zero.

    How to get there?

    Thank you
    Srinivas

    Hello

    Pls change the code this way

    OAMessageTextInputBean omtb = (OAMessageTextInputBean) webean.findIndexedChildRecursive ("the field id");

    String QName = (String) omtb.getValue (pageContext);

    If ("PopulatePoints".equals (pagecontext.getParameter (EVENT_PARAM)))
    {

    OAMessageTextInputBean otbpnts = (OAMessageTextInputBean) webean.findIndexedChildRecursive ("points field id");

    otbpnts.setValue (pagecontext, Points);
    }

    Thnax
    Pratap

  • How to fill out the customer type when you submit a form?

    How to fill out the customer type when you submit a form?

    You can't do right now in British Colombia by means of forms.

  • HOW TO FILL OUT FORM PDF WITH HEBROW ON CHROME?

    HOW TO FILL OUT FORM PDF WITH HEBROW ON CHROME?

    Chrome uses its own PDF Viewer (incompatible).

    Download the PDF file to your local drive, then fill it out of there with Adobe Reader.  Or use a browser that uses the Adobe PDF plugin.

  • How to fill out the "to:" line with a variable email address?

    I'm new to coding and am not sure how to ask my question. I have a link in an 'Email' symbol that I would like to have the window open to a 'mailto', but there are several instances of that symbol on the timeline, each using a different email address. If the [symbol]. Email.Click code reads as follows:

    Window.Open ('mailto:'+ sym.getVariable = ("emailWindow"), "_self")

    and the line in the Stage.creationComplete code that is supposed to call the variable code reads:

    sym.getSymbol("Details_David").$("Email").html ("[email protected]" "").setVariable("emailWindow","[email protected]");

    With this code, the browser opens a window of mailto, but the ' to: ' line readings, "indefinite".

    Either in the [symbol]. Email code. Click, I have:

    Window.Open('mailto:"emailWindow"',"_self")

    without the "emailWindow" as the variable name, the "to:" line to the mailto line reads, "emailWindow".

    How to fill out the "to:" line with a variable email address?

    Otherwise, it works better:

    1)

    replace

    sym.getSymbol("Details_David").$("Email").html ("[email protected]").setVariable("emailWindow", "mailto:[email protected]");

    with

    sym.getSymbol("Details_David").$("Email").html ("[email protected]");

  • How to fill a field of electronic signature in the form of interactive PDF file (created in Indesign)?

    How to fill a field of electronic signature in the form of interactive PDF file (created in Indesign)? This form will serve as an application on a Web site. The goal is to have access to anyone (interested to apply for a job via Internet), fill out and electronically sign the form on presentation.

    Please follow the steps and let me know if this helps

    1. Open the PDF in Acrobat
    2. Click on tools in the upper right > select Forms > click on edit
    3. It would ask you if you want to make changes, select Yes
    4. Then it will give you options to add a Signature field on the right side of Acrobat
    5. Add the field and save the form
  • How to fill out the list of dynamic measurements

    Hello

    I create a dynamic action on a region by using a select list (item) (lov on table A).

    now the problem is that if the value in the selection list is present in the table B then must trigger the action.

    can someone tell me how to fill the column of values as the values in table B.

    I don't want to set the values manually.

    Thank you
    Little Foot

  • You can create a hidden page element that acts as an indicator of the condition "exists."
  • Create a D.A. say 'Set Hidden Page Item"that fires on the element of change o selection list, which is of type 'set Value' and uses a function body PLSQL to set the hidden page (the affected item) item, choose the item of list selection in the field 'referred to submit page '.
    Now the PLSQL block, can return 1/0 'TRUE' or 'FALSE' or 'Y' / ' not etc. Depending on whether the record exists in the other table (or whatever condition you have)

    Now when the selection list is changed, the hidden element would be set correctly by using this dynamic Action.

    So, to check if the element exists, we can use the value of the element of hidden after that page.

    You can do this either as another action True under the dynamic Action of "Set Hidden Page Item" itself (after the action SetValue True) and added a condition using the value of the hidden element
    or add another dynamic Action, fired when the hidden item is changed and when the value of the hidden element corresponds with that of your conidtion.

    Hope that I was clear enough.

  • How to fill out the empty fields of a document downloaded from my email?

    I have the filliing problews in the blank spaces where my personal information is required.  It seems that I can read and save the document, do not fill the required spaces.  I need help

    Hi Atiimkwabena,

    I guess you are trying to fill out the PDF using Adobe Reader. (Correct me if I'm wrong)

    If so, this form can not be Reader rights enabled. Adobe Reader is a single PDF reading software is only meant to read and save a blank copy of the PDF. If you want to change something in the PDF file, then the creator has enable user rights (commonly called player to extend rights) so that you can save the completed PDF file. This can be done by Adobe Acrobat.

    I would ask you to kindly contact the author of the PDF file to allow the user rights and send it again.

    I hope this helps.

    Kind regards

    ~ Dominique

  • Auto-fill text box values field based on the selection of the menu drop-down

    Try to fill in address, city, province, zip from text fields based on the selected option in a select form field. The following code works fine in Internet Explorer, but in Chrome or Firefox, after selection, text, the fields are filled with the word "undefined."

    I found a PHP script Jquery here version that would probabably do the trick.
    http://StackOverflow.com/questions/3657127/jQuery-populate-text-input-from-table-based-on-select-Valeur

    Maybe someone has a version of CF. they could share?

    Thanks in advance to anyone who can point me to a solution for this code, or a better way to fulfill my need.

    <!--> destinations with address auto-fill, city, etc.
    < script type = "text/javascript" >
    function selectAddress (list) {}
    take the first element is empty
    If (list.selectedIndex > 0) {}
    var locationID = list.options [list.selectedIndex] .value;
    locationAddress var = list.options [list.selectedIndex] .locationAddress;
    var locationCity = list.options [list.selectedIndex] .locationCity;
    var locationState = list.options [list.selectedIndex] .locationState;
    var locationZip = list.options [list.selectedIndex] .locationZip;
    document.getElementById('locationID').value = locationID;
    document.getElementById('locationAddress').value = locationAddress;
    document.getElementById('locationCity').value = locationCity;
    document.getElementById('locationState').value = locationState;
    document.getElementById('locationZip').value = locationZip;
    }
    }
    < /script >
    < b >
    < td align = 'right' bgcolor = "#FFFFFF" valign = "top" > Destination name < table >
    < td align = "left" bgcolor = "#FFFFFF" valign = "top" >
    < select name = "locationID" onChange = "selectAddress (this)" class = "smallforms" > "
    < option value = "" > SELECT the DESTINATION ››› < / option >
    < cfoutput query = "allLocations" >
    "" < option value = "" #locationName # "locationAddress =" #allLocations.locationAddress # "locationCity =" "#allLocations.locationCity #" locationState = "#allLocations.locationState #" locationZip = "#allLocations.locationZip #" > #locationName # < / option >
    < / cfoutput >
    < / select >

    Others: cfinput name = "destinationNameOther" type = "text" class = "smallforms" size = "75" >
    < br / >
    < input id = "locationID" name = "locationID" type = "hidden" > < br >

    Address: < input class = "smallforms" id = "locationAddress" name = "locationAddress" type = "text" size = "30" >
    City: < input class = "smallforms" id = "locationCity" name = "locationCity" type = "text" size = "20" >
    State: < input class = "smallforms" id = "locationState" name = "locationState" type = "text" size = "2" >
    Postal code: < input class = "smallforms" id = "locationZip" name = "locationZip" type = "text" size = "8" > < br / >
    < br / >
    < table > < /tr >

    In your last code done selectAddress refers to "index" but I'm not declared or assigned. I think that you are missing 'var index = list.selectedIndex;' statement.

  • How to fill out a police dig?

    I use a block style font that is hollow.  Is that you can see through it to what is below it.  How I fill it with a solid color?  I tried the overlay color, but it colors the "black" part of the police.  Obviously, I don't want to Fill-in parts that should not be, for example, (the center of the letter 'o').

    Thank you.

    Make an empty layer above the text layer. On the text layer, click on the hollow spaces with the magic wand. On the empty layer, fill it with the color.

  • How do fill you a text field based on the entries in other text fields?

    I would like to be able to have a text field that fills as 'Full' or 'Incomplete' based on the question if all required fields have been filled or not.

    For example, if the "First Name", "Last Name" and "City" text fields are not filled, the text of "the State of completion" field displays 'Incomplete' and once they are filled, the text of "the State of completion" field will turn into "Complete".

    How can I do this using javascript? I searched the web for a tutorial, but most of the results seems to be focused on the menu drop-down.

    Please point me in the right direction!

    Try the script below. I put this on the calculate for Field1 event

    If (FirstName.rawValue == null |) LastName.rawValue == null | City.rawValue == null) {}

    Field1.RawValue = "incomplete."

    }

    on the other

    Field1.RawValue = "complete."

  • How to get out of deletion of data in the Editfield while moving on the text?

    Hello

    In my app, that I made as many sons to cause the HttpConnection.By using the Http call I get my data in string format, and I see in EditField.Each n each HTTP request, obtaining new channels and view in the new with EditField.Now page when I roll over the text or focus on the text , the text will be deleted means that the user cannot see once it is finished on that roll.

    That is, if the string is 'BlackBerry Support' and if I roll on the 'Support' and then it will be deleted.

    So, can someone give me the solution for this and how should I go out there with a proper resolution. ?

    Give all extracted code or any useful links or any other resolution for the same thing.

    Thank you

    Mishal

    Well,.

    I think that its problem of invalidate().

    First take the RichTextField EditField instead. You can display several data using RichTextField.RichTextField are more appropriate for this type of data.

    Second, invaqidate() Manager/fields within a method such as navigationMovement() of the screen. So then when you try to move to the up/down or left/right while the fields will be invalidate() and will update the entire data with the data.

    If that still do not work correctly then you can do using the vector. It's going to be a little hectic, but it will definitely solve your problem.

  • How to move an application from a mac on the DPS App generator on another mac

    When I try to download the Developer application, after adding new UDIDs for the certificate configuration, I get an error indicating that the application was built on another machine. Everything works fine once completed the original Mac I did build on. (This was created on a machine "freelance design" and it must now pass to the machine of the company. I tried to delete the app and start again, Ute the "Delete" option is grayed out. Using simple editing application.

    If you are a subscriber to creative cloud, you must have installed InDesign on the new Mac. Then you click "Create App" for Panel Builder Folio in InDesign on the new Mac. Who will launch DPS App Builder and integrate the folio in your application. Bottomline is you need to do this procedure on the new Mac.

    If you bought however DPS simple editing ($395) you can export the Folio of the producer Folio and then import the folio in DPS App Builder and continue buliding the App.

    I can remove the application for you, send me your DPS App Builder id and the name of the application via private Message.

  • How to cut a textframe and place it in the specific position in an another textframe?

    I need to export to RTF. So I have to select the content of the textframe.

    As you can see below,

    first of all, I have to replace all the master page objects (like the task bar and the page number).

    Second, then cut the two objects and paste them into the bodytext and set the anchor and position.

    I have so many files to do from time to time.

    pic1.jpg

    So I write the code below (indesign cs 3 javescript, just trying to make a simple example):

    var = app.documents jobbar [0] .pages [0] .textframe [0]

    var pagnum = app.documents [0] .pages [0] .textframe [2]

    var bodtex = app.documents [0] .pages [0] .textframe [1]

    App.Cut (App.Select (jobbar))

    bodtex.insertionPoints [0] .silence = app.paste)

    App.Cut (App.Select (pagnum))

    bodtex.insertionPoints [0] .silence = app.paste)

    bodtex.textFrames [0].anchoredObjectSettings.anchoredPosition = AnchorPosition.ANCHORED

    bodtex.textFrames [1].anchoredObjectSettings.anchoredPosition = AnchorPosition.ANCHORED

    .....

    It does not work.

    I want to like this. The main problem is that I don't know how to put an object into the position of a textframe specfic.

    pic2.jpg

    Thanks in advance.

    Ah, you want to create an anchored object (or an inserted object).

    Refer to the instructions on the CS5 Scripting Guide p.89.

    You will need to create a new image with bodtex.insertionPoints [0].textFrames.add () and then manipulate the properties. You may or may not have some success with the .properties property.

    I can't see why you want to use the selection. It's always bad, but it can be easier.

    app.select(jobbar);
    app.cut();
    app.select(bodtex.insertionPoints[0]);
    app.paste();
    

    But good scripts do not change the selection. Which should be reserved for interactive works.

  • How to get the selected DataGrid item?

    Hello

    I have a datagrid

    < mx:DataGrid = "10" XY = dataProvider "36" = "{acEmaillist}" width = "319" >
    < mx:columns >
    < mx:DataGridColumn headerText = "Full name" dataField = "cn" width = "150" / >
    < mx:DataGridColumn headerText = "Email" dataField = "mail" width = "150" / >
    < / mx:columns >
    < / mx:DataGrid >

    I want to select a name, click it, get the selected name and save it in a string variable. Please let me know how to get the selected name when I click it. Thank you very much.

    M

    This code can help.


    http://www.Adobe.com/2006/mxml"width ="100% ">

    Import mx.controls.DataGrid;
    Import mx.events.ListEvent;

    [Bindable]
    private var nameStr:String;

    public void getName(event:ListEvent):void {}
    var dg:DataGrid = DataGrid (event.target);
    nameStr = dg.selectedItem.cn;
    }
    ]]>



    Bob Smith
    [email protected]


    Ted Alan
    [email protected]


    Fred Tobs
    [email protected]








Maybe you are looking for