Page Item: upon loading vs via select

well, that subject header is fairly cryptic....
I know how to link from a value on page 5 to and item in an HTML region of a DML page 6.
I know how to make page 6 be a parameterized report, so that I can have an item that's a Select List, and the reports in other regions will update accordingly.
Is it possible, and how would I go about doing it:
if we go from Page 5 to Page 6, the item in the select box will be the linking value
if we go from a menu directly to page 6, the select box will be null, waiting for a selection
Thank you!
Marion

Marion:
There are various ways to navigate from one page to another. The most common methods are using a branch or a re-direct from a List item. Each of these methods provides a way to set page-items with specific values.
varad

Similar Messages

  • Page item display 32767 characters (via computation)

    Hello everyone,
    Running APEX 3.2.1.00.11
    I am trying to generate values for a page item using a PL/SQL function body. It parses and concatenates many rows of our databases. In one case I need to return some generated javascript code to pre-load a auto-suggest class. In the other case, I need to concatenate a variable number of comment postings for a given article "to create a threaded blog view" (the number of comments could get quite large).
    My problem is that APEX is maxing out at 32767 characters. When I defined my function with a VARCHAR2(32767) I got a buffer too small error. When I tried to run it using a CLOB I got a "ORA-06502:     PL/SQL: numeric or value error string". I'm assuming this happens when it tries to exit the PL/SQL function and return control back to APEX (some type of CLOB -> VARCHAR2 conversion - but once again i'm just guessing).
    I tried to verify the code works fine by running it in sql developer. When using DBMS.OUTPUT.PUT_LINE I got the same ORA-06502 error. When I replaced the return string with a "function completed" message instead, it ran fine and printed out the success message.
    To validate it wasn't the contents of the string, I changed the function to put a DBMS.OUTPUT.PUT_LINE on each iteration through the result sets that builds the large concatenated string. Every line printed without issue and no errors were generated...
    So, my question is...how can I generate text > 32k in size and display it to the user through APEX?
    Please don't respond and say that I shouldn't be loading that much into a webpage initially and that I should be using AJAX to search through values and load them on the fly. That could work for the select list (if I can get past APEX's very particular URL parsing system) but it is not suitable for the "blog comments" functionality.
    Thanksss!!

    I honestly don't know enough about how APEX generates it's page items and the overall page to be able to answer your question. All that I can tell you is that its a simple "display only" page item that has a before header "Computation" on it powered by a PL/SQL function body.Sorry, I missed the "page item" and focused on the "PL/SQL". In that case you've hit a hard limit in APEX. Page items, report rows and various other things have a maximum output size of 32K.
    I could do multiple page items each limited to 8k as you suggested and strategically concatenate them behind the scenes too - however this is extremely ugly. I need to consider how other people will be able to work with this code in the future.Absolutely&mdash;I really wasn't suggesting separate items as I was talking about buffering output from <tt>htp</tt> methods.
    For handling large items, see the Save Large Value demo app. As you can see, this is not "out of the box".
    For display-only purposes, APEX reports or dynamic PL/SQL regions are a better fit for the use cases you describe than page items.

  • Subscriptions Page won't load after I select US fo...

    I've been trying at work and home to get this page to load and it doesn't load once I select US.  How can this get fixed? 

    Hi,
    Have you tried different browsers as well?
    If my answer helped to fix your issue, mark it as a Solution to help others.
    Thank You!
    Please send private messages only upon request.

  • What is the best way to get the UID of any selected page item (frames, rectangle etc)?

    I need UID of any selected item on page and also array of UID's in case multiple selection happens. How can I achieve it?
    One way I know is to write an observer and attach it on every new page Item created, but that way the system might become slow and also
    the behavior will be unpredictable in case of multiple selections.
    Can some one suggest a better way to do it?

    The selection subsystem hides most ideas of direct adressing (e.g. UID of page item(s) or story) into the concrete selection, while from the outside you only work on the suite interfaces of the abstract selection. So you don't ask whether the selection is some kind of page item and you don't peek at the actual items. Instead you ask about their capabilities and applied values.
    Attaching observers to page items has nothing to do with the selection, because they only notify about changes on those page items - which could also be caused by scripts or anything else. Even then, the most relevant changes go thru the kDocBoss as single point to attach an observer, rather than thru all those page items.
    Regarding speed - the selection has many optimizations, for example "lazy" notifications can be deferred until they become appropriate for an UI update, they might even become aggregated / optimized away.
    One starting point into the selection when you come from nowhere would be ISelectionUtils. Your selection observer might also pass interesting parameters.
    Dirk

  • The latest version of Firefox loads with the Ask page and doesn't retain the selected home page. How do I change this?

    I downloaded the latest Firefox version. Upon loading it it doesn't retain the previous Home Page setting and always reverts to the Ask page, which is always indicated as the Home Page. This is annoying. How do I overcome this problem?

    #Remove Ask Toolbar (if you have it installed):
    #*http://support.mozilla.org/en-US/kb/Uninstalling+add-ons
    #*http://support.mozilla.org/en-US/kb/Cannot%20uninstall%20an%20add-on
    #*http://kb.mozillazine.org/Uninstalling_toolbars
    #Reset your home page (if the Ask search page is displayed when starting Firefox): http://support.mozilla.org/en-US/kb/How+to+set+the+home+page
    #*You can reset to the default by clicking "Restore to default" on Options > General > Startup > Home page. Be sure to set "When Firefox starts" to "Show my home page" on that same panel.
    #Reset your Location Bar search engine (if typing a few words in the URL/Location Bar takes you to Ask search):
    #*type '''''about:config''''' in your Location Bar, like typing a web site address, and press the Enter key
    #*ignore warning and choose to continue
    #*in Filter, type '''''keyword.URL'''''
    #*in lower part of screen, if it is '''bold''' and shows "'''user set'''", right-click keyword.URL and choose "Reset"
    #*in Filter, type '''''Ask'''''
    #*any items in lower part of screen in '''bold''' and showing "'''user set'''", right-click and choose "Reset"
    #*close about:config tab
    #*See:
    #**http://kb.mozillazine.org/About:config
    #**http://kb.mozillazine.org/Location_Bar_search#Location_Bar_search_.28external_-_search_engine.29
    #**http://kb.mozillazine.org/Keyword.url
    #**http://www.techrena.net/computers/address-bar-search-provider-firefox/
    #If Ask is shown in your Search Bar and you want to remove it:
    #*https://support.mozilla.org/en-US/kb/Search%20bar
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *'''''Adobe PDF Plug-In For Firefox and Netscape''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How to get notified when ever I select any frame (any page item) ?

    I have added a observer class in my plugin which derives from ActiveSelectionObserver.
    But my observer constructor is not getting called when i select a page item. (In short, I am not getting notified about the selection)
    below is my code:
    class CSDTSelectionObserverImpl : public ActiveSelectionObserver
    public:
      CSDTSelectionObserverImpl(IPMUnknown *boss);
       virtual ~CSDTSelectionObserverImpl();
    protected:
       virtual void    HandleSelectionChanged (const ISelectionMessage*);
       virtual void HandleSelectionAttributeChanged(const ISelectionMessage* selectionMessage);
    CREATE_PMINTERFACE(CSDTSelectionObserverImpl, kCSDTSelectionObserverImpl)
    CSDTSelectionObserverImpl::CSDTSelectionObserverImpl(IPMUnknown *boss) : ActiveSelectionObserver(boss,IID_ICSDTSELECTIONOBSERVER) { }
    CSDTSelectionObserverImpl::~CSDTSelectionObserverImpl() { }
    void CSDTSelectionObserverImpl::HandleSelectionChanged(const ISelectionMessage* selectionMessage) { }
    void CSDTSelectionObserverImpl::HandleSelectionAttributeChanged(const ISelectionMessage* selectionMessage) {  
    if (selectionMessage && selectionMessage->WasSuiteAffected(IID_ILAYOUTSELECTION_ISUITE))
    Also, In my .fr file, I have added below:
    AddIn
      kDocBoss,
      kInvalidClass,
        IID_ICSDTSELECTIONOBSERVER, kCSDTSelectionObserverImpl,
    Do I need to implement the ILayoutSelectionSuite as well to get the notification on page item selection or implementing Observer via ActiveSelectionObserver is sufficient?
    Please help.

    I tried below in debug mode , but it gave me error while execution (when the line of code was called by in-design)
    InterfacePtr<ILayoutSelectionSuite> iLayoutSelectionSuite(fCurrentSelection, UseDefaultIID());
            if (iLayoutSelectionSuite == nil)
                break;
    iLayoutSelectionSuite->SelectPageItems(selection,Selection::kReplace,Selection::kDontScrollLayoutSelection); // Error
    So I was not able to get the UIDList of the selected page items, hence I used below code and this is working.
      InterfacePtr<const IIntegratorTarget> iIntegratorTarget(iLayoutSelectionSuite, UseDefaultIID());
            std::auto_ptr<IIntegratorTarget::TargetSuiteCollection> selectionSuites(iIntegratorTarget->GetTarget(ILayoutTarget::kDefaultIID));
            for(IIntegratorTarget::TargetSuiteCollection::size_type i = 0; i < selectionSuites->size(); i++)
                ILayoutTarget* target = (ILayoutTarget*)selectionSuites->at(i).get();
                if(!target)
                    continue;
                selection = target->GetUIDList(kDontStripStandoffs);
    But it would have been much easier and logical if I can get it using IlayoutSelectionSuite or if there is some better approach ?
    Please let me know.
    ileleLayoutSelectio
    Let me

  • Loading only the selected item

    I am developing a data binding app where the source data is stored in the following format:
    public void LoadData()
    // Sample data; replace with real data
    this.Items.Add(new ItemViewModel() { ID = "0", LineOne = "runtime one", LineTwo = "Maecenas praesent accumsan bibendum", LineThree = "Facilisi faucibus habitant inceptos interdum lobortis nascetur pharetra placerat pulvinar sagittis senectus sociosqu" });
    this.Items.Add(new ItemViewModel() { ID = "1", LineOne = "runtime two", LineTwo = "Dictumst eleifend facilisi faucibus", LineThree = "Suscipit torquent ultrices vehicula volutpat maecenas praesent accumsan bibendum dictumst eleifend facilisi faucibus" });
    this.Items.Add(new ItemViewModel() { ID = "2", LineOne = "runtime three", LineTwo = "Habitant inceptos interdum lobortis", LineThree = "Habitant inceptos interdum lobortis nascetur pharetra placerat pulvinar sagittis senectus sociosqu suscipit torquent" });
    this.Items.Add(new ItemViewModel() { ID = "3", LineOne = "runtime four", LineTwo = "Nascetur pharetra placerat pulvinar", LineThree = "Ultrices vehicula volutpat maecenas praesent accumsan bibendum dictumst eleifend facilisi faucibus habitant inceptos" });
    this.Items.Add(new ItemViewModel() { ID = "4", LineOne = "runtime five", LineTwo = "Maecenas praesent accumsan bibendum", LineThree = "Maecenas praesent accumsan bibendum dictumst eleifend facilisi faucibus habitant inceptos interdum lobortis nascetur" });
    this.Items.Add(new ItemViewModel() { ID = "5", LineOne = "runtime six", LineTwo = "Dictumst eleifend facilisi faucibus", LineThree = "Pharetra placerat pulvinar sagittis senectus sociosqu suscipit torquent ultrices vehicula volutpat maecenas praesent" });
    this.Items.Add(new ItemViewModel() { ID = "6", LineOne = "runtime seven", LineTwo = "Habitant inceptos interdum lobortis", LineThree = "Accumsan bibendum dictumst eleifend facilisi faucibus habitant inceptos interdum lobortis nascetur pharetra placerat" });
    this.Items.Add(new ItemViewModel() { ID = "7", LineOne = "runtime eight", LineTwo = "Nascetur pharetra placerat pulvinar", LineThree = "Pulvinar sagittis senectus sociosqu suscipit torquent ultrices vehicula volutpat maecenas praesent accumsan bibendum" });
    this.Items.Add(new ItemViewModel() { ID = "8", LineOne = "runtime nine", LineTwo = "Maecenas praesent accumsan bibendum", LineThree = "Facilisi faucibus habitant inceptos interdum lobortis nascetur pharetra placerat pulvinar sagittis senectus sociosqu" });
    this.Items.Add(new ItemViewModel() { ID = "9", LineOne = "runtime ten", LineTwo = "Dictumst eleifend facilisi faucibus", LineThree = "Suscipit torquent ultrices vehicula volutpat maecenas praesent accumsan bibendum dictumst eleifend facilisi faucibus" });
    this.Items.Add(new ItemViewModel() { ID = "10", LineOne = "runtime eleven", LineTwo = "Habitant inceptos interdum lobortis", LineThree = "Habitant inceptos interdum lobortis nascetur pharetra placerat pulvinar sagittis senectus sociosqu suscipit torquent" });
    this.Items.Add(new ItemViewModel() { ID = "11", LineOne = "runtime twelve", LineTwo = "Nascetur pharetra placerat pulvinar", LineThree = "Ultrices vehicula volutpat maecenas praesent accumsan bibendum dictumst eleifend facilisi faucibus habitant inceptos" });
    this.Items.Add(new ItemViewModel() { ID = "12", LineOne = "runtime thirteen", LineTwo = "Maecenas praesent accumsan bibendum", LineThree = "Maecenas praesent accumsan bibendum dictumst eleifend facilisi faucibus habitant inceptos interdum lobortis nascetur" });
    this.Items.Add(new ItemViewModel() { ID = "13", LineOne = "runtime fourteen", LineTwo = "Dictumst eleifend facilisi faucibus", LineThree = "Pharetra placerat pulvinar sagittis senectus sociosqu suscipit torquent ultrices vehicula volutpat maecenas praesent" });
    this.Items.Add(new ItemViewModel() { ID = "14", LineOne = "runtime fifteen", LineTwo = "Habitant inceptos interdum lobortis", LineThree = "Accumsan bibendum dictumst eleifend facilisi faucibus habitant inceptos interdum lobortis nascetur pharetra placerat" });
    this.Items.Add(new ItemViewModel() { ID = "15", LineOne = "runtime sixteen", LineTwo = "Nascetur pharetra placerat pulvinar", LineThree = "Pulvinar sagittis senectus sociosqu suscipit torquent ultrices vehicula volutpat maecenas praesent accumsan bibendum" });
    this.IsDataLoaded = true;
    This will load all the items and refresh the data. The problem is as the number of items and content increases the delay in clicking the option and getting the content visible is significant and cannot be ignored. This is more annoying since the data
    is static and once loaded, it never changes. I am thinking of improving the data refresh rate and looking for ways to load only the data for the selected item and not for all the items listed above.
    Anyone has any good suggestions?
    Thanks,
    Aiseduk

    Hi Toni,
    Thanks for your reply. I am not too sure about ListBox virtualization. Can you please elaborate how it can help me in my scenario? As of now, I am exploring few possible options to achieve what I am looking for:
    1. How to restrict LoadData() to load only the selected item? Since this will only load one item performance will be better on selecting the option. Is there any way to limit "this.Items.Add(new
    ItemViewModel()" so that once an item is loaded, the flow jumps to
    this.IsDataLoaded =
    true;
    2. Is there any way to create multiple LoadData() instance and connect them using Case/Switch to the available option? This will only initiate the LoadData() for that particular instance of selected item.
    2. Take the performance hit once. Since the data is static and do not change later on do we have any option to load data once and prevent it from refreshing later on every time an option is selected? Will this impact any features depending on system (like
    theming)?
    3. Create multiple pages, one for each ID, and then somehow link them to the selected items in the list? I am able to achieve this, but this makes my project unnecessary bulky and difficult to manage.
    Once again, thank you very much for helping me on this.
    Aiseduk

  • Selected page item has no data

    1) After I create the new data model, and start the EP_LOAD_MAIN how can I see the sales history table in the colaborator workbench? I only see the hierarchy of levels ,and in the right of the page, I have the message "Selected page item has no data" and an empty graphic background. Is there something with the Analytical Engine?
    2) There are several errors in the Engine Administrator after i start it:
    08:59:51:234 ERROR INSERT INTO SQL_DEF (COMMENTT, LINE_NO, SQL_ID, SQL_TEXT) VALUES ('Aggri Level 201',1,201,'SELECT min(sales_date) datett, round(NVL (sum(#quantity#),sum(#fore#))')
    08:59:51:234 ERROR - ErrorDescription: ORA-00001: unique constraint (DEMANTRA.SQLD_PK) violated
    In the PL/SQL developer the SQLD_PK doesn't exist

    Hi DCRO,
    1) After I create the new data model, and start the EP_LOAD_MAIN how can I see the sales history table in the colaborator workbench? I only see the hierarchy of levels ,and in the right of the page, I have the message "Selected page item has no data" and an empty graphic background. Is there something with the Analytical Engine?
    I am assuming that before starting EP_LOAD_MAIN, data is present in the staging tables (T_SRC_XXX). So once EP LoAD MAIN completes data should be available in Items, Location and Sales_data tables. Then whenever you try viewing data on the worksheet through the collaborator Workbench (Contains links of the worksheets) based on the aggregation levels(item,location and time) selected in the worksheet definition, the data is displayed on the right side of the worksheet.So in your case, check for the levels and the members under the levels that have been selected in the worksheet. Analytical engine is for generation of forecast (either by Batch / Simulation / Other profiles) and has got nothing to do with the empty graphical background of the worksheet.
    2) There are several errors in the Engine Administrator after i start it:
    08:59:51:234 ERROR INSERT INTO SQL_DEF (COMMENTT, LINE_NO, SQL_ID, SQL_TEXT) VALUES ('Aggri Level 201',1,201,'SELECT min(sales_date) datett, round(NVL (sum(#quantity#),sum(#fore#))')
    08:59:51:234 ERROR - ErrorDescription: ORA-00001: unique constraint (DEMANTRA.SQLD_PK) violated
    In the PL/SQL developer the SQLD_PK doesn't exist
    The error message itself points to some Constraint violation in the procedure. Check the procedures that have errors after the rebuilding of Data model. Recompile them and then try running the Engine Administrator.
    Also, I would suggest you to go through the Oracle Discussion Forums FAQ so that your queries are answered effectively and efficiently.
    Thanks and regards,
    Shekhar

  • Muse,Page items slow to load - eliminate render blocking java script?

    Everything was running smooth until I tried to cut and past new items into master pages. Now I have master page items loading out of sequence and very slowly at that. I went to google's page speed insites and I scored a 72% with a reccomendation to "Eliminate render blocking java script in above fold content" as well as "leverage browser caching"
    Well... I have no idea what that means
    any idea how I can improve the performance of my page? I've already compressed the images significantly, I don't think that's the problem. Google talks about expirey dates on cache items being too low or non existant causing delays on pages, and setting priority over viewable items. Can I do this in Muse?
    you can view the site here
    http://batco.businesscatalyst.com

    I've actually been having the same problem - the interesting thing is that I've only really noticed it in the past several weeks (before, everything loaded fine). Could there have been a change in Muse in the way it's loading scripts that is slowing it down?
    Examples:
    www.karlchristiankrumpholz.com
    www.pawdnerscolorado.com
    On the second site, I can't remember if I crunched the images, but on the first one, I used Image Optimizer to crunch down all of the pngs prior to publishing. For reference, I'm publishing both sites via Business Catalyst; one using a free CC account, and one using a paid eCommerce account.
    I ran it through Google PageSpeed, and here's what I get:
    Eliminate Render-Blocking JavaScript and CSS in above-the-fold Content
    Your page has 1 blocking script resources and 5 blocking CSS resources. This causes a delay in rendering your page.
    None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
    Remove render-blocking JavaScript:http://webfonts.creativecloud.com/bebas-neue:n4:all.js
    Optimize CSS Delivery of the following:
    http://www.karlchristiankrumpholz.com/StyleSheets/ModuleStyleSheets.css
    http://www.karlchristiankrumpholz.com/css/site_global.css?4210242644
    http://www.karlchristiankrumpholz.com/css/master_desktop-master.css?4254541493
    http://www.karlchristiankrumpholz.com/css/index.css?3941979157
    http://webfonts.creativecloud.com/c/c3d3d5/bebas-neue:n4.TGd:N:1/d
    Leverage Browser Caching
    Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
    Interestingly, image size doesn't appear to be as much of an issue, according to PageSpeed:
    Properly formatting and compressing images can save many bytes of data.
    Optimize the following images to reduce their size by 30.3KiB (13% reduction).
    Losslessly compressing http://www.karlchristiankrumpholz.com/images/headerbackground.png could save 19.1KiB (22% reduction).
    Losslessly compressing http://www.karlchristiankrumpholz.com/images/laurel.png could save 4.9KiB (29% reduction).
    Losslessly compressing http://www.karlchristiankrumpholz.com/images/rebel_%402x.png could save 4.6KiB (7% reduction).
    Losslessly compressing http://www.karlchristiankrumpholz.com/images/karlheader2-u1353.png could save 1,019B (2% reduction).
    Losslessly compressing http://www.karlchristiankrumpholz.com/images/arrowmenudown.gif could save 707B (84% reduction).

  • Firefox crashes or closes upon loading page in 2nd tab.

    Since upgrading to FF V10.0 I can't open certain pages and FF closes/crashes upon loading a new page in a second tab.
    FF won't open at all while having 2 startpages, even in safe mode.
    No crash report submitted. the last crash report was in V9.

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    * https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    * http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * https://support.mozilla.org/kb/Firefox+crashes
    * https://support.mozilla.org/en-US/kb/latest-firefox-issues
    If you have submitted Breakpad crash reports then post the IDs of one or more Breakpad crash reports (bp-xxxxxxxx-xxxxxxxxx-xxxx-xxxxxxxxxxxx). You can find the IDs of the submitted crash reports on the about:crashes page. You can open the about:crashes page via the location bar, like you open a website.
    See:
    * http://kb.mozillazine.org/Breakpad (Mozilla Crash Reporter)
    * https://support.mozilla.org/kb/Mozilla+Crash+Reporter
    * https://developer.mozilla.org/en/How_to_get_a_stacktrace_for_a_bug_report

  • How to populate another page item based on cascading select lists?

    Oracle 10gXE
    APEX 3.2
    I've created cascading select lists based on the examples (using Javascript and AJAX) that i've seen on this forum. Thanks for help on that!
    Now that I have these LOV's being populated without needing to submit the page, how do I take the value that is presently in each LOV and concatenate them together to populate another page item? I'm trying to build the URL string that will execute an Oracle Report once the user clicks a button.
    Previously, when I had multiple Select Lists with a submit, the URL was being put together using an After Submit Computation that would set the value for an item (P26_REPORT_URL) on the page. Notice that a report parameter (i.e. parameter name and Select List value) is only included if the user has provided a value. The page item that holds these values is then referenced by a button for URL redirect. The URL Target for the button currently is: javascript:popupURL('&P26_REPORT_URL.'), but will not work at the moment because P26_REPORT_URL page item is not changing based on what is selected in the LOVs. Since I'm not submitting anything (do I need to?), how do I put together the values needed?
    Computation for P26_REPORT_URL:
    DECLARE
    l_param VARCHAR2(2000);
    BEGIN
    l_param := '&REPORTS_URL.&report=&P26_RPT_VIEW..rdf&desformat=&P26_DESFORMAT.&destype=cache';
    IF REPLACE(:P26_OLO_CODE,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_olo_code=&P26_OLO_CODE.';
    END IF;
    IF REPLACE(:P26_BEG_DATE,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_start_dt=&P26_BEG_DATE.';
    END IF;
    IF REPLACE(:P26_END_DATE,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_end_dt=&P26_END_DATE.';
    END IF;
    IF REPLACE(:P26_ORG_CODE_2,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_org_code=&P26_ORG_CODE_2.';
    END IF;
    IF REPLACE(:P26_FLAIR_ORG_2,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_flair_org_code=&P26_FLAIR_ORG_2.';
    END IF;
    IF REPLACE(:P26_BUDGET_ENTITY_2,'%'||'null%',NULL) IS NOT NULL THEN
    l_param := l_param||'&p_agy_code=&P26_BUDGET_ENTITY_2.';
    END IF;
    RETURN l_param;
    END;

    Andy,
    This is a great suggestion! After I posted, I started looking at a Javascript solution and figured it's probably what I had to do.
    However, now the cascading select list no longer working for some reason after I added the function to concatenate the item values. When I remove the showReport() function the select list works again.
    Here is what I have in the HTML Header portion of the page:
    <script language="JavaScript" type="text/javascript">
    function popupURL (url) {
      w = open(url,"winLov","resizable=1,width=800,height=600");
      if (w.opener == null)
      w.opener = self;
      w.focus();
    function showReport()
      var l_param = '&REPORTS_URL.&report=' + $v('P26_RPT_VIEW') + '.rdf&desformat=' + $v('P26_DESFORMAT') + '&destype=cache';
      if ($v('P26_OLO_CODE' != '')
       l_param += '&p_olo_code=' + $v('P26_OLO_CODE');
      if ($v('P26_ORG_CODE_3' != '')
       l_param += '&p_org_code=' + $v('P26_ORG_CODE_3');
      popupURL(l_param);
      function get_AJAX_SELECT_XML(pThis,pSelect){  
         var l_Return = null; 
         var l_Select = $x(pSelect); 
         var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=ORG_SELECT_LIST',0); 
         get.add('TEMPORARY_ITEM',pThis.value); 
         gReturn = get.get('XML'); 
         if(gReturn && l_Select){ 
             var l_Count = gReturn.getElementsByTagName("option").length; 
             l_Select.length = 0;
             for(var i=0;i<l_Count;i++){ 
                 var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue)
    get = null;
    function appendToSelect(pSelect, pValue, pContent) { 
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{ 
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>

  • Pivot Table page-item as a multi select

    Can this be done? When placign an item in the "page" shelf of the pivot table, the default is to allow a single valeu selection, but can we allow multiple selections.
    For instance, if I place region in the Page item area, can I allow the user to select "West" and "East" as opposed to just 1 distinct value?

    Why not just use a prompt with a multiselect box then?
    It looks the same for the end user, only now he have to wait when he chooses another combo... in stead of that he had to wait only in the beginning something longer

  • Reset data picker page item by selection page item in Apex

    Hi,
    Need to create a report based on date ranges and for this created a interactive report and two page item datepicker fields P15_fromdate and p15_todate. Report works fine with this criteria.But user wants one more field quarter(P15_quarter), When they select the quarter the range values has to get reset and as to get applied to report.
    Issue here is unable to find a way to set the page range item values based on the quarter field selection
    Need help how to reset the page item fields.
    Thanks in advance.
    Thanks,
    Sandeep

    Ligon,
    You're right to think this is pretty laborious stuff. A co-worker wanted to do the same, to make sure users didn't lose a change when clicking Cancel. I suggested he look at calculating the query checksum before and after, which he tried. But it got very cumbersome very fast and he ended up dropping the idea. He's fairly new with Apex, but he's also a quick study, so it's not like he's a novice coder.
    I don't have his implementation details anymore to even share with you.
    Sorry I couldn't be more help.
    Good luck,
    Stew

  • Report Refresh on selecting All from Page Item

    Hi,
    I have a report that has the academic years as one of the page items. If we select the first entry '2004 - 2005' and then select 'All' from the page item, the data doesn't refresh.
    However if we go ahead and choose any other value, for example '2006-2007' or any other entry and then select 'All' the report does refresh normally.
    I've tried to search if this is a known bug, but I was unable to find any information. If any of you can help in this regard, reference to a known bug or if there's a workaround, please do let me know.
    Thanks a lot in advance

    Hi
    Do you get any errors messages?
    Best wishes
    Michael

  • Items on page not set when called via hyperlink from charts

    hello anyone who can help me on this thorny issue,
    i have a barchart on one page (page 39), where if you click on the bar chart, page 40 opens and variables are passed on to items on page 40. the variables depend on which bar was clicked. looks somethiing like this:
    select 'F?P=102:40:'||:APP_SESSION||'::NO::P40_DATE,P40_JAHR:'||to_char(datum, 'yyyy.mm.dd')||','||to_char(datum, 'yyyy') link,
    to_char(datum, 'dd.mm.yyyy') Datum,
    Avg_mips
    from ... some sql query....
    this generally works - BUT, once in awhile, the correct page opens, but the items are NULL!
    only when i press F5 to refresh the page, do the variables correctly pass to the items and the proper query is performed...
    after some testing, it seems to happen when i click quite fast. quickly get back to the page 39, click a new bar and then i'm back at page 40 again.
    if i do this slowly, maybe wait a couple of seconds, it generally works.
    for ex., the URL would look something like this:
    http://daidalos:7777/pls/apex/F?P=102:40:2118535974571692::NO::P40_DATE,P40_JAHR:2008.12.16,2008
    - i know the variables are correct when i look at the URL
    - yet the new graph on page 40 shows null values, and a click on the "session" button confirms that the items are null!
    - once i press F5, the URL is the exact same, onle the items are now "refreshed" and the proper processing can take place.
    so, can anyone tell me what is going on here and how i can avoid this?
    the items are set as "hidden" (not protected). there are no computations or default settings to the items, and they are not reset to null at any time.
    regards,
    mike

    Mike:
    I suspect that the chart on page 40 is being rendered by an APEX database connection that is not the same one that renders the rest of the stuff on page 40. So, it is possible that the database connection rendering the chart does not see the new values for the page items set in the URL as these may not have been committed to the database yet.
    You could try this.
    Change the chart query to be
    select 'javascript:setStuff("' || to_char(datum, 'yyyy.mm.dd') ||  '","' ||to_char(datum, 'yyyy') || '")' link,
    to_char(datum, 'dd.mm.yyyy') Datum,
    Avg_mips
    from ... some sql query...Add the JS below into the HRML page header<script>
    function setStuff(p_date,p_jahr) {
      $x('P40_DATE').value=p_date
    $x('P40_JAHR').value=p_jahr
    doSubmit('XXXX');
    </script>Define an 'After Submit...' branch to page 40. Make the branch conditional on Request = 'XXXX'
    varad

Maybe you are looking for

  • Bootcamp windows 8.0 pro installation issue with early 2015 Macbook Pro

    I am having this issue with installing Windows 8.0 pro (and 8.1 pro) on my early 2015 MacBook pro vs. Bootcamp. I have tried different method for  multiple times and all failed. Any help is appreciated. Hardware: (1) early 2015 MacBook Pro with 128GB

  • Embedded Quicktime not playing correctly in InDesign PDF - please help!!

    ok - I have an issue that I can't work out and I'm hoping someone can help - tried searching for an answer to no avail. I've just built my first interactive PDF portfolio in InDesign. I should point out that I'm a producer/editor, so my knowledge of

  • Personal Domain problem.

    I am unable to reverse (cancel, annul, stop, call off, scratch, scrub) the link that has somehow or other been created between Mobile Me and a domain, hosted by GoDaddy, that I own but never use. So, when I update my iWeb pages and 'publish changes'

  • How can I type Korean characters with Firefox 4?

    I upgraded to Firefox 4 and now I have difficulty typing Korean characters. When I switch my keyboard to Korean and start typing, the characters go to a bar on the bottom of the browser. It is not even a bar for inserting text. There is no insert but

  • How to access Time Capsule 2013 disk from Windows 7

    I have seen several (older) threads that suggest that you can access the Time Capsule disk from Windows 7 using Windows Explorer and navigating to \\Time-Capsule-Name.  However, I have tried this repeatedly and just cannot get it to work.  Could this