Hiding a region

Hi Friends,
I had a region that I hid some time ago.
Yesterday I modified the setting in User Interface / Template, and changed the region Reports region so that I can view it again. That was intentional because I wanted to check something out.
Problem is, I want to hide it again, so I'm selecting Blank Region or No Template from the User Interface / Template selection menu for that region, and it still shows.
Please note: Its not the Hide and Show region I'm concerned with, but rather to totally hide a region from the user.
Any help would be appreciated :)

if you want to hide the region from display alone, but should still be rendered , then do not use a PLSQL condition, rather use the
style="display:none"in the region's "*region attributes*"
If you do not want region to be rendered , i.e you are not using any of its item for any page processing(i.e instead of deleting the region) , you can either use the "never" condition as suggested above or use build options for that(You would need to create a build option with the setting "excluded" first). The latter would advantageous because it can retain any render condition which you might need later on(in case you decide to bring back the region).

Similar Messages

  • Hiding the Region Navigating between pages

    Hi All,
    I have two regions in page1 ( region1 & region2), when I click one of the columns in page2 I should see only region2. I have searched in forum but I didn't find any solution for this kind of problem.
    How can I completely hide the region1 which is in page1? Is there any way that I can hide the region through conditional display
    Thanks,
    Suma.

    I assume the clicking is using a link to page 1. In that link you can specify an item on the page 1 and flag it with some value. In the conditonal display of the region on the page 1 you may specify to show it only if that flag is NULL.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Hiding Report Region on button pressed

    hi , i have report region , and i want when i click on show button its show the report region and the button then convert to hide and then when i click on hide it hide the report region and button convert to show , can any body help me for this

    Hi,
    Change your current report region tempalte with 'hide and show region template'.
    In apex inbuild template for implementing show and hide region type of report.
    Go to the edit page option and in user interface chage your current report region tempalte with the 'hide and show region template'.
    Thanks,
    Rajendra
    Edited by: rajendra on Feb 26, 2012 4:36 AM

  • Hiding Query Region Using PPR

    Hi All,
    Have used POV to create a boolean trannsient attribute and the value for that is changing perfectly, but when I'm trying to set it as value for Rendered property of Query Region, that is not working as expceted, not able to hide Query Region
    the rendered property is set as below:
    ${oa.QueryRNPVO1.QueryRNRendered}
    QueryRNPOV1 is the POV and QueryRendered is the boolean attribute of it.
    Please help.
    Regards
    Ritesh

    Hi,
    Can you paste the code here, how are you handling it.
    Thanks
    Saurabh

  • Hiding Columns, Regions and Tabs with Javascript

    Hello fellow Apex users,
    I am using APEX 3.2.1 and am having a Javascript problem. I am trying to make a column disappear as soon as the user selects “No” from the drop-down menu.
    TheAPI for disabling a column works fine: $f_DisableOnValue(pThis,pValue,pThat) and the code Example (goes on HTML Form Element attributes): onchange="html_DisableOnValue(this,'No', 'P16_EXAMPLE_COLUMN');"However, when I try to customize the API to “Hide on Value” nothing happens.
    This is the API: $f_Hide_On_Value_Item(pThis,pThat,pValue) and my code Example:
    onchange="html_ Hide_On_Value_Item (this, 'P16_BUDGET_CODE', 'N');" Please tell me what I am doing wrong. Also, please tell me if it is dynamically possible to make Regions and Tabs disappear.
    Thanks,
    Mauricio

    Okay, I was just trying to exlplain the idea...
    So you would have maybe 2 functions (I still don't know your exact requirement) like this...
    <script>
    function doOneThing(pThis){
    if(this.value == 'option1'){
    $x_Hide('P_ITEM2');
    $x_Hide('P_ITEM3');
    $x_Hide('P_ITEM4');
    else if(this.value == 'option2'){
    $x_Hide('P_ITEM5');
    $x_Hide('P_ITEM6');
    $x_Hide('P_ITEM7');
    function doAnotherThing(pThis){
    if(this.value == 'option1'){
    $x_Show('P_ITEM2');
    $x_Show('P_ITEM3');
    $x_Show('P_ITEM4');
    else if(this.value == 'option2'){
    $x_Show('P_ITEM5');
    $x_Show('P_ITEM6');
    $x_Show('P_ITEM7');
    </script>Then you could have an onload function in the HTML Body Attribute or the page like this...
    onload="doOneThing(document.getElementById('P_ITEM1'));"I can't write all of your code for you unless you give me a real example. These are ideas that I'm showing you - I would suggest that you try and take the time to learn exactly what they're doing and then adapt, change or exapnd on them for your own needs.
    Cheers
    Ben

  • Hide and show multiple regions

    I'm trying to show 5 regions in hide/show fashion, when a user clicks on a link. The link needs to be embed in the top region tittle area. The region title is displayed on the left side and "Collapse All /Expand All" link needs to be displayed along the same line as region title to the extreme right. When the user clicks on the "Collapse All/Expand All" link, the 4 regions below the top region needs to expand or collapse. any ideas are appreciated.
    Regards,
    Surya

    That should work. The script for hiding the region is in the region template. If it works for
    one, you can make it working for any other number. The hardest part is to find the region
    id's for your regions firs so you don't hardcode those. Asign static id's to your regions and
    query their id's like this:
    SELECT region_id
      FROM apex_application_page_regions
    WHERE static_id = '1_1' AND page_id = :APP_PAGE_IDAfter that you can use the same script as in the page template:
    &lt;img src="#IMAGE_PREFIX#themes/theme_13/plus.gif"
    onclick="htmldb_ToggleWithImage(this,'#REGION_ID#Body')"
    style="margin:0 5px;" class="pseudoButtonInactive" />Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Error updating two reports on same page! Could you have a look please?

    Hey guys!
    I have the following situation :
    two updateable reports on one page with IDs 'DATE_REPORT' and 'WORK_REPORT'
    two pl/sql processes on submit after c.... named 'SUBMIT_DATE' and 'SUBMIT_WORK'
    two buttons named 'SAVE_DATE' and 'SAVE_WORK'
    Finally, the insert and update processes are conditioned to Request = Expression 1 where for the 'DATE_REPORT' it is set to 'SAVE_DATE' and for the 'WORK_REPORT' it is logically set to 'SAVE_WORK'. There are no extra button conditions.
    My problem: No matter which button I press, the array is build up from the columns of the first report and continues to add rows of the second report.
    For instance: 'DATE_REPORT' has 11 rows and 'WORK_REPORT' has 9 rows. In the debug mode I can see that the array is build up using the 'DATE_REPORT' although 'SAVE_WORK' was accepted as the request. The same problem vice versa for the other update.
    ......column CNT_ARBEIT_CRIT_DATE mapped to WWV_Flow.g_f02
    ......column LNG_ARBEITSSCHRITT mapped to WWV_Flow.g_f03
    ......column STR_ARBEITSSCHRITT not mapped - not stateful.
    ......column DATE_GP_X_START mapped to WWV_Flow.g_f04
    ......column DATE_GP_X_END mapped to WWV_Flow.g_f05
    ......column DATE_R_X_START mapped to WWV_Flow.g_f06
    ......column DATE_R_X_END mapped to WWV_Flow.g_f07
    ......column LNG_GEBIET mapped to WWV_Flow.g_f08
    ......column CS not mapped - not stateful.
    ...array has 20 row(s). Used f08 to count.
    Validate report columns(ApexLib_TabForm.validateColumns)
    Row 12 has checksum error. ORA-01403: no data found ORA-01403: no data found ORA-01403: no data found
    ...Row 12
    ...LNG_ARBEITSSCHRITT
    ...CNT_ARBEIT_CRIT_DATE
    ......is not required
    ...LNG_GEBIET
    ......is not required
    ...DATE_GP_X_START
    ......is not required
    ...DATE_GP_X_END
    ......is not required
    ...DATE_R_X_START
    ......is not required
    ...DATE_R_X_END
    0.00: A C C E P T: Request="SAVE_WORK"How can I make sure the arrays are made up from the reports that are subject to the update???
    Many thanks for reading this post and giving some help if you have an idea!
    Regards,
    Seb
    Edited by: skahlert on 13.03.2010 10:57

    Hi Peter! Thanks for your answer. Well, this is what I already assumed! Two updateable reports with different data sources on one page will not work taht easily.
    Both reports have different amounts of columns in my case! I might create some pseudocolumns in the first report to match the columns in the second one. Hence I could try to build up the array like that.
    However, I believe it will not work as I can't use the primary key for the insert procedure in my second report. This is due to the design of the report.
    My initial idea was to somehow deactivate my report regions before running the update resp. insert procedure.
    I thought of using the htp.p statement with 'hideShow(''DATE_REPORT'')' and 'hideShow(''WORK_REPORT'')' to deactivate the regions and run the dml processes afterwards. Of course hiding the regions depending on the requested dml process. My question is if it will actually work like that. My try to hide the regions failed. The DATE_REPORT was indeed hidden but the update was still unsuccessful. I believe hiding the region is not sufficient.
    Do you have a hint how I can completely disable or deactivate the reports using javascript from pl/sql?
    Many thanks and have a splendid sunday!
    Regards,
    Sebastian

  • Need tree capabilities in report

    Hi
    I have a report with 15 columns.
    The first column is a number (list number).
    A list number may or may not have sub list.
    i.e.
    1
    2
    a
    b
    c
    3
    What I want to do is show the list number 1,2,3 but on list 2 - I want to be able to allow the user to click on 2 (or link) and show the sub list in the report - then click again to hide the list. Same principle as hiding a region but inside the report.
    Is it possible?
    Any help would be appreciate.
    Thanks
    Mary

    Dimitri,
    I get the same error also, but if I hit the 'refresh' icon, then it does load. I've seen this problem for several days now, but I don't know where the problem is. Sometimes I don't get the message, but most of the time I do.
    Also, I'm not sure if there's an easy way around it, but it's rather disconcerting to be reading along on the blog postings, and then see something like this:
    I&apos;m currently working with SQL Developer 1.5 (beta) on my MacBook Pro and so far it&apos;s going really well. I&apos;ve the impression it&apos;s faster as version 1.2 which I like.
    I don't see the 'translation' on your site, but I see the ampersands, apostrophe's etc. all translated into the entity code on the other site. Maybe you could add a process to escape them back to their original characters?
    Bill Ferguson

  • Images from dataset causing bad server request

    I'm using Spry for some time and find it really nice framework especially for data handling.
    One thing bothers me is that when trying to display images based on xml dataset (like <img src="{photo}") one false server request happens.
    Before updating the ds the browser tryies to load specified url, which is quite annoying.
    So far I've tried:
    1. spry state ready
    2. spry if many properly formulated options
    3. hiding that region with css display none and showing after ondatachanged notification
    none helped.
    Any help in that matter would be great.

    Please post a link to your site.
    Gramps

  • Resize, minimize portlets programatically

    Is there a way of minimizing portlets programatically.
    Customer wants to have a link which hides a portlet/region when a link is clicked.
    Is this possible?

    Three ways occur to me by which you could accomplish this or something similar.
    1) How about the out-of-box collapse/restore and remove icons which can appear on the portlet header? Would they meet the requirement?
    2) Embed JavaScript in the portlet code which renders a Hide/Show link or something similar
    3) Create a page which has identical content, but does not have the portlet/region. Have the link take the user to that page and have a link on that page that takes them back. Looks like it is hiding the region even though it is really changing pages. If you base the pages on the same page template, you can easily keep them in sync with the exception of that region and the link.
    Just ideas to consider. Hope one of them is useful
    Rgds/Mark M.

  • Hiding Add Another criteria in advance search region

    Hi,
    I have a requirement for hiding/removing the Add Another search criteria functionality of AdvancedSearch region. The user should be able to search for the criterias given.
    Please reply the way I can do this.
    Thanks in advance.
    Mukesh

    Uchaniya,
    Read the above replies. First its not feasible. Second, only the items with the search allowed property set will appear as search criteria. So just handle your scenario through this property. Even if user adds more search criteria, the searchable columns will the same.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Hiding the two region in same position

    hi all,
    I have a region called addexist under that p6_search(txtbox),p6_item(hidden),p6_item2(hidden),p6_searchbutton,p6_viewall.
    Under the region AddExist i created a sub regions named hidden1(Report type=Sql Query) and hidden2(Sql Query).
    I have created process hidden1,hidden2(before comp and val) and dyanmic actions hidden1,hidden2 and proces hidden1,hidden2(on load after region).
    For hidden1(before comp and val) when button pressed = p6_viewall. For hidden2(before comp and val) when button pressed = p6_search button.
    The problem is when i press the view all button it displays the hidden1 region But the hidden2 region also displaying it is not hidden. When i press the p6_searchbutton it displays hidden1 region and hidden2. And I have selected the two regions is body(1) position. hidden1 sequence=60, hidden2=70.
    Now i want to disply hidden1 region when when the p6_view_all button selected it should not display hidden2 region likewise, when i press the p6_searchbutton it should display hidden2 region only not along with hidden1 region.
    Edited by: apex on Jun 2, 2011 10:46 PM

    Hi all,
    Can anyone share your valuable comments on this issue.
    Edited by: apex on Jun 3, 2011 3:26 AM

  • Hiding Columns in a Spry Region

    Hello All,
    I'm using the SpryDOMUtils.js to hide columns in my SPRY table.  Everything works fine when I load the page except when I add the LoadListener to hide the columns when the page generates:
    function hideColumn(){
         Spry.$$("#second th:nth-child(n+5),#second td:nth-child(n+5)").toggleClassName("hideIt");
         changeText("button2","Hide Detail","Show Detail");
    Spry.Utils.addLoadListener(function(){
         hideColumn();
    After the page loads the columns are hidden like they are supposed to but the show button will not 'show' the columns and the code seems broken.  Sorry I cannot post a link the code as it is on a Intranet.
    I have followed the example on http://labs.adobe.com/technologies/spry/samples/dom_utils/hide_columns.html but maybe it is because it is in a spry region?
    Cheers!
    Kevin

    I'm assuming that by "Spry Table" you meant that you are using a Spry region to generate a table. If so, you need to trigger your code from an onPostUpdate observer instead of triggering it after the page loads. The reason is that even though the page has loaded, the data sets that load your data still might not have completed loading ... so your region may not have been processed until *AFTER* the onload event fired.
    Take a look at this example:
    http://labs.adobe.com/technologies/spry/samples/data_region/RegionObserverSample.html
    --== Kin ==--

  • Hideing a table region

    Hi,
    I have requriment, where i need to display the table region based on the table which i have selected and remaining table regions has to be hide.
    For example
    I have three tables
    a) po_vendors (povendorsTRN)
    b) po_vendor_sites_all (povendorsitesallTRN)
    c) po_vendor_contacts (povendorcontactsTRN)
    Now, if i select po_vendors table from the list of values. Only the "povendorsTRN" region has to be dispayled and the remainng two table regions has to hide (povendorsitesallTRN, povendorcontactsTRN).
    i did the coding as below in the controller
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    AccountingAMImpl am=(AccountingAMImpl)pageContext.getApplicationModule(webBean);
    if(pageContext.getParameter("Go")!=null)
    String tableName=pageContext.getParameter("TableNames");
    System.out.println("Table Name:"+tableName);
    am.accountingSearch(tableName);
    in AM
    public void accountingSearch(String tableName)
    AccountingCodeSearchVOImpl acsvo=getAccountingCodeSearchVO();
    Row row=acsvo.first();
    if("XXTR_TRV_ACCOUNTING_CODE".equals(tableName))
    row.setAttribute("AcctCodeTr",Boolean.TRUE);
    else
    row.setAttribute("AcctCodeTr",Boolean.FALSE);
    row.setAttribute("AccountingTitle",Boolean.FALSE);
    row.setAttribute("ItemCategory",Boolean.FALSE);
    row.setAttribute("DistributionType",Boolean.FALSE);
    row.setAttribute("AccountingRule",Boolean.FALSE);
    row.setAttribute("AccountCode",Boolean.FALSE);
    row.setAttribute("Update",Boolean.FALSE);
    row.setAttribute("Delete",Boolean.FALSE);
    }

    Do some reading on OA beans...consider the following example as something to help you get started...note there are beans for all sorts of objects...this example is just for a query bean:
    OAQueryBean qBean = (OAQueryBean)webBean.findChildRecursive("NameOfQueryRN");
    if(pageContext.getSessionValue("Some Indicator To Hide The Region") != null){
    qBean.setRendered(false);
    }

  • Hiding FYI Category from Approval Region in Review Page of SSHR

    Hi,
    Has anyone tried to show only the Approvers list and not the FYI list in the Approvers region of the review page in Self Service HRMS. We want the FYI to be sent, so AME has been configured for that. However we don't want the FYI list to be displayed in the review page.
    Will appreciate any inputs on how to achieve this.
    Thanks,
    Rad

    Add more logging statements to check if conditions statuses for testing purpose to confirm that your rendered -false code is actually called..

Maybe you are looking for