Showing and Hiding Columns in an UIX page

How To Dynamically Hide and Show Columns in a UIX Page

The following will display or hide a column Address depending on the value of sessionScope.showAddress:
<column rendered="${sessionScope.showAddress == null ? 'false' : sessionScope.showAddress}">
If you have access to MetaLink, I would advise you to have a look to Note 306887.1: How To Dynamically Hide and Show Columns in a UIX Page
Regards,
Didier

Similar Messages

  • Show and hide columns.

    I have a rather large JTable with a lot of columns that are updated once in a while.
    Is there an easy way to show and hide columns, so that I don't have to keep track on which a shown and hide when I use setValueAt()...?

    JTable does the conversion between the column indexes of the view and the model.
    You should be able to add remove columns using addColumn and removeColumn methods. and in the TableColumn class you can specify the coulmn in the model that the TableColumn refers to.

  • UIX-XML BC4J - Unexpected errors using paths and DeltaTree on a particular UIX page

    We are using a PageDescription to dynamically change a UIX tree using the DeltaTree technique described in the Dynamic Structure for For UIX Pages chapter of the UIX Developers Guide.
    We search for a particular node using PathUtils.FindPathWithNodeID(RenderingContext context, UINode from, java.lang.String nodeID), but this fails when the page contains nested ViewObjectScopes.
    The method throws a NullPointerException, and the render fails:
    29/08/02 9.08 Valutazioni: java.lang.NullPointerException
         oracle.cabo.ui.data.DataObjectList oracle.cabo.ui.collection.DataObjectListNodeList.getDataObjectList(oracle.cabo.ui.RenderingContext)
         int oracle.cabo.ui.collection.DataObjectListNodeList.size(oracle.cabo.ui.RenderingContext)
         int oracle.cabo.ui.BaseUINode.getIndexedChildCount(oracle.cabo.ui.RenderingContext)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         oracle.cabo.ui.path.Path oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         oracle.cabo.ui.path.Path oracle.cabo.ui.path.PathUtils.findPathWithNodeID(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.UINode, java.lang.String)
         oracle.cabo.ui.UINode com.websiteitalia.wsdk.uix.pageflow.PageFlowManager.getRootUINode()
         oracle.cabo.ui.UINode oracle.cabo.servlet.ui.UINodePageDescriptionProxy.getRootUINode()
         oracle.cabo.ui.UINode oracle.cabo.servlet.ui.UINodePageRenderer.getRootUINode(oracle.cabo.servlet.BajaContext, oracle.cabo.ui.RenderingContext, oracle.cabo.servlet.Page)
         oracle.cabo.ui.UINode oracle.cabo.servlet.ui.HTMLUINodePageRenderer.getRootUINode(oracle.cabo.servlet.BajaContext, oracle.cabo.ui.RenderingContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.BajaServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
         void com.evermind.util.ThreadPoolThread.run()
    We found the element of the UIX page that causes the problem:
    <bc4j:viewObjectScope name="ElementsView" >
    <contents>
         <bc4j:rowScope name="NewElement" >
         <contents>     
              <bc4j:region automatic="false" >
                   <bc4j:key>
                        <bc4j:rowKey name="keyElement"/>
                   </bc4j:key>
                   <contents>
                        <bc4j:attrScope name="FlgState">
                        <contents>
                             <messageChoice name="FlgState" prompt="State" >
                                  <boundAttribute name="selectedValue">
                                       <concat>
                                            <bc4j:attrProperty name="value"/>
                                            <fixed text=""/>
                                       </concat>
                                  </boundAttribute>
                                  <contents>
                                       <!-- This is the nested vo scope causing the error -->
                                       <bc4j:viewObjectScope name="DecodeStateView" >
                                       <contents data:childData="list@DecodeState">
                                            <option data:value="StateCode"
                                                 data:text="StateDescription"/>
                                       </contents>
                                       </bc4j:viewObjectScope>
                                  </contents>
                             </messageChoice>
                        </contents>
                        </bc4j:attrScope>
                   </contents>
              </bc4j:region>
         </contents>
         </bc4j:rowScope>
    </contents>
    </bc4j:viewObjectScope>
    This usage of nested view object scopes has been explained in reply of a previous post, How to databind the children of a UIX XML choice, and before ours attempts to modify the tree it worked fine. Removing the nested view object scope the page makes the page render correctly, but we need it to retrieve the description of its state.
    We get the same behaviour (and a much similar stack trace, with the same oracle.cabo.ui.data.DataObjectList oracle.cabo.ui.collection.DataObjectListNodeList.getDataObjectList (oracle.cabo.ui.RenderingContext) throwing a NullPointerException) if we use NodeUtils.createPreorderDescendentAttributeEnumeration method instead of PathUtils.

    It's a bug in the DataObjectListNodeList class that's up at the top of
    the stack. It's been fixed for 9.0.3. The bit of XML that's triggering
    it isn't the <viewObjectScope>s, but the "data:childData".
    I believe you can workaround this bug by not passing a null RenderingContext to
    findPathWithNodeID(). Now, you don't have a real RenderingContext, and we
    don't especially need one - "null" is legit here, but I think if
    you just pass "new oracle.cabo.ui.RootRenderingContext()" then you'll
    get around this bug.

  • Contract in two languages and two columns parallel on each page?

    I'm writing a long contract in two languages and want two columns parallel on each page. The column should break every time to the next page and not to the top of the same page. anybody with some helpful advises please?

    Jerry, thx.
    I tried. It seems I am dummy with pages.
    First of all my pages speaks German and even I m sure my English is pretty stable the idioms seem to be different in the menus & bars.
    So let my try to ask and hope I m not stressing your patience.
    "Make sure both text boxes are Floating ...." what means Floating? How does that look like, what do I do?
    You mean click on them so both boxes are empty yet visible?
    And there is no "CAPTURE PAGES" in my advanced menu, pls have a look. Can you indicate where it sits in English?
    And whatever I tried in that advanced menu bar, nothing asked me to "assign a name" to something.
    Can we sort that and go from there?
    thx
    jan

  • Showing and hiding dropdowns on product page, based on selected values

    Hello.
    I would like my product page to show different subsequent dropdowns based on individual dropdown values.
    I've managed to achieve this via JavaScript, but I do not like how it works.
    As far as I can tell, there is no proper identifier for each individual dropdown to determine which one it is, so all I can do at the moment is to rely on their order in the DOM, which is bad and makes it difficult for me to create a solution that would work for all products.
    For instance, if the following is a single attribute:
    <div class="catProductAttributeGroup" style="display: none;"><div class="catProdAttributeTitle">Metallic Foiling</div><div class="catProdAttributeItem"><select><option value="">-- Please select --</option><option value="6051720">Not required </option><option value="6051721">Foil ONE side + £45</option><option value="6051722">Foiling BOTH sides + £75</option></select></div></div>
    I would like the outer-most div to have some sort of html attribute that holds the product attribute id. Something like, data-attribute-id="XXXXXXX". Is that possible?
    Here's what I have up to this point:
    I use {tag_attributes_json}, {tag_product_json} and {tag_currency} to get these values into javascript on page load, so I can use them later.
    Then, I hook to change events of the drodpowns I have and then toggle their visibility based on which ones are selected. I rely on the jequery ':eq(n)' selector to achieve this, which I do not like. Is there an option for the {tag_attributes} helper which would make it add some extra information (such as attribute ID on the dropdown) on the generated HTML?
    All of this works initially, but If I then 'Add to cart', the product element get's ajax-reloaded and the events are suddenly unhooked, so it doesn't work anymore. For that one, there are two options:
    1. I could hook to an event that triggers once the product has been added to cart and the page is ready again. Is there such an event?
    2. I could implement my own add to cart using bcInternals.shop.addToCart. I tried doing this, but I have two problems with it.
    a. addToCart seems to add my selection twice, for some reason. Any ideas what I might be doing wrong?
    b. the cart info in  the top right corner doesn't refresh. it seems it tries to refresh, but there's some sort of access error in the script. This part is not yet fully added to the page, but there's a function that would do the adding to cart at the bottom of the bigger script block. Am I using the built in addToCart function incorrectly?
    This is the page I have the partially implemented functionality added on:
    Matt Laminated Business Cards
    The scripts are currently embedded inside the HTML. Once I have it properly implemented, I'd like to extract it into a separate file. Search for "$productAttributesElement" to find the block with the functionality and for "productInfo" to find the part where I store the product data with the _json tags.

    Hi,
    No worries, Didnt know if you solved or the answer wasnt helpfull
    You need to trigger you script within the product details template layout, or you could add a listener to the product container and trigger the script if any changes are detected.
    Regards

  • PLD showing and hiding fields

    Good Day,
    A client makes use of an add-on which pulls an item description (different to that of the item master description) - JobNote
    What I need to do in the pld is have the JobNote field and the normal item description field overlapping on the line.
    When printed, the pld must show the field that has a value in it (i.e. not blank)
    For example, if there is a jobnote description it will hide the normal item description and show the JobNote.
    If there is no JobNote description, it must show the normal item description and hide the JobNote field.
    Whats the easiest way to accomplish this in pld.
    Thanks
    Best Regards
    Dario

    Hi,
    You can overlap both item master description and JobNote field, when other field is blank or null  then
    not empty field will display just make sure in the Properties Color Tab, all
    uncheck except for the Background.
    OR
    You can use a manual If statement in PLD.
    Please refer to this link for the sample
    [Problem in PLD|Problem in PLD]
    Thanks.
    Clint

  • Shortcut for showing and hiding the dock

    Here is a quick question - is there a keyboard shortcut to quickly hide and show the Dock? This helps when using some applications that force the window beyond the reach of the Dock and place their OK and Cancel buttons beyond that region, forcing me to hide the Dock in System Preferences.

    Option-Command-D
    Also see Mac OS X keyboard shortcuts.
    You can also configure the Dock to autohide in Dock preferences.

  • HOW TO PASS A PARAMETER TO UIX PAGE FROM APPS' FUNCTIONS FORM?

    Hello,
    We created a form function (in Sys Admin resp) for a UIX page. The Type field
    is 'SSWA plsql function that opens a new window (Kiosk Mode)'. The HTML Call
    field is 'POBarCode.uix'.
    We have to pass the username (who logs in) to the UIX page. If we pass it
    literaly, (e.g. POBarCode.uix?MyParam1=BBASTIN), it works. We tried following
    two options to pass it as a variable in HTML Call field:
    POBarCode.uix?MyParam1=fnd_profile.value('USER_ID')
    POBarCode.uix?MyParam1=$PROFILE$.USERNAME
    Both variable show up as is in the UIX page. How can we pass the username as a
    variable on tHe HTML Call?
    Thanks, Ali.

    Hi guojun yu,
    As per my understanding, you use parameters related to country and office UI langs as search condition in the report, you want to provide part of countries/office UI langs values as values of parameter, then all records will be displayed in the report.
    In Reporting Services, parameters are used to filter data, after we selected values of parameter and preview the report, only data meets search condition will be displayed in the report. To display all records in the report, we need to use all values of
    countries/office UI langs as values of parameter. For detail information, please refer to the following steps:
      1. Create separate dataset for each parameter with the query like below:
    Select distinct CountryRegion from TableName
      2. In design mode, right-click Parameters and click Add Parameter.
      3. In Parameter Properties dialog box, in name and prompt text box, type CountryRegion. Select Allow multiple values.
      4. Click Available Values in left pane, select Get values from a query, select dataset from drop down list, select CountryRegion from Value field and Label field drop down list.
      5. Create parameter @OfficeUiLang, @OsLocale, @IsMobile like step1 to 4 above.
      6. Modify the stored procedure used to retrieve data for the report like below:
    SELECT *
    FROM AggregateDataByDate AllSessions
    WHERE UserID != 'NULL'
    AND CountryRegion in @CountryRegion
    AND OfficeUiLang in @OfficeUiLang
    AND OsLocale in @OsLocale
    AND IsMobile in @IsMobile
    AND [UsageDate] >= @DataCutOffDate
    For detail information about Adding a multi-value parameter to a Report, please refer to the following document:
    https://msdn.microsoft.com/en-us/library/dn385719%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Show and Hide Actions Not Working

    I'm working on a project that involves showing and hiding objects.  I inserted a button and in the Action block for the object, I selected 'Show', then selected the object I wanted to be shown on click. When I preview that screen in the project and select the button to show the object, it shows the object, but then advances the project to the next screen. The only way I've found to combat this apparent flaw is to use an advanced action for what should be a really simple interaction. Also, I have the timing set for all objects on the screen in question to Display for the rest of the slide. Is anyone else experiencing this issue?

    Have a look at: Why choose Standard over Simple action? - Captivate blog
    As Rick points out, Captivate has always worked that way. And since you are talking about Hide/Show, very often you'll want to hide a group before showing one object. If  you are using Captivate 7/8 I recommend to create a shared action for that purpose that you can use over and over again in that project and in other projects.
    Dare to Share - part 1 - Captivate blog
    Reuse Shared Actions in other Projects - Captivate 7 vs. 8 - Captivate blog

  • Drill Down and Hiding the Previous Column

    Hello Everyone:
    I am trying to know if this is possible at all using OBIEE.
    I have a table with the following drill down:
    Award
         Program
              Department
                   Section Sales, Profit, Costs
    I am able to drill down from award to section just fine. But When I drill down the table gets wider and wider rendering the table unacceptable. Is there away to possibly drill down from 1 to 2 and hiding or not showing 1?
    Drill from Award to Program, but hide award when I am at program level etc…?
    Thank You
    Adel

    Ouch, its a common requirement but sadly not suppoted out of the box.
    I think Goran blogged about 'Navigate in place' but it involves custom iframes etc. so may be a bit of a ballache.
    here it is :
    http://108obiee.blogspot.com/2009/06/same-page-navigation-drills-using-drill.html
    Some other 'nearly there' workarounds exist tho, theres a trick to use a column selector and replace one column with a concatanated <column 1>'-'<column 2> but you'll lose furthur drill functionality, indeed you'd need to configure this for every level,
    I'll try and dig the link out if you interested, its not that tidy though.

  • How do I show use poplist in uix pages?

    Ok here is my problem which I will try to relate it in HR schema example.
    I got a uix page showing departments and employees(one-many) master detail.
    I got another edit uix used to edit old employees or create new employees.
    In this edit/create uix I don't want the user to see the id's like DepartmentId, ManagerId, JobId etc...instead I want them to see the corresponnding Names.
    How do I achieve this? Could some one give me a walk through or some sort of hint?

    Hi,
    Have you checked out the "Oracle ADF UIX How-To's" at http://www.oracle.com/technology/products/jdev/howtos/index.html?

  • Perils of the 50 column collection limit and 100 column page limits.

    Hi All,
    You comments and advice would be much appreciated.
    Does anybody know if there are plans with APEX 4.0 to alter the 50 column collection limit and/or the 100 column page limit? This has become a stumbling block to our use of Apex for UI requirements.
    Before someone tells me that it is bad design to have large numbers of columns (>100) on a page, the reality is that we have many tables exceeding 100 columns. Users need the ability to filter data from these tables by way of an interactive report linked to a form where they can edit individual cell values displayed on the form, and submit the updates. The 100 column limit prevents this.
    To avoid the clutter of a 100+ columns being displayed simultaneously the aesthetics can be improved by use of Hide and Show Regions for groupings of like columns.
    I have decided that the forms need to be used for ad-hoc updates only, and not for new record creation, however the 100 column limit means that even this is not feasible. I have thought of using a custom update procedure based on updating only changed* item values which should usually be less than 100 per record. Any ideas on how to do this efficiently??
    Creating new records via large forms is not desirable as users are likely to revolt at filling in anything like 100 items on a form. (I did experiment with a wizard approach involving an insert of mandatory fields on the first page followed by a series of updates to the newly created record, on subsequent wizard pages, but I considered this to be too messy, involved and confusing for the user.
    I decided the a better solution for new records was to do all inserts into these large tables via delimited file (csv's) uploads. With help from previous forum articles, I managed to create a working, generic, table loading tool. Then I ran into the *50 column collection limit*.
    My solution will now have to involve the use of external tables and database stored procedures for processing the data loads, hopefully via an Apex interface. In one application alone this will mean 17 external tables and associated load procedures plus more complex maintenance, troubleshooting and training. All of this would be far simpler without the hard limits on columns.
    Cheers,
    Meagain

    Good questions! We've also run into this problem of attempting to update/insert into tables with more then 100 columns.
    I'm not sure if this is a feasible solution however I was wondering if something might be able to be done with mod pl/sql and flexible parameter passing. If the apex app could create a url with parameter/value pairs then potentially this could go to the mod pl/sql proc that could receive an unlimited number of parameters. Potentially a generic solution could then dynamically use the parameter names to insert/update the relevant columns with the parameter values.
    I haven't had time to try it however - anyone have any thoughts as to whether this would be a practical (or even possible) approach? Are there other ways of getting around this with apex?
    As for loading data from a file the solution here: http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html can be extended beyond 50 columns reasonably simply. You need to alter the temp table and in the package the TYPE csv_rt and where the value is read into the csv_rt variable (l_record).

  • Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text)  I'd like students to be able to view my comments on printed version of their papers.

    Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text)  I am a teacher, and I would  like students to be able to view my comments on printed versions of their papers. I know word displays the comments off to the side of the document, and those comments can be viewed all at once and printed alongside the document.

    There doesn't appear to be a way to print conmments in either Pages or Numbers in the Mavericks versions.
    Jerry

  • In Pages 5.2.2: How do you go from 1 column to 2 and keep them on the same page?

    In Pages 5.2.2: How do you go from 1 column to 2 and keep them on the same page?

    Sorry, I tried to say your answer solved my question, but I guess I told it that my response to you solved it. Now that I liked it, the solved option doesn't appear.

  • So, I made my account a while ago before I had an iPhone so I can get music. The result of that I can't remember my security questions, and it tells me to send a rescue email an alert, but it doesn't show you how to get to that page. Can someone help me?

    So, I made my account a while ago before I had an iPhone so I can get music. The result of that I can't remember my security questions, and it tells me to send a rescue email an alert, but it doesn't show you how to get to that page. I am getting quite annoyed because apples hours arent the best fitted to my scedule since I have school and work, so I cant call and ask how to get fixed. Please help me all I want to do is buy some music...

    Click here and fill out the form.
    (90729)

Maybe you are looking for

  • An Issue in SRM

    Hi, I got an issue in SRM. How to do this? Spend and savings reports are two of the most common reporting areas within the sourcing organization.  In addition to common report characteristics like vendor name, material number, calendar year, etc., a

  • HT1349 Need help restoring files

    I had an iphone that i lost. I want my backed up pictures back. i downloaded Icloud to my windows 8 laptop. I see my contacts and when i open the icloud panel It shows my backed up files and the date i backed it up, but my pictures wont show on "phot

  • Can a PDF link to a database (Excel) for information to display? (or similar?)

    I have a template form I created and converted to PDF. It is for houses and each house has different specs that need to be listed. I want them to be able to easily update all the specs from outside of the PDF, like with an Excel file. Is there any wa

  • XI Adapter and PCK

    How XI identify Sender system through XI Adapter? Foe example I have 2 PCK. I create 2 system PCK1,  PCK2 and 2 sender channels with XI Adapter. Each sender PCK uses different interfaces. Each PCK is configured with receiver channel with XI Adapter (

  • What a great day!!

    I ordered a Macbook Pro, 2GHz 100gb HD/7200 yesterday morning and received an email from Apple today that I would be getting the same unit with the new 2.16 for the same price!! Yeah! I know, they cost the same but usually one would never expect a co