Conditional question of LOV

Hello world

in a display object, I have a based transient attribute on which, the LOV target is enabled on another attribute.

JDeveloper: 11.1.1.5.0

MyViewObj
--------------
TransientTypeSelector = string
valid values: t1, t2, t3



MyLookup: int
The list of values Switcher: TransientTypeSelector
LOV_t1: default
LOV_t2
LOV_t3


My question is, how do I disable "MyLookup" where nothing is selected in "TransientTypeSelector"?
because its not make sense to have a search with no 'TransientTypeSelector' type selected in my company.

Please notify
Thank you

Shahab

Hello

not sure if you can do it on the layer model. However, you can on the UI layer. Just the autosubmit on TransientTypeSelector field and PPR MyLookup field game. Have a managed bean that is referenced from the TransientTypeSelector disabled property, which returns true or false based on the value of line TransientTypeSelector

Frank

Tags: Java

Similar Questions

  • Conditional 'view only' LOV

    Problem:

    How can I set the LOV page "view only" item based on the value of another element of page?

    Given:

    have a static LOV.

    the page contains 2 items:

    P1_LOV and P1_Y.

    P1_Y is always "1".

    P1_LOV value depends on the value of session state. Session state is defined by the process of "before the header."

    I want to load the page and assign the P1_LOV State "view only" If P1_Y = 1.

    Please notify.

    Post edited by: AZZ found a bug in my original code. Therefore, the original task has got simplified for what it is now.

    Hi AZZ.

    If I can just briefly stick my nose in your own, private and already answered thread (and just in case if you found another bug in your code).

    I think more transparent method woud be to add a DA on P1_Y:

    Event: change

    Selection type: product (s)

    Product (s): P1_Y

    Condition: equals

    Value: 1

    Then add real action: disable LOV, fire the loading of the Page = Yes (if necessary add also a false action accordingly).

    Kind regards

    Pavel

  • Seen the condition in APEX LOV

    Hi all

    I have a scenario like that.

    1. I have a select list with 2 values 'Source', 'target '. I'm this inserting data in the table will therefore not be able to change their values.

    2. I have a second list B. B must be populated, based on the list. If "Source" is selected in a list, then the list B SQL code should be select Field2 from table where field1 = 'Pre' if 'Target' is selected, then the SQL code of the B list should be Select field3 in table where field1 = 'Post'

    Please let me know how I can do this.

    Merger consultant wrote:

    Thanks for the information. In this way can be used in case if the SQL that is used to fill the B list is identical for the two criteria. But in my scenario, I have 2 different SQL must be executed according to the value that is available in LIST A

    If a value in the list = 'Source' select Field2 from table where field1 = 'Pre '.

    If a value in the list = 'Target' select field3 from table where field1 = 'Pre '.

    Let me know how I can do this?

    Basic SQL. Use a UNION are mutually exclusive in the item query B to select the required field under certain conditions according to the value of point A:

    select
        field2 l
      , field2 v
    from
        table
    where
        :item_a = 'Source'
    and field1 = 'Pre'
    union all
    select
        field3 l
      , field3 v
    from
        table
    where
        :item_a = 'Target'
    and field1 = 'Post'
    order by
        1
    

    Note that queries LOV must return two VARCHAR2 values. As you mentioned only one column in each case I guess the display values and back are the same. If this is not the case, adjust the query accordingly.

  • Question about LOV

    Hello

    I created some element of the selection with a specific LOV list, I want to change "Text Null" attribute depending on condition has occurred, I did not have a fixed value

    Is there a solution to this problem

    Thank you

    If you have more than one LOV and all of them to be dynamic null values, you can create a table that contains three columns:
    create table null_values (ID number, always_null number (1), null_text varchar2 (20));
    So you should all Union LOV queries with the recording of null_values table.
    Other than try Javascript.

    Is it so important to put a dynamic text null...?

    Saad

  • Conditions of selection LOV 'more '.

    The trigger next ('thank you' to Francis) eliminates issues previously selected to appear in a LOV when choosing this new (in the case of several elements Records).

    How can I eliminate the previously selected items in the group record to appear in the LOV 'AFTER' the post data (i.e. validated in the database)? In other words, it works fine the first time the user enters the data but only removes elements of the group the record LOV to the present session of the form. If the user enters the form at a later date to edit or change the data, I don't want the previously selected options questions to choose from on the LOV.

    Ideas, suggestions? Thanks, M



    -Delete the selected value registration group to eliminate the double selection
    DECLARE
    RG_ID RecordGroup;
    REC_COUNT NUMBER;


    BEGIN

    -Retrieves ID of record group
    RG_ID: = Find_Group ("RG_SEC_Q"); -Returns a record group ID when it detects a valid group with the given name


    -Get the number of lines-
    REC_COUNT: = Get_Group_Row_Count (rg_id); -Returns the number of lines in the record group


    -Delete the selected line-
    FOR loop_counter IN 1.rec_count LOOP
    If Get_Group_Number_Cell ("RG_SEC_Q.LOOKUP_VALUE_DESC", loop_counter) =: AGENT_SEC_QUESTIONS. SECURITY_QUESTION_DETAIL THEN
    Delete_Group_Row (rg_id, loop_counter); -Returns the value of a record group cell identified by the given row and column, and then deletes the indicated line of the record group
    "exit";
    End if;
    END LOOP;

    END

    If you 'post' of each record to one, you can forget the first method and use the last of them. Place this code in the Select command of the record group for this LOV, and that's it.

    Set the auto refresh of the LOV to yes, then whenever it would display, it would show that the records not yet displayed in the database.

    François

  • Is this a bug? HTML is not escaped in the conditional read only LOV page elements

    Then test my application for injection HTML filling HTML for each column in my data injected datamodel HTML running when a field only LOV ready, I noticed



    I have dynamic LOV in use in my form, so their share, users can select. That sometimes I don't want to make them able to change a value, they chose earlier.

    For this reason I condtionalu readonly my LOV. by using the conditional read only an option for the items on the page.



    That's when a dynamic LOV made readonly HTML code inside is done instead of escaped



    is this a bug or is it intentional?

    At least, I think I should be able to choose the behavior.



    Geert

    Geert - Thanks for the info. I think that's not a bug. With the read-only option, it displays the data as it would for a display text (does not save the State) items for which source of HTML element, that is, unescaped. If you want the text escaped by using your dynamic lov query simply use htf.escape_sc:

    Select htf.escape_sc ('data') d, 1 r of the double

    Scott

  • Question of LOV cascading

    Hi all

    I have a table that contains the data of students, with columns for the dorm, sports, racing section, floor living room and advise among others. I've implemented a LOV this list each of these columns, so the LOV is defined as:

    Display return value of value
    Advisor 1
    Section 2 of the FYE
    University residence 3
    University residence floor 4
    5 sport

    Now I want to set up a second LOV that lists the different values depending on which value is selected in the first LOV. So if counsel is selected, each Member of the faculty who is a counselor would be listed in the second LOV. If the Sport is selected in the first LOV, a list of all sports (Football, Baseball, Volleyball, etc.) would be listed in the second LOV.

    I tried the following to the second LOV, but it gives an error:

    IF: P8_GROUP = "1" THEN
    RETURN
    "select distinct sect of wlwrap where the sect is not null order by 1';
    ELSIF: P8_GROUP = "2" THEN
    RETURN
    "select distinct sport of wlwrap where the sport is not null order by 1';
    END IF;

    The error is: error during rendering of the element on the page P8_SUB_GROUP. ORA-20001: the query must begin with SELECT or WITH (P8_SUB_GROUP is the name of the element that uses the second LOV)

    Thoughts?

    Thank you

    Bob

    Published by: wisers on 17 April 2013 15:43

    Hi, wisers

    What version do you use? If it is 4 or higher, you can set the Cascading LOV article Parent (s) with: P8_GROUP in your second LOV and put in place of Page to submit items with the same value. After that, you must create a query like this:
    code here
    Select a separate sect
    of wlwrap
    When the sect is not null
    and: P8_GROUP = 1
    Union
    Select distinct sport
    of wlwrap
    where the sport is not null
    and: P8_GROUP = 2
    order by 1;

    I'm sorry if I do not use the tag for the code properly: P...

  • Question of LOV

    I'm new in the ADF (11.1.2) and need help with the list of values. I will try to explain my problem to example of the employee and the Department.
    I create a page for the query and change the employees. One of the attributes of the employee's Department and I want to build a LOV to see all departments.
    VO used to display and edit the employee data is built on employee and department EOs, concerning employees, the attributes are editable, and others are not.
    What I want is to display a LOV on behalf of the Department, not deptno. In fact, I won't display at all on my jsf page deptno (because it is hostile to users), but still be able to use a name of Department LOV to fill deptno.
    How can I solve this problem?
    Thank you

    See if this helps:
    http://blogs.Oracle.com/Shay/entry/finding_a_code_by_typing

  • Research question Page LOV

    Hi all

    I have a bean of query according to search with a field of LOV.
    Whenever I have select a value from the LOV window and return to the base page, I get all the results displayed on the array of result without clicking the button 'Go '.

    I have not written any specific code for LOV, still I am facing this problem.

    Please help me solve this problem.

    Thank you
    SK

    I see that in your co code, code below line is executed for each event.

    am.invokeMethod("checkSelectedrow",null);
    

    Check if it is the reason for the execution of queries of table of results.

    Put this statement if loop.

    Generally, you can use loops-otherwise as below

    If()
    {
    }
    another if() function
    {
    }
    another if() function
    {
    }
    on the other
    {
    }

    -Anand

  • conditional question

    Dear friends,

    I have a problem with the writing of a conditional inline:

    < mx:Repeater id = "buttons" dataProvider = "{destinationListCollection}" >

    "< mx:Image x =" {buttons.currentItem.x} "=" {buttons.currentItem.y} "width ="10"height ="10"toolTip =" Address: model {buttons.currentItem.title} {buttons.currentItem.number}: {buttons.currentItem.model_name} ' "
    source = "({Buttons.CurrentItem.isAvailable} is 'true')? "" "{available_icon}: {not_available_icon}" id = "location_image" click = "showWindow (event); showPath (event)" / >

    < / mx:Repeater >

    I put a variable for {available_icon} and not available_icon:


    public var available_icon:String="/assets/build_available.swf;

    public var not_available_icon:String="/assets/build_notavailable.swf;

    He brings me broken image link.

    What I am doing wrong?

    Thank you!

    Mika

    I know there is work but you could HARD-code an array with objects example 2 or 3 so I can test with it?

    Dany

  • ADF11g: Question SelectOneChoice LOV (only 25 of the 29 records displayed)

    Hello
    I use 11.1.1.3
    In my application, I have a View object ("" + Select * Apps.Processes + "")
    This query returns me 29 records.

    I've linked this VO with selectOneChoice. But when I run the app I find only 25 first records displayed in the SelectOneChoice.
    The last 4 reviews are never displayed, although the query retrieves all records of 29.

    Some can please help on this.

    Thank you best regards n
    Maryline Roussel

    Jin
    Set the range size =-1 of the itreator

    RG Thomas

  • Question Maplestory Private Server installation error

    Question, I love maplestory private servers, but whenever I try to open the installation program me repeat it cannot load the dll, I got the maleware, deleted registry and virus put all of my accidentally deleted dll files and he says still cannot load the dll... So I decided to just do a restart of the entire system with Acer eRecovery Management or recovery. However before I do I want to know if anyone of you could tell me otherwise

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/category/w7itpro

    It will be useful.

    Let us know if you encounter problems with Windows in the future. We will be happy to help you.

  • Question slide insert problem in Captivate 9 Responsive Design project

    I'm trying to insert a question after a slide in the project but Captivate keeps placing below the new issue with a pile of other issues in the project. When she did this, I can't move the slide to the post I want to in class stream nor can I move any other current slide. What should I try?

    That's what I did: I deleted the cache. I tried the previous iterations of the project without result. A conditional question: I am not connected to the internet on this computer. which would affect the behavior of classes?

    I don't know if there is any problem with how to set quiz preferences but I don't know that I have not had any problems with the insertion of slides where I wanted them earlier in the development of the project.

    Thanks in advance for your help.

    Chris

    The usual reason for this behavior is that you try to insert a quiz with Questions before the test.  Questions before the test can be placed at the beginning of a lesson BEFORE all other issues for the main quiz quiz.

    You may have several types of quiz in this module?

  • Problem writing conditional Scripts

    I am really new to all this and have several questions here already.  I have been looking around for a way to solve my own question but have not found one so I'm going to ask what I'm doing wrong.  I have these boxes:

    Region Capture.jpg

    Later in the same form, I have this section:

    Region Capture3.jpg

    I am wanting to have data that are checked in the first box appear in the second so it will look like this, if the 'Good' field has been verified at the beginning of the form?

    Region Capture4.jpg

    Should what script I use?

    Another question aside.  Is there a good book, I read and study this? I hate asking questions and love learning new things.

    Start here: http://www.adobe.com/devnet/acrobat/javascript.html

  • Restrict the selection to double in LOV

    Hi all...

    Could someone tell me how to prevent a user to pick the same value twice in a pop-up with an LOV?

    I have a form that allows users to choose a form of question a LOV (using a push button). The idea is for them to select a number of security issues and then respond as a "tip" if necessary for future password validation. I need to eliminate the possibility of allowing them to choose the question 'even' every time. They are required to choose and answer 3 questions.

    Also, how can I eliminate giving them the same 'answer' as well (even if all the questions are different).

    Get_Group_Number_Cell() is for use with a cell of type number. For CHAR or DATE, use the corresponding built-in Get_Group_Char_Cell() or Get_Group_Date_Cell()

    François

Maybe you are looking for