second drop-down list based on the first drop-down list Jdev 11.5 of loading

Hi all

I have a requirement of the second dropdown on the first loading selection drop-down list.

Ex:-con I drop down state list, when I select and national, it must load city States (dropdown).

I tried to use valuchange Stanley with partial trigger, that it did not work. Any help would be a great help.

Please let me know.

Thank you
Nitin

Published by: 811407 on December 21, 2011 02:59

Published by: 811407 on December 21, 2011 02:59

http://www.YouTube.com/watch?v=nXwL2_RP7AQ.

you for example: here goes.
http://www.YouTube.com/watch?v=94PrwXWDEjI

http://andrejusb.blogspot.com/2008/12/cascading-lovs-in-Oracle-ADF-11g-update.html

Tags: Java

Similar Questions

  • Limit the number of characters in a text based on the first digit field

    Hello and thank you in advance for your help!

    I want to limit the amount of characters in the text field based on the first digit of the number (the text field is limited to a number format... no decimals, no comma).

    For example, if the number starts with a 3, I would limit the text field to allow only ten characters. I have three scenarios but if I could start with code and what is the best place to add (key combination or validation?) I can take it from there. Thanks again for your help!

    I wrote this code for you that does this. Use it as a typo of the custom field code:

    // Validate that only digits are entered
    if (event.change) {
        event.rc = /^\d+$/.test(event.change);
    }
    
    // Validate string length if it starts with 3
    if (/^3/.test(AFMergeChange(event))) {
        event.rc = AFMergeChange(event).length <= 10;
        if (!event.rc) app.alert("If the number starts with \"3\" it may not be longer than 10 digits.",1); // optional error message
    }
    

    You can duplicate the second part of it for additional terms, but keep in mind that this code won't let you even remove the first character in the field if the result is not valid.

    For example, if you enter "234567890123456" then you can't remove the "2" at the beginning because that would result in a number not valid. You can delete all the other numbers, even if and when it is 10 digits or less, then you can remove the departure "2" as well.

  • WMP 12 plays 2 songs at the same time. If a piece is played and I spend almost another song, the second song starts to play and the first

    A frustrating problem with wmp on my new laptop of ASIS Windows 7. During playback of an mp3 file, if I hover near a second file, the second file starts to play in the first.

    The system is used for dance classes, and I need to have the ability to choose a second track spontaneously.

    This does not happen with the previous version of wmp (11).

    The problem would be the touchpad on the laptop?

    Charles Todd

    Hi Charles,

    The description of the problem, it looks like Windows Media Player plays 2 different songs at the same time when hover near a second file in Windows Media Player.

    You can run the troubleshooting Windows Media Player Settings Troubleshooter & check if the problem persists.

    Troubleshooting of Windows Media Player settings

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Please come back with more queries on Windows, we will be happy to help you.

  • Can I use a disc of Windows 7 operating on a second computer if I uninstall it the first computer?

    Installation of Windows 7

    Can I use a disc of Windows 7 operating on a second computer if I uninstall it the first computer? Thank you!

    Yes, if it's a retail store bought the full version or upgrade to Windows 7.

  • Delete based on the first column or column second row

    Dear members,

    Need to remove a MasterTable lines based on the value in an another RefTable (which is a subset of the main table) colA or ColB.

    / * Value refTable wedges designed to be
    create table RefTable (int num1, num2 int, int temp)

    Insert in the values of numbers (44445, 44444 11111)
    Insert in the values of numbers (44446, 44444 11111)
    Insert in the values of numbers (44447, 44444 11111)

    Insert in the values of numbers (55555, 55551, 11111)
    Insert in the values of numbers (55555, 55552, 11111)
    Insert in the values of numbers (55555, 55553, 11111)

    Insert in the values of numbers (22222, 22222 11111)
    Insert in the values of numbers (22222, 22222 11111)

    Suppose that MasterTable has given below
    create table MasterTable (int num1, num2 int, int temp)
    Insert in the values of numbers (22222, 22222 11111)
    Insert in the values of numbers (22222, 22222 11111)
    Insert in the values of numbers (22222, 22222 11111)

    Insert in the values of numbers (44444, 44444 11111)
    Insert in the values of numbers (44445, 44444 11111)
    Insert in the values of numbers (44446, 44444 11111)
    Insert in the values of numbers (44447, 44444 11111)

    Insert in the values of numbers (55555, 55551, 11111)
    Insert in the values of numbers (55555, 55552, 11111)
    Insert in the values of numbers (55555, 55553, 11111)
    Insert in the values of numbers (55555, 55554, 11111)

    insert into numbers values (4567, 12345, 11111)
    insert into numbers values (5678, 23456, 11111)

    The query should execute delete on MasterTable RefTable value-based to get the result that

    4567 11111-12345-
    5678 23456-11111.

    I tried to change the query something like
    delete of the MasterTable where num1 = any (select num1 of RefTable); but it can only manage the deletion of the colA part... Any suggestions
    Is this ?
    
    DELETE
    FROM
         MasterTable mt
    WHERE
         EXISTS
         (
              SELECT
                   1
              FROM
                   RefTable rt
              WHERE
                   rt.num1 = mt.num1
                     OR
                            rt.num2 = mt.num2
         )
     
    
  • Change the color of cell based on the first character of the value of the field

    Inside of a RTF model, I have a field called I_DESCRIPTION.

    If the first character of the value of I_DESCRIPTION is 'E' then I want the table cell to be red. Otherwise, I want it to be blue.

    I thought I'd be able to use the following type of code:
    <?xdoxslt:ifelse(substring(I_DESCRIPTION,1,1)='E', 'IT IS E', 'Not E')?>
    The above works. The only problem is, I don't know how to change the above, so that instead of print 'IT IS E' or 'NOT E' it changes the color of the cell in the table in red or blue.

    I guess I have to put something like the following in the second and the third argument to the ifelse() function:
    <?attribute@incontext:background-color;'#FF0000'?>
    But after much trying, I can't work on everything at is how this fits.

    Ideas or suggestions appreciated.

    Thank you
    Andy

    Hi Andy,.

    You can try this:

    1. in the cell where you view the description field, insert a form of conditional formatting field and use the following code: Red

    You will need to check the condition of other another field of form CF: Blue

    Hope this helps.
    Thank you!

  • Sorting the rows in the table based on the first character - speed-problem

    Hello

    I have a text file with a lot of lines. The file is imported into LV, and must be sorted by the first character.

    It works very well, but gets very slow lines if too.

    If 40,000 lines then take 0. 2 s.

    If 400,000 lines then the time rises with factor 100 in 25 years.

    If 1,000,000 lines then the weather is dry 222 (~ 4 min)

    Attached is the code which sorts a table to text.

    The number of lines can be set with the meter of the loop (Loop-counter * 4 = NumberOfLines)

    The elapsed time is displayed.

    How to speed this up? (Or check the more linear time number of rows)

    Thank you

    You can try something like that. If you treat a table line by line, you end up taking a lot of time.

    Sorry I have a problem of fixing of the VI.

  • My printer is connected to two computers. I find that the second computer does not print unless the first computer is also on. Can I get every computer to print without the two be on?

    the printer has been first on windows 7 and second on windows xp, because that's the way I was told iy had to be done. But I thought that each computer can print separeately withou t windows 7 being on.

    Hello

    1. How is the printer connected? This printer is on a network?
    2. this configuration was already working before?

    You must configure a print server. If your printer is a network printer, you can connect it to a router, and all computers connected to this router can use the printer individually. If the printer is not a network printer, you can buy the equipment to turn it into one.

    See the articles below for more information:
    http://support.Microsoft.com/kb/308028
    http://TechNet.Microsoft.com/en-us/library/bb457001.aspx

    I hope this helps.

  • trying to install win 7 pro on a second drive hard withwin 8 on the first hard disk

    I have a pc with win 8 is installed on the primary drive. I bought a win 7 pro os to install on a second disc. (I bought a new pc after my old win xp but I have a little fuzzy) I formatted the second hd as a gpt in 8 victory drive and when I go into the bios and make the cd as disc player starter set main first, even break, win 7 will come, I hit a button, he said: it's the installation files , four colors swirl around and stopping and there he sits and go beyond.  What has changed the setings bios need? It's a motherboard of acer with amd a6 5400 dual core with 16 GB of ram. can anyone help?

    Ken

    Any reason you to format GPT?

    Delete the partition on the second disk, and leave it as "Unallocated", and then install Windows 7.

    For reference: how Dual Boot Windows 8 with Windows 7
    Your newly purchased computer or one you just build a Windows 8 is installed. Now, you want to install Windows 7 as second operating system create a computer to dual-boot and you giving the best of both worlds.
    http://www.PAGESTART.com/win8dbwin701181301.html

    J W Stuart: http://www.pagestart.com

  • Records of BSE - flat at different DB tables based on the first field

    Hello

    I have a flat file that has records of six types of diff. There are six diff corresponding to each of these records in the DB tables. My requirement is each time a flatfile such intervenes, all records must be inserted to their corresponding tables based on their record identifiers.

    This is the same file:

    000 | SEC-U. S. - MF | 1234 | POPOC | 679. JANUARY 15, 2009 01:04:48 | SSS
    100. 226312 | 7130667 | JANUARY 13, 2009 03:05:21 | 0 | 27. NET STANDARD|1.5%/30 90. 90. 1.5 | 30. USD | N | 282954105 | SHELTON105 | ELANCE SSPF | BILL OF LIVONIA TO | 238. Setzer | Pamela | 9000 | 1234 | E||||||||||||| 105. 1234 | SEC-U. S. - MF | JANUARY 15, 2009 01:04:36 | 591785 | Pamela | Setzer | APPROVED | JANUARY 13, 2009 03:05:29 | N | N|||| N | OPEN | WE | JANUARY 13 09 | 1. N|||||||||||||||| Y|||| N | Y|||||||||| 7130667 980064 | New PO | ALL THE |
    200 | 1. 9000 | N | Each | EA | 221170-153731-0-1-4. 1. Mike Hopper | JANUARY 15, 2009 01:04:37 | MRO||||||||||||||||||||| 8011170000 | 7130667 | 18585180 | 1234 | JANUARY 13, 2009 03:05:21 | 226312 | 80.11.17.00.00 | 1. 10. REJECT | MISC7 | THERE | FIXED | OPEN | N|||||||||||||||
    300. 1. Each | January 15, 2009 04:00 | 9000 | 0 | 0 ||| N|||||||||||||||||| PRA-PRODUCTS | PRA | 4001 FAIRVIEW | SALEM | 97302 | WE | OR | 1-800-547-0252 | 7130667 | 18585180 | 16529041 | 1234 | JANUARY 13, 2009 03:05:21 | JANUARY 15, 2009 01:03:40 | 0 | 0 | 0 | PRA-PRODUCTS | 1. N|||||| N | N | 10. REJECT | NONE | N | 15. 30. WARNING | 0 | 100. PRA-PRODUCTS | STANDARD | CLOSED FOR THE RECEPTION. N|||||| 591785 | THERE | JANUARY 13 09 | N | P|||||||||||
    400. 1. 350. 7203. 60075 | 000 | 0000 | 2734. Petersen | Mary M | 9060 | Petersen | Mary M | 208037547 | PRA-PRODUCTS | 9000 | 0 | 7130667 | 18585180 | 16529041 | 1234 | JANUARY 13, 2009 03:05:21 | JANUARY 15, 2009 01:04:08 | 16930995 | 1. 9000 | 0 | 0 | 208037547 | 0 ||| FEES | SUPRA-PRODUITS INV ORG | 35072036007500000002734 | 10000002030000000000000 | 35072036007500000002734 | N | PRA-PRODUCTS | SALEM | 97302 | OR | FEES | N|||| N | N|||||||||| 0 | 0 | 0 |||
    100. 226355 | 7136890 | JANUARY 14, 2009 02:46:38 | 0 | 28. NET STANDARD|2%/20 45 | 45. 2. 20. USD | N | C25962101 | CLARK INC | TAMPA101 | OASIS | BILL of LIVONIA to | 9911 | furrow. Mary | 1100 | 1234 | E ||| [email protected] | OASIS | 101 | 1234 | SEC-U. S. - MF | January 15, 2009 01:04:34 | 590978 | Mary | Furrow. N/AN/A | APPROVED | JANUARY 14, 2009 02:46:45 | N | N|||| N | OPEN | WE | JANUARY 14 09 | 1. N|||||||||||||||| Y|||| N | Y||||||||| GESTPOA | 7136890 24772 | PO/reissue | ALL THE |
    200 | 1. 1100 | N | Each | EA | 1. Renewal of the agreement for fast calibration | JANUARY 15, 2009 01:04:37 | MRO||||||||||||||||||||| 7315210000 | 7136890 | 18596861 | 1234 | JANUARY 14, 2009 02:46:38 | 226355 | 73.15.21.00.00 | 1. 10. WARNING | FIXED | OPEN | N|||||||||||||||
    300. 1. Each | January 14, 2009 04:00 | 1100 | 0 | 0 ||| N|||||||||||||||||| GLOBAL HQTRS | 8985 town | Bradenton | 34202 | WE | FL | 7136890 | 18596861 | 16541696 | 1234 | JANUARY 14, 2009 02:46:38 | JANUARY 15, 2009 01:03:40 | 0 | 0 | 0 | GLOBAL HQTRS | 1. N|||||| N | THERE | 10. WARNING | WARNING | N | 15. 30. WARNING | 0 | 0 | GLOBAL | STANDARD | OPEN | N|||||||||||||||| THERE | JANUARY 14 09 | N | P|||||||||||
    400. 1. 200 | 2900 | 61090 | 300. 0000 | 0000 | Loparev | Brand | 14716 | Loparev | Brand | 218011185 | GLOBAL HQTRS | 1100 | 0 | 7136890 | 18596861 | 16541696 | 1234 | JANUARY 14, 2009 02:46:38 | JANUARY 15, 2009 01:04:32 | 16944101 | 1. 1100 | 0 | 0 | 218011185 | 0 ||| FEES | GLOBAL | 20029006109030000000000 | 10000002030000000000000 | 20029006109030000000000 | N | GLOBAL HQTRS | Bradenton | 34202 | FL | FEES | N|||| N | N|||||||||| 0 | 0 | 0 |||
    999 | SSS | 1234 | 88. 158. 158. 158

    Please suggest how can this be achieved?

    Thank you
    RV

    Published by: user10236075 on May 7, 2009 13:12

    You can use the DB adapter and the adapter will create it for you. The Assistant should walk you through it. You select the tables and relationships.

    I tend to use the PL/SQL instead of the insert / merge feature. It requires very strong skills of PL/SQL, but it offers some flexibility around formatting etc.

    Take a look at this post to implement the PL/SQL, you can see my example. Its creates the varrays for AQ, but all you need to worry.

    Re: Can I pass a pl/sql table as a parameter for a database adapter

    see you soon
    James

  • How better to insert a subarray (line) in a 2D array to the correct index which is based on the value of the first column

    Hello

    I would like to insert a subarray (line) in a 2D to the correct index table. The position is to say the index value depends on the value of the first column of the table 2d.

    As an examlple my 2d array would look like this

    230 50 215 255

    300 60 270 330

    360 20 350 370

    And I would like to insert another line (subarray) with the following values

    320 40 300 340

    This new line should be placed between the second and third rows (this is based on the first column only).

    I tried the threshold 1 d function table by taking an 1Dsub array of my 2d array (first column), then using the first of the new line (320) as the threshold. It sort of work, but it does not work when I start the table (IE there is only 1 row) and it seems to not work properly on other occasions (as explained in the help of Labview).

    Hopefully the explanation is clear enough for any suggestion. Thanks in advance for the help!

    JTRI wrote:

    The idea is I have start with a new table and add these lines in the right order every time that the user sets the values Jack

    Ahh, so try this.

    This will also work with an empty array.

    You want to do with this function it is a Subvi.

    Make the entries 'table' and 'subarray"on the connector, then 'new array' output.

    You can then put this Subvi in a loop with a registry to shift and it will help to add new lines in a sorted order, when they are added.

    That is what you were aiming for?

  • When I open a program that takes a few seconds to load and open another program while I'm waiting, it will automatically put the first window on top

    When I open a program that takes a few seconds to load and open another program while I'm waiting, it will automatically put the first window on top when it has finished loading.  How do I not do?

    Hello

    Unfortunately, it is not possible to change that outside of the modification of the order in which the programs open.

    If you have feedback or suggestions, you can express their opinion on this at:

    http://connect.Microsoft.com

    It will be useful.

  • How to select and default hightlight the first line in a programmatic Table(ADF Table created based on a SortableModel) ADF.

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    We created a table ADF programming related to a SortableModel created programmatically to a bean.


    We need to select and highlight the first row in the table just after making it to retrieve data based on the first line.


    We tried the based on the following thread: How to call the bean support just after JSFF / page fragment loads? and a few other posts online, but it does not work very well.


    W has created a hidden text in the bottom of the JSF model as follows:


    < af:table varStatus = "rowStat" Summary = "table" value = "#{pageFlowScope.crudBean.dynamicTable.collectionModel} '"

    Rows = "#{pageFlowScope.crudBean.dynamicTable.collectionModel.RowCount} '"

    contentDelivery = 'immediate' var = 'row' rendered = 'true '.

    Binding = "#{backingBeanScope.crudBackingBean.tasksTable} '"

    selectionListener = "#{backingBeanScope.crudBackingBean.customListener} '"

    "rowSelection ="single"id ="t1"partialTriggers =": pt_gr2 "columnStretching =" column: clmn0 ">

    < af:forEach items = "#{pageFlowScope.crudBean.dynamicTable.columnNames}" var = 'name' varStatus 'vs' = > "

    < af:column sortable = "true" sortProperty rowHeader = "#{name}" = "no style" headerText = "#{pageFlowScope.crudBean.dynamicTable.columnLabel [name]}" "

    inlineStyle = "width: 100px;"  ID = "clmn$ {vs.index}" >

    < af:activeOutputText value = "#{row [name]}" id = "aot1" / >

    < / af:column >

    < / af:forEach >

    < / af:table >

    ....


    < af:outputText id = "hiddenOutputTextId" visible = "false" value = "#{backingBeanScope.crudBackingBean.afterPageLoad} '"

    Binding="#{backingBeanScope.crudBackingBean.hiddenOutputText}"/ >

    And we have added the code to the bean to support below:

    public String getAfterPageLoad() {}

    If (!.) {AdfFacesContext.getCurrentInstance () .isPostback ()}

    selectFirstRowInTasksTable();

    }

    Return afterPageLoad;

    }

    public void selectFirstRowInTasksTable() {}

    try {}

    RKS RowKeySet = new RowKeySetImpl();

    RowKeySet rksEmpty = new RowKeySetImpl();

    Model CollectionModel = tasksTable.getValue ((CollectionModel));

    ROWCOUNT int = model.getRowCount ();

    If (rowcount > 0) {}

    model.setRowIndex (0);

    Key of the object = model.getRowKey ();

    RKS. Add (Key);

    tasksTable.setSelectedRowKeys (rks);

    SelectionEvent selectEvent =

    new SelectionEvent (tasksTable.getSelectedRowKeys (), rks, tasksTable);

    selectEvent.queue ();

    customListener (selectEvent); / / to retrieve data

    AdfFacesContext.getCurrentInstance () .addPartialTarget (tasksTable);

    }

    } catch (Exception e) {}

    }

    }

    I think that () selectEvent.queue; should work even without calling the customerListener, but it is not working in all cases.

    What is the problem in my code?



    Have you tried to bind property of 'selectedRowKeys' to selection configuration / bean there?

    Something like:

    public RowKeySet getSelectedRKS() {
        if (rks == null) {
            // make first record as selected
            // create RowKeySet and assign it to rks variable(where rks is variable defined in bean with some scope higher than request scope)
        }
        return rks;
    }
    

    Dario

  • Cannot find the first pro on my computor cs6 after its been installed

    How can I register my second computer in order to use the first pro cs6 on it, after that it was paid and installed on my computer?

    Hello

    You can install and activate the perpetual software (purchased) two computers of the same type (mac or pc), as long as you use it on one at a time. (lightroom is the exception because it is a product of multi platform, so it can be installed on the pc and mac platforms)

    For deactivation refer:- https://helpx.adobe.com/x-productkb/policy-pricing/activate-deactivate-products.html

    To load the software on another computer, download and install it as you did on the first computer. Then enter your serial number to activate it.

  • Display different header in the first page

    I display a table in the header (not a header header but MS word identified as something above <? start: body? > tag) rtf model. This table has 3 rows, I need to display one of these lines in the first page and not in the other pages.

    I have not found any method on the questioning of the page number. So, I used a flag in the following way: (in this case, text with red color denotes an RTF). Here's what my RTF file looks like:

    Header 1 Header 2 Header 3
    init_fieldThis is the line to be included on all pages
    if_fieldThis line should not be indicated on the first page.end_if change_variable

    <? Start: body? >

    other stuff

    <? end body? >

    Where,

    init_field

    <? If: (xdoxslt:get_variable($_XDOCTX,'FLAG')! = 'NONFIRST')? > <? xdoxslt:set_variable($_XDOCTX,'FLAG','FIRST')? > <? end if? >

    if_field

    <? If: (xdoxslt:get_variable($_XDOCTX,'FLAG')) = 'FIRST'? >

    end_if

    <? end if? >

    change_variable

    <? xdoxslt:set_variable($_XDOCTX,'FLAG','NONFIRST')? >

    BUT I still see all the rows in all the pages. It seems that the value of the "FLAG" variable is not preserved between pages. For me, it seems, header is generated once and same header is used in all pages

    Don't know if this is exactly what you are looking for, but why not just place the second line which must be on the first page only after the

    Header 1 Header 2 Header 3
    init_field This is the line to be included on all pages

    if_field This line should not be indicated on the first page. end_if change_variable

    other stuff

Maybe you are looking for

  • cover for USB port on most Clip

    Anyone know if there are covers or taken from there for the type of usb port to which the Clip is?  Because this drive is so new in the production, there is AFAIK, being only an owner for less than 24 hours from now, there is no cause for the longer

  • Effect of loss of link IOM UCS on CF in Port-channel mode

    Hello We recently discovered that when UCS Server Ports are port-channel mode, loss of a member link causes CF traffic disruption in a VMware environment.  Host VMware never sees a path down and his guest enter a time-out period of IO wait.  Once exp

  • Block of authorization which connects to two different DB

    HelloIs there a way we can run a SQL on variable initialization block that connects to both databases?For example, we have user_groups table base1 and base2, we can manage a union on the two databases? (with the help of the same init block or two)Abd

  • Need Driver for Palm Zire 71 Dock

    I need a driver for my Palm Zire 71 dock. I don't have the original disc. When I press the sorce button, nothing happens. I have download one to transfer data from the computer to the Palm. I have windows XP Pro Service pack 2 as W\, I have Vista on

  • Impossible to run a scheduled task of PowerCLI on Windows 7

    HelloI try to perform a task of scehduled on Windows 7...What I tried:AgConfigVirtual.batC:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe - PSConsoleFile "C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI\vimaxx.psc1"-command '