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

Similar Messages

  • 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

  • Problem in displaying selected page items in the title in Graph

    Hi There;
    I have a problem in displaying selected value of named page item in the graphs.
    Eg. I have in my worksheet a page item named "Location"; when I use "&WorksheetName &Location" in the title of worksheet it is displaying both the worksheet title and value of selected page item "Location" in my example.
    But when I use the same (&WorksheetName &Location) in the title of graph or Axis of the graph, it would show up only the name of the worksheet but not the value of page item "Location", instead it would print "&Location"
    Any idea why it is not able to reference the select page item in Discoverer graph? I am using Oracle BI Discoverer 10.1.2.1.
    Thanks in Advance,
    Regards,
    Nidhi Jethoo

    Hi Michael;
    Thanks a lot. It might not have been considered necessary but you do require, e.g in my case I am plotting Average value of a Parameter and it does make sense in including the name/value of Parameter(surface water temp/bottom watter temp) as an Axis instead of just a constant Parameter or say Average Parameter. So that user can plot the variation of different parameters by changing the page items and when user changes the value of parameter and export the graph he/she has the parameter name(actual value) in the graph.
    But I can include all the parameters (&Parameters) or all the page items(using &PageItems) in graph then why not individual page-item and individual parameter.
    I would log a SR and see what they say.
    Thanks again,
    Nidhi

  • How do i get current active or selected page item's  reference

    Hi all,
    How do i get current active or selected page item's  reference .
    Please help me

    You can implement a selection suite for your need, this selection suite will be placed into the kLayoutSuiteBoss.
    In this selection suite place a method to give you the UIDRef of the selected pageitem, which you can get by using the method "GetUIDList" of the "ILayoutTarget" interface.
    Manan Joshi
    - Efficient InDesign Solutions -
    MetaDesign Solutions
    http://metadesignsolutions.com/services/indesign-development.php

  • Multi-Select Page Item in Application Item

    I have a multi-select page item that I need to copy to an Application Item (for AJAX select). I have a js function that does the following:
    get.add('REFRESH_LOV_FK_SCHOOL',pSchool.value);
    It only seems to copy the first value (before the ':') of the multi-select list to the application item. I verified this with the session state of both the page items and application item. Is there a reason it only copies the first value?

    Bob
    In your JS function you have declared the formal parameters as pSchool,pYear,pApp. However the code in the function references 'PSelect' I shall assume that you meant 'PSchool' <script>
    function get_select_list_xml1(pSchool,pYear,pApp){
    var l_Return = null;
    var l_Select = html_GetElement(pSchool);
    var schoolVal=$f_SelectValue(pSchool.id);
    alert ('values=' + schoolVal);
    var get = new htmldb_Get(null,$x('pFlowId').value,
    'APPLICATION_PROCESS=' + pApp,0);
    get.add('REFRESH_LOV_FK_SCHOOL',schoolVal);
    get.add('REFRESH_LOV_YEAR',pYear.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;
    </script>

  • How to get UIDRef of the selected page item in indesign cs3

    Hi,
        I want to get the UIDRef of the selected page item like Rectangle Frame. Can you show me the complete code snippet to get the UIDRef of selected Rectangle Frame. I need this UIDRef for getting the geometric bounds properties(width and height) of the selected rectangle frame to display the user in dialog box.
    Regards,
    K.Saravanan.

    Hi,
    UIDList selection;
    InterfacePtr<ISelectionManager> pSelectionManager(Utils<ISelectionUtils>()->GetActiveSelection(), ISelectionManager::kDefaultIID);
    if(pSelectionManager == nil){
    break;
    InterfacePtr<ILayoutTarget> pLayoutTarget(pSelectionManager->QueryConcreteSelectionBoss(kNewLayoutSelectionBoss), ILayoutTarget::kDefaultIID);
    if(pLayoutTarget == nil){
    break;
    selection = pLayoutTarget->GetUIDList(kDontStripStandoffs);
    Then, you can use this interface "IGeometry" to get information about spline size.
    InterfacePtr<IGeometry> pGeometry(selection.GetRef(i), IGeometry::kDefaultIID);
    if(pGeometry== nil){
    break;
    PMRect splineBounds = pGeometry->GetStrokeBoundingBox();
    PMReal width = splineBounds.Height();
    PMReal hight = splineBounds.Width();
    Regards,

  • 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

  • Refresh only page item while submitting data from the popup window

    Hi All,
    I'm pretty new to Apex .....
    I have a form with text items as first few entries and then a radio button list and few text items again. On selecting certain radio button I have a popup window which acts as an interface for the next text item in the calling page. The purpose of having the popup window is that the text item following the radio button takes the input with certain character delimiters along with the data. Instead of using delimiters while entering the data I want a meaningful data to be keyed in the popup window and all the string operation to be done as a background process. I have been successful this far. I'm using the below javascript on click of the submit button.
    javascript:doSubmit();
    window.opener.doSubmit('REFRESH');
    window.close();
    On doing this I'm losing the values submitted for the items prior to the radio button(including radio button). Please note, I have a dynamic action set on page load to reset the values. Is it possible to refresh just the page item from the popup window.
    Also, I tried excluding the window.opener.doSubmit('REFRESH'); from the above javascript. It sets the item with the expected value (viewed it in the session items, however I would like to view the concatenated string on my calling page) but following this there is an insert operation which uses all the necessary items in the form. All values except the value returned from the popup window is populated into the table. Am I missing something.
    Any help in this regard is appreciated.
    Thank you!!!
    Regards,
    Ganesh

    Value set using Javascript is only in your browser page but is not yet available in the session. This is why the report doesn't return the expected output.
    Before refreshing the report you would need to set the session state of this item.
    You can set it after you assign the item a new value or before the report is refreshed
    For Interactive Reports, this is available built in
    you can go to Report Attributes >Advanced Attributes -> Page Items to Submit and specify P2_X1 for the field(and any other page item that the report is dependent on)
    For standard reports, you can create a Dynamic Action that is triggered "before refresh" of the report's region, and choose PLSQL as the action types, give a dummy BEGIN NULL END; for the code and specify this item name in the page item to submit field so that it sets the items's value in session.

  • Random page item data corruption

    I designed an APEX page for a service request processing application with several date page items. Our database is Oracle 10g. The application is in production and the users have reported that data in some date page items become corrupted randomly. For example, the user enters ’07/04/2011’ in the date page item “Planned Start Date” among other values and submits the page. The date somehow winds up ‘07/04/0011’ that is, year 11. (A corrupt date increases the risk that these transactions will not be processed in a timely manner and will negatively impact the level of customer service the user wishes to provide.)
    I have identified three possible areas that may hold the key to underlying cause: 1) page item edit mask, 2) page process(es), 3) DB column constraints. Inasmuch as this is a random problem and has affected a handful of rows it may not be possible to trace the logic as the pages are processed. Has anyone encountered this problem and can suggest a possible remedy? For the sake of clarity I placed the setups for the affected page item below.
    Selected setups for P14_PLANNED_START_DATE, all unlisted attributes are blank or null:
    Settings - Value Required: No; Format Mask: MM/DD/YYYY; Show: on icon click; Show Other Months: No; Navigation List for: None
    Source - Source Used: Always, replacing any existing value in session state; Source Type: Database Column; Maintain Session State: Per session; Source Value or Expression: PLANNED_START_DATE
    Default - Default Value: to_char(sysdate, ‘MM/DD/YYYY’); Default Value Type: PL/SQL Expression
    Sample page processes are:
    Validation - Name: P14_PLANNED_START_DATE not null; Type: Item specified is not null; Validation expression: P14_PLANNED_START_DATE; Always execute: No
    Conditions – Condition Type: SQL Expression; Expression 1: :REQUEST IN (‘SAVE’, ‘CREATE’)
    Validation – Name: P14_PLANNED_STARTEND_OKAY; Type: Function Returning Boolean:
    Validation Expression:
    IF SIGN(to_date(to_char(to_date(:P14_PLANNED_START_DATE,'MM/DD/YYYY'),'YYYYMMDD-') || :P14_PLANNED_END_TIME,'YYYYMMDD-HH:MI AM')
    - to_date(to_char(to_date(:P14_PLANNED_START_DATE,'MM/DD/YYYY'),'YYYYMMDD-') || :P14_PLANNED_START_TIME,'YYYYMMDD-HH:MI AM')) > 0
    THEN RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    Conditions – Condition Type: PL/SQL Function body returning Boolean
    Expression 1:
    IF :REQUEST IN ('SAVE','CREATE') THEN
    IF (:P14_PLANNED_START_TIME IS NULL OR :P14_PLANNED_END_TIME IS NULL)
    THEN RETURN FALSE;
    ELSE RETURN TRUE;
    END IF;
    ELSE RETURN FALSE;
    END IF;
    Database: The attributes for the database column are
    Column Name: PLANNED_START_DATE
    Data Type: DATE
    Nullable: No

    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

  • How to pass the page item data from tabA to TabB of a discoverer report

    I have a discoverer repoort, it is master_detail (Dept-Emp) report
    TabA is a master worksheet, which has a page item Deptno
    (the data is from a customized query)
    TabB is detail report which has a Deptno as the page item
    which show the emp detail info on this deptno
    (the date is from another customized query).
    What I want to do is;
    When I change the Deptno in TabA, TabB should automatically change to the deptno of Tab A when I click TabB.
    How can I pass the page item deptno from TabA to page item of TabB?
    Thanks for your help

    Hi.
    You are absolutely right, you cannot create a link from Page Item.
    My Idea was (and I'm sorry taht I didn't mention it at the beginning) to create one link for each and every column in the report in the TabA.
    All these links would be exactly same and pass the Deptno to the TabB.
    So the end user can click wherever he wants (all cells on the worksheets have the link to the TabB) and he is always redirected to the TabB with the Department parameter seted to Deptno Page Item from TabA.
    As I already said before, it is not exactly what you expected, but it's probably the best you can get out of Plus.
    Jakub

  • List item w/ multiple data items - how to select data items?

    I have a list component (myListBox) that is showing the
    labels for some data items read in from an XML file. Each item in
    the list has an associated name, description, and path (they're mp3
    files) and they are named accordingly in the XML tags.
    Using myListBox.selectedItem.label gives the correct label
    but myListBox.selectedItem.data is undefined. I've tried using the
    XML tags after the data selector (e.g.
    myListBox.selectedItem.data.path) but those don't work, either. All
    of the examples I've found in the docs show only a single data
    element associated with each list item.
    So, if a list item has multiple data items associated with
    it, how do you select them using the listBox.selectedItem property?
    TIA,
    rgames

    Q2. when I type "Oracle" in A long list item box, cursor is going to the initial character "O" , so I can find "Oracle" in A long list item box easily.Maybe , but of course your list gets smaller as you see only the entries starting with a "O" , except if there are entries in the list which all start with the letter "O" so the total number of entries in the list is equivalent to the number of entries start with "O"...!!!!!!!!!
    My greetings,
    Simon

  • 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

  • Question - any way to set a Page Item in a worksheet to default to All ?

    Well, I seem to have run across an interesting situation here. I have a table worksheet with page items. I have noticed one thing while testing this new worksheet/workbook. If I pick a value for one of the page items (and with page items, it seems I can only pick one value at a time) and then save the worksheet, close the workbook, and then reopen the workbook and run the worksheet, Discoverer has retained the page item value as the value when I saved it, rather than defaulting back to <All>. So I quickly learned a new lesson with this darn Discoverer product - make sure all page items set to the <All> value before I save a worksheet that I am going to want to promote to Production.
    Well, now I have run into a situation where based on the conditions I have to set in the workbook, I have a Page Item in the worksheet that today has only 1 value that pulls into the worksheet. When I do the drop down on that Page Item, it only shows the one value. It does not give me the ability to pick the <All> option. So I am unable to save the workbook with the <All> value today for that page item. There are other potential values for this Page Item that could show up in the future.
    Now granted if this were to happen, the Viewer user could do the drop down on the page item at that time and pick the <All> value at that time. But alas, since they are not the owner of the workbook, they could only save as a new workbook, with themselves as the owner - cannot change the production workbook so it would be changed going forward. This also means the user has to realize that they are missing data and that the fixed page item value is the cause of that, which I am skeptical that they will be able to figure out. So I really want this page item value to default to <All> when the users open and run this worksheet.
    So here is my question - does anyone know of a way to set the Page Item value to be <All> automatically when a worksheet is run?
    I hope this makes some sense. Always a challenge to explain an issue well. It took me a bit to realize that when saving a worksheet/workbook, it was retaining the selected page item values when I performed the save. It is also very unusual to have a situation where a page item does not currently have multiple values. So this may be a situation that few people have run across.
    John Dickey

    Ah, there is a potential workaround, as I have finally figured out. The workaround does require that you have the ability to bring in multiple values for the page item from the worksheet run result set. If you have a situation, like I have, where today you only have one valid value, you will still have a problem.
    The workaround is this. Figure out a way to get multiple values into the worksheet run result set. That way when you do the page item drop down list, you will see the <All> value in that list. Pick that value, refresh the worksheet, and save the workbook. Now reset your worksheet back to your desired conditions, where you end up with just one value in the worksheet result set, and refresh the worksheet. The <All> is still retained as the page item default and when you do the drop down list for the page item, you see two values in the list - your 1 valid value plus the <All> value. So once you get that <All> set as the page item default, then it will be retained. This explains how support originally tested (on an existing worksheet) and said they were able to see and pick the <All> value.
    Since it should be rare for something to have just one valid value in a worksheet result set, and even rarer to have just one current valid value in Oracle, this workaround should take care of most of the situations where you might encounter this issue. I still will push for an enhancement request to have that <All> value show in the drop down list even when just one value in the worksheet result set.
    John Dickey

  • Add Page n of nn, date, current user name to aReport Footer on PDF Report

    Hello,
    I am very new to using Apex.
    I have a SQL Report which I can output to a PDF and works.
    I have a header and the contents of the report all appearing in the PDF OK.
    I would like to have a footer for each page which has the date & timestamp, current users full name and page n of nn.
    Any help would be much appreciated, thanks.

    Hello Luis
    Thanks for your help.
    I have the first part of the current user and the date and time displayed on the bottom of the report.
    The complicated bit for me it the page n of n.
    I have created the report layout and copied in your code but I get an error that tells me that
    the PDF cannot be opened because it is either not supported or damaged .....
    Here is the contents of the Page Template:
    <?xml version = '1.0' encoding = 'utf-8'?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink">
    <xsl:variable name="_XDOFOPOS" select="''"/>
    <xsl:variable name="_XDOFOPOS2" select="number(1)"/>
    <xsl:variable name="_XDOFOTOTAL" select="number(1)"/>
    <xsl:variable name="_XDOFOOSTOTAL" select="number(0)"/>
    <xsl:attribute-set name="padding">
    <xsl:attribute name="padding-bottom">0.25pt</xsl:attribute>
    <xsl:attribute name="padding-top">0.25pt</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="text">
    <xsl:attribute name="text-align">start</xsl:attribute>
    <xsl:attribute name="orphans">2</xsl:attribute>
    <xsl:attribute name="start-indent">0.0pt</xsl:attribute>
    <xsl:attribute name="linefeed-treatment">preserve</xsl:attribute>
    <xsl:attribute name="padding-top">0.0pt</xsl:attribute>
    <xsl:attribute name="end-indent">0.0pt</xsl:attribute>
    <xsl:attribute name="padding-bottom">0.0pt</xsl:attribute>
    <xsl:attribute name="height">0.0pt</xsl:attribute>
    <xsl:attribute name="widows">2</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="align-left">
    <xsl:attribute name="text-align">left</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="align-center">
    <xsl:attribute name="text-align">center</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="align-right">
    <xsl:attribute name="text-align">right</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="footer">
    <xsl:attribute name="text-align">right</xsl:attribute>
    <xsl:attribute name="start-indent">5.4pt</xsl:attribute>
    <xsl:attribute name="end-indent">5.4pt</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="text_2">
    <xsl:attribute name="start-indent">5.4pt</xsl:attribute>
    <xsl:attribute name="end-indent">23.4pt</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="text_20">
    <xsl:attribute name="height">13.872pt</xsl:attribute>
    <xsl:attribute name="end-indent">5.4pt</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="text_0">
    <xsl:attribute name="end-indent">5.4pt</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="page-header">
    <xsl:attribute name="color">#PAGE_HEADER_FONT_COLOR#</xsl:attribute>
    <xsl:attribute name="font-family">#PAGE_HEADER_FONT_FAMILY#</xsl:attribute>
    <xsl:attribute name="white-space-collapse">false</xsl:attribute>
    <xsl:attribute name="font-size">#PAGE_HEADER_FONT_SIZE#pt</xsl:attribute>
    <xsl:attribute name="font-weight">#PAGE_HEADER_FONT_WEIGHT#</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="page-footer">
    <xsl:attribute name="color">#PAGE_FOOTER_FONT_COLOR#</xsl:attribute>
    <xsl:attribute name="font-family">#PAGE_FOOTER_FONT_FAMILY#</xsl:attribute>
    <xsl:attribute name="white-space-collapse">false</xsl:attribute>
    <xsl:attribute name="font-size">#PAGE_FOOTER_FONT_SIZE#pt</xsl:attribute>
    <xsl:attribute name="font-weight">#PAGE_FOOTER_FONT_WEIGHT#</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="body-font">
    <xsl:attribute name="height">12.0pt</xsl:attribute>
    <xsl:attribute name="font-family">#BODY_FONT_FAMILY#</xsl:attribute>
    <xsl:attribute name="white-space-collapse">false</xsl:attribute>
    <xsl:attribute name="font-size">#BODY_FONT_SIZE#pt</xsl:attribute>
    <xsl:attribute name="font-weight">#BODY_FONT_WEIGHT#</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="page-number">
    <xsl:attribute name="height">13.872pt</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="header-font">
    <xsl:attribute name="height">#HEADER_FONT_SIZE#pt</xsl:attribute>
    <xsl:attribute name="font-family">#HEADER_FONT_FAMILY#</xsl:attribute>
    <xsl:attribute name="white-space-collapse">false</xsl:attribute>
    <xsl:attribute name="font-size">#HEADER_FONT_SIZE#pt</xsl:attribute>
    <xsl:attribute name="font-weight">#HEADER_FONT_WEIGHT#</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="border">
    <xsl:attribute name="border-top">#BORDER_WIDTH#pt solid #BORDER_COLOR#</xsl:attribute>
    <xsl:attribute name="border-bottom">#BORDER_WIDTH#pt solid #BORDER_COLOR#</xsl:attribute>
    <xsl:attribute name="border-start-width">#BORDER_WIDTH#pt</xsl:attribute>
    <xsl:attribute name="border-start-color">#BORDER_COLOR#</xsl:attribute>
    <xsl:attribute name="border-start-style">solid</xsl:attribute>
    <xsl:attribute name="border-end-width">#BORDER_WIDTH#pt</xsl:attribute>
    <xsl:attribute name="border-end-color">#BORDER_COLOR#</xsl:attribute>
    <xsl:attribute name="border-end-style">solid</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="cell">
    <xsl:attribute name="background-color">#BODY_BG_COLOR#</xsl:attribute>
    <xsl:attribute name="color">#BODY_FONT_COLOR#</xsl:attribute>
    <xsl:attribute name="padding-start">5.15pt</xsl:attribute>
    <xsl:attribute name="vertical-align">top</xsl:attribute>
    <xsl:attribute name="padding-top">0.0pt</xsl:attribute>
    <xsl:attribute name="padding-end">5.15pt</xsl:attribute>
    <xsl:attribute name="number-columns-spanned">1</xsl:attribute>
    <xsl:attribute name="height">0.0pt</xsl:attribute>
    <xsl:attribute name="padding-bottom">0.0pt</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="header-color">
    <xsl:attribute name="background-color">#HEADER_BG_COLOR#</xsl:attribute>
    <xsl:attribute name="color">#HEADER_FONT_COLOR#</xsl:attribute>
    </xsl:attribute-set>
    <xsl:template match="/">
    <fo:root>
    <fo:layout-master-set>
    <fo:simple-page-master master-name="master0" margin-left="66.6pt" margin-right="66.6pt" page-height="#PAGE_HEIGHT#pt" page-width="#PAGE_WIDTH#pt" margin-top="36.0pt" margin-bottom="36.0pt">
    <fo:region-before region-name="region-header" extent="54.0pt"/>
    <fo:region-body region-name="region-body" margin-top="54.0pt" margin-bottom="54.0pt"/>
    <fo:region-after region-name="region-footer" extent="54.0pt" display-align="after"/>
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="master0">
    <xsl:variable name="_PW" select="number(#PAGE_HEIGHT#)"/>
    <xsl:variable name="_PH" select="number(#PAGE_WIDTH#)"/>
    <xsl:variable name="_ML" select="number(72.0)"/>
    <xsl:variable name="_MR" select="number(72.0)"/>
    <xsl:variable name="_MT" select="number(90.0)"/>
    <xsl:variable name="_MB" select="number(90.0)"/>
    <xsl:variable name="_HY" select="number(36.0)"/>
    <xsl:variable name="_FY" select="number(36.0)"/>
    <xsl:variable name="_SECTION_NAME" select="string('master0')"/>
    <fo:static-content flow-name="region-header">
    <fo:block xsl:use-attribute-sets="text text_2 text_0 #PAGE_HEADER_ALIGNMENT#">
    <fo:inline xsl:use-attribute-sets="page-header">#PAGE_HEADER#</fo:inline>
    </fo:block>
    </fo:static-content>
    <fo:static-content flow-name="region-footer">
    <fo:block xsl:use-attribute-sets="text footer">
    <fo:inline xsl:use-attribute-sets="body-font page-number">
    <fo:page-number/> of <fo:page-number-citation ref-id="last-page"/>
    </fo:inline>
    <fo:block id="last-page"/>
    </fo:flow>
    <fo:block xsl:use-attribute-sets="text text_2 #PAGE_FOOTER_ALIGNMENT#">
    <fo:inline xsl:use-attribute-sets="page-footer">#PAGE_FOOTER#</fo:inline>
    </fo:block>
    </fo:static-content>
    <fo:flow flow-name="region-body">
    <fo:block xsl:use-attribute-sets="padding">
    <fo:table start-indent="0.0pt">
    <xsl:variable name="_XDOFOPOS2" select="number(1)"/>
    <xsl:variable name="_XDOFOTOTAL" select="number(1)"/>
    #PRN_TABLE_CELLS#
    <fo:table-header>
    <fo:table-row>
    #PRN_TEMPLATE_HEADER_ROW#
    </fo:table-row>
    </fo:table-header>
    <fo:table-body>
    <xsl:for-each select=".//ROW">
    <fo:table-row>
    #PRN_TEMPLATE_BODY_ROW#
    </fo:table-row>
    </xsl:for-each>
    </fo:table-body>
    </fo:table>
    </fo:block>
    <fo:block xsl:use-attribute-sets="text text_2 text_20">
    <fo:inline id="{concat('page-total-', $_SECTION_NAME, $_XDOFOPOS)}"/>
    <fo:inline id="{concat('page-total', $_XDOFOPOS)}"/>
    </fo:block>
    </fo:flow>
    </fo:page-sequence>
    </fo:root>
    </xsl:template>
    </xsl:stylesheet>

  • Session state of page item different from one region to another region

    hi,
    on one particular page I have two regions. A page item (LOV pop-up) is set in the first region. I leave this region with a button and jump back with a branch to the same page. The page item has now the selected value (as is shown by session state window). So far so good.
    The second region (SQL query type) uses this page item. However, for some reason the page item is NULL in that second region.
    Can anyone explain this behavior ?
    ron

    thanks Joel,
    I did already what you suggested. The title in region 2 is evaluated to the same value as in region 1.
    The SQL query (that actually runned with identical syntax before) is:
    select bla from blatable where bla = :P920_RU
    this generates:
    report error:
    ORA-12801: error signaled in parallel query server P000
    ORA-01741: illegal zero-length identifier
    So apperently the bind variable is evaluted to (or cached as) NULL.
    I noticed something strange in the session window. There are several page items in the application. All of them are listed in the 'Session State' region. The page item that makes problems is the only one that is also listed in the 'Page Items' region. It is even listed when I start the session window from another page. Weird.
    any other ideas ?
    Actually, how could you possibly clear session state between rendering two regions ?
    Ron

Maybe you are looking for