LOV value to present the field order LOV/text multi by return value!

I have nested LOV and return the value reduced to another text/LOV field in good order.

My problem,
The text field or return value LOV must be dispay with one by an order of values by (dynamic) .the I using the query in each source LOV.
  select DMS_DD_ENG_DESC dis, DMS_DD_ID ret from DMS_DEPT_DETAILS 
where DMS_DD_DT_REF_ID=:P3_DETAILS

Workspace          :RAM_R&D
User Name/Password :aramani/apex
App                http://apex.oracle.com/pls/apex/f?p=36167:3
I do dynamic action for this case?

can someone help me please.
Thank you
RAM

Hi Ram,

I changed your application and I think it works as desired.
I don't know if it exactly what you need, but take a look and let me know.

Kind regards
Kees Vlek
-----
Company: http://www.orcado.nl
Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
Twitter: http://www.twitter.com/skier66

If the answer to question please change replied and mark the appropriate post as correct / helpful.

Tags: Database

Similar Questions

  • How to hide the field element of text based on true or false cases in the oracle apex

    Hello

    I have a set of text field in the oracle apex:

    1. Order number
    2. Revision number

    When we open the report, the review must be hidden.

    Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.

    If he enters the number of duplicate order, the revision number should be hidden.

    Help, please.

    Hi 2932464,

    2932464 wrote:

    Hello

    I have a set of text field in the oracle apex:

    1. Order number
    2. Revision number

    When we open the report, the review must be hidden.

    Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.

    If he enters the number of duplicate order, the revision number should be hidden.

    Help, please.

    Give you an example of how to do to get there.

    Step 1. Create three elements of the Page

    (1) P1_ORDER_NO - text field

    (2) P1_REVISION_NO - text field

    (3) P1_ENABLE_DISABLE_REVNO - hidden, protected value - no.

    2 create dynamic Actions 3

    (1) disable the revision on the loading of the page number

    Event - loading of the Page

    Action - disable

    Fires when the result of the event is - real

    Selection type - point

    Point - P1_REVISION_NO

    (2) check the number of duplicate order

    Event - change

    Selection type - item (s)

    Article (s) - P1_ORDER_NO

    Condition - is not null

    Action - to execute the PL/SQL Code

    Generate in front of false action - not checked

    Fires when the result of the event is - real

    Fire on page load - disabled

    Stop execution on error - checked

    Wait for the result - verified

    PL/SQL - code

    declare
    l_count number;
    begin
      select count(*) into l_count
        from emp
       where empno = :P1_ORDER_NO;
    
    if l_count > 0 then
      :P1_ENABLE_DISABLE_REVNO := 1;
    else
      :P1_ENABLE_DISABLE_REVNO := 0;
    end if;
    end;
    

    To present the page = P1_ORDER_NO

    Page referred to return = P1_ENABLE_DISABLE_REVNO

    (3) enable and disable the revision number

    Event - change

    Selection type - item (s)

    Article (s) - P1_ENABLE_DISABLE_REVNO

    condition - greater than or equal to

    value - 1

    Action - disable

    Fire on Page Laod - disabled

    Generate the opposite action of false - verified

    Selection type = item (s)

    Article (s) - P1_REVISION_NO

    Hope this helps you,

    Kind regards

    Jitendra

    DER_NO

  • Someone has problems with the visible property of the fields of dynamic text in html5 canvas?

    Hi, I have problems with text fields dynamic that I placed the Framework 1. I wanted to have a visible property false until after the click of a button. So, I placed a line of code on the layer actions of frame 1 as:

    This.Sum.Visible = false; sum is the dynamic text field

    Even with 5 other text fields.

    Some of the fields appear when I test the movie and others not, but no suppose to appear. The console.log shows no error, and when I investigated console.log as: 'console.log (this.sum.visible)', I get 'false '.

    Any ideas?

    Thank you for your time.

    Yes, the link displays multiple textfields whose visible property works without problems in an animated project of html5.

  • Cursor move to the field next when you press enter/return

    Is there a way to make the curson go to the next field when you click Enter / return as it does when you press the tab key? Currently he entered just the info in the current field and does not advance to the next field with I button back.

    You can with JavaScript, but you have to use in the event of strike or Format a field, which is (normally) not available for all types of fields (checkboxes, for example). For text fields, you can use the following in the Format event JavaScript code:

    Fragment of script format for the text field

    If (event.commitKey = 2) {}

    getField("Text2").setFocus ();

    }

    Replace "Text2" with the name of the field you want to access the next.

    The problem with this approach is the Format or the key event isn't available for the fields for which you have selected one of the pre-defined formats types (for example, number). There are ways to work around this limitation, if necessary, but things get a little complicated.

  • Value of the TextInput component spent in the field of dynamic text - part 02

    So I completely did not solve my problem, here is what happens...

    Update the dynamic text box is always a character behind what is entered in the TextInput component.  For example, my name is Shawn, if I entered 'Shawn' in the text entry the dynamic text boxes will display 'Shaw '.  He will enter the "n" if I type another character, and then go back, delete the extra character.

    Any ideas or help would be greatly appreciated.

    Try to use the CHANGE event on the contrary...

    F_NAME.addEventListener (Event.change, copyText);

    L_Name.addEventListener (Event.change, copyText);

    etc...

    function copyText(e:Event):void

  • The formatting String and Integer output in the field of rich text in Blackberry development

    Hello

    well to help try to string format and Intreger (of a method called getScore()). but not output as required.

    example code:

    VFM. Add (new RichTextField ("% - s 15% 15 %n d", name, getScore())); > not Workin not at all

    VFM. Add (new RichTextField ("% - s 15% 15 %n d" + name + getScore())); > name and Score of return but not formatted

    My goal is to have

    NAME                                                                            SCORE

    sam                                                                                20

    BB                                                                                   5

    Hello

    Thanks for your reply, I have dealt with the issue of a reference I got online, solved my probled.sample below

    private String getModifiedName (String name) {}
    String testString = "this is a very large string";

    While (getFont () .getAdvance (testString) > getFont () .getAdvance (name)) {}
    name = name + "";
    }
    return the name.
    }

  • Check if the number in a text field will evaluate to a date format

    I have a field FieldA, which contains 6 numbers, (even if the field is a text field). I need to know if that evaluate the numbers from the field to a real date in MMDDYY format. For example, if FieldA contains 060110, which would evaluate then to a real date from 01/06/10. However, if FieldA contains 130110, so this isn't a valid date and the test will indicate accordingly. I was thinking about using a case statement, but unsure of how to test if the numbers are evaluated to a valid date...

    Sort of:

    BOX WHEN FieldA = 'Date valid' THEN FieldA TO_DATE(FieldA, 'mm-dd-yyyy')

    Any help is appreciated...

    Thank you...
    /* Formatted on 11/14/2011 4:03:53 PM (QP5 v5.149.1003.31008) */
    CREATE OR REPLACE FUNCTION validate_date (in_dt VARCHAR2)
       RETURN VARCHAR2
    IS
    BEGIN
       FOR c IN (SELECT TO_DATE (in_dt, 'mmddrr') x FROM DUAL)
       LOOP
          RETURN 'Valid Date';
       END LOOP;
    EXCEPTION
       WHEN OTHERS
       THEN
          RETURN SQLERRM;
    END;
    
    --------------------------------------------------------------------
    
    WITH t AS (SELECT '060110' fieldA FROM DUAL
               UNION ALL
               SELECT '130110' FROM DUAL)
    SELECT CASE validate_date (fieldA)
              WHEN 'Valid Date' THEN TO_DATE (fieldA, 'mmddrr')
           END
              col1,
           validate_date (fieldA)
      FROM t;
    
    COL1     VALIDATE_DATE(FIELDA)
    6/1/2010     Valid Date
         ORA-01843: not a valid month
    

    Published by: pollywog on November 14, 2011 16:03

  • Using BAltered to check the data in the fields

    I have 3 domains that must be met when a user selects an option (command simple mouseUp) I want to verify that the fields already have text in there.

    If FIELD 1, given that the new selection should enter in field 2,
    If the FIELDS 1 and 2 have given the new selection should go to zone 3,

    using the script below I was able to check if ZONE 1 is used and if yes add to the FIELD 2 However, I need the script stops when it has identified that it is now used in field 2 and has no need to put it in the 3rd field as well.

    I hope this makes sense

    On mouseUp
    bAltered = 0

    If member("Activity1_mini").text <>then EMPTY bAltered = 1
    If member("Activity2_mini").text <>then EMPTY bAltered = 1
    If member("Activity3_mini").text <>then EMPTY bAltered = 1

    If bAltered = 0 then--add to the first box

    Member ("Activity1_mini"). Text = 'go & return '.

    end if

    If bAltered = 1 then - add to the next available zone

    Member ("Activity2_mini"). Text = 'go & return '.

    If bAltered = 1 then

    Member ("Activity3_mini"). Text = 'go & return '.

    end if

    end if

    end

    I know right what you do, but something like this might work:

    On mouseUp
    bAltered = 0

    If member("Activity1_mini").text <> VACUUM then bAltered = 1
    If member("Activity2_mini").text <> VACUUM then bAltered = 2
    If member("Activity3_mini").text <> VACUUM then bAltered = 3

    case bAltered of
    0:-Add to the first box
    Member ("Activity1_mini"). Text = "go and back".
    1:-Add to the next available zone
    Member ("Activity2_mini"). Text = "go and back".
    2 :--addto the last box
    Member ("Activity3_mini"). Text = "go and back".
    cases of termination

    end

  • Password protected fields: cursor lost text &amp; several fields protected

    I worked on password protecting the fields, with lots of help from previous messages by George Johnson: http://forums.Adobe.com/message/3314067#3314067

    I'm doing a code request George provided to text fields, in particular, that seems to work very well. I have, however, met with two questions:

    #1: lost the cursor:

    (1.) I click on the text field

    2.), I am invited to a password

    (3.) I enter the password

    (4.) the text field is confirmed to be "disabled".

    Now, I have trouble with actually type in the text field. I can see the field has been disabled, but, once the password is entered, my text cursor is automatically in the field of disabled text. Other times, I can type the incorrect password, click 'ok' and always type in the text field. Strange, Yes? I wonder if it has problem of code or a user number (me). The latter is more likely

    #2: best way to lock/unlock several fields? :

    I have 8-10 domains that could be turned off and typed in. From now on, I think that this code should apply to each text field indivually - which is probably fine. With the form, however, a user may potentially want to type in all these areas protected by Word. Is there a way to just disable all fields of 8 with a single action - and relock then automatically their once typed in? If so, what is a clean way to do this?

    #1 is my priority. #2 is just interesting to explore

    Any help would be appreciated!

    The code you use is intended to be the #2 case that you mentioned in your initial post. In other words, it is supposed to be triggered by a button or a bookmark for lock/unlock field group.

    It seems you're wanting locking (set read-only) a field after the user enters a value, it that right? The problem is that fields that are set to ReadOnly are more interactive, so a mouse-up script cannot be triggered.

  • How to read the values of the field of LOV disabled?

    Hi all

    I have a requirement, based on values that we entered one of the LOV fields, then we are arising from the new values based on the value that we entered this field of LOV. And then I must by default new LOV values derived in a two other fields of LOV and then disable them. Once the fields are disabled, then I'm not able to read the values using the pagecontext.getparameter... I get nothing when I tried to read using the pagecontext.getparameter.

    Pointers on how to read the values of disabled field/LOV?

    Thank you
    Clarriiza

    1. you already have values, and that's what you set in the LOV before turning off, right? So why do you need to recover again from the LOV.

    2. are you disabling or making it readonly? I think that if it is disabled, you might still be able to get the value using pageContext.getParameter.

    3 have you tried to get the handle to the LOV bean and get the value using lovBean.getValue (pageContext)?

    4. another Option is to combine the value of a FormValue Bean also (as well as the LOV bean) and retrieve it from FormValue.

    5 BTW, why are, why you're seen LOV if you disable it? Can't you just a TextBox?

    See you soon

    AJ

  • ADF LOV-&gt; UI: main table showing the fields ID and not the search values

    Hello
    I am very new to the development of the ADF and will have a simple question that I can't solve.

    Using Oracle JDeveloper 11.1.2.0.0 I create my views and objects of entity without incident. I have an entity object that has several "search values" (these are all optional references to foreign keys to tables 'children'). Objects and relations are perfectly mapped the ADF.

    In the views of child object I created the list UI tips
    -Type: Combo box with list values
    -the "selected" column is the "description" of the research

    in the editable display object, I traced the fields 'id' to use the predefined LOVs.

    This works as expected in the user interface, I created with an ADF table can be updated.

    However (here's the noob question), the "id" is displayed in the search on the table column. When I click the menu drop-down I can see the description, etc, but for a professional user when they look at the table, they see an unfriendly identification number.

    How can I get the part of the LOV display to show the description, while remaining linked to the ID of the parent entity.

    for example, it shows
    Country             LOV1        LOV2     LOV3
    United States     15           18           2
    while I want to display:
    Country             LOV1            LOV2       LOV3
    United States     Washington  Seattle     Rain
    If this has been answered several times or walk through there, sorry for the redundant question, I simply can't find a solution!

    Hello

    There are several ways to do this, you simply need an additional outputText next to the lov component field to display the value of the description.

    If you search the forum or adf blocks, you'll find several implementations.

    And here's one: http://andrejusb.blogspot.com/2010/06/lov-description-text-with-groovy.html

    Gabriel.

  • How to upgrade the fields if a lov is changed

    This is my first attempt to use APEX and I encountered a problem.
    I have tables MACHINE (NUMBER of MACHINE_ID (PK), NUMBER BOILER_ID, MULTIBLOCK VARCHAR2, VARCHAR2 SERIALNO)
    and the BOILER (NUMBER of BOILER_ID (PK), POWER of NUMBER, FUEL VARCHAR2, VARCHAR2 MANUFACTURER, MODEL VARCHAR2)
    MACHINE. BOILER_ID is a FK to BOILER.

    I have created a form on MACHINE and changed the BOILER_ID P16_BOILER_ID field to a selection list and the LOV is:
    Select the MANUFACTURER. » '|| MODEL display_value, BOILER_ID as BOILER return_value order by 1
    It works very well.
    Now, I have placed 2 new P16_POWER, P16_FUEL display fields in this form and I want that whenever the user changes the value P16_BOILER_ID using the selection list, these 2 fields to be filled by the respective values of the table of the BOILER.

    No idea how to do this?

    Hello

    As you use the items "view as text", they do not have a 'value' setting, so you must use "innerHTML" instead, then:

    function getLebitasInfo(filter)
    {
    var xml = null;
    var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=GET_LEBITAS_INFO',0);
    get.add('G_LEBITAS_ID', filter.value);
    ret = get.get('XML');
    if(ret)
    {
    var kausimoItems = ret.getElementsByTagName("KAUSIMO");
    if (kausimoItems)
    {
    var kausimo = document.getElementById("P16_KAUSIMOL");
    kausimo.innerHTML = kausimoItems[0].getAttribute("VALUE");
    }
    var isxisItems = ret.getElementsByTagName("ISXIS");
    if (isxisItems)
    {
    var isxis = document.getElementById("P16_ISXIS");
    isxis.innerHTML= isxisItems[0].getAttribute("VALUE");
    }
    var sxoliaItems = ret.getElementsByTagName("SXOLIA");
    if (sxoliaItems)
    {
    var sxolia = document.getElementById("P16_SXOLIAL");
    sxolia.innerHTML= sxoliaItems[0].getAttribute("VALUE");
    }
    }
    get = null;
    }
    

    Andy

  • Show LOV only when the field is empty

    Hi all
    My surroundings:
    Oracle 10g on Windows
    Forms [32 bit] Version 9.0.4.1.0 (Production)
    Oracle Database 10 g Enterprise Edition Release 10.2.0.5.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options
    Oracle Toolkit Version 9.0.4.1.0 (Production)
    PL/SQL Version 9.0.1.5.1 (Production)

    My problem:
    I have a field in a block, which is text_item and is linked to an element of LOV. I want the LOV appears automatically, whenever I tab in there, only when the element is EMPTY (for example when I try to insert in the block). When, upon request, it should show only the value in the field, and user can choose to activate the LOV, by pressing F9, if she wants to. It now displays automatically each time text agenda is a debate (works very well when the user is inserted, but annoying when she questioned the shape and trying to tab thru.) Every time she focuses on the field, LOV is popping up!)

    The current setting for the property on the element of text field: Type: text element
    The list of values: MY_LOV_NAME
    Validation of list: Yes

    Properties on MY_LOV_NAME
    Auto display: Yes

    Any suggestions? Or trigger level I can use, and if so, what build_in can use?
    New forms and will greatly appreciate advice from pros!

    Thank you
    Libran_girl

    It's very simple,

    IN once - new - item - Instance

    DECLARE
    V_LOV BOOLEAN;
    BEGIN
    IF: NOM_ELEMENT IS NULL
    THEN
    V_LOV = SHOW_LOV (LOV_NAME);
    END IF;
    END;

    Try it, you will get your result, if it doesn't work, try: block_name.item_name

    Abbas

  • Update the fields after the harvest with LOV

    Hi guys
    I've seen similar to this topic topics, but I failed to understand. I have a LOV me returning multiple values, but I do not see them until I refresh the page. How can I do for the fields auto refresh on change of field LOV?
    Thank you

    use partial-page rendering by:

    1. giving inputListOfValues Id (ex. myLOV)
    2-set inputListOfValues property to AutoSubmit
    3. for each component will be LOV return value that set its ParialTriggers property to the inputListOfValues Id (myLOV)

  • [ADF, JDev12.1.3] SelectOneChoiche created from VO instance with 3 fields: how to retrieve the value of all the fields of the selected element?

    Hallo,

    I defined a VO with 3 fields (A, B and C) and I would like to create a SelectOneChoiche that shows only the field as options from this instance of VO.

    In a managed bean, I need to retrieve the values for all areas (A, B and C) of the item selected by the user.

    I started dragging the entire VO instance to UI to create a SelectOneChoiche (in which I have chosen to show only the to field).

    Then, I created a for the SOC ValueChangeListener read the values A, B and C of the selected element, but the only thing I've done is to get the displayed value:

    System.out.println((String) ((RichSelectOneChoice) FacesUtils.findComponent("MySoc")).getValue());
    

    You kindly help me?

    Thank you

    Federico

    Federico, sorry I didn't see your answer.

    As you use 12.1.3 you can do this more easily than the code that I posted before. You can use

    {} public void onCountrySelection (ValueChangeEvent valueChangeEvent)

    FacesContext will involve = FacesContext.getCurrentInstance ();

    Make sure that the selection change is processed and the current link lov line has the new selected line

    valueChangeEvent.getComponent () .processUpdates (contxt);

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);

    the newindex in not necessary, but ok let's get it (must be equal to the CountryId, the pharmacokinetics of the binding of the lov

    String newindex = (String) valueChangeEvent.getNewValue ();

    get the selected value in the list that is the selected line of the binding of the lov

    Line lFromList = list.getSelectedValue () (line);

    now, we can get the attributes of the line of lov

    String s = (String) lFromList.getAttribute ("CountryId");

    System.out.println ("CountryId:" + s);

    String s2 = (String) lFromList.getAttribute ("CountryName");

    System.out.println ("CountryName:" + s2);

    BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);

    System.out.println ("RegionId:" + s3.toString ());

    }

    The form that I use is based on the location of the HR DB schema table. The CountryId is configured in the view object to display a lov based on the campagneVoir. This view contains thre CountryId, CountryName and RegionId attributes.

    If you want to get to the attributes of an action listener you can use this code

    {} public void onGetSelectedCountryLov (ActionEvent actionEvent)

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);

    get the selected value in the list that is the selected line of the binding of the lov

    Line lFromList = list.getSelectedValue () (line);

    now, we can get the attributes of the line of lov

    String s = (String) lFromList.getAttribute ("CountryId");

    System.out.println ("CountryId:" + s);

    String s2 = (String) lFromList.getAttribute ("CountryName");

    System.out.println ("CountryName:" + s2);

    BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);

    System.out.println ("RegionId:" + s3.toString ());

    }

    You must add the valueChangeListener and at least add the lines

    FacesContext will involve = FacesContext.getCurrentInstance ();

    Make sure that the selection change is processed and the current link lov line has the new selected line

    valueChangeEvent.getComponent () .processUpdates (contxt);

    to ensure that the selected line is available when you click the button.

    And set autosubmit'= true for the field in the UI that displays the LOV.

    Timo

Maybe you are looking for

  • Cannot add apps to launchpad

    I drag an application to launchpad on the dock, but nothing happens. I click on launchpad and it isn't here. What's wrong? I have installed Mac OS Sierra.

  • Apple TV remote stopped working - Apple TV 4 Gen

    Hello My new Apple TV remote suddenly stopped working, I plugged into the adapter and then the apple popped up TV "device disconnected.  It seems that I fried it when I plugged it in. I have tried all troubleshooting techniques suggested such as: 1.

  • Black screen with blinking cursor

    So today I started my computer normally and I was doing my normal activities for about 5 minutes before my computer automatically shut down and restarted. After the flash blue HP screen, it goes to a black screen with a cursor blinking in the upper l

  • creating a dll from simulink model labview requires visual studio

    I asked the same question on the forums of Simulink, but maybe someone here has the answer: I am trying to do this here: http://zone.NI.com/DevZone/CDA/tut/p/ID/3447 However, I get the following errors of the workshop of Simulink in real-time: Error

  • Photosmart 5520 go to sleep, won't wake up

    I just bought a printer Photosmart 5520. I put it up as a wireless network printer and use ePrint to my Apple iOS devices. Everything works fine until the printer goes to sleep. Initially, when it goes into sleep mode, it will wake up when I touch th