LOV on an LOV

In Forms, is it possible to have an LOV on an LOV? What I am trying to do is similar to the functionality in the browser
menu. Take for example the File option in the browser menu. Click on File and a list displays, if you mouse-over the
New option another list displays. Is this functionality possible with LOV's in forms? Perhaps another creative way to
accomplish this result?
Thanks

Thanks for your responses.
I have tried using tlist on a List Item and when I run the form I get a default value without a way to bring up a list.
What I did:
I created deptno on a form, I changed the Item Type to List Item. I changed the List Style to Tlist. I created a record
group with a query that I want to use as my list. I created a when-new-form-instance trigger with the following
DECLARE
Error_Flag Number;
BEGIN
Error_Flag := POPULATE_GROUP('ListGroup');
IF Error_Flag = 0 THEN
POPULATE_LIST('DEPTNO', 'ListGroup');
ELSE
MESSAGE('Error while populating list group');
END IF;
END;
I do this to build a dynamic list. When I run the form I get a default value (first item of the record group) in the deptno
field without a way to pick another value. If I change the List Style to Poplist I can then pick from the list the department I
want.
I am still not sure how changing to a list item (tlist) is going to solve the problem. Now I need a list on a list.
What I am trying to do is provide the user with two lists on one field similar to the File/New menu option in the browser
menu. I have a field called CR_TYPE, when I click for list I want them to see a list of Types, when they bring the mouse
over or highlight a type I want to bring up a list to the right of the current list with a list of the subtypes for that type.
Is it possible with forms? Examples would be a tremendous help.
Thanks

Similar Messages

  • ADF LOV and Cascading LOV in JDeveloper 11.1.1.5.0 Issue

    Hi,
    I have created business component ExpenseHdrView and added LOV and Cascaded LOV. If I run the application module I could see the LOV is working. It is displaying list of values and Return value(id value is not dispalyed as expected). But when I include the view in an ADF form then LOV is working but in the form when I select any value it is displaying the corresponding ID value. This is not in sync with business component.
    I am new to this ADF world. Am I doing anything wrong or missing something?
    Please help.
    Thanks,
    Mehabub

    Hi Kalpesh,
    I just tried, and didn't get that error - there must be something specific to your scenario. Have you tried the obvious solutions (reinstall)
    John

  • LOV usage -- Can LOV used as key-value pair?

    Post Author: phoenix
    CA Forum: WebIntelligence Reporting
    Hello,
    I am using BO XI R2 and I come to an issue with LOV. Can LOV be used as a key-value list?
    Say I have a key-value list as below:
    A --> 1
    B --> 2
    Can LOV just list 'A, B.. ' and return 1 if user choose A and 2 if user choose B?
    Many thanks.
    phoenix

    It is possible only if you know all possible KEY values:
    with t as (
               select 1 id,'STATUS' key,'TRUE' val from dual union all
               select 1,'AGE GROUP','10' from dual union all
               select 1,'TRAVEL','Y' from dual union all
               select 2,'STATUS','FALSE' from dual union all
               select 2,'AGE GROUP','20' from dual union all
               select 2,'TRAVEL','N' from dual
    select  id,
            max(case key when 'STATUS' then val end) status,
            max(case key when 'AGE' then val end) age,
            max(case key when 'AGE GROUP' then val end) "AGE GROUP",
            max(case key when 'TRAVEL' then val end) travel
      from  t
      group by id
            ID STATUS AGE   AGE GROUP TRAVEL
             1 TRUE         10        Y
             2 FALSE        20        N
    SQL> If you are on 11g, you can use PIVOT construct, but again you need to know resulting columns upfront.
    Another thing you could do is to return a CSV list of key all values in one column using STRAGG (or LISTAGG if you are on 11.2), hierarchical queries, XML or undocumented WM_CONCAT.
    SY.

  • Basing an LOV on another LOV

    In a HTML web form, how can I have a LOV (Drop-Down list) based on DEPT, that populates another LOV with all the employees from EMP in the department selected in the first LOV.
    I can do it in Javascript but I need to derive my values from tables.
    Thanks

    Hi,
    I dont think you can pass on the table values to a javascript function.
    You can definitely use the HTP cartridge functions to display table
    data in HTML. There would be a specific HTP or HTF function to build
    a form drop down list. I think it's a combination of htp.formSelectOpen
    and htp.formSelectOption. Check the documentation here:
    http://kontti.helsinki.fi:8889/ows-adoc/psqlwtl9.htm
    Populating the EMP LOV should be straight forward unless you are
    not looking to change the EMP LOV and DEPT LOV dynamically.
    Rgds.
    Amogh

  • How call lov to other lov

    Hi master
    I have two lov when I select value form one lov that call other lov asper selecte values
    Or how call lov to other lov
    Or any lov trigger where I write our code or call next lov or give new query
    Where he on_change lov trigger
    Please give me sample or idea
    Thanking you
    Aamir

    Hi,
    Check this
    Reseting adf form doesn't Reset LOV fields

  • Dynamic LOV - Function returning LOV query

    Hi All,
    For some reason I can not write a generic LOV query and want to edit where clause dynamically. Is there a way to achieve it.
    My LOV query will be
    'SELECT D,R FROM LOV WHERE ID IN (1,2,3)' for one person and
    'SELECT D,R FROM LOV WHERE ID IN (4,5,6)' for another person.
    Here entire string "1,2,3" or "4,5,6" is from a page item say :P1_ID_LIST and I can not use the bind variable like 'SELECT D,R FROM LOV WHERE ID IN (:P1_ID_LIST)'.
    If I have the option of function returning the LOV query I can use
    return 'SELECT D,R FROM LOV WHERE ID IN (' || :P1_ID_LIST || ')'
    Does there a way to acheive in Apex?
    Thanks
    Balaji

    See Re: Search on a typed in list of values for at least part of the answer.
    Scott

  • I Love it I love it!

    Hey-
    I love iweb so far. Take a look at my fishing page and let me know what you think:
    http://www.chrissanborn.com/Adventures/Home.html
    Chris

    I love your enthusiam Hey, I got a great tip from a guy about how to put movies on a site and I really liked the idea so I'll pass it on to you since I see you will likely have lots of them to display.
    He suggested I use the blog template and keep each movie on a new entry. This way you get a running log of everything you place there, people can browse them and you won't have 10 movies all on one page Worked really slick!

  • Customization/Filteration (User LOV,User Type)  LOV attached with the role

    Dear All
    I want to Filter both Lov's attached with the custom attribute having Role type in Oracle Workflow.For example I want to restrict only Oracle Application User's appear on user type LOV and on second column i want to display user_id in Lov
    Best Regards
    Edited by: Muhammad Danish Younus on Jun 13, 2011 5:28 AM

    if I use Validate From List property, the form is displaying the LOV everytime I query the block eventhough the correct value is populated
    There is something wrong with your LOV or with the way you populate your block. An LOV should not pop up when you query data into the block.

  • LOV referencing a LOV

    I have a report which displays information on a cities.
    I would like to be able to have the user select country/state/city in the customization screen using LOV's. This means the State LOV would need to change as a result of the Country LOV and likewise the City LOV would have to change as a result of the State LOV.
    I know how to do this on a Form, by refreshing the Form, but I haven't been able to do it in the customization Screen.
    Any ideas would be appreciated.
    Thanks, Larry

    Hi Larry,
    What you require can be done using an onchange trigger in the comboboxes and a Javascript array.
    Basically on change of the Country SELECT list, all of the OPTIONs are removed from the State and City SELECT lists and only the valid ones added.
    This will make for a large page, as it has to hold the entire list of Countries, States and Cities, plus the script to set them straight.
    The advantage to this method as opposed to using PL/SQL is that the form is not submitted and is therefore constant on the screen, and the user does not have to wait for so long when changing the SELECT lists.
    Regards Michael

  • It loves me, it loves me not....

    My clips seem to have a mind of their own. I imported a number of captured clips, all taken with the same camcorder. The first batch "accepts" the cross-dissolve transitions with no problem, the clips of the second batch (bin) have an adverse effect on the cross-dissolve: its duration is reduced to 0.01 seconds, hardly enough to be noticed.
    It feels as if there is something "repellent" in the clips from the second bin that seems to reject the cross-dissolve (or any other transition).
    I don't even know how to pursue this.
    Please help.
    Barry

    Thanks for the response, guys.
    I really need to understand these principles because:
    a) I don't really understand the mechanics of handles,
    and
    b) I don't understand the mechanics of sub-clips in relation to the same problem.
    First of all, I think I solved my immediate problem by adding a V2 track in the timeline and dragging the recalcitrant clips over and under each other to have their ends/beginnings overlap each other. Maybe a 2 second average overlap.
    The cross-dissolve works perfectly when I do that but I can see a possible future problem along the Timeline if I decide later to cut a clip on one of the video tracks and then have to deal with the gap not on the same line as what follows (is there a fix for that too?). Anyway, is that the way I am supposed to deal with transitions?
    I am more comfortable working with just one video track if possible.
    OK, handles. I really don't understand how they are accounted for. I can well understand that if my clip is only 2 seconds in duration, and I want to add a transition that will overlap each clip by one second, there's not much left to work with. I don't suppose there's some way to insert "handles" now?
    But my clips are 4 seconds or longer, and I still have this problem (other than overlapping to solve it). I noticed that in FCP5 User preferences Editing tab provides for handles, x number of frames. Is that where the handles are inserted? And if I change that now, it probably doesn't affect everything that was already imported? And if that is the answer, how many frames is enough for an average transition of, say, 1 or 2 seconds?
    Also, sometimes I insert a slug to use with a title. Slugs don't have handles, do they? I had the same problem with the slug as with the clips.
    About subclips: didn't think about them in relation to transitions. Yes, some of my subclips were created by using the DV Start/Stop detect feature that created many, many, many subclips. Does that affect transitions?
    In other footage, I simply ran the original footage thru and placed an occasional marker to divide the content, creating large and few sub-clips of 10 - 20 minutes duration. What's the difference in the affect of either method on the use of transitions?
    Lots of questions, sorry. Would appreciate some help on this very confusing topic.
    Thanks in advance.
    Barry

  • How do I retain Mozilla Firefox but DITCH (please!) Bing as search engine? I love Google; and love Mozilla Firefox, but will not run Firefox if Bing is now required search engine!

    After uploading FLV media player last night, I found that "Bing" had taken over my PC. I do not want "Bing" as a search engine; I don't want it installed on my computer. I do not even want it displayed as an option! Mozilla with Google is outstanding, and I depend upon these two programs working in tandem!

    To revert to Google as your preferred search engine, please do the following.
    * In the location bar, type '''about:config''' and hit Enter.
    * In the filter at the top, type: '''keyword.URL'''
    * Double click it and remove whatever's in there and replace it with http://www.google.com/search?q=
    The URL to add in "keyword.URL" becomes a link in this post, so right click it and choose "Copy Link Location" to copy it to the Windows clipboard. Then hit CTRL+V to paste it. Saves you having to type the whole thing.
    '''To reset your home page, do the following'''.
    * Go to the site you want to set as your homepage.
    * Click the orange Firefox button and go to '''Options '''| '''Options '''| '''General'''
    * Make sure it says "''Show My Homepage''" in the first dropdown menu.
    * Click the button called "'''Use Current Pages'''" to set the homepage to the one you have on the screen.
    After you complete the above steps, install this add-on to prevent another search engine from modifying your preferences: https://addons.mozilla.org/en-US/firefox/addon/browserprotect/

  • Criteria item is not being used in the LOV query

    Hi All,
    I have one 'messageChoice' bean which is associated with a view
    I have configured it correctly
    I have one 'messageLOVInput' bean
    above 'mesaageChoice' acts as criteria item for 'messageLOVInput'
    I created two maps one for each beans
    When I select a value from 'messageChoice' and click LOV button
    now LOV window should query based on the value from choice..
    but its not at all taking choice selection in the query criteria...
    Where I am doing mistake..?
    Thnaks
    -Praveen

    Hi,
    we are gathering JDeveloper 11 technology preview related question in a separate forum
    JDeveloper and OC4J 11g Technology Preview
    Frank

  • How to update bind variable and restrict values in a Model Driven LOV?

    Hi Guys,
    Using JDev 11.1.1.2.0
    I've recreated an excellent Frank Nimphius article about restricting values derived from a model driven LOV (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/44-restrict-lov-169186.pdf)
    But my bind variable isn't updating. Deleting the bind variable gets me the entire LOV. Activate the code below and insert a bind variable into the where clause like Frank says and I get nothing back. Bind variable is blank. Any ideas? Code wasn't supplied with the article. It seems simple enough but the bind variable isn't updating in the SQL, even though the updated value shows up here...
      public void onLovLaunch(LaunchPopupEvent launchPopupEvent)
        BindingContext bctx = BindingContext.getCurrent();
        BindingContainer bindings = bctx.getCurrentBindingsEntry();
        FacesCtrlLOVBinding lov = (FacesCtrlLOVBinding)bindings.get("DepartmentId");
        lov.getListIterBinding().getViewObject().setNamedWhereClauseParam("deptId","60");
        System.out.println("lov name: " + lov.getName().toString());
        System.out.println("lov Param Attrs: " + lov.getListIterBinding().getViewObject().getNamedWhereClauseParams().getAttribute("deptId").toString());
        System.out.println("lov View Object: " + lov.getListIterBinding().getViewObject().getName().toString());
        System.out.println("lov IterBinding: " + lov.getListIterBinding().getName().toString());
       }Gets me ...
    lov name: DepartmentId
    lov Param Attrs: 60
    lov View Object: _LOCAL_VIEW_USAGE_lov_model_queries_EmployeesView_DepartmentsView
    lov IterBinding: DepartmentIdList_2

    That's a good idea, but it's still not working. Here is how I implemented it. It might be different from your suggestion as I'm still pretty new to this.
    I have a recursive tree table. You select a node. You then click a button which calls the listener below. "findParents" is a method call to the AppModuleImpl class and it finds all parent nodes of your selection. "restrictPartBomLOV", also of the AppModuleImpl class, then modifies the model driven lists' View Object (partBomLOV) to exclude those parent node values.
    The resulting model driven LOV on the popup should be updated, yeah? But it still isn't udpating. If I manually type in the updated Where clause in PartBomLOV.xml query tab, it works, but it doesn't programmatically.
      public void insertPopupFetchListener(PopupFetchEvent popupFetchEvent)
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("findParents");
        parents = (List)operationBinding.execute();
        operationBinding = bindings.getOperationBinding("restrictPartBomLOV");
        operationBinding.execute();
       public void restrictPartBomLOV(List parents)
          ViewObjectImpl vo = getPartBomLOV();
          String wcl = "";
          Object[]   p = parents.toArray();
          for(int i = 0; i < p.length; i++)
             if (i == 0)
                wcl = wcl + "PNUM <> '" + p.toString() + "'";
    else
    wcl = wcl + "AND PNUM <> '" + p[i].toString() + "'";
    vo.setWhereClause(wcl);
    System.out.println(vo.getWhereClause().toString());
    vo.executeQuery();
    Edited by: LovettWB on Nov 11, 2010 11:23 PM

  • Text items not being refreshed by LOV items.

    Hi all,
    I've got a strange LOV behavior problems which I cannot solve and require your valuable time and efforts.
    I've created a simple ADF JSF pages with 3 fields and the first field is LOV enabled. For all new row, after clicking the LOV icon, the LOV will show up and after selecting a particular value, it closes the LOV screen and replace it with a new row with the selected LOV data. It is all working well for all new rows just like a normal LOV should perform.
    But I had problem with existing data. The row which I selected from the LOV somehow cannot referesh and overwrite any existing row (visually) but after commiting the data, it was actually written and refreshed with the correct data. Is there a property in the JHeadstart Application Definition Editor where I enforce the text items to be refreshed by the LOV items?
    Thank you for your time and efforts.
    Kind Regards,
    John

    Hi Guys,
    I've performed the following scenarios attempting to refreshed Text items by the LOV Items.
    Scenario 1: Create a new column called some_key load unique number into it. Set this column as the primay key and deselect existing primary keys as key attributes. Also, I've created a sequence and some_key is of type of DBSequence getting value from the new sequence starting from 1.
    After generation when run and the result is:
    JBO-27022: Failed to load value at index 11 with java object of type oracle.jbo.domain.DBSequence due to java.sql.SQLException.
    ## Detail 0 ##java.sql.SQLException: Invalid column index
    Scenario 2: Create a unique index for the some_key column, rerun and the result is:
    JBO-27022: Failed to load value at index 11 with java object of type oracle.jbo.domain.DBSequence due to java.sql.SQLException.
    ## Detail 0 ##java.sql.SQLException: Invalid column index
    Scenario 3: Set some_key as number instead of DBSequence (from Entity Object Editor), rerun and the result is:
    JBO-27021: Failed to load CustomDatum value at index 11 with java object of type oracle.jbo.domain.Number due to java.sql.SQLException.
    ## Detail 0 ##java.sql.SQLException: Invalid column index
    Scenario 4: Deattach the offending View Object from the Application Module. Remove the offending view link and view object. Recreate view object and view link. Reset some_key is of type of DBSequence getting value from the new sequence starting from 1 (From the Entity Object Editor). After generation when run and result is:
    SUCCESSFULLY!!
    So, I guess the bottom line is here are the following things which you need to perform in order to enable text item to be refreshed by LOV item (if the detail table has composite primary keys)
    1.) Create a new column
    2.) Load unique value to it
    3.) Create unique index for it
    4.) Create entity object, view object and view link object.
    5.) Set the new column as primary key.
    6.) Deselect the key attributes for all composite primary key columns.
    Regards,
    John

  • How to distinguish LOVs on different requisition lines? (in advanced table)

    Dear,
    I have a customer requirement in iProcurement 11.5.10 on the CheckoutLinesPG page to have an LOV that will provide data for one attribute on the PO Requisition Lines DFF, it allows the customer to select the so called Desk Location, or a delivery point, for possible multiple deliveries of a single distribution line for different requestors.
    So what I did I put the custom region there with LOV and the LOV part works fine.
    I have another requirement – if One Time Address is created(used,engaged) on that requisition line – my custom LOV on that line (and ONLY that line) should be disabled. And here I came into a problem because if I disable my LOV based on the AddOneTimeAddress event (or any event for that matter) – ALL requisition lines show LOV as disabled.
    The way the seeded application works – the OneTimeAddress page (it is the PAGE) accepts the requisition line id and passes it back to the calling CheckoutLinesPG page so that the calling page knows which requisition line the one time address is related to. But for me to create another custom page where custom LOV will be placed will be too much navigation for the customer.
    Is there a better approach to the problem?
    Thank you.
    Anatoliy

    There is something called Switchers which can help you. Read the dev guide.
    Just to give an Idea, there is a view Attribute associated to the switcher region. In the VO you would control the value of the view attribute based on some condition (Decode logic to identify if some data exists or anything of the sort). The value of the attribute (conditional) should be the same as the ID of the item put under the Switcher.
    When based on the VO condition, the switcher attribute valus is 'a' then the item with id 'a' under the switcher would be shown.
    Regards
    Sumit

Maybe you are looking for

  • Can you have the mini dvi, or any output video source, on all time?

    I work for a University in a department that supports classroom technology and other various A/V type things. We recently set up a "collaborative cluster" computer lab. On each table there is 5 iMac's that can be used to work on project or class assi

  • Accessibility feature not working as it should

    I have an iPhone4 with accessibility turned on, at the SIM unlock screen the phone has recently changed behaviour from select a number then double tap to type, to press and briefly hold number to type.  For a blind user, I need this changed back to t

  • Extract DDL from an exp dmp file

    One feature I would find handy is the ability to read an exp dmp file to extract DDL statements from it. Are there any plans to include such a tool?

  • OM Notable able to capture Approver Rejected comments from the Note field in WF

    Hi, Could you see attached image, I need to capture the comments from Approver if it is rejected. Any these comments must flow to (Notification from AR). Could you let me know how to capture Rejected comments. Approver has Note field for providing Re

  • Does iMovie 08 have a Backup to Disc feature like iTunes?

    Does iMovie 08 have a Backup to Disc feature like iTunes? This way you could back up your entire Movie Library by feeding it discs, and then periodically only backup what has changed since the last backup? Does iPhoto 08 have this feature as well? Th