Show conditional region

Hello

I have 3 regions is a screen that is

Region 1 (column 1): list mentions:
A1
A1_1
A2
A2_1

Region 2 (column 2): type html
Region 3 (column 2): type html


Is it possible
(a) when I click on the link A1_1 to display region 2 and region 3 make no visible
(b) when I click on a link A1_2 to display zone 3 and make it region 2 not visible
(c) the list is still intact?


Best regards

/Costas

Hey, Costas,.

I may have a solution for you. I created this java script function:


When you create your brand of links your references as such:

(a) when I click on the link A1_1 to display region 2 and region 3 make no visible

href="javascript:toggleRegions(1);"

(b) when I click on a link A1_2 to display zone 3 and make it region 2 not visible

href="javascript:toggleRegions(2);"

If you do not enter a static ID for a region, it can be a little difficult to find the ID of this table of regions.
If you use Firefox, select the region header text and right click > View Source selection, you will see a tag table with an ID that looks like:

Replace "Region 2", "region 3" in the javascript code with id = "RXXXXXXXXXXXXXXXXX", where id is the identifier associated with the region.

I hope this helps.
Ghoulies

Tags: Database

Similar Questions

  • 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

  • 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-

  • 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

  • Automatically expand a Hide and Show model region when the Page loads

    Hello

    I work with a Hide and Show region model, and I'm trying to accomplish the following:

    When my Page loads, if a PX_ID is not null, hide it and see the area should be extended automatically.

    I use Apex 4.1.1.

    Any ideas?

    Thank you

    Erick

    Hello Joe,

    Thank you for your response.

    This morning, I was looking for a solution in the forum and I could not find anything. Now, I decided to keep looking for more careful and I found a solution.

    For those interested, check this thead element: Re: hide/show the region

    Basically, I created a dynamic Action with the Code JavaScript: $('.t20RegionHeader') ('img') .children ravishing ();

    Thank you

    Erick

  • Hide/show the region

    Hello
    I'm trying to change the default behavior to hide/show the region to show, after a few attempts, I got partially work but now does not work by clicking on the icon to enable/disable/hide also changed the icons and added a type = "" but his does not work. " Any help? Thanks and greetings

    You can do so at the level of the model. Copy the skin and see the area to Hide and Show (show) and then modify the model. Essentially 2 thing I've changed are the image of collapse_minus.gif and style ="". My suggestion is to make a copy of the region before making any changes. It works for me in IE, Chrome and FF.







#TITLE #.
#CLOSE # PREVIOUS # ##DELETE NEXT ##EDIT ##CHANGE # CREATE # CREATE2 # EXPAND ##COPY # HELP #.
#BODY #.

  • 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

  • Hide/show the region using the text in the list

    Hi all

    I created a list in a shared application component. Is it possible in the apex to hide and show the region according to the selected list text.

    Thank you.

    I have not used jQuery, but only if the region

    Kind regards
    Richard

  • 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

  • Show (a region) IF (value) = recordset field

    Hello - I work on ASP Javascript and must show a region if the column of a recordset in my Access database special value. How can I write this? Thank you.

    <% if (rs_SanFran.Fields.Item("OpenClose").value == "Open") { %>
    Sign up right now!
    <% }else{ %>
    Do something else
    <% } %>

  • Show/hide region when the drop-down list is changed

    Hello

    I need show/hide a region when dropdow (selection list) is changed.

    I used dynamic action:

    Event : change
    Selection Type : Item(s)
    Item(s):P50_my_list
    condition : JS expression
    $v('P50_my_list') == 1
    
    True Action :
    Action : Execute JS Code
    Code : $('#region_name').show();
    
    // OR use Action ==> Show
    
    

    False Action :
    Action : Execute JS Code
    Code : $('#region_name').hide();
    
    // OR use Action ==> hide
    

    But the region has still shown!

    Also, I used a JS function (in the dynamic action of the place) but I met the same result.


    function showHideRegion(pValue)
    {     var show_or_hide = $x(pValue).value;
        if (show_or_hide == 1)
          {$('#ALTERNATIVEN_LIST').hide();}
        else
          {$('#ALTERNATIVEN_LIST').show();}
    }
    
    
    

    Hello

    I solved the problem with the js function:

    function showHideRegion (pThis, pValue)

    {var show_or_hide = $x (pValue) .value;}

    If (show_or_hide == 1)

    {

    var element = $x_UpTill (pThis, 'DIV');

    Element.style.display = 'none ';

    } else {}

    var element = $x_UpTill (pThis, 'DIV');

    Element.style.Display = "block" ;}

    }

  • 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

  • Maybe you are looking for

    • Battery drains too fast

      Hello After the transition to macOS Sierra, I see that my macbook pro battery drains too quickly. Also pointed out that in the mode 'sleep', he gets very hot. Any suggestion to solve this problem?

    • Scanning from printer to the computer and the computer to the printer-Envy 5300

      I had printer 5530 myEnvy less than a week. He is doing well, but I tried to scan a document to the printer and it does not find the computer. I go into the preferences of the computer and see scan and my document, but the scan button does not illumi

    • Optimization of display PDA - reporter update panel?

      Hello I'm working on a big project for the PDA application with Mobile Module 8.6 LV (which could be deployed on Pocket PC2003, THIS 5.0 and target Mobile 6 and touch) and I have a few problems with the updating of the display: to my controls & indic

    • CVI 2009 find command

      Not sure if it is a bug or some new setting miss me him, but in the old version 'Search' allows to save the last used settings and 2009 does not seem to save.  I checked "several files...". "option, but it is not checked on the next use of the find c

    • Issue linking subroutines VI by the main program

      Sir/Madam, I've done some subprogrammes VI of "Keithley 2400', but I'm having the problem by connecting them together with the main program.» In fact the subprogrammes of created VI do not display any button to activate when I connect the 'action.vi'