Hide/show dynamically regions

Hello
I use APEX 4.0.
In my application, I created 3 buttons. (Login, change password, password forgotten).
I want users to see change passoword region when the button is pressed.
In the same way with password forgotten.

How can this be achieved at the APEX.
Forms of oracle, it was as simple as (item_property...... visible false). Is there something like that in APEX?

Thank you
Laba

HTML elements have the property of visibility (hidden, visible) or (none, block, inline) display to the control display/hiding items

You can manipulate it using JS

$x('Item/Region_ID').style.visibility = 'hidden ';

or

$('_#_Region/item_id').hide)

You can also use the show/hide a dynamic Action in the apex 4 + to do this declaratively.

Tags: Database

Similar Questions

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

  • 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

  • Hide/show dynamic Action on the region, not hiding title area

    I use APEX 4.0.1 with topic 13.
    I created a dynamic Action to show/hide a region on my page, but that content hiding as expected, the region remains title. Any idea on how to hide title area as well?

    To identify the area to the DA, I use the following method:
    Region Header
    <div id=XYZ>
    
    Region Footer
    </div>
     
    In the DA dom object is now XYZ

    Thanks in advance
    PaulP

    PaulP says:
    I use APEX 4.0.1 with topic 13.
    I created a dynamic Action to show/hide a region on my page, but that content hiding as expected, the region remains title. Any idea on how to hide title area as well?

    To identify the area to the DA, I use the following method:

    Region Header
    
    Region Footer

    Lose the header/footer code, it does not act as a container for the whole region. Use a static region ID as selector of DA.

  • Hide / Show grid region loss points available

    Hi apex community!

    In Application Express 4.2.5.00.08, I have the following problem.

    Grid layout Item2 property ""Start New Row "= NO "

    Hide and show region loss presentation grid points. For example-> > > >

    Region HaS.png

    If you change the model to 'Région Standard', columns are displayed correctly

    Region Standart.png

    Someone at - it a solution or alternative.

    Thank you

    Martin

    See problems with layout themed to show/hide the region 25

    Always specify which theme you use when you ask for the layout and Visual formatting issues.

  • Is it possible to detect the State of hide/show the region...

    Hello
    Is it possible to detect the State of hide / display area.

    I have three regions/hide RX, RY, RZ.
    When an EX event happens, then region RX should expand and the rest of the region collapses.

    When an event happens EY, then region RY should expand and collapse the rest of the region.
    ........
    ...

    We can use this JS on DA to change the status of a region:
    $("RX.uRegionControl").click ();
    $("RY.uRegionControl").click ();
    .....
    But, first of all, we need detect the State of where applies this da?


    I'm working on apex 4.2. Theme 25.

    Kind regards
    Fateh

    You can try this

    //example
    $('#RX .uRegionContent').is(":visible")
    // this will return boolean - true if it is expanded and false if collapsed
    
  • How to hide/show a dynamic region

    I need to hide/show a region according to the value selected by the user from a selection list. Does anyone have anyidea about how to do it?

    Thank you!

    Create the function to hide show anywhere where you would create javascript. You can put it in a static file, html page, the model of page header that works for you.

    You must call the function of certain events on the selection list. I think that onchange would work. You can set this in the attributes of the element of the selection list element (e.g. onchange = "show_hide ()"). Or you can register the handler through javascript.

    To make it simple for you simply create the function to hide show inside a script tag in the HTML of the page header. It is located on the page at the top left region the most.

    Access to your selection list item, and then look for the "form element HTML attributes. OnChange = "show_hide () of type" in this area. "

    Greg

  • 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" regions – how to keep open after send the page

    Hello

    I have several regions ' hide / show ' in my request... when the user submits the page, it closes all the

    is there a way to keep one open that were opened before the page is sent?

    Thanks in advance

    Long answer: forget the hidden item and simply store the values in a cookie.  Use dynamic action, 1 2 plan to store the values when the page is submitted and the 2nd DA to retrieve the value and developing regions.

    Hide and Show parts APEX sticky

    Dynamic action 1

    Name: Save the open areas

    Event: before the Page is sent

    Condition: - no requirement.

    Real Action:

    Action: Run the JavaScript Code

    Fire on Page load: [disabled]

    Code:

    var lOpenRegions = []
    $(".hide:visible").parent(".hide-show-region").each(function()
      { lOpenRegions.push($(this).attr("id")) });
    SetCookie("HideShowOpenRegions",lOpenRegions.join(","));
    

    Dynamic action 2

    Nom : Open saved regions

    Event: Loading the page

    Condition: - unconditionally.

    Real Action:

    Action: Run the JavaScript Code

    Fire on Page load: [disabled]

    Code:

    if (GetCookie("HideShowOpenRegions")) {
      $.each( GetCookie("HideShowOpenRegions").split(','),
                function(intIndex, objValue) {
                  $("#"+$nvl(objValue,"x")+" .hide:first").show();
                }
      );
    }
    
  • How to set ' hide / show ' regions during the loading of the Page mode 'hide '.

    How to 'Hide' under regions on a page on the loading of the page, but don't show the region above in mode 'show' on a page?

    I have multiple regions, one under the other on a Page. All models on those who are assigned to the regions 'Hide and Show '. When the initial page loading - my goal is-displays only the Top more Region in "Show" mode, while setting all the other (regions to 'Hide' in low mode).

    Can someone please suggest ideas on how to achieve this? Dynamic action? or other approaches? Examples/steps please would be greatly appreciated.

    My request for a theme is set to 23 Crimson. Apex 4.1.x

    Thank you.

    VSKumar

    Hello

    What needs to be done is:
    Set up the STATIC ID for all regions with the exception of the first region.

    For example:
    REGIONTWO
    REGIONTHREE
    REGIONFOUR
    REGION 5

    Then go to the properties of the Page to the section head and footer. In the footer section, add the following:

    
    

    You can for example see http://apex.oracle.com/pls/apex/f?p=60428:5

    P.S. If you switch to another topic you should check if the classes are the same. Otherwise it will not work.

    Kind regards
    Aljaz

    Published by: Aljaz on 6.3.2012 0:04

  • Hide/show a dynamic field

    Hello

    I'm new to OFA.

    I have a requirement to hide/show a dynamic field based on the operating unit.

    So instead of hard coding UO, I use lookup.

    Now, what I've done, spread the VO and VO query added a new column to validate in relation to research and back 'n' or 'Y '.

    I created a transitional and in VORowImpl attribute. I'm valid against the newly added column VO and assigning the value TRUE or FALSE to the transitional attribute.

    and I'm on SPEL in Customizing the page.

    Now what is happening is when an existing record is asked in the page, the field is hidden/unhinden based on the given condition.

    But when a new record is created, this condition does not work.

    So I guess that the VO don't get initialized when the page is loaded? Is this the reason why the condition is unchecked in VORowImpl?

    My hypothesis is correct?

    How do I get my requirement?

    Pointers would be useful...

    Thank you

    Naren

    Hi AJ,.

    I forgot to update the thread. Reached the requirement.

    Solution,

    Created a transient VO attribute.

    Then in VORowImpl, written the code to set the transient attribute.

    Then using customization, SPELL, set the property to the item.

    It works perfectly.

    Thank you for guiding me to assign to the attribute.

    Kind regards

    Naren

  • Hide region show how to maintain the status of hide/show on send page

    APEX 4.2.1 using theme 24

    I have several areas on a single page that are defined using the "Hide Show Region" model this model defines the regions to show everything first. If a user chooses to hide a region is there a way to keep this state when the page is submitted? Example region top of page is to hide/show parent to an interactive report, below this area is a relative of region to hide/show for a tabular presentation, if the user chooses to hide the interactive report region and they enter data in the region in a table, when he clicks on save and the page is submitted the interactive report region appears and the tabular form region appears still longer down in the page and the user have to scroll down to access.  I'd rather have the page 'to remember' the State of hide/show that the user has selected for each region and keep this status when the page is sent.

    Someone has an idea how to do this?

    Thanks in advance for a suggestion to work!

    Theresas

    You have almost all the way.

    As you have probably already understood, the problem is that the code requires that regions begin closed and it will 'click' to open.  If you're one of them is already open, you have now two inverse regions.

    I think that it is better to have them both be areas closed, when the cookie should be created (we were a new cookie for that) then "click on" one you want to open and create the cookie with this region in.  From that moment of the code can continue to click on the one that was left pending.

    So, I added more code to the initial opening. I introduced the P2INIT cookie which will be set to YES the first time the page is visited.  Its only purpose is to open the region to report on the first visit.

    After that, the logic can circulate to store regions that can be opened.

    Also, I have completed the static ID of the report to better reference by name.

    Now, I have to say, if you are presenting the same data, but a game is available to edit in a tabular form, something like Page 3 would work?

    When you click on edit the grid it will hide the report and view the form in a table. When you click 'View report' he hide the form tab and view the report.

    I think it's a clean approach and the data are not queried the DB double. It also avoids the flicker of the openness of the region.  Just an idea.

    I use preferences instead of cookies.  The nice thing about the preferences, it's that they are saved in the DB for the user, so if the same user logs on to another computer or a browser preference comes with them.

    Thank you

    -Jorge

  • hide and show the region - hide by default

    Hello world
    I had a hide / show region on my page. I want to hide this default region (on each page load).
    In fact, it is open by default.
    How can I get that?
    I have tried many things, searched a lot of problems that.
    But I can not find a solution, which helped me.
    I am using a theme not Standard apex.
    Any suggestions?

    First run page using firefox or chrome and identify the name of the region, i.e. the #REGION_ID # in the model translates into something like "region5" when rendering.

    Change Page, in the section Javascript executed when the Page loads, enter the following command

    hideShow ('region5', 'shIMG5', '', '');

    This should toggle the current show / hide mode.

  • Area hideShowHeader: how to get the name of region on Hide/Show Event

    Hello

    I would like to retrieve the name of the region (hideShowHeader) when I click on the hide/show icon. I know how to catch the event but some OAWebBeanConstants I always check null... any idea?

    Thank you very much, Pier Paolo.

    Hello

    Try to print below in LIC...

    System.out.println ("name of the event:" + pageContext.getParameter (OAWebBeanConstants.EVENT_PARAM));
    System.out.println ("the Source of the event:" + pageContext.getParameter (OAWebBeanConstants.SOURCE_PARAM));
    System.out.println ("value:" + pageContext.getParameter (OAWebBeanConstants.VALUE_PARAM));

    Thank you
    Mukesh Uchaniya

  • Show "hide / show region" after calculations

    Thank you in advance,

    I have a number of parts of the report "hide / show" on my page, and two reports are the research areas incorporated with them. What I'm hoping to do, is show a specific skin and region after calculations when it is clicked on the specific button for this area of research. I created a button with more appearing as its URL:

    JavaScript:doSubmit('GO'),hideShow('region3','shIMG3','/i/HTMLDB/Builder/rollup_plus_dgray.gif','/i/HTMLDB/Builder/rollup_minus_dgray.gif ');

    When the button is clicked, the page begins to update, then the region of h + s displays, but once the page finishes refreshing, the region closes upward. I wondered a better way to reload a page, then call the function hideShow? Thank you.

    Robert

    Published by: tread on April 28, 2009 08:16

    Hey

    Have you looked here?

    [http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STICKY]

    See you soon

    Ben

Maybe you are looking for

  • Random Activation on the new iPhone lock 7 more

    So, I bought an iPhone brand new 7 more on the program of upgrading my Apple apple local store and I left for a week before actually removing the seal plastic and using my iPhone. I opened today and tried setting up, however the activation step it ke

  • It is worth buying an IBook G4?

    So I just need a laptop for the classification of documents and browsing the internet whenever I'm out, but not to download programs, I'm wondering if a G4 IBook could meet my needs.

  • Attack of the MacKeeper

    Running the current software Mini and 10.6.8 on an older laptop. The two blinking MacKeeper and other advertising windows. I deleted cookies several times and checked the popup block, but to no avail. The killer solution need to stop this.

  • Cannot connect at all on the desktop, but XBOX and laptop.

    Desktop has been updated Friday. Cannot connect since then. XBOX, portable, Blu - ray easily connect. One office has Firefox. All others connect through a wireless router off the power of the desktop computer.

  • Need replacement for M70 - 191 DVD burner.

    My DVD burner on my M70-191 (has my * a UJ-8415) refuses to recognize most CD and fails when you try to burn the DVD, with various errors. I've tried different types and different burning software. Re-installed, cleaned up by car drivers. No luck. So