A LOV and 3 shuttles

Hello

First of all, sorry for my bad English...

I have a problem in my page: I have 3 shuttles, which all contain the same LOV.

But when I select a value or multiple values in a shuttle, I want the selected values are disabled in the remaining 2 shuttles. Is this possible?

For example:

Shuttle - 1: I selects the values "FRANCE" and "ENGLAND".

-2nd and 3rd shuttle: the list on the left does not contain the values 'FRANCE' and 'ENGLAND '.

I hope that I was clear. Thank you very much for your help!

Yes, I think that you can do.

I think there are two difficult parts to this:

(1) is to write the LOV to shuttle2 and shuttle3 to exclude the values of previous shuttles.

Using the emp table, my LOV will look like this:

For S1

select ename d, ename r
from emp

For S2

select ename d, ename r
from emp
where ename in (
  select ename
    from emp
   minus
  select ename
    from emp
   where instr(':' || :S1 || ':', ':' || ename || ':') > 0
)

(Note the: S1 is: Pn_S1)

What I do here is to select the elements less than S1

For S3

select ename d, ename r
from emp
where ename in (
  select ename
    from emp
   minus
  select ename
    from emp
   where instr(':' || :S1 || ':', ':' || ename || ':') > 0
         or instr(':' || :S2 || ':', ':' || ename || ':') > 0
)

(2) make sure you enter S1 in the cascade LOV Parent point S2

Enter the item Parent of LOV cascading of S3 AND S1 S2 in the "Page elements must send" so the LOV can use the new values.

I created a quick test in apex.oracle.com (https://apex.oracle.com/pls/apex/f?p=55576:22) and it seems to work fine (except for S3 has no value after that something is added to S1 and until something is selected on S2). This should not be difficult to change.

I hope this helps.

Thank you

-Jorge

Tags: Database

Similar Questions

  • Shuttle with cascade LOV and pre-populating on the right side

    Good afternoon

    In my form, I have a piece of text to a certain number of tickets, a drop-down list for a site and a shuttle service to the employees of the site.  If I select a site in the drop-down list, the shuttle refreshes and I can choose employees.

    Here's the wrinkle, if I get a ticket number, it triggers a dynamic action to pick up the site and all selected employees.  I checked the values returned and the dynamic action works as expected.  When the site is updated, the shuttle refreshes, but the selected employees are not load in the right side of the shuttle.

    I tried to divide the dynamic action of the number of the ticket into two pieces: one to select the site and the other to select the selected employees.  In the hope that the dynamic actions would be the fire of the order of the site, refresh the shuttle and update the selected employees. But I don't always get the right side of the shuttle, populated.  I tried the process a few times with debug and dynamic actions do not always work in the right order, and when they do, the right is not be filled.

    I know that the right side of the shuttle can be loaded, but the dynamic action on the ticket number also retrieves the values for another shuttle this shuttle is based on a static select statement.

    Any ideas on how to get the right side of the shuttle completed when the selection is based on a LOV cascading?

    Another idea, is possible to launch a dynamic action when the left side of the shuttle is filled.  Then I could store employees selected in a temporary variable and load them after the shuttle is filled.

    Thank you

    Ray Gillfillan

    I solved my problem.

    I added a variable temp for action dynamic ticket number for the value to be set on the right side of the shuttle.  I also added a refreshment after a dynamic action on the shuttle to set the value of the right side of the temp variable.

    Ray

  • This site, I'm going to, life, love and family, will not load properly. Can you help me?

    Hello, I was using this website, the life, love and Family.net fine until about 20 minutes ago. Now, the site looks strange, everything is on the left side of the screen and I'm not able to click on the radio programs more.

    If I could you send a picture of what's happening on this site, I would.

    So can you please help me solve this problem?

    Thank you, Monica

    Hello, please see the common troubleshooting steps at the Web sites look bad or display differently they should

  • disable the Popup LOV and its icon in a tabular form

    Hello

    My requirement is

    I want to disable Popup LOV and tabular icon.

    If I select the first value in column selection list 'A' then second column Empname disable window popup lov

    and if I select 'B' and then select empname popup lov.

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    I want to disable Popup LOV and tabular icon.

    If I select the first value in column selection list 'A' then second column Empname disable window popup lov

    and if I select 'B' and then select empname popup lov.

    You can do it by using dynamic action.

    Use the javascript code in the next thread to turn lov popup tabular icon.

    Reference: How to disable the popup LOV (query based LOV) in the form

    and related to put on over ReadOnly rank tabular thread

    NOTE: instead of setting custom "row_item_disabled" CSS class use the integrated class APEX "apex_disabled."

    If it is still impossible to solve, re - produce the question on apex.oracle.com and share the credentials from the workspace.

    Kind regards

    Kiran

  • LOV and return value

    Hello

    I have a lov and the return value of this lov is assigned to a formval. I have a Viewobject VO1 which is attributed to the return values of point LOV. After selecting a value from the lov, I am tring to get the return value later of the viewobject Vo1 but he still presents as null.

    Don't know how to get the return value. Any help is appreciated.

    Thank you

    KK

    KK,

    That's what I understood.

    You have a LOV which has 2 lovMaps, it returns the field of LOV and 2 returns the value for the FormValue field.

    The formValue field is mapped to an attribute of the VO.

    After you select the value from the LOV, you try to get the value returned to the FormValue using the VO attribute attached to the value of the shape.

    How are you trying to access the value and where?

    See you soon

    AJ

  • APEX: LOVs and it is the Null attribute return

    I have two or three fields of research LOV and I FACT NOT fill the value Null return a value, simply leave it blank.

    Do you have a County chart that looks count of status for each of the elements of the LOV and I realized that in order to get

    a full account of how many fields 'null', I do combine is null and the like '% null' |' %' select 5 display_order.

    Select MyLOVCount

    from my_table

    where MyLOVCount is null or MyLOVCount like '% null' | '%';

    My approach is appropriate?

    I would have thought that the 'is null' have taken into account all 'null' values in the column.

    Please help me understand in layman's term

    Hello

    JAS-Oracle wrote:

    I have two or three fields of research LOV and I FACT NOT fill the value Null return a value, simply leave it blank.

    Do you have a County chart that looks count of status for each of the elements of the LOV and I realized that in order to get

    a full account of how many fields 'null', I do combine is null and the like '% null' |' %' select 5 display_order.

    Select MyLOVCount

    from my_table

    where MyLOVCount is null or MyLOVCount like '% null' | '%';

    My approach is appropriate?

    I would have thought that the 'is null' have taken into account all 'null' values in the column.

    Please help me understand in layman's term

    I don't want to argue, but your column of the MyLOVCount table contains the string "null", which is not equal to null.

    You not fill it but the fact is that there is the mystery.

    Your condition <... or="" mylovcount="" like="" '%null'||'%';="">is looking for the word "null".

    Please see the screenshots below; line with col1 = 'b' meeting condition tran_type is null and col1 = 'a' tran_type meeting = 'null '.

  • OFA: Poplist LOV and dependent (based on LOV) entry?

    Hi all

    I have a LOv and function of that, I need to develop a dependent pick list.
    the poplist should display values depends on LOV.
    Example: LOv displays "ename" and list box should display "deptno" of employee, based on the "eno"(correspondant à l'ename sélectionné dans LOV). "»
    Note: LOV and poplist have different requests of VO.


    Please help me out of this...
    All responses will be really useful.

    Thank you.

    Kumar,

    Lov by itself is an action of fire, you must not set fireaction, trying to get the bean as below and try it.

    OAMessageLovInputBean TicketEligibleLOV = (OAMessageLovInputBean) oawebbean.findIndexedChildRecursive ("OfferDetailsFlex18");
    If (TicketEligibleLOV! = null)
    {
    Make sure that the bean is not null
    }

    Please refer to this

    How to fire Action for LOV

    Kind regards
    Had

  • Understanding LOV and af:inputComboboxListOfValues

    Hello world.

    My self-training goes fast. Here's another question I've met.

    I'm trying to use an af:inputComboboxListOfValues.

    The data that will populate this control will come in two ways

    (1) call to a PL/SQL procedure, filling a collection of custom objects. (IE: objects contains an ArrayList of object) A bean will give access to the custom collection object.
    (2) a list coded hard singles, values. (IE: 'English'-> 'en' and 'French'-> 'fr', here is the name/value)

    Now I'm all confused about how to define the list of values for the control. I read a lot of tutorials, but everything seems either incomplete, a different version of Jdev (I use 11g) or they use views directly in the model project. The latter is not an option for me.

    If you need more information, please request this and I'll give everything I can.

    Thank you!

    They speak not of the part of the user interface, creating the real LOV and its use in a jspx page. At the end of the day, you should see the code as 'Example 25-3 LOV Component with Auto suggest behaviour'.
    You will find the 'Data Control' section on the side left jdev in Accordion Panel (under applications). You may need to develop is to see the data control.

    Timo

  • copy the select value in the textfield of LOV, and allow the user to modify

    Hello
    I have a datablock with 20 records and each record has a comment (say field_comments) fields. I would like to allow the user to choose LOV populated predefined comments (say lov_comments) and add a few additional comments after they choose the value of LOV.

    I created a LOV and added the return type 'field_comments' in column mapping properties. When the user clicks a button, LOV opens. They choose the value of the LOV and the value goes to the field 'field_comment '. The problem with this approach, the user cannot add their comments after selecting in LOV.

    I tried this too much. I created another area of non-visible text (i.e. fake). In the LOV, I added "dummy" field as returntype. In the dummy field, I created the trigger 'After the CHANGE', which basically says: block. field_comments =: block. Mannequin.

    But, the user must click another field to display the value selected from the LOV. The values of the 'field_comments' is not being updated as soon as the user click on the 'OK' button in the LOV.

    I'd appreciate if someone could give me feedback and help to solve my problem. Thank you for your help.

    I thank.

    Well, I tried exactly what you posted and it allowed me to SELECT from LOV, then CHANGE/ADD new text in front of returned value in the field. He recorded in the database and questioned without any problem.

    Your article is allowed to INSERT/update? If this isn't the case, then set yes "Update/Insert allowed" and attach your LOV to the element and set "post to list" No.

    You can also see if you have any validation done on WHEN-VALIDATE-ITEM trigger or after CHANGE which will fail because you change LOV populated values.

    I hope that helps!

  • Dynamically set the LOV and region properties

    Hello

    I am building a page with 2 fields LOV, and I need help for both sides.

    My questions are:
    : Code to check if the region is show / hide where should I write?
    : How can I change a variable binding in my SQL view object, which is used in a LOV?

    Details on my page:

    I have a page with 2 regions.
    -Region has
    ... LOV projectID
    -Region B
    ... LOV subTaskID

    I added an object controller for zone A base, and now I'm stuck.

    I want the page to work as:
    (1) when the user navigates to the firstpage, I don't want that region A show
    .... (the user must select a ProjectID)
    (2) after selection projectID and by clicking on a button, then refresh the pageand B in the region shows as well.
    .... (if the user can select a subTaskID)

    The subtasks shown depend on the selected projectID
    (I use a link WHERE TABLE.projectID = variable: 1 article)

    I do not know where to put the code for "make the region visible / invisible.
    And I do not know where to put the code to change this variable binding in region B LOV VO

    Thanks in advance for your help

    Hello

    Answers to your questions:
    : Code to check if the region is show / hide where should I write?
    ProcessRequest of the region/Page Controller

    : How can I change a variable binding in my SQL view object, which is used in a LOV?
    You must have a Lov controller that would call the method in Lov AM which still add the extra whereclause or bind the value of the existing where clause.

    Concerning
    Sumit

  • How to return a NULL value in LOV and insert into a field of allowingNULL number 4?

    Hello

    I have the following LOV and the return_value is PeopleId which is number 4, allowing NULL. And the LOV options are as follows:

    LOV named--> select named LOV-
    Show Extra values-> no
    Dynamic translation-> - untranslated-
    The number of columns - > 1
    Display Null-> Yes
    Null-> - Select value-
    Return NULL,-> NULL value
    ^^^^^^^^^^^^^^^

    ----------------

    List of values definition:
    Select Lname | ', ' || Fname | ' ' || Mname as display_value, PeopleId as return_value
    of PEOPLETB
    where PEOPLETYPE ('i', 'HERE', 'IF')
    order by 1
    --------------

    Given that PoepleId is a number 4, allowing NULL. I want a NULL value will be inserted, if the user does not select anything in the drop-down list. It seems that I would get "ORA-01722: invalid number" error when the PeopleId msg is null (ie: user doesn't have a selection). What is the good 'return Null value' I need to put it in? I tried "NULL" (see above) or nothing, it still does not work.

    Any suggestions?

    Thank you very much
    Helen

    Hello Helen,.

    You have found one of the many sources of my frustration with APEX. Here's what I do:

    In the definition of the element in your page, go to the LOV part and implemented like this:

    Display Extra values: Yes a dynamic conversion (I ignore this)
    Number of columns: 1 display Null: No.
    Display null value: (leave blank) return Null value: (leave blank)

    An empty row is displayed when the user comes first to the screen. If they do NOT select the drop-down list, the value is left empty (null).

    If anyone has a better way, I will definitely experiment with it.

    Don.

  • In cascade LOV and calling a javascript function thro dynamic action

    We have a page where there are lovs cascaded to the country / state. The selection of State list is cascaded with country LOV. We also request a javascript to normalize the child lov (State), so that if there is no value in the list, the lov will be disabled and if there is only one value for show, which will be set as default (enabled). However, it seems apex runs javascript code standardize everything first and then generates the list for the lov State, then the State lov is always disabled.

    I created a page similar to apex.oracle.com with choice of Department lists and employee. The link to the page is http://apex.oracle.com/pls/apex/f?p=40631:2

    In this page, the employee selection list is cascaded to the Department. (1) to any value other then 'IT' or no selection value in the list of DEPARTMENTS, the list of employees must be enabled and should list all the names of appropriate employees. (2) for the selection of the 'IT', it should be disabled with the default selection as "no data found". However it does not for 1). Could someone find the problem and give a possible solution.

    Javascript code executed (that thro NatStandardizeLOV1('P2_EMPLOYEE') dynamic action for Department change is lower.

    < code >
    function NatStandardizeLOV1 (pitem)
    {
    var obj = document.getElementById (pitem);
    obj. Disabled = false;
    obj.options [0]. Text = "SΘlectionner one..";


    If (obj.type is "select one")
    {

    If (obj.length == 1 & & (obj.options [0] .value == ": obj.options [0] .value == null))
    {
    obj.options [0]. Text = "No. Data."
    obj.disabled = true;
    }
    If (obj.length == 2 & & (obj.options [0] .value == ": obj.options [0] .value == null))
    obj.options [1]. Selected = true;
    }
    }


    < code >

    Thank you in advance,

    Natarajan

    Published by: Nikita on May 27, 2011 04:21

    Natarajan,

    The question is one of the time. You're service is running before the Ajax request (triggered by the LOV cascading) brings back the items. So change the 'when' of dynamic Action so that it fires the event "After Refresh" of the question of the Department rather than the event change.

    Kind regards
    Dan

    blog: http://danielmcghan.us/
    work: http://SkillBuilders.com/APEX/

  • You should check the no. values returned by lov in the shuttle

    Jin

    I create a shuttle service that will populate the employee shuttle (left) on the selection of the Department only.
    now I want to check the number of employees filled in the shuttle (left) and if the number of populous employees is null so I want to fill the shuttle with the EMP. who are on the bench..,.


    can someone pls suggest me a solution.

    now how to make the "bench".

    When we communicate bench? You have not given me a clear answer on that yet?
    You said key first, and then you answered page gets sent. So at what point do you do this?

    Just to make my question more clear

    If the number of employees is null

    When you want to check - when the Department is changed?

  • LOV and parameter

    Hi all
    I have a field in the DIsco EUL of the Admin (DEPT) and I created lov, so that I can use it in the report more discoverer as a parameter, and for some reason that I don't see the slight option to search next to the parameter. Any help is greatly appreciated.

    Thank you

    Hello
    Please let us know.

    Its possible that had changed the underlying object causing the LOV is not working. The next time and if all goes well he will not be, try refreshing the file first to see if changes can be detected.

    Best wishes
    Michael

  • How to create a page with LOV and an OK button that calls a stored procedure

    I am new to Apex but not Oracle. I did some VB, C and other emissions.

    I read the day 2 + and has worked in most of the advanced tutorials as well as the task of ermployee Apex 3.0 OBE. I am searching an OBE or aid as follows:

    I need to create a page that has a dynamic LOV which takes the NAME of the CUSTOMER as d and ID r (what I do).

    I need a button on the page 'Go '. Here's the use case.

    The user selects a customer in the LOV
    The user presses GB
    Go calls myschema.go_sproc and passes in selected LOV Cust ID
    MySchema.go_sproc did some work and retransmits a status
    Status is displayed to the user

    Pointers are appreciated.

    1.

    (a) http://apex.oracle.com/ Go and getting started section gives a good overview on the apex.
    (b) at the top to just right next to disconnect... you will find the help... link to help on most of the thing
    (c) ask your question here

    2 for above senario, I'll use region HTML.

    Kind regards
    Shijesh

Maybe you are looking for