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

Tags: Database

Similar Questions

  • "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 show or hide the region of the shuttle during the click on the radio buttons?

    Hello

    I'm new to JDeveloper. Here is my requirement.

    1. create 2 radio buttons: Yes and no and default displays "" selected radio button.

    2. create a region of shuttle with select query in VO.

    Query is:

    Select 'No group' for_user, for_pkg double null

    Union

    Select "Company" for_user, for_pkg "SEGMENT1" double

    Union

    Select 'Rental' for_user, for_pkg 'SEGMENT2"double

    Union

    Select 'Cost center' for_user, 'SEGMENT4' double for_pkg

    Union

    Select 'Project' for_user, 'SEGMENT5' double for_pkg

    Union

    Select "Intercompany" for_user, "SEGMENT8" for_pkg of the double

    order by nulls first for_pkg

    3. initially hide the region of the shuttle during the loading of the page.

    4. click on the radio button 'yes', display area of the shuttle with values at the head of list of query VO and empty list leak.

    5. new click on the 'no' radio button, he must hide region and so screen shuttle shuttle dynamically according to the selected option button.

    But my problem is I am able to hide area shuttle when the page loads at the beginning and after that, when I'm clicking 'Yes' radio button, is just to display area shuttle empty without value in the main list and once when I'm clicking 'No' radio button, it should hide area shuttle but he's not hiding. I used the RPP to show or hide the area Shuttle under certain conditions. I use JDev 10.1.3.3.0 version as we Oracle EBS version 12.1.2 in our society.

    Please find the attached draft and suggest me proper with examples of sample approach.

    Monika,

    I tried to get this working in the lower version of Jdeveloper and looks like it works.

    Can you make the change below and see what happens.

    1. modify your query to VO as below: (I replaced null with SEGMENT0)

    select 'No Grouping' for_user, 'SEGMENT0' for_pkg from dual
    union
    select 'Company' for_user, 'SEGMENT1' for_pkg from dual
    union
    select 'Location' for_user, 'SEGMENT2' for_pkg from dual
    union
    select 'Cost Center' for_user, 'SEGMENT4' for_pkg from dual
    union
    select 'Project' for_user, 'SEGMENT5' for_pkg from dual
    union
    select 'Intercompany' for_user,'SEGMENT8' for_pkg from dual
    order by for_pkg
    

    2. place VO execution to the processFormRequest:

        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            System.out.println("In process Form Request");
            super.processFormRequest(pageContext, webBean);
            OAApplicationModuleImpl appModule =
                (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
            String eventParam = pageContext.getParameter(EVENT_PARAM);
            System.out.println("eventParam: " + eventParam);
            if ("showHideShuttle".equals(eventParam)) {
                //  appModule.invokeMethod("deletetrailing");
                System.out.println("Inside If");
                OAMessageCheckBoxBean messageCheckBoxBean = (OAMessageCheckBoxBean)webBean.findChildRecursive("checkBoxBean");
                System.out.println("messageCheckBoxBean : " + messageCheckBoxBean);
                String messageCheckBoxBeanVal = (String)messageCheckBoxBean.getValue(pageContext);
                System.out.println("messageCheckBoxBeanVal: " + messageCheckBoxBeanVal);
    
                if ("Y".equals(messageCheckBoxBeanVal)) {
                    OAViewObjectImpl shuttleVO1 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO1");
                    if (shuttleVO1 != null) {
                        shuttleVO1.setWhereClause(null);
                        shuttleVO1.setWhereClauseParams(null);
                        shuttleVO1.executeQuery();
                        System.out.println("Executed Query : " + shuttleVO1.getQuery());
                    }
                    OAViewObjectImpl shuttleVO2 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO2");
                    if (shuttleVO2 != null) {
                        shuttleVO2.setWhereClause("1=2");
                        shuttleVO2.setWhereClauseParams(null);
                        shuttleVO2.executeQuery();
                        System.out.println("Executed Query1 : " + shuttleVO2.getQuery());
                    }
                }
                String[] name = { "RenderAttr1" };
                String[] val = { messageCheckBoxBeanVal };
    
                Serializable[] params = { name, val };
                Class[] paramTypes = { String[].class, String[].class };
                appModule.invokeMethod("setXXCustomPVOValues", params, paramTypes);
    
            }
    
        }
    

    3. move Spel link shuttle Bean for the region of header above.

    Some useful links for the shuttle Bean:

    Technology blog based in Java of Sushant: 13. Area of application OFA shuttle

    Framework OA Blog: control of the shuttle as part of OSTEOARTHRITIS

    See you soon

    AJ

  • 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

  • Why my drive showing full after having activated the bitlocker encryption? My d drive is 180 GB. only up to 20GB file is available

    Why my drive showing full after having activated the bitlocker encryption? My d drive is 180 GB. only up to 20GB file is available.

    If you want just a report of chkdsk on your C partition select Start, run, type "cmd" without the quotes in the box and press ENTER. Type chkdsk, and then press the ENTER key and a report, stating, among other things, a summary of how disk space is used, is provided. If you want a report on a partition or one drive other than C, you need to go to this partition. To access F, where F is the required partition you type F: and press the ENTER key.

    Copies of the reports from a command prompt can be tricky. Right click and select mark. This allows to highlight the selected text, and then click on copy. You will then open Word, Notepad or similar file, right click and paste. The selected text transfers your Clipboard to open the file. You can paste directly into a response message to the majority of the forums.

    In Windows 7, you can use a command-line high;
    http://www.SevenForums.com/tutorials/783-elevated-command-prompt.html

  • Grid lines of 4 d cinema showing in After Effects

    Hey guys, I'm having a problem with Cinema 4 d in AE.  I have a simple cube with a few textures I use in a model.  I had to work before when I was building the first installation for the customer.  Now that the customer likes it, I'm moving forward. Added some details and animation to the cube and now the grid lines are showing in After Effects, whatever the options of 4 d cinema that I am applying.  I can't understand it, and I hope for more help.

    I googled the problem using as many different ways to the problem statement I can and have not found a satisfactory answer.  The only answers I've seen online are linking to this article:

    Details of the CINEMA 4 d integration with after effects CC (12.0). Creative blog Cloud by Adobe

    Which I read, but does not seem to address the problem at all.

    cinema 4d problem screenshot.jpg

    Here is a screenshot of my AE and settings.  Please let me know if you have any ideas.

    Thank you!

    SHE FOUND!

    So, for someone else who might have this problem, I'll post the solution to my particular situation:

    In addition to rendering in C4d in AE plugin configuration set to '(Final) Standard", I have done, it is also necessary to have the value 'Standard' within the C4d himself rendering engine.  This can be consulted in Render > change settings rendering, and in the upper left corner, angle of the window is the option 'Renderer' with a menu drop down beside him.  Make sure that it is set to the standard.  I got it on hardware, which seemed to be the cause of the problem,

  • Hide the region using Lov apex oracle 5.0

    Created a static LOV to my report page.

    Now, a selection of drop down of lov values, I need to hide the region and for another selection, I need to see the region.

    Say it like...

    If you are already a customer then it is useless to see the area of registration, if you are a new user, you must complete the registration form.

    So I have to possibility of selection

    Already a customer of 1)

    (2) new customer

    Click on the selection to an existing customer of LOV only registration form region must didn't show the region that I created for new client.

    Ditto for the new customer.

    GOT STUCK HERE.

    I created LOV, but it redirects me to one page to another does not what I wanted.

    Apex. Oracle.com

    testdump/developer/Office

    Hi Dominique,.

    You can do this by creating two dynamic action

    Create a static region which equip your Lov article

    Now you have three regions

    1 static area - container of your LOV point

    2. new customer area

    3. existing customer area

    1. create a dynamic action to show and hide the new client area

    Event: change

    Selection type: point

    : Item Lov that contains (new or existing value)

    Condition: equals

    Value: N (assuming that N is the new customer return value)

    Action: show

    Fire on loading the Page: Yes

    Generate the opposite action of false: Yes

    Selection type: region

    Region: Select the new customer area

    2. create a dynamic action to show and hide Existing customer area

    Event: change

    Selection type: point

    : Item Lov that contains (new or existing value)

    Condition: equals

    Value: E (assuming that E is the return value of existing customers)

    Action: show

    Fire on loading the Page: Yes

    Generate the opposite action of false: Yes

    Selection type: region

    Region: Select the customer existing region

    Kind regards

    Jitendra

  • How to hide the region

    Hi, I created a page region 0 in my apex application. I understand that whatever it is in page 0 apply to all pages. Anyway, my problem is that the title of region shows on any page. They is a way to hide the region?

    Hi Dave.

    You can create a new model of the region with a model code;

    Templates-> Create model-> area - from scratch-> him give a name. Custom 1 model (for example) - class create.

    Edit this new model and modify the definition of #TITLE #.
    #BODY # to the following:

    #BODY #.

    Change your region to use this model and you'll be fine.


    Edit

    I just noticed that your javascript has been in the header.  I have my case is in the source of the region as

    Kofi

  • See hide it region

    Hello
    in this demo "http://apex.oracle.com/pls/apex/f?p=TER:RDS_CUSTOMIZABLE".
    There is a > top left of each region that allows to hide or show region
    What is a plugin? or a specific type of region
    Thank you

    Its a region using hide/show the area model.

    See you soon,.

  • Hide a region

    Hi friends,
    I got a region that I hid some time ago.
    Yesterday, I changed the setting in the User Interface / Template and changed the region region of reports so that I can see him again. It was intentional because I wanted to check something.

    Problem is, I want to hide it again, so I select empty region or without a model of the User Interface / menu of selection of model for this region and it still shows.

    Please note: this isn't the Hide and Show region, I am concerned, but rather to completely hide a region of the user.

    Any help would be appreciated :)

    Fair value the condition for this region forever (or some other condition if needed).

  • JavaScript to hide the region

    I want to hide an entire region based on JavaScript. I can't use the conditional display of a region because it is at the request and cannot submit the page to check the value. I can't hide specific values, but the labels remain and the border of the region remains. Here's what I have so far.


    OnChange = "Show_On_Selectlist_Value('P15_SIRT_DCSN_ID','6'); »


    < script >
    function Show_On_Selectlist_Value (CWnd, pValue)
    {
    var rv is $x (CWnd) .value;.

    If (rv is pValue)
    {
    html_ShowElement ('P15_RR_COMMENTS');
    html_ShowElement ('P15_RR_USER');
    html_ShowElement ('P15_RR_DATE');
    }
    on the other
    {
    html_HideElement ('P15_RR_COMMENTS');
    html_HideElement ('P15_RR_USER');
    html_HideElement ('P15_RR_DATE');
    }
    }
    < /script >

    For the region that you want to hide, provide a value for the static attribute "ID". You can then use the javascript functions integrated '$x_Hide (NDP) and $x_Show (NDP)' to show or hide this region.
    example of

    $x_Hide('REGION_STATIC_ID') 
    

    http://download.Oracle.com/docs/CD/E14373_01/apirefs.32/e13369/javascript_api.htm#CHDDAGFE

    CITY

  • After calculation of s does not as expected

    Hi all

    Can someone explain the result of the test below.
    Region 1:
    
      Item                   : P2_FLAG
      Source Used            : Always
      Source Type            : Static Assignment
      Source Value           : INITIAL
    
    Region 2:
    
      Contains a SQL Report that does "select deptno, dname from dept"
      
    Computation:
    
     Item Name        : P2_FLAG
     Type             : Static Assignment
     Computation Point: After Region(s)
     Computation      : CHANGED
     Conditions       : (none)
    When I run my P2_FLAG page displays the "INITIAL" value I expected to see "CHANGÉ" because I thought that the calculation must be updated once all parts are processed and before the page is sent to the browser. I couldn't find any documentation that tells exactly how calculations "after regions or" behave, but [this site | http://www.apexsolutions.de/blog/allgemein/interactive-report-without-initial-results/] suggests it should work the way I expected.

    I am doing something wrong, misunderstandings of computation points, or y at - it a bug?

    I use APEX 4.0.2.00.07.

    Thank you.

    Hello

    After calculation of the regions is executed after your item is rendered in the HTML document.
    It will only affect the value of the session state from the question, no value you can see in the HTML document

    Kind regards
    Jari

  • hide the region if the recordset field is empty

    Hello

    IM after a logic that will allow me to hide a code if a field in a recordset is empty. so I have a field called motion in a Recordset called rsProj_detail, now if the query contains no text so I want to hide a region of code. does anyone know how to do this? I hope that ive made myself clearly, if this no is not please tell me and I have re written the post.

    Thank you

    Have you tried something like this?

  • Since Windows 8 my taskbar don't auto hide more, even after you have changed the settings.

    Just upgraded to Windows 8 and my bar tasks don't hide now, even after clicking on auto-hide settings, I tried applying ok then ' ing, and I tried to get rid of any notification, but usually disappear again :/

    Any help would be thank you very much.

    One of the common culprits that breaks auto-hide is the center of the Action.

    To test: click the Action Center icon in the system tray (it's the icon of white flag), when the window pops up to close it. If the taskbar mask that was the likely culprit.
    You can turn off the center of the Action via the control panel > Notification area icons > the system tray icons turn on or off > Action Center in the OFF position.
  • Unexpected results after calculation

    Hello.

    I have 3 databases of production which have worked successfully until Thursday.

    FARM sales for the whole company per month.

    EB2. Sale of a specific division a week.

    EB3. Sale of a specific division and top ranges, per day.

    Thursday.

    The problem is that after calculation of EB3, the totals I see in the validation reports are incorrect when compared with the totals in the EB1.

    The whole story is the display of incorrect results, not only the data for the current month, which is that I charge per day.  I'm doing an incremental loading of the current and previous month only.

    I took a backup and loaded in the EB3 and performed the calculation... once again the totals were incorrect.

    Friday

    When I compare the validation reports, totals in EB3 were as expected when checking against the EB1.

    I did nothing for the outline, the backup is the same.

    EB1 and EB2 were ok.

    Saturday (today)

    When I see the validation report today I noticed that EB3 has the same behavior; incorrect results.

    And EB2 also contains unexpected values after calculation.

    Have you encountered this problem before?  Is there something specific I should review to determine and solve this problem?

    Log files reflect not any message "error" or "fail".

    Any comment is welcome.

    Kind regards

    JC

    Difficult to clarify the question without knowing what actually do the calculations. Just a suggesiton wild as you see error every day replacing when you see good results just make a backup of contour and then use the problematic day contour compare to compare 2 contours. May be there are some jobs that you are not aware of the evolution of the sketch, thus destabilizing the whole of the data!

Maybe you are looking for