Conditional regions

Hi all

I have a transaction hidden on a page with conditional regions.

Transaction types are 1,2,6,7 (new hire, transfer-ex, rehire, reemployee).
The employee types are 1,2,3 (Regular, contractor, Temp).
If I use the conditional display (item = value); Exp1 = P110_hidden_transaction; EXP2 = 1 (transaction_type), I get the good region to show (New rental, transfer,...).

But if I try to use exp1 = P110_hidden_transaction; EXP2 = IN (1,2,6,7). I don't see any of any region. I tried many variations.

I go about it properly?

Hi Gina,

Not quite. You can either use the Condition Type "Value of element in the Expression 1 is contained in the colon delimited list in the Expression 2" and use {make: Courier} P110_hidden_transaction {font} and {make: Courier} 1:2:6:7 {font} as your two fields, or you can just use the condition type "SQL Expression" and put {make: Courier}: IN P110_hidden_transation (1,2,6,7) {font} in Expression 1.

TX, Jen-

Tags: Database

Similar Questions

  • links should stay in the same place when the other links disappear because of conditional regions

    I created a Recordset paging. paging consists of three links: previous, today, following.

    I also have conditional regions for the previous links and next, so that they disappear under certain conditions.

    Assume that the links are the words arranged like that in the upper left corner of the Web site:

    previous today next

    Thus, when a certain condition is met, and the previous link disappears, the other two links moving to the left. and that's what I find disturbing.

    How can I make the link disappears, but its place is replaced by blank spaces or something like that to keep the other links to the same place?

    .. .not sure if have put enough clear ^^

    Thanks for the help :)!

    MurraySummers wrote:

    What method do you use to the conditions?

    These three links are really just a menu short list of "chips" without the bullets. If you style this menu with a width explicitly to the

  • elements, and if the conditions cause the content of the list items to be written or not written on the screen, I think that you will reach your goal. This would allow you to have-

    previous | today | next
                  | today | next
    previous | today |
    

    Or other combinations these three meaningless...

    (EDIT - well spacing is off, but you get the idea!)

  • Well, I guess you can set it up like that.

  • < a="" href="previous.html">Previous

  • < a="" href="today.html">Today

  • < a="" href="next.html">Next

  • Conditional region with functions, does not

    Oracle EBS Bi Publisher standard (customer statement) report, using speaking

    I am creating a conditional region with no luck.

    <? substr (INVOICE_NUMBER, 1, 1) xdofx:If. decode (AMOUNT_DUE, ", 'NOPRINT', AMOUNT_DUE)! = "3NOPRINT"? >

    I created a field using all this substr (INVOICE_NUMBER, 1, 1) | Decode(AMOUNT_DUE,'','NOPRINT',AMOUNT_DUE) to confirm that the value is 3NOPRINT, but again the lines appear.

    Any ideas?

    Thank you

    -j

    You can try the code below

  • Bug report? The conditional regions affect the provision of grid

    Hello

    I had a few parts on my page, the 2nd has not started a new line, if it appeared horizontally when it is possible.

    In some experiments, I created a new region with a sequence between the new line started, but even when this region was under condition ever, my 2nd home region started on the new line.
    Origin:
    region 1 - region 2
    (empty) - region 3 (no new rows/columns) >
    New added region:
    region 1
    region 1.5 (added, new line)
    Region 2
    Region 3 >
    Region of 1.5 not shown:
    region 1
    region 2
    Region 3 >

    I would like to know if you would like a test case for a better visualization.

    Scott

    Hi Scott,.

    It is by design. The critical attributes as start the new grid, start the new line, start new column of a conditional component will always be used to have the independent grid if the component itself is rendered.

    Just assume that you have a conditional region that begins a new grid, the positioning of the following areas would be difficult to control by a developer, because if a new grid starts or not, depending on the layout page/positioning would be completely different. To make a long story short, it is the intendant behavior to have a predictable pattern.

    Concerning
    Patrick
    -----------
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Conditional region - Advanced Edit tab

    I'm looking for include the XML of the Advanced tab. a conditional region have already filled the tab of properties with a condition, I want to add another. What is the context of the code I have to write? I've looked everywhere without success.

    Currently my Advanced tab shows:
    <? If: number (CompanyCode_ID) = 1? > result: see the "phone number".

    Example of what I'm trying to do:
    <? If: number (CompanyCode_ID) = 1? > AND / + <? If: number (Rep_ID) 010 <>? > need of these will cause: see the "phone number".

    Example of use - http://i50.tinypic.com/17tkpl.png
    Maybe you incorrectly set XPath to your XML tags? Try to use

    or better define it with absolute paths

  • line break conditional regions

    Hello!

    Is it possible to use conditional regions without adding a line break if the condition is met?

    What I use is a simple:

    <? If: STATUS = "IN_PLAN?" > Some Text <? end if? > Some Other Text

    and he always breaks the line after 'Some Text'...

    BR Paul

    Can you send me the xml file and the model RTF to [email protected]? I can take a look.

    Thank you
    Bipuser

  • generator expressions multiple Variables GET conditional region.

    Hi all

    I hope someone can help (If master Günter Schenk thank your far in advance).

    I am at a loss with the selection of multiple variables for a conditional region IF.

    If there is a simple way for a person to give an example that would be great or please read below on what I am tring to do.

    What I need to do

    I have 2 images (1 is a button) with the command of one submission form, the other is just a message already sent to this user.

    When the form send it gets a unique result of generated URL for each of the presentations that I have to check agaist the IF conditional.

    So, if already present it button does not appear but the other saying you already sent message.

    The IF conditional is checked agaist a recordset using two of the main values of the URL that are VenueID and VFSENQI, but not checking the RandomEnquirySent.

    If the Recordset object checks the first 2 variables, which then produces the info to check the URL.

    Or another way to do this would be to check the

    Info

    Expression 1: <? PHP @$ row_rsCKEnqSent ['RandomEnquirySent']? > or @$ row_rsCKEnqSent ['RandomEnquirySent']

    That is the result of the database recordset based on below the URL that is submitted by a form.

    {GET. VFSRAND} IDENQ {SESSION. VFSENQID} IDVEN {GET. VenueID}

    Expression 2: be->

    <? PHP echo $_GET ['VFSRAND'];? > & IDENQ <? PHP echo $_GET ['VFSENQID'];? > & IDVEN <? PHP @$ _GET ['VenueID']? >

    or

    [@$ _GET ['VFSRAND'] & IDENQ@$_GET['VFSENQID'] & IDVEN@$_GET['VenueID "]"

    This is the URL paramiter sent to the database of unique to the message references.

    <? PHP echo $_GET ['VFSRAND'];? > & IDENQ <? PHP echo $_GET ['VFSENQID'];? > & IDVEN <? PHP @$ _GET ['VenueID']? >

    It is also the second part of the expression that should be removed from the URL & or a Session.

    Finishing

    So, if I know how to get the IF conditional to remove information from the URL to check the result recordset agast <? PHP @$ row_rsCKEnqSent ['RandomEnquirySent']? > I'd be a very happy man.

    Please let me know either or to see if it can or cannot be done I would be very grateful.

    Kind regards

    Joseph

    Another is important to keep in mind: What mix static strings (e.g. IDENQ) with dynamic values (e.g. $_GET ['VFSRAND']) inside the 'if' of a conditional region, the final result should be considered as a single string and must therefore be incorporated like the following, what - else - what is called "concatenation":

    method 1)

    $cond_combined = $_GET ['variable_1']. "" IDENQ ". $_GET ["variable_2"]. "" IDVEN ". $_GET ["variable_3"];

    method 2)

    $cond_combined = "{$_GET ['variable_1']} IDENQ {$_GET ['variable_2']} IDVEN {$_GET ['variable_3']}";

    Both methods work in the same way, the only difference from Dreamweaver, method 2 loses the colorization of PHP syntax for dynamic values that are wrapped in curly braces. Well, I´d personally consider cela a bug actually, but who am I to say ;-)

    However, I ve been playing with your stuff a bit using DW/uninstall. Please take a look at the attached screenshots and try to understand what I was doing and - in particular - * why * I did what I did

    See you soon,.

    Günter

  • How to write conditional region coding?

    We know that the BEEP has conditional region. In a cell, you can use conditional region to control the issuance of data of special affection. What happens if this cell is controlled by month? If months = 1, this cell see the 110, month = 2 this cell see the 800 month = 3 this 100 etc see the cell... How can I make this code?

    <? call: sub1? >

    <? model: sub1? >
    <? If: (months) = 1? > 110 <? end if? > <? If: (months) = 2? > 800 <? end if? >...

    Sent u t updated RTF

  • Apex 4 Bug in conditional regions display?

    I upgraded to Apex 4 and now face the following problem with one of my applications.
    I have two regions of type HTML text on the same page, both with the same condition type (simple SQL exists query), but the second region are displayed. Any ideas?

    Christian

    Hi Christian,

    are you sure it worked before moving on to APEX 4.0? In which version it worked? I think how it behaves now is correct.

    Page P2_UMFRAGE element has 'Used Source' the value ' Always, replace the value that exists in the session state "which will result in an assignment of the value specified by"Source Type"and" value Source or expression "each time only when the page is rendered. Note: The assignment is made when the item hidden page P2_UMFRAGE is actually 'rendered' in "region 1". The result is simply stored in the session state of memory and not in persistent session state which has reason why you always see "21" when you view session after the return of the page state.

    If the flow is as follows:
    (1) with the management on page 1, P2_UMFRAGE's persistent session state is set to the current value (eg. 21)
    (2) the condition of the region 1 is evaluated, P2_UMFRAGE session state is always 21 why it is rendered
    (3) P2_UMFRAGE is rendered as part of the 1st region, this triggers the evaluation of attributes 'Source '.
    (4) because 'Source used' is equivalent to ' Always, replace the value that exists in the session state "the APEX engine will assign a new value to session memory to P2_UMFRAGE database state
    Note: All of the values specified for a page element like 'Source', 'Default value', 'Post calculation' will always change only in memory session state. Only the calculations or PL/SQL process will write in permanent session state.
    (5) the condition of the 2nd region is evaluated, the session state from P2_UMFRAGE has the value NULL is why the condition false reviews

    Hope that explains why zone 2 is not displayed. But I still wonder why it worked before APEX 4.0, because I'm not aware of any change in this area.

    Concerning
    Patrick
    PS: I changed the Type of 'Source' to "Only when the current value in session state is zero" and now the two regions are displayed.

    Published by: Patrick Wolf3, July 14, 2010 11:08

  • Condition region get on is unable to go TO work

    I have difficulty getting to the regions to display conditionally based on the value SUBMIT page. I have a 'Go' button where the value of the shipment is to GO, but if I try to initiate a condition in the region "Request = Expression 1" and I use 'GO' (without the quotes). The region never shows.

    Y at - it something syntax ticky Miss, or is it just not working? It's really annoying because I have some PL/SQL reports that take a few minutes to run, and if the user navigates out of the page and again, he wants to re - run the report before allowing them to change the settings.

    Hello

    your branch defines the value of the CLAIM? The value of the REQUEST appears in your URL?

    brgds,
    Peter

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

  • Click on the poster conditional regions based on the button

    Hello. I have 2 reports interactive report A and B report and a button named Switch.  What I want to do is, when I run the page I want to show the report and when I click on the button I want to display ONLY report B. What I did was, for the report one I made it not conditional so it appears when I run the page. Also, I added a request for switch as 1 and I have added condition for B as report


    Condition type: request = Expression 1

    Expression 1:1

    What happens now is, when I run the report page is displayed as expected, but when I click on the button of the switch B to the report of poster report. But I want to display only report B when I click the switch button. How do I achieve this?

    Report must be conditional, such demand needs to NOT be the same as the b button...

    Thank you

    Tony Miller
    Los Alamos, NM

  • Conditional region

    Hi all

    Currently, I have written java script that has 'Attribute of header and body HTML' on my page

    < /script >
    function Shuttle (doc) {}

    Alert ("doc" + document);
    document.getElementById('Tester').style.display = 'block ';
    Returns false;
    }
    < /script >

    In my area, I put where the attributes of HTML table cell is: style = "" display: none; ""

    Also, where I link in my report that is displayed in a different region, I have an onClick = "Shuttle (this)" in my link attributes. "

    Someone can help me. When I click the link the region now flashes for a split second and then goes. If there is no way to do so is there a way to package the region so it appears when I click on the link in the column?

    Ryan

    Ryan,

    What apex version do you use?

    There are several ways you can do this but it depends on what version of apex you use.

    1. manually create the javascript as you do now. (any version)

    2. use a model of area to see the skin. (I'm sure that this model is available in 3.0 + probably in earlier versions as well)

    3. use a dynamic action for declarativly build javascript to manage it. (4.0 +)

    4. use a dynamic action to generate the javascript code for the delcarativly and associate it with a button (4.1 +)

    Given these options you would have liked to continue?

    See you soon,.
    Janet Tyson

  • Conditional regions - BEEP

    Hello

    I have an object with this field:
    + < SGFCalcSQL > 1 < / SGFCalcSQL > +.

    and in my RTF model, I have a conditional:
    + <? If: SGFCalcSQL = '0'? > SHOW THIS MESSAGE <? end if? > +.

    Every time I print my report, THE MESSAGE appears.

    I try to:
    + <? If: SGFCalcSQL = 0? > SHOW THIS MESSAGE <? end if? > +.

    and also change the values

    + < SGFCalcSQL > true < / SGFCalcSQL > +.
    + <? If: SGFCalcSQL = "false"? > SHOW THIS MESSAGE <? end if? > +.
    or
    + <? If: SGFCalcSQL = false? > SHOW THIS MESSAGE <? end if? > +.

    But they did not work.

    Could someone help me?
    Thanks in advance.
    Nilo

    Try this:

    SHOW THIS MESSAGE

    or

    SHOW THIS MESSAGE

  • How to change the background color of conditional region

    Hi gurus
    I have a region and you want to change the background color based on a value of element.
    How can I do?

    Thanks in advance
    Oscar

    Oscar,

    I didn't test the code. I modified the code to find all the tags and change the background color.

    1. In the HTML Region header create a div tag <div id ="REP_BGCOLOR_1"> and in HTML Region footer just close this div tag </div>
    2. Put the following javascript in the HTML header of the page.
    <script type="text/javascript">
    </script>
    
    3. Now call this GetDOMTag function to change the background color.GetDOMTag(document.getElementById('REP_BGCOLOR_1'));
    
    http://apex.oracle.com/pls/apex/f?p=50942:75
    
    Thanks,Manish 
    
  • conditional region - multiple conditions

    Hello
    I need to view a zone only if 1) of the page is in friendly mode of the printer AND 2) the value of a page item = 1. I tried to use: P100_ITEM = 1 AND: PRINTER_FRIENDLY = 'YES', but that didn't work. Any ideas how to do this? Thank you.

    Lisa

    Lisa:

    Just landing on page 8 and by clicking the custom link 'Printable Version' to the region "HTML" display. This is because the value of session state for P8_ITEM is null. If however, you access the P8_ITEM field, press 'Enter' and causes the page submit, then click on the 'Printable Version' link, things work as expected.

    CITY

Maybe you are looking for

  • Compaq presario sr5518f upgrade processors

    First of all, I apologize if I do not write in the correct section.  A little new here. in any case, I'm going to completely overhaul my Compaq Presario SR5518F.  I'll get a new graphic/video card, power supply, and processor. Speaking of the process

  • Shortcut to Voice Dialer

    Hello Y at - it a physical, external shortcut to the voice dialer on the Cliq? On many phones, you need to just press and hold the green button to launch, but like the Cliq is default this key I do not know what is the shortcut. I guess there will be

  • Get the description of a serial port with bundles of Visa

    Hi all How can I get the description of a serial port? for example. Communication port (COM14) I use currently Instrument VISA, but there is a large top of the head to the liberation, 65 MB on head. I wish to all the port available for the user to se

  • Windows Vista (KB958869) download size: 1.2 MB - Katusha Trojan__

    Just a tip: download The Security Update for Windows Vista (KB958869) size: 1.2 MBMy antivirus software reports that it is a Trojan horse; [trojanware. Win32.Katusha.~E@104915147].There are at least 12 cases of it in my antivirus events. I have my Wi

  • ASA VPN RA, iPad, PC

    Hello I apologize if this has already been asked.  If you see a thread asked that same question, please link. I am currently overseas and want to set up my house (WE) ASA 5505 with two profiles VPN; a complete tunnel, a tunnel split.  This will allow