Conditional masking based on two elements

Hello gentlemen,

I'm trying to hide elements based on two conditions.
Currently I can only do it based on either:
1 expression = Expression 2 (i.e. EMPNO = JOHN).

Is there a category that would allow me to say e.g. "equation in Expression 1 or equation in the Expression 2 is true"?

See you soon,.
Mauricio

Hi Mauricio,.

You can still use the condition type "PL/SQL Expression" to form more complicated conditions.

for example: P1_ITEM1 = 'X' OR: P2_ITEM2 = 'Y '.

brgds,

Peter

Blog: http://www.oracle-and-apex.com

Tags: Database

Similar Questions

  • can I create a saturation mask based on a gradient map?

    Hello

    can I create a saturation mask based on a gradient map?

    for example a gradient from blue to 2441f6 to 6075f6

    and have a mask of luminocity base this gradient

    can I do it?

    How can I do?

    Thank you

    see you soon

    Gradient cards are not used to the color of the sample, but for her recolor, so that you cannot use to create the selection, use the selection to limit the gradient map for the blue areas of the sky.

    You can HIDE a gradient map using the saturation of the sky for her recolor, based on current saturation of the sky.

    Select the sky with your preferred method, he jumps into a new layer (CTRL + J)

    Use the technique in the tutorial linked to extract the brightness, it should land on its own layer.

    This layer and remove the selective color.

    Now add your Wo gradient map layer, enter the two colors you like.

    Display the layer with the saturation converted into a layer. Select all, copy.

    ALT-click the layer mask to your gradient map adj layer and the dough. You will need to paint black areas that you don't want affected.

    I tried here, and had yielded results satisfactory semi in view of the very high compression of your file and also because the colors are quite unrealistic.

    Here is a picture showing the mask of saturation and results on the side:

  • two elements that have the same source

    Hi guys,.

    I am trying to use the display on a Google Map plugin location. As I had this plugin requires two elements that have the same source:

    Article 1 - A text to insert the value (address) in the database. The source of this question would be 'MAP' column.
    2 - Google Map plugin ELEMENT to visualize on the map. The source of this issue should also be "Map" the column that is used to read the address.

    But the problem, as you saw, we can not create a new record if we have two items with the same source. How can I get around this?

    Here is the link to the plugin:

    http://Apex.Oracle.com/pls/Apex/f?p=plugins:LOCATION_MAP:2943553726537511

    Kind regards
    Fateh

    Published by: Fateh July 21, 2011 02:52

    Hi Fateh,

    Tried the plugin you mentioned! Had a preview of your problem.
    >
    I am trying to use the display on a Google Map plugin location. As I had this plugin requires two elements that have the same source
    >
    As your form seems to be running automatic process line processing DML that will obviously give an error if you have two items
    with the same source i.e. 'MAP' that is your database column.
    >
    Article 1 - A text to insert the value (address) in the database. The source of this question would be 'MAP' column.
    >
    I think that this point is already with you as you may have created form based on a Table or form and report based on a Table.
    Leave the source of this article because it's IE card - the database column.
    >
    2 - Google Map plugin ELEMENT to visualize on the map.
    >
    Change the source of this article as:
    Source type: static assignment (value corresponds to the source attribute)
    Source of value or expression:

    &P1_ADDRESS.
    

    Where P1_ADDRESS is the element:
    >
    Article 1 - A text to insert the value (address) in the database. The source of this question would be 'MAP' column.
    >

    I hope that helps!
    Kind regards
    Kiran

  • Problem with PPR event based on two fields.

    Hello

    I am facing a problem in PPR case based on two fields

    There are two fields in the page based on its values, the third element should be required Yes/No

    foreigners and classification are the attributes of the field

    When the alien is N and the classification is CONFIDENTIAL_IND or SECRET_IND
    then the DCN is the area that should be mandatory

    But when I chenge foreign to Y then also the DCN field shows mandatory
    Please find the question where I did worng with the code that is selected is the area I am facing problem.

    DcnRequired is TransientAttribute



    Code sample of the RPP:

    Method
        public void handleShipmentCreateValidations(){
            OAViewObject vo = (OAViewObject)findViewObject("ShippingRequestCreatePVO1");
            OARow row = (OARow)vo.first();
            
            OAViewObject shipVo = (OAViewObject)findViewObject("ShippingRequestCreateVO1");
            OARow shipRow = (OARow)shipVo.getCurrentRow();
            String reason = (String)shipRow.getAttribute("ShipmentReason");
            String classification = (String)shipRow.getAttribute("Classification");
            String foriegn = (String)shipRow.getAttribute("ForeignShipment");
            Date expected = (Date)shipRow.getAttribute("ExpectedReturnDate");
           String receipt = (String)shipRow.getAttribute("ReceiptBackoutInd");
           
            if (receipt == null || "N".equals(receipt)){
                row.setAttribute("PoRequired","no");
            }
            else if("Y".equals(receipt))
            {
                row.setAttribute("PoRequired","yes");   
            }
            
            
        if ("OTHER".equals(reason))
            {
                row.setAttribute("ShipOtherRender",Boolean.TRUE);
            }
          /*  if (reason == null){
                row.setAttribute("ShipOtherRender",Boolean.FALSE);
            }*/
            else {
                row.setAttribute("ShipOtherRender",Boolean.FALSE);
            }
            *if (("CONFIDENTIAL_IND".equals(classification)||"SECRET_IND".equals(classification))*
            *&& "N".equals(foriegn)) {*
                *row.setAttribute("DcnRequired","yes");*
            *}*
            *if ("N".equals(foriegn) &&*
            *("CONFIDENTIAL_IND".equals(classification)||"SECRET_IND".equals(classification))){*
                *row.setAttribute("DcnRequired","yes");*
            *}*
            *else {*
                *row.setAttribute("DcnRequired","no");*
               
            *}*  
             if (expected == null){
                row.setAttribute("PaperworkNeeded","no");
            }
            else if (expected != null) {
                 row.setAttribute("PaperworkNeeded","yes");
            }  
            if (foriegn == null || "N".equals(foriegn)){
                  row.setAttribute("ContractRequired","no");
                  row.setAttribute("AttentionRequired","no");
                  row.setAttribute("PublicDomainRequired","no");
              }
              else if  ("Y".equals(foriegn))
              {
                  row.setAttribute("ContractRequired","yes");
                  row.setAttribute("AttentionRequired","yes"); 
                  row.setAttribute("PublicDomainRequired","yes");
                  
              }
              
    
        }   
    Co code
          if ("UpdateValidations".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))    
          {        
            am.invokeMethod("handleShipmentUpdateValidations");    
            } 
    and ppr UpdateValidations event name

    Published by: user1000 on September 28, 2010 08:45

    Published by: user1000 on September 28, 2010 08:56

    Krishna

            if ("N".equals(foriegn) &&
            ("CONFIDENTIAL_IND".equals(classification)||"SECRET_IND".equals(classification))){
               row.setAttribute("DcnRequired","yes");
            }
            else {
                row.setAttribute("DcnRequired","no");
    
            }
    

    Seems same code you wrote again. Try using above code.

    Yet one thing trying to debug when your code runs when you select foreigners there

    Thank you
    AJ

  • I'm trying to put a Transition chained between two elements placed one above the other.  I tried and I failed.

    I'm trying to put a Transition chained between two elements placed one above the other. To the left of the line that she plays in the lower clip and after the line, he played in the clip above.  Is that it can be done when the two clips are on the other? I tried and I failed. Help please.

    Also how do you call this long line like?

    Thank you.

    simply put your 'top' clip where it belongs - in the scenario

    Select the clip, Option - command - down

    the secondary has no replacement for 'tracks '...

  • New Hardware Wizard two elements that show in detail: the first watch Root\legacy_cd20xrnt\software... and the second is Root\legacy_hpn\software

    I hope I am posting this in the right space... on windows xp sp3.

    At the start of the installation Assistant starts... want to install and unknown device... (not tried to install anything in a long time) Looking in the Device Manager, there are two elements that show in detail...

    The first watch Root\legacy_cd20xrnt\software... and the second is Root\legacy_hpn\software.

    have not clicked on install only cancel...

    ran a total analysis of AVG and total bytes Malware scan and they found nothing.

    What are and how...

    Check these:

    http://www.cybertechhelp.com/forums/showthread.php?t=211599&page=19

    http://www.computing.NET/answers/security/root-legacy-npf0000/22753.html

    http://www.malwareremoval.com/forum/viewtopic.php?f=11&t=30570&p=299717

  • I scanned the two elements of a brother MFC - 240 c printer all-in-one to computer. where can I find documents

    I scanned the two elements of a brother MFC - 240 c printer all-in-one to computer. where can I find documents

    Hello MichelleOZ,

    Items scanned by scanner are stored as Images (usually from the MPEG files) so I would look in the pictures folder. Otherwise if you remember what you call the files when you saved them you could also search for them via Windows Explorer.

    File photo:

    1. open Windows Explorer

    2. look in the folder list on the left side of the Windows Explorer window

    3. Locate the folder of photos

    Search:

    1. open Windows Explorer

    2. place your mouse cursor inside the Windows Explorer search box (upper right side of the Windows Explorer window), and then type the name of the file that you want to search

    3. Windows will now search for the file.

    4. once found, click on the file to open it.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk |  vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • Close Internet Explorer creates two elements of rundll32.exe * 32 on the list of the task manager that trigger the physical memory to 90-100%

    Close Internet Explorer creates two elements of rundll32.exe * 32 on the list of the task manager that trigger the physical memory to 90-100%

    You have IE set to 'delete browsing history leaving? "  Rundll32 (with a command line incorporating something in the sense of a call to a function ClearMyTracksByProcess in inetcpl.cpl) is generated to perform this action.

  • SQL query * I want to insert a file column in the other table based on two columns

    I want to insert a column records to another table based on two columns

    the query below does not work

    insert into def_ver_lnki_p (job_name)

    Select def_job.job_name

    from def_job where def_job.job_id = def_ver_lnki_p.job_id and def_job.table_id = def_ver_lnki_p.table_id;

    Just to correct sql

    Update

    def_ver_lnki_p define job_name =)

    Select def_job.job_name

    of def_job

    where def_job.job_id = def_ver_lnki_p.job_id

    (and def_job.table_id = def_ver_lnki_p.table_id);

  • How to update a record, if it is a composite key (primary key is based on two columns) in the OPS? page?

    Hello

    Actually I got to know this update of a record must be made when the primary key is based on two columns.

    Previously, I used SPEL for a column. It was working fine.

    But I came to know that regardless of the folder I try to update, it was the update page is coming up with the first combination of the record.

    As if RC 131

    RC 124

    RC 125 are the records.

    If I click on update of RC 124 also, the update page is coming up with RC 131 values as it is the first.

    So I understand that the SPEL should be based on two parameters, because it is a composite key.

    How to do?

    Please let me know if you don't understand the problem.

    Thank you.

    Wow!

    I got it.

    Thank you brothers, always a hope that you could help me

  • I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    Mr President.

    I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    formdoubletables.png

    the page source is

    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                    xmlns:f="http://java.sun.com/jsf/core">
      <af:panelFormLayout id="pfl1">
        <af:group id="Group">
          <af:inputText value="#{bindings.VoucherId.inputValue}" label="#{bindings.VoucherId.hints.label}"
                        required="#{bindings.VoucherId.hints.mandatory}" columns="#{bindings.VoucherId.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId.hints.precision}"
                        shortDesc="#{bindings.VoucherId.hints.tooltip}" id="it1">
            <f:validator binding="#{bindings.VoucherId.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId.format}"/>
          </af:inputText>
          <af:inputDate value="#{bindings.VoucherDate.inputValue}" label="#{bindings.VoucherDate.hints.label}"
                        required="#{bindings.VoucherDate.hints.mandatory}"
                        columns="#{bindings.VoucherDate.hints.displayWidth}"
                        shortDesc="#{bindings.VoucherDate.hints.tooltip}" id="id1">
            <f:validator binding="#{bindings.VoucherDate.validator}"/>
            <af:convertDateTime pattern="#{bindings.VoucherDate.format}"/>
          </af:inputDate>
          <af:inputText value="#{bindings.Credit.inputValue}" label="#{bindings.Credit.hints.label}"
                        required="#{bindings.Credit.hints.mandatory}" columns="#{bindings.Credit.hints.displayWidth}"
                        maximumLength="#{bindings.Credit.hints.precision}" shortDesc="#{bindings.Credit.hints.tooltip}"
                        id="it2">
            <f:validator binding="#{bindings.Credit.validator}"/>
          </af:inputText>
        </af:group>
        <af:group id="g1">
          <af:inputText value="#{bindings.Lineitem.inputValue}" label="#{bindings.Lineitem.hints.label}"
                        required="#{bindings.Lineitem.hints.mandatory}" columns="#{bindings.Lineitem.hints.displayWidth}"
                        maximumLength="#{bindings.Lineitem.hints.precision}" shortDesc="#{bindings.Lineitem.hints.tooltip}"
                        id="it3">
            <f:validator binding="#{bindings.Lineitem.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Lineitem.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.VoucherId1.inputValue}" label="#{bindings.VoucherId1.hints.label}"
                        required="#{bindings.VoucherId1.hints.mandatory}"
                        columns="#{bindings.VoucherId1.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId1.hints.precision}"
                        shortDesc="#{bindings.VoucherId1.hints.tooltip}" id="it4">
            <f:validator binding="#{bindings.VoucherId1.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId1.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Debit.inputValue}" label="#{bindings.Debit.hints.label}"
                        required="#{bindings.Debit.hints.mandatory}" columns="#{bindings.Debit.hints.displayWidth}"
                        maximumLength="#{bindings.Debit.hints.precision}" shortDesc="#{bindings.Debit.hints.tooltip}"
                        id="it5">
            <f:validator binding="#{bindings.Debit.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Credit1.inputValue}" label="#{bindings.Credit1.hints.label}"
                        required="#{bindings.Credit1.hints.mandatory}" columns="#{bindings.Credit1.hints.displayWidth}"
                        maximumLength="#{bindings.Credit1.hints.precision}" shortDesc="#{bindings.Credit1.hints.tooltip}"
                        id="it6">
            <f:validator binding="#{bindings.Credit1.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Particulars.inputValue}" label="#{bindings.Particulars.hints.label}"
                        required="#{bindings.Particulars.hints.mandatory}"
                        columns="#{bindings.Particulars.hints.displayWidth}"
                        maximumLength="#{bindings.Particulars.hints.precision}"
                        shortDesc="#{bindings.Particulars.hints.tooltip}" id="it7">
            <f:validator binding="#{bindings.Particulars.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Amount.inputValue}" label="#{bindings.Amount.hints.label}"
                        required="#{bindings.Amount.hints.mandatory}" columns="#{bindings.Amount.hints.displayWidth}"
                        maximumLength="#{bindings.Amount.hints.precision}" shortDesc="#{bindings.Amount.hints.tooltip}"
                        id="it8">
            <f:validator binding="#{bindings.Amount.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Amount.format}"/>
          </af:inputText>
        </af:group>
        <f:facet name="footer">
          <af:button text="Submit" id="b1"/>
          <af:button actionListener="#{bindings.CreateInsert.execute}" text="CreateInsert"
                     disabled="#{!bindings.CreateInsert.enabled}" id="b2"/>     
          <af:button actionListener="#{bindings.Commit.execute}" text="Commit" disabled="#{!bindings.Commit.enabled}"
                     id="b3"/>
          <af:button actionListener="#{bindings.Rollback.execute}" text="Rollback" disabled="#{!bindings.Rollback.enabled}"
                     immediate="true" id="b4">
            <af:resetActionListener/>
          </af:button>
        </f:facet>
      </af:panelFormLayout>
    </ui:composition>
    
    
    
    

    Concerning

    Go to your VO Wizard, select the tab of the entity and to check if both the EO is editable or not.

    See you soon

    AJ

  • Conditional routing based on user or node access group

    We have a requirement to send a DRG application to a specific approver based on the issuing user or group access to the node of the issuer.  Is it possible to refer to the Group of access user or node in a formula derived from property or the validation that I could use in conditional routing in 11.1.2.4?

    I recently discovered the function UserName().  I have built a hierarchy of users DRG and can use the function UserName() to tie in to the values to use in a conditional routing based on the current user.

  • How to add images between two elements

    I'm having a great time to find it.  I was asked to add an image between two elements.  Here's a mockup of what the layout with the image will look like:

    home-page-mockup.jpg

    But I tried everything and I keep breaking the code and can't make it work.  I did a stripped down version of this page so you can see what the code looks like:

    Homepage

    Any help is appreciated.  Thank you.

    This will get probably get a bit of a hole - (MAKE A BACK-UP OF YOUR PAGE FIRST)

    Find the code below:

    http://www.amazon.com/Reclaiming-Parkland-Bugliosi-Assassination-Hollywood/dp/1626365334/r ef = sr_1_1? s = books & ie = UTF8 & qid = 1378592566 & sr = 1-1 & keywords = recovery + Parkland"> Amazon.com»

    Get rid of all the code that follows - down up to this code:

    The decline and fall of Jim Fetzer

    Copy and paste the code below instead:

    Image goes here

    Then style upward a little h2 tags with some css:

    I'll let you get back links/anchors on the h2 tags.

  • I've added two elements (accessibility and analyze) in the Tools menu of right hand.  How to remove or hide?  Or at least rearrange the elements of the toolbar. I want to Sign &amp; certify be the last element/section.  Thank you.

    I've added two elements (accessibility and analyze) in the Tools menu of right hand.  How to remove or hide?  Or at least rearrange the elements of the toolbar. I want to Sign & certify be the last element/section.  Thank you.

    Hi Stacey Nathan,

    To remove the items from right toolbar, click Tools at the top.

    Then open the fall down to the accessibility or analyze and select 'delete the shortcut '.

    In a similar way, select "Add a shortcut" in the Tools drop-down menu to add to the tool on the right pane.

    Let us know if you need help.

    Kind regards

    Meenakshi

  • Display list items based on another element of the list

    Hi all

    I want to display the list item based on another element of the list, but his does not work.

    This is my code:


    / * WHEN-NEW-FORM-INSTANCE * /-his work.
    DECLARE

    rg_district recordgroup;

    rg_name VARCHAR2 (40): = "district";

    vtemp NUMBER;

    BEGIN

    rg_district: = FIND_GROUP (rg_name);

    IF ID_NULL (rg_district)

    THEN

    rg_district: =.

    CREATE_GROUP_FROM_QUERY (rg_name,

    'select dist, dist district_mas.

    );

    vtemp: = POPULATE_GROUP (rg_district);

    POPULATE_LIST ('BLOCK3.) Of RIDING ", rg_name);

    END IF;

    END;

    * / CHANGED AFTER a - list * /-does not work. Cannot complete the list based on the list

    DECLARE

    rg_branch recordgroup;

    rg_name1 VARCHAR2 (1000): = "branch";

    vtemp NUMBER;

    BEGIN

    rg_branch: = FIND_GROUP (rg_name1);

    IF this is ID_NULL (rg_branch)

    THEN

    DELETE_GROUP (rg_name1);

    rg_branch: =.

    CREATE_GROUP_FROM_QUERY

    ("rg_branch",

    "SELECT FROM dist_branch WHERE district IN branch (DIST DISTRICT_MAS WHERE DISTRICT = SELECT').

    || : BLOCK3. DISTRICT OF

    );

    vtemp: = POPULATE_GROUP (rg_branch);

    POPULATE_LIST ('BLOCK3.) Branch of THE ', rg_branch);

    END IF;

    END;

    Table:

    CREATE TABLE DISTRICT_MAS

    (

    DIST VARCHAR2 (100 CHAR)

    );

    CREATE TABLE DIST_BRANCH

    (

    NEIGHBORHOOD VARCHAR2 (100 CHAR),

    DIRECTORATE GENERAL OF THE VARCHAR2 (100 CHAR)

    );

    Values:

    insert into district_mas values ('chennai');

    insert into district_mas values ('coimbatore');

    insert into dist_branch values ('chennai', 'chennai_north');

    insert into dist_branch values ('coimbatore', 'Podanur');


    Concerning

    Nassik M

    I tested the code below when the list has changed


    DECLARE

    rg_branch recordgroup;

    rg_name1 VARCHAR2 (1000): = "branch";

    vtemp NUMBER;

    QT VARCHAR2 (10): = "';

    BEGIN

    rg_branch: = FIND_GROUP (rg_name1);

    IF this is ID_NULL (rg_branch)

    THEN

    DELETE_GROUP (rg_name1);

    END IF;

    rg_branch: =.

    CREATE_GROUP_FROM_QUERY

    (rg_name1,

    'SELECT branch, branch OF THE DISTRICT WHERE the dist_branch =' | QT | : BLOCK3. DISTRICT OF | QT);

    vtemp: = POPULATE_GROUP (rg_branch);

    POPULATE_LIST ('BLOCK3.) Branch of THE ', rg_branch);

    END;

    Hope it's work...

    Hamid

Maybe you are looking for