Hide an item based on the valve

Hi All-

I have 2 valves (think clamshell has and valve B in this case). When the form appears Valve A a text element should display. When the form shows the text element of valve B do not show (it should hide the form). I know that I have to give a condition for this article, but I'm not sure what to give.

Appreciate your help,

Kind regards
Nani (Version 3.2 of the Apex).

Novice,

For your article, there is an attribute of type condition. Set it to the "value of the point in Expression 1 is NULL". 1 expression of the value = "VALVE_B" (or whatever the name of the page for valve b element).

(I couldn't say if you mean valve or value)

See you soon,.
Janet Tyson

Tags: Database

Similar Questions

  • [ADF, JDev 12.1.3] How to hide menu items based on the logged in user

    Hallo,

    When the user logs on successfully, the applitacions led him to the main.jspx page.

    The main.jspx page has a menu bar that contains all of the available menus, submenus and menu items.

    After the connection, when the main.jspx page loads I would hide all the menus, submenus and menu items that the user is not qualified to see/use (I read the database).

    You kindly tell me which is the way the cleaner to achieve?

    Thank you

    Federico

    user10709360 wrote:

    Hello rohanwalia,

    Sorry, but I need more help

    I guess that the solution is to create a method in the AM who - reading form the database - returns a structure that indicates for each menu item should be visible or hidden.

    • How can I use the data returned by this method?
    • I call in a managed bean specifically dedicated to the management of the menu? Can I also use the already existing media bean, I created for the page?
    • What scope should have the bean?
    • Don't you think that it is better to define a 'visible' variable Boolean (initilized depending on the result of the AM method) for each menu item and how to bind the Visible property of each menu item to the variable respective in the bean in the bean?
    • Or I can loop the result of the method AM setting the Visible property of the menu items? In this case, I guess that all the menu items must be mapped into the bean by user interface variable. Am I wrong?
    • Is it not possible to write a method which, of the AM directly, hide the menus not necessary on the page (so without using a bean)?
    • In general, which are the correct always to hide menu items:
      • (1) before the page is sent to the browser (as "I can do it with PHP);
      • (2) once the page is loaded in the browser (as I can do it with JavaScript)?

    If you could give me some more detailed advice... I would be very happy.

    Thank you

    Federico

    (1) its best to make the treatment inside the method. You can return the parameters as normal java method.

    (2) Yes, you can use bean already exists in the project. But better to create a separate bean for this task of menu.

    (3) scope should be request unless you need to persist the attributes between requests.

    (4) Yes it is possible. You can define and initialize a Boolean variable with the results you get from the table based on the menu items should be made visible.

    (5) If you use the approach to point 4, then also you have to loop through the table menu items and set Boolean variables of bean. Yes you are right for the second part.

    (6) I'm not sure about this approach. How will you map it to your menu mode. It takes research.

    (7) before the page is loaded. I share with you links in above post with which you can do this.

    I hope this helps.

    Thank you

  • Hide a line based on the State.

    Hello, I have a requirement where I have to hide a line based on the State. I am able to highlight the lines but hide the entire line does not work.

    Condition must be met on a line:

    • Thus, if a sum of EXP5_11, EXP6_11, EXP7_11 and EXP8_11 in a current group is all zeros hide this line. Please refer to the RTF-model.

    Attachments:

    • RTF-model.
    • XML file.
    • Sample output generated when the lines are highlighted the meeting status.

    Any help is much appreciated on how I can hide a line.

    EM-: [email protected]

    If please remove your IF condition and add the following code inside the foreach tag

    This works very well in my test.

  • Hide/show elements based on the result of the existing function

    Hello

    I have a function that returns two values that are drawn from a process of application On Demand (thanks Shijesh!):
    function myAjaxCall()
    {
       var ajaxRequest = new htmldb_Get( null , &APP_ID. , 'APPLICATION_PROCESS=getStatus',0);
       ajaxRequest.add('P11_PATIENT_ID' , $v('P11_PATIENT_ID'))
       //notice the below line.. use of split function
        ajaxResult = ajaxRequest.get().split(',')
       $s( 'P11_CCSS_STATUS' , ajaxResult[0]);
          $s( 'P11_COPAY' , ajaxResult[1]);
    }
    I'm trying to hide/show the other two items (P11_COPAY_COLLECTED, P11_NO_COPAY_REASON) based on the return value for P11_COPAY.

    Is it possible to add an IF statement for the function to show the two elements only if the value is equal to 'Yes'?

    I tried this, but then the two values (P11_CCSS_STATUS, P11_COPAY) are not returned, much less any hide/show:
    function myAjaxCall()
    {
       var ajaxRequest = new htmldb_Get( null , &APP_ID. , 'APPLICATION_PROCESS=getStatus',0);
       ajaxRequest.add('P11_PATIENT_ID' , $v('P11_PATIENT_ID'))
       //notice the below line.. use of split function
        ajaxResult = ajaxRequest.get().split(',')
       $s( 'P11_CCSS_STATUS' , ajaxResult[0]);
          $s( 'P11_COPAY' , ajaxResult[1]);
    
    if ( $v ('P11_COPAY' == 'Yes' ) { 
         $x_ShowItemRow('P11_COPAY_COLLECTED');
         $x_ShowItemRow('P11_NO_COPAY_REASON');
    }
    else 
    {
      // Show Items 
    $x_HideItemRow( 'P11_COPAY_COLLECTED');
    $x_HideItemRow( 'P11_NO_COPAY_REASON'); 
    }
    }
    Any suggestion on how / if possible?

    Thank you
    Matt
    if ( $v 'P11_COPAY' == 'Yes' )
    should be
    if ( $v ('P11_COPAY') == 'Yes' ) 
    

    CITY

  • Disable the number of items based on the values of another page/table

    Hi people,

    I have a form with 15 fields such as:

    Form1

    id_plan = 1

    level 1 = 2

    level 2 = 2

    level 3 = null

    level 4 = null

    level 5 = null

    level 6 = null

    and so on...

    Later, in another form that I have:

    Form2

    ID

    id_plan (from 'form1')

    account: 10.01 (based on the number of decimal places defined on the level of 'form1')

    So, I need to disable page Form1 items if I had some values of Form2. But only the levels where the account is registered. In the example above, only level 3, level 4, level 5, level 6 and so on would be activated.

    Any suggestion?

    I could put a read only condition for any page in question, is it good? or there is another suggestion?

    Thank you

    bsalvador

    Hi people,

    To resolve my issue, I used the read only option. I chose the body of the PL/SQL function returning a Boolean and put

    Start

    If (CST_RETURN_LEVEL(:P7_ID_PAR_PLANO_GER) > = 2) then

    Returns true;

    end if;

    end;

    where CST_RETURN_LEVEL is a function that returns the last filled level. If the point of the page is at level 2, I test, if CST_RETURN_LEVEL(:P7_ID_PAR_PLANO_GER) > = 2 then I returned true for read only and so on for other page elements.

    Thank you

    bsalvador

  • How can I show or hide a picture based on the size of the screen in CS6?

    I have a website created using Dreamweaver CS6. I used the checkerboard to fluid to hold different views for each of the 3 types - phone, Tablet, desktop computer. It works well, resizes properly. I would like to be able to show a picture in the desktop version but not the mobile version. How I do that? I can see in the .css file that the screens of different size can have their own different settings. Y at - it code I could add that could hide/show and image based on the users on the same page window? Let's say I have a div that is named photo. How could I add a parameter to the div photo in the stylesheet that would hide the image if it were mobile?

    Thank you

    Marilyn

    Thanks, I was able to change my code using your example and it works exactly as I wanted!

  • How to add dynamic items based on the results of a dynamic query?

    Hi all

    I'm quite new to ofa, here's my problem.

    I have a table 'interventions', each intervention have actions stored in the table "actions".

    I want to show the actions of an intervention in a list, based on the id of the intervention. the response ID value is dynamic, so does not know the number of shares that you want to display in the list.

    Can someone tell me the steps to create a region that has dynamic elements to display names of action?

    Thank you

    Kind regards

    Afaf

    Afaf,.

    Take a look on the link below to see how to create dynamic VO:

    Blog of Anil Oracle Application Framework: create VO when running at the controller or dynamically created VO

    You could add messageStyled text like the code below:

    OAMessageStyledTextBean newMessageBean = (OAMessageStyledTextBean) createWebBean (pageContext, MESSAGE_STYLED_TEXT_BEAN, null,"" ");

    Links to dynamically create elements below:

    Add columns to the table advanced in OA Framework Programatically by Extension

    OPS KNOWLEDGE HELPER

    Let us know if you get any errors when creating.

    See you soon

    AJ

  • Enable and disable the item based on the Condition

    Hi Experts,

    I work in the form of 10g, I conditionally.

    I have the block master detail.

    Master block contains sub elements.

    CUSTOMER

    Address (read only) - no database element

    PRODUCT GROUP (read only) - no database article

    Note: The CUSTOMER is LOV, when I select the customers, I'm failing address and product group.

    Block detail contains sub elements.

    DATE OF START OF BLOCK

    DATE OF END OF BLOCK

    REASON

    Note: when I opened form all fields of retail blocks are enabled

    Requirement:

    1. when I created new record, at the time where I select the customer name, Bill and product group will be by default, in the block of detail - I want to activate and deactivate the block start date based on the value of the product group.

    2 if I erase block master, I need to activate the block_start_date like back when the new form is opened

    3. when I search the data also, block start date must be enabled and disabled based on the value of the product group.

    Could someone help me the best approach to achieve so that she will have no side effects.

    Thank you

    801619 wrote:

    Hello

    Thank you for your response... I have tried code trigger after change of category of products below.

    If: blockname.product_group = "Aviation" then

    set_item_property ('block.block_start_date', enabled, property_false);

    On the other

    set_item_property ('block.block_start_date', enabled, property_true);

    end if;

    1. it is disable the Group field when I put the cursor inside if the product category is "Aviation", but I want it to be automatic at a time where it will default to the value of product category.

    2. If the master clear record, is not allowing return product group

    3 suppose that if enter new record category of products "Aviation", once I put the cursor inside, it's debilitating, let's say if I erase the main recording without saving the changes, it not again allows the Group of products, it is now status (disable) previous.

    4. in query mode, it is not disabling or enabling from a group of products.

    Help, please.

    Thank you

    Ok.

    1. put your code on this trigger after changing point that fills the default value in the product category.

    2. remove the trigger after change of product group.

    3 put the same code to trigger once - new - Record - Instance of the main block.

    Hope this helps

    Hamid

  • Count the number of drop-down list items based on the selection

    You will need to get an "account" (in the fields of totals at the bottom) of each of the values/items selected in the drop-down "ddClassification". My drop-down fields are labeled ' ddClassification.0, ddClassification.1... etc.

    Should a loop be involved? Been looking around for the answers but can't really find anything. The values in the drop-down list 'ddClassification' are 'Choose', 'Major', 'Minor', 'OBS', 'OFI '. If I could just get help on one of the "total" fields (for example perhaps the total large field) first then I could go from there. All THE HELP is APPRECIATED! Thank you!


    I have attached a screenshot and here is the link for the form: Dropbox - ASSESSMENT_NOTES.pdf
    Screenshot.png

    Yes, this requires a loop. Here's the Basic code structure, which you can use for the total key, for example:

    var total = 0;
    for (var i=0; i<=4; i++) {
        if (this.getField("ddClassification."+i).value==4) {
            total++;
        }
    }
    event.value = total;
    

    Place this code in the script to custom calculation of 'txtMajor '.

    Edit: Name of the field max adjusted from 5 to 4...

    Edit #2: Also adjusted the value of "Major" in the value of exports 4...

  • How to hide a field based on the value of a field of a different subform - controls null does not work!

    I use Javascript to define actions. I need to hide a text field, if the value of a field in another subsidiary form is zero.

    -J' tried to check the value in the other field NULL - does not work

    -J' tried affecting a variable str2 where I know that the value in the other field is available, then checking this variable when I initialize the text field - does not work

    What Miss me?

    Hello.

    Try this in the form of native void, referring to the text field (X).

    If (this.rawValue = 1)

    {

    X.Presence = "visible";

    }

    ElseIf (this.rawValue = null)

    {

    X.Presence = 'hidden ';

    }

  • Retrieve the item based on the content of another element

    I have an xml that looks like this

    <? XML version = "1.0" encoding = "UTF-8"? > < WF_EVENT_T xmlns = "http://xmlns.oracle.com/xdb/APPS/GetPOApprovalEvent" >
    < PRIORITY xmlns = "" > 50 < / PRIORITY >
    < SEND_DATE xmlns = "" > 2012-04-27T 15: 33:31.000 + 1200 < / SEND_DATE >
    < RECEIVE_DATE xmlns = "" > 2012-04-27T 15: 34:18.000 + 1200 < / RECEIVE_DATE >
    < CORRELATION_ID NULL = "TRUE" xmlns = "" / >
    < PARAMETER_LIST xmlns = "" >
    < PARAMETER_LIST_ITEM >
    APPLICATION_ID < NAME > < / NAME >
    < VALUE > 201 < / VALUE >
    < / PARAMETER_LIST_ITEM >
    < PARAMETER_LIST_ITEM >
    < NAME > DOCUMENT_DIRECTION < / NAME >
    < VALUE > ON < / VALUE >
    < / PARAMETER_LIST_ITEM >
    < PARAMETER_LIST_ITEM >
    < NAME > DOCUMENT_NO < / NAME >
    < VALUE > 363475 < / VALUE >
    < / PARAMETER_LIST_ITEM >
    < PARAMETER_LIST_ITEM >
    < NAME > ECX_DEBUG_LEVEL < / NAME >
    < VALUE > 0 < / VALUE >
    < / PARAMETER_LIST_ITEM >

    It is an object of purchase wf_event_t from e-Business Suite order. (The list is much longer)

    One of the parameter values is a number of PO

    < PARAMETER_LIST_ITEM >
    < NAME > PO_NUMBER < / NAME >
    < VALUE > 363475 < / VALUE >
    < / PARAMETER_LIST_ITEM >

    What I want to do is to look for the < VALUE > element based on the < NAME > element.

    that is, if NAME = PO_NUMBER THEN
    RETURNS the ELEMENT VALUE

    I suppose I could use a building WHILE in my BPEL but would like to know if there is anyway, this could be done with XPATH?

    See you soon

    Owen

    Hi Owen,.

    The xpath expression will be like:

    / WF_EVENT_T / [NAME = 'PO_NUMBER'] PARAMETER_LIST/PARAMETER_LIST_ITEM / VALUE

    Refer to:
    http://www.w3schools.com/XPath/xpath_syntax.asp

    See you soon,.
    Vlad

    Give points - it's good etiquette to reward an answering machine (5 - useful; 10 - correct) points for their position if they answer your question. If you think it's useful, please consider giving points

  • Hide/show items based on another point when the page is rendered.

    Hello

    I am trying to hide or display the elements on the page when the page is rendered according to the value of a checkbox control.

    That's what I use.

    Body HTML attribute:

    OnLoad = "initialCheck (); »


    Header HTML:
    function initialCheck () {
       if (html_GetElement('P21_BEN_SAVINGS').value != 'YES') {
          html_HideItemRow('P21_COST_SAVING');
          html_HideItemRow('P21_LOCATION_CODE');
          html_HideItemRow('P21_ACCOUNT_NO');
          html_HideItemRow('P21_SVG_DEPT');
          html_HideItemRow('P21_RATIONALE');
       } else {
          html_ShowItemRow('P21_COST_SAVING'); 
          html_ShowItemRow('P21_LOCATION_CODE');
          html_ShowItemRow('P21_ACCOUNT_NO');
          html_ShowItemRow('P21_SVG_DEPT');
          html_ShowItemRow('P21_RATIONALE');
       }
    }
    I want the items listed to show when the page is loaded when the P21_BEN_SAVINGS is checked (equal to 'YES'), but they are hidden in this situation.

    I see not the onload call in Firebug, and I don't know if it is the configuration of firebug or that JavaScript is not fair.

    Thanks for any help!

    Matt

    Hi Matt

    Try this

    function initialCheck () {
       if ($v('P21_BEN_SAVINGS') != 'YES') {
          $x_HideItemRow('P21_COST_SAVING');
          $x_HideItemRow('P21_LOCATION_CODE');
          $x_HideItemRow('P21_ACCOUNT_NO');
          $x_HideItemRow('P21_SVG_DEPT');
          $x_HideItemRow('P21_RATIONALE');
       } else {
          $x_ShowItemRow('P21_COST_SAVING');
          $x_ShowItemRow('P21_LOCATION_CODE');
          $x_ShowItemRow('P21_ACCOUNT_NO');
          $x_ShowItemRow('P21_SVG_DEPT');
          $x_ShowItemRow('P21_RATIONALE');
       }
    }
    

    Max

    Published by: - Max - April 28, 2010 10:42

    Published by: - Max - April 28, 2010 10:43

  • Jdev v.10.1.3.4 - hide inputtext af based on the drop-down list box

    Hello

    I'm trying to hide and display a text entry box based on what is selected by a drop-down list box. I have some difficulty getting the javascript code I think that to read the value of the selection box.

    Here is a simple example of what I'm trying to do. I tried a couple of different ways but no luck. I appreciate any help anyone can offer.

    Thank you
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
      <afh:html>
        <afh:head title="test">
          <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    
        </afh:head>
        <afh:body>
    <f:verbatim>
            <script type="text/javascript">
            function changed(){
               if(document.getElementById("current").value =="1" ){
                document.getElementById("currentSize").style.display='block'; //show textbox
                }
                else{ 
                document.getElementById("currentSize").style.display='none'; //hide textbox
                }
            }
            
            </script>
    </f:verbatim>
        
        
        
        <h:form>
            <af:selectOneChoice id="current" label="select item" onchange="change();">
              <af:selectItem label="item 1" value="1"/>
              <af:selectItem label="item 2" value="2"/>
              <af:selectItem label="item 3" value="3"/>
              <af:selectItem label="item 4" value="4"/>
            </af:selectOneChoice>
          <af:inputText label="Input Size:" maximumLength="5" id="currentSize" columns="7" rows="1"/>              
          </h:form></afh:body>
      </afh:html>
    </f:view>

    It works if you use af:form instead of h:form?
    What happens if you set the partial relaxation of the af: form to point to the 'current '?

  • Hide/Show Pages based on the drop-down list selection

    Hello

    It drives me crazy. I have 3 boxes in this form (attached) and based on what is checked, I want to hide the first page and navigate to the 1st box checked. It works for the Web Chat feature, but others do not. In addition, the button following Web Chat page, when I click Next, I have a pop alert that should show only if Web Chat is the only selection, but it shows little matter how many selections are made from the boxes.

    As always, any help is appreciated!

    Hi, check if it works properly now.

    Dallas

  • Primavera P6 R 7 - need help on hide a field based on the role

    I'm on P6R7 Primavera and to hide a gift of basic field rile to a level of activity.

    is this possible?

    You can not put the text. You can have a Code resource field and make them all Secure, but you need to come up with answers possible HR you want to join.

Maybe you are looking for

  • Rearrange the next cock in iOS 10

    Hey guys! I am running the latest iOS 10.0.1 on the iPhone 6. I was a big fan of the ability to rearrange my queue "in following ', and 'Add to following Up' function unlike function" play next. I noticed that some items showed that their music apps

  • When I try to go to about.config, that it just goes to 'server not found '.

    I'm redefining the default search from the address bar on google from something else. I understand that I need to go to about.config etc. But when I type in about.config he goes just to 'server not found '.

  • My iphone 6 does not light

    my iPhone 6 since the new update did not return and my computer does not pick up it

  • Quadro k2000m "this unit uses all resources because it has a problem."

    I was using my w530 for almost a year now and have not had any problems until more recently. The GPU has not been activated and being used (something that seems incorrect gramtically) while running applications that need to use it. This includes appl

  • Issue of Windows Media Encoder

    Hello We use Windows Media 9 on Windows XP services to broadcast to our website, so we created the MMS: / / link on our website, the question is: if five people visit this site, there are five broadcast or show? We want to reduce the traffic. Thank y