Hide empty item regions

I want to hide item regions which do contain item regions, but aren't always displayed based on certain conditions. These conditions result runtime in empty item regions. How can I hide these?
Regards

If I understand you correctly, you have:
- An advanced search area/page with search items displayed in stacked regions
- A result table/form where you want to hide those stacked regions
To hide those regions, I would not use EL but modify the template that contains the regions in the first place. So look at the generated page, see which templates are used to generate the regions and alter them in such a way that only the advanced search regions will be rendered, and the form regions will not be in the page at all. The JHS developers guide explains more about templating.
Regards,
Evert-Jan de Bruin
JHeadstart Team

Similar Messages

  • Is it possible to hide empty list items in a web app?

    Hi,
    as you can see on the here included image, below "Ihr Profil", there are 10 items provided by a webapp which are customized in the details.htm page as an unordered list.
    In this case there are only 6 items filled out, the rest is empty, but the empty items do appear. Is it possible to tell the details page, not to display those empty items?
    Thanks a lot for your interest and help

    There are ways to do this with jQuery, but an easier way would be to use CSS.
    ul li:empty {
       display: none;
    Though this will not work in IE8/7, if that is a deal breaker you will need to use jQuery: http://jsfiddle.net/F7ZWV/
    $("ul li").each(function() {
                                                      var $this = $(this);
              if($this.text() == ""){
                 $this.remove();

  • Hide an item in a region

    Hi,
    How do I hide an item based on the users who logged in? For instance, I want to have user A to see link A but user B cannot see link B. I try to grant access privilege for specific item but the item is still visible for all users.
    Thanks,

    <p>Which Oracle Portal version are you using ? There are some known issues in 9.0.2.6 :
    <br><br>
    3649786 - DIRECT ACCESS URLS NOT SECURE WHEN USING ILS
    <br><br>
    The issue is fixed in release 9.0.4.0.99. A patch is available from Metalink for 9.0.2.6.

  • Hide empty groups

    Hi, everybody.
    Is there a way to hide empty groups in a stacked chart bar view as in a pie chart view?
    I want to avoid something like this
    Layer 1, 0, 0%
    Layer 2, 0, 0%
    Layer 3, 5, 100%
    Layer 4, 0, 0%
    Layer 5, 0, 0%
    But i don't found an option to hide that values.
    Thanks
    Luciano

    http://www.ralphjohns.co.uk/page5.html#_addons
    Some of these are from iChat 2 onwards.
    Some of those are now features in iChat.
    ChatFX for Instance is now Backdrops and Effects (Although some of those are restricted to Intels).
    Conference Recorder in also a iChat item now as are Animated icons
    iChat 4 can Auto accept.
    Go to the iChat Preferences > Alerts
    Pick the action (Receive Invite) and then choose the AppleScript item and then the Auto Accept.
    iChat 5 has an "In new Chat window Show (Last Chat)" The bit in the brackets is a drop down and this is found in the iChat Preferences > Messages.
    8:07 PM Tuesday; December 22, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Hide and show region - save state after submit

    hey guys,
    I have a hide and show region template in my page. It is hidden by default(that's perfect). If the user opens the page and submit, the region collapse.
    I want to save this status.
    I searched a lot in this forum. Also found a lot about the *"sticky hide and show region"* feature by Carl, but you can't download this feature anymore :-/
    How can I receive that, without this feature?
    maybe with dynamic actions?
    Hope you can help me.
    Locke
    Edited by: Locke90210 on 17.05.2013 00:30

    OMG I'm to silly for that...
    The status of the hidden item is always expanded...It doesn't change.
    Maybe I always uses the wrong classes.
    <table class="t5HideandShowRegion" id="#REGION_ID#" border="0" cellpadding="0" cellspacing="0" summary="">
      <tr><td class="t5RegionHeader">#TITLE#<a style="margin-left:5px;" href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_5/rollup_plus_dgray.gif','#IMAGE_PREFIX#themes/theme_5/rollup_minus_dgray.gif');" class="htmldbHideShowMinLink"><img src="#IMAGE_PREFIX#themes/theme_5/rollup_plus_dgray.gif"
      id="shIMG#REGION_SEQUENCE_ID#" alt="" style=""/></a></td></tr>
    <tr><td nowrap="nowrap"><div class="t5Hide" id="region#REGION_SEQUENCE_ID#"  style="display:none;"><div class="t5ButtonHolder">#CLOSE#<img src="#IMAGE_PREFIX#themes/theme_5/1px_trans.gif" height="1" width="15" alt=""/>#PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##HELP#</div><div class="t5RegionBody">#BODY#</div></div></td></tr>
    </table>Maybe you can say, which classes I have to use.

  • How to hide/show reports region with radio group selections

    Hi, I have an HTML region with a radio group of two choices (Rpt1 and Rpt2). Also got two other report regions which depend on the radio group selections and by pressing a button it will display records.
    Everything does work perfect BUT say I select Rpt1 and press the report button it will show the records and after that if I select the Rpt2 radio button I still see the result of Rpt1 records. How can I clear or hide the reports regions when I change my radio button selection?
    Thank you
    -iahmadi

    Hi,
    You can create HTML regions that do not need to contain anything at all (use the "No Template" region template to ensure that you don't see a region Title on the page).
    However, in order to get this region to be displayed until the Report button is clicked, you would need to have a hidden page item (called, say, P1_SHOW_REPORT) that has, as a default, 0 as a value. The branch that is triggered by the Report button would then set this item to 1 - so, 0 = hide and 1 = show
    On your page you should have a branch that is conditional on the Report button being clicked. On this branch, set the first "Set these items" to P1_SHOW_REPORT and "With these values" to *1*. You should also have a branch on the page that is unconditional - meaning that it can be triggered by anything that submits the page. Firstly, this branch should have a high Sequence Number (say, 99) and secondly, should should set the value of P1_SHOW_REPORT to *0*. So the Report button sets it to 1 and anything else (which will include the radio button selections) will reset it to 0.
    Now, on your regions you have to change the conditions slightly as we now have two conditions to check - which report has been selected and whether or not the Report button has been clicked.
    This can be done by using a SQL Exists condition of something like:
    SELECT 1 FROM DUAL WHERE :P1_SHOW_REPORT = 1 AND :P1_RADIO = 'ABC'(where ABC is the value for the radio button for the report
    The "blank" region would also have a condition - that would be a simple Item = Expression 1 condition of P1_SHOW_REPORT = 0
    Andy

  • Difference betwen Null item,Blank item ,item is zero and empty item

    Please describe the difference betwen :
    null item
    empty item
    blank item
    and zero item
    And how can we test each one?
    How to test if the value of an item say Px_y is null or
    blank
    empty
    zero
    Regards

    Please describe the difference betwen :
    null item
    empty item
    blank item
    and zero item
    And how can we test each one?
    How to test if the value of an item say Px_y is null or
    blank
    empty
    zero
    Regards

  • Hide Particular Item Group from Selection Criteria of Sales Analysis Report

    Hello Experts,
    Is this possible to Hide Particular Item Group from Selection Criteria of Sales Analysis Report?
    I have one Item Group as 'Special Items'.
    Now, when I open  Item wise sales analysis report, I want to hide above mentioned group from selection criteria.
    Thanks in advance.
    Best Regards,
    Pankit Sheth

    Hi,
    1. Not possible to put validation for selection criteria windows.
    2. In standard, I don't think it is possible to hide only one item group.
    3. Alternatively don't give authorization to user for running sales reports. If still need create customized query and ask user run every month.
    Thanks & Regards,
    Nagarajan

  • Customize display of category group names in item regions (902)

    Multi-level categorization is inconsistent within different portal contexts. Flat category structures work fine but sub-categories do not.
    For example let's define a set of categories: foo, foo/bar, test, test/foo, abc, abc/bar
    where bar is a sub-category of foo and so forth.
    The additem wizard shows the category in the form: category/sub-category/sub-sub-category/etc which is the preferred approach.
    However, an item region having Group By Category and "Display Group By Banner" checked is not the same. Here the group-by-text only shows the end-category name (not the full category/sub-category); i.e., only shows the last group "category" without the context of the full category.
    Want to show items in following style:
         foo
              item1
         foo/bar
              item2
         test/foo
              item3
         abc/bar
              item4
    As opposed to:
         foo
              item1
         bar
              item2
         foo
              item3
         bar
              item4
    Likewise, in the Advanced search the list of categories to search for are:
         foo
         .bar
         test
         .foo
         abc
         .bar
    What are some best practices to customize the display of custom items with sub-categories showing the full category/sub-category in 9iAS 9.0.2?
    Explicitly creating a flat category structure with '/' in the names doesn't seem the best use of item categories.
    And it looks like the content area SDK won't be available for a little while.

    Hi Jason
    The only way to show the path of your nested categories in the display banner is to name the subcatgory with the path information (i.e. 'test/foo' not 'foo'). The problem with showing the full path is scalability - rendering a deeply nested tree in the display banner or as an attribute would cause real problems. It was a design decision to go with the way that it is. If you feel strongly that Development should reconsider this decision, please feel free to log an enhancement request at:
    http://ers.oracle.com
    Product: Portal
    Component: Portal UI

  • Next Button in a Hide and Show Region is not displayed correctly

    I created a new button at the bottom of the region in a Hide and Show Region called [Next >]. The button is displayed to the right of the region. I want it displayed at the right end of the bottom of the region. The following is the button properties
    Name
    Button Name : NEXT_SIGNS
    Text Label/Alt: Next >
    Displayed
    Sequence            130
    Display in Region: Signs and Nameplates (1) 100
    Button Position:    Bottom of Region
    Button Alignment: Right
    Attributes
    Static ID:          
    Button Style:      Template Based Button
    Button Template: PA Button
    Button Type:       Hot
    Button Attributes:
    Action When Button Clicked
    Action:                 Submit Page
    Execute Validation: Yes
    Database Action:    No Database Action
    Conditions
    None
    Security
    None
    Configuration
    NoneWhy is this occurring and how can I resolve the issue?
    The following is the template of the hide and show region:
    <div class="hide-show-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
      <div class="hide-show-top">
        <div class="hide-show-title">
    <div class="rounded-corner-region">
    <div class="rc-blue-top">      
    <div class="rc-blue-top-r">
              #TITLE#</div>
    </div>
    </div>
           <a style="margin-left:5px;" href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif','#IMAGE_PREFIX#themes/theme_2/rollup_minus_dgray.gif');" class="t1HideandShowRegionLink"><img src="#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif"
      id="shIMG#REGION_SEQUENCE_ID#" alt="" />Click on arrow to enter/hide  information for signs and/or nameplates</a></div>
        <div class="hide-show-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
      </div>
      <div class="hide" id="region#REGION_SEQUENCE_ID#">#BODY#</div>
    </div>APEX version 4.1
    DB version 10g Rel 2
    PLEASE HELP!!
    Robert
    http://apexjscss.blogspot.com

    I created a new button at the bottom of the region in a Hide and Show Region called [Next >]. The button is displayed to the right of the region.I only see it displayed to the right of the region in Firefox (Safari and IE8 showed it above the sub-regions). Not obvious to me why this is the case (it's usually IE that does it's own thing).
    I want it displayed at the right end of the bottom of the region.Button position Bottom of Region causes an anonymous HTML table containing the button(s) to be generated after the <tt>#BODY#</tt> placeholder in the region template. Your Hide/Show region template didn't have a <tt>#SUB_REGIONS#</tt> placeholder so by default the sub-regions were rendered after the <tt>#BODY#</tt> and the "Bottom of Region" button container (don't know if this is the intended behaviour or a bug). Adding <tt>#SUB_REGIONS#</tt> before <tt>#BODY#</tt> in the template gets things in the right order (button after sub-regions):
    <div class="hide-show-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
      <div class="hide-show-top">
        <div class="hide-show-title">
    <div class="rounded-corner-region">
    <div class="rc-blue-top">      
    <div class="rc-blue-top-r">
              #TITLE#</div>
    </div>
    </div>
           <a style="margin-left:5px;" href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif','#IMAGE_PREFIX#themes/theme_2/rollup_minus_dgray.gif');" class="t1HideandShowRegionLink"><img src="#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif"
      id="shIMG#REGION_SEQUENCE_ID#" alt="" />Click on arrow to enter/hide  information for signs and/or nameplates</a></div>
        <div class="hide-show-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
      </div>
      <div class="hide" id="region#REGION_SEQUENCE_ID#">
        #SUB_REGIONS#
        #BODY#
      </div>
    </div>Firefox is still showing the button to the right of the sub-regions. I'm assuming that this has something to do with everything in this theme being floated left (for reasons that escape me), so we'll try to clear the button container using CSS. The table doesn't have an ID or class so try an adjacent sibling selector using the ID of the preceding sub-region:
    #nameplates-name+table {
      clear: both;
    }Finally, the button alignment was set to "Left", so I changed it to "Right".
    Seems to be working in IE8 (all I have access to at present).
    Edited by: fac586 on 30-Nov-2012 20:10
    Fixed CSS selector syntax.

  • In A3, How Do I Show or Hide Empty Metadata Tags?

    When creating metadata views for various workflows, I would decide whether or not to include a particular tag based upon that tag either being empty or having a value.
    As some photos in that workflow did not always have a value in said tag, I would click several photos in succession to look for tags that had values, and would then check or uncheck that tag. This was especially useful when cameras added new info.
    In A3, it seems that I have to go through many steps to turn a tag on, go to a photo to see if it has a value; if it doesn't, then go back through the same steps to turn it off, etc. ... In other words, a one-click toggle in the A2 Metadata interface now requires many, many steps in A3 to accomplish the same thing ...
    ... unless they put the Show/Hide Empty Tags somewhere else ...
    Does anyone know where?

    Anyone Please look into this!!!!!!!!!!
    Thanks in advance,
    Dhana

  • Classic Report with Hide and Show Region Template does not show report

    Hello,
    I created a "No Template" region on a page with a Classic Report. When I change it to a "Hide and Show" region template, the report does not show up when I click to Show the region...is there an additional step i'm missing to make the report show up. Its a very simple query.
    Thanks in advance,
    John

    How about posting some relevant information like Apex version, RDBMS version, Theme you are using, etc.?
    Regards,

  • Hide line items on an invoice

    Is there any way to pick and choose or define which line items will appear on an invoice?

    hi,
    I think if i am clear you want to hide some item that it should not print in the PLD is it correct.
    if so please create a UDF in Marketing Document in row level whether this item should print in the PLD are Not...
    If you do like this it is possible....
    in the PLD you have to use formula field and check the UDF created is 'Y' then print if it is 'N' not to print all the relevant information in the row....
    Regards
    Chidambaram

  • Hide and Show Region Problem

    Hi,
    I have created a report with the following attributes:
    Region Definition User Interface - Hide and Show Region;
    Report template -Standard;
    Sort Columns - all checked.
    Report source - SQL Query (PL/SQL Function Body returning SQL query).
    I open a page with this report, click on (+) and show region but when I try to sort records in the column region hides. The same problem I have with some others report templates.
    Report templates Borderless and Horizontal Border do not have this problem.
    I am using Application Express 2.2.1.00.04.
    Could someone explain what it is?
    Thank you in advance.
    Val

    Report template -Standard
    Use a "Standard - PPR" template instead, that works better with a Show/Hide region template because the entire page is not re-rendered when you click on a column header to sort. Only the report region content is refreshed.

  • How to hide messagetextinput item on root node in HGRID

    Hi,
    I have added one messagetextinput item in HGRID.
    But it is showing 3 items(one for root node, 2 for the actual items) when there are 2 rows in master node.
    +Employee          |________|
    -101 |________|
    -102 |________|
    I want to hide the item at root node(i.e. for employee.)
    I am working on seeded page, not the custom page.
    Can someone help me..
    --Parag                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Add a switcher in Hgrid, Create 2 items in switcher. One is input type and other is styled text. Switch the values of switcher based on condition from VO.
    For detailed help, feel free to mail me at [email protected]
    OAHGridBean hGridBean =
    (OAHGridBean)webBean.findChildRecursive("QotLinesHGridRN");
    if (hGridBean != null) {
    OASwitcherBean switcherbean =
    (OASwitcherBean)createWebBean(pageContext, SWITCHER_BEAN, null,
    "DellPriceSwitcher");
    switcherbean.setLabel("Dell Auth. Unit Price");
    switcherbean.setViewAttributeName("Attribute20");
    switcherbean.setViewUsageName("QuoteLinesLevel70VO1Obj");
    hGridBean.addIndexedChild(9, switcherbean);
    //Add dell auth unit price text input item
    OAMessageTextInputBean inputbean =
    (OAMessageTextInputBean)createWebBean(pageContext,
    MESSAGE_TEXT_INPUT_BEAN,
    null,
    "DellAuthPriceinp");
    OAMessageStyledTextBean styledbean =
    (OAMessageStyledTextBean)createWebBean(pageContext,
    MESSAGE_STYLED_TEXT_BEAN,
    null,
    "DellAuthPricestyled");
    inputbean.setReadOnly(false);
    inputbean.setViewAttributeName("Attribute1");
    inputbean.setViewUsageName("QuoteLinesLevel70VO1Obj");
    styledbean.setViewAttributeName("Attribute1");
    styledbean.setViewUsageName("QuoteLinesLevel70VO1Obj");
    inputbean.setColumns(5);
    switcherbean.setNamedChild("DellAuthPriceinp", inputbean);
    switcherbean.setNamedChild("DellAuthPricestyled", styledbean);

Maybe you are looking for

  • Error while configuring ths schedule

    Hi all, I was created the reports based on x server, i am able to see all the reports. At the time of configure the schedule option, i was provided the all information(database connection and all) after that i am selecting the install schema it is gi

  • How do I add a shape and then add gradient inside of it ?

    how do I add a shape and then add gradient inside of it ?

  • Reg DateNavigator month navigation error

    Hi,   I'm using DateNavigator element in one view to select date from the calendar. It is working.  But, when user presses right/left arrow keys to change month, the input field gets filled with NaNaNaNaNa . Can you please guide me as to why this is

  • AIX and multiple oracle homes

    Currently we are running AIX 4.3.3 and Oracle 8.06 with about 13 instances on one box. We need to upgrade one of the 13 instances to Oracle 8.1.7.2. Is it possible to have two different versions of Oracle residing on one server with 12 databases on v

  • Assignment of users to groups in portal based on some filter criteria

    Hi All, I have some 200 users in portal and the UME is portal database. Now I want to assign 50 users who belong to a specific department to a new group in portal. Unfortunately during the assignment of users to groups there is no advanced search opt