Bug in rendering static list with Hierarchical Expanding template?

Hi,
on http://apex.oracle.com/pls/apex/f?p=23910 I prepared test case for my problem. It is static list with template Hierarchical Expanding and following structure:
1
  1.1
    1.1.1
  1.2
    1.2.1
2
Entry 1.2 has condition set to never. And the problem is, as you can see, that entry 2 seems to be under entry 1.1. But really it isn't. Reason of this strange look is that in some cases, when condition for last entry in sublist is evaluted as false, there isn't generated tag </ul> closing that sublist, in this case are not closed even two sublists - under entries 1 and 1.1.
In my real application it is more complicated, I have static list with about 80 entries (report menu) and every user sees some reports based on his position in organization structure and other conditions. And as you can imagine, this bug produces really confusing results, almost unique for every user.
Did anybody meet this problem too? We are on ApEx 4.1.0, it is present in 4.1.1 too (as seen on apex.oracle.com)... And I think it wasn't problem in 4.0 (at least nobody noticed for few months and I believe somebody would notice that reports for one department are under reports for another one). Used theme is standard theme 2 - Builder Blue.
Jirka

update:
I tried deriving the full path for the image file by viewing the source when I embedded it in an HTML region on the same page and it gives me something similar to the following URL:
wwv_flow_file_mgr.get_file?p_security_group_id=502133210878128108&p_fname=myImage.gif
(p.s. it is a .gif file - not sure if this should make any material difference)
As a result, I tried embedding this into the code:
<fo:block>
<fo:external-graphic src="wwv_flow_file_mgr.get_file?p_security_group_id=502133210878128108&p_fname=myImage.gif)"/>
</fo:block>
but this time, instead of merely not rendering, when Acrobat opens, an error message appeared reported that the file was corrupted or invalid. When trying different formats, I seem to get a generic: "500 Internal Server Error".
I'm going to try putting the image file in the server directory tree to see if that will work. I'll post later either way.

Similar Messages

  • How create HTML-list with hierarchical query?

    Hello all!
    I have table HIE (name,id,par) with hierarchical structure (par=id)
    As sample:
    select name
    FROM hie
    CONNECT BY PRIOR id=par
    START WITH par=0
    Root
    Branch 1
    Lief 11
    Lief 12
    Bracnh 2
    I need to create html-list from this table.
    How can I select from that table the structured output with TAGs "UL" "LI":
    <ul><li>root
    <ul>
    <li>branch 1
    <ul>
    <li>lief11</li>
    <li>lief12</li>
    </ul>
    </li></ul>
    <ul>
    <li>branch 2</li></ul>
    </li></ul>
    Sql-Guru, please, help!
    Message was edited by:
    natalia.demidchick
    Message was edited by:
    natalia.demidchick
    Message was edited by:
    natalia.demidchick
    Message was edited by:
    natalia.demidchick
    Message was edited by:
    natalia.demidchick

    Yes there was a mistake
    Try this. It should be good
    Processing ...
    CREATE TABLE TAB_A AS (
         SELECT 'ROOT' AS NAME,1 AS ID,NULL AS PARENT FROM DUAL
         UNION ALL
         SELECT 'BRANCH1' AS NAME,2 AS ID,1 AS PARENT FROM DUAL
         UNION ALL
         SELECT 'BRANCH2' AS NAME,3 AS ID,2 AS PARENT FROM DUAL
         UNION ALL
         SELECT 'LIEF1' AS NAME,4 AS ID,2 AS PARENT FROM DUAL
         UNION ALL
         SELECT 'LIEF2' AS NAME,5 AS ID,2 AS PARENT FROM DUAL
         UNION ALL
         SELECT 'BRANCH3' AS NAME,6 AS ID,1 AS PARENT FROM DUAL
         UNION ALL
         SELECT 'LIEF3' AS NAME,7 AS ID,2 AS PARENT FROM DUAL
         UNION ALL
         SELECT 'BRANCH5' AS NAME,8 AS ID,1 AS PARENT FROM DUAL
         UNION ALL
         SELECT 'LIEF4' AS NAME,9 AS ID,8 AS PARENT FROM DUAL
         UNION ALL
         SELECT 'LIEF5' AS NAME,10 AS ID,3 AS PARENT FROM DUAL
         UNION ALL
         SELECT 'LIEF6' AS NAME,11 AS ID,3 AS PARENT FROM DUAL
    Processing ...
    SELECT *
    FROM TAB_A
    Query finished, retrieving results...
       NAME                      ID                                   PARENT                
    ROOT                                            1                                       
    BRANCH1                                         2                                      1
    BRANCH2                                         3                                      2
    LIEF1                                           4                                      2
    LIEF2                                           5                                      2
    BRANCH3                                         6                                      1
    LIEF3                                           7                                      2
    BRANCH5                                         8                                      1
    LIEF4                                           9                                      8
    LIEF5                                          10                                      3
    LIEF6                                          11                                      3
    11 row(s) retrieved
    Processing ...
    CREATE GLOBAL TEMPORARY TABLE TEMP_TAB AS (
         SELECT LEVEL AS LV,ROWNUM AS RN,A.*
         FROM TAB_A A
         WHERE (1=0)
         START WITH PARENT IS NULL
         CONNECT BY PRIOR ID = PARENT
    Processing ...
    INSERT INTO TEMP_TAB
         SELECT LEVEL AS LV,ROWNUM AS RN,A.*
         FROM TAB_A A
         START WITH PARENT IS NULL
         CONNECT BY PRIOR ID = PARENT
    11 row(s) inserted
    Processing ...
    SELECT *
    FROM TEMP_TAB
    Query finished, retrieving results...
                      LV                                     RN                      NAME                      ID                                   PARENT                
                                         1                                      1 ROOT                                            1                                       
                                         2                                      2 BRANCH1                                         2                                      1
                                         3                                      3 BRANCH2                                         3                                      2
                                         4                                      4 LIEF5                                          10                                      3
                                         4                                      5 LIEF6                                          11                                      3
                                         3                                      6 LIEF1                                           4                                      2
                                         3                                      7 LIEF2                                           5                                      2
                                         3                                      8 LIEF3                                           7                                      2
                                         2                                      9 BRANCH3                                         6                                      1
                                         2                                     10 BRANCH5                                         8                                      1
                                         3                                     11 LIEF4                                           9                                      8
    11 row(s) retrieved
    Processing ...
    SELECT --LV,RN,1+(NVL(LAG(LV) OVER ( ORDER BY RN ASC),0)-LV+1) step,
         --lead(LV) OVER ( ORDER BY RN ASC NULLS LAST) next_lev,
         decode (lv-1,nvl(LAG(LV) OVER ( ORDER BY RN ASC),0),'<UL>','')||
         '<LI>'||NAME||'</LI>'||
         replace(
         RPAD(chr(10),1+(lv-NVL(lead(LV) OVER ( ORDER BY RN ASC),0))*5,'</UL>'),
         chr(10),
         ) AS HTML
    FROM TEMP_TAB A
    ORDER BY RN ASC
    Query finished, retrieving results...
                                          HTML                                      
    <UL><LI>ROOT</LI>                                                               
    <UL><LI>BRANCH1</LI>                                                            
    <UL><LI>BRANCH2</LI>                                                            
    <UL><LI>LIEF5</LI>                                                              
    <LI>LIEF6</LI></UL>                                                             
    <LI>LIEF1</LI>                                                                  
    <LI>LIEF2</LI>                                                                  
    <LI>LIEF3</LI></UL>                                                             
    <LI>BRANCH3</LI>                                                                
    <LI>BRANCH5</LI>                                                                
    <UL><LI>LIEF4</LI></UL></UL></UL>                                               
    11 row(s) retrieved
    Processing ...
    DROP TABLE TAB_A PURGE
    Processing ...
    DROP TABLE TEMP_TAB
    SELECT LV,RN,1+(NVL(LAG(LV) OVER ( ORDER BY RN ASC),0)-LV+1) step,
         lead(LV) OVER ( ORDER BY RN ASC NULLS LAST) next_lev,
         decode (lv-1,nvl(LAG(LV) OVER ( ORDER BY RN ASC),0),'<UL>','')||
         '<LI>'||NAME||'</LI>'||
         replace(
         RPAD(chr(10),1+(lv-NVL(lead(LV) OVER ( ORDER BY RN ASC),0))*5,'</UL>'),
         chr(10),
         ) AS HTML
    FROM TEMP_TAB A
    ORDER BY RN ASC
    /Bye Alessandro

  • Possible bug when rendered attribute set with EL

    I have the following outer panelform:
    <af:panelForm rendered="#{RoleSearch.roleSelected == RoleSearch.SUPERVISOR}">
    within this panelform i have a table and a selectone commandbutton,
    <af:commandButton text="Edit"
    action="#{RoleSearch.editDetails}">
    <af:setActionListener from="#{row.Userid}"
    to="#{processScope.userIdSelected}"/>
    </af:commandButton>
    don't worry about the parameter my action listener is settting.
    the problem is, when the commandbutton is encapsulated with an outer rendered component, it does not function, it does not trigger the action. if i manually set the rendered attribute to "true" things work fine.
    The components are displayed correctly, i.e. rendered correctly depending on my holder, however the commandbutton won't fire off the action when it is used like this.
    has anyone faced this problem before? is this a known issue?
    any help is much appreciated, i have had to write a few workarounds to resolve similar issues i have run into when developing with ADF BCs.
    thanks.

    Hi,
    i can't see any obvious problems with what you are doing especially considering that it works ok if you manually set the rendered attribute of the panelForm to true.
    Have you tried setting the rendered attribute at the command button level and leaving the panelForm rendered?
    Brenden

  • Crystal reports with static list parameter : blank dropdown menu

    Hi,
    I've created a very simple report displaying customer order (ordr and rdr1)
    it has :
    parameter DocKey@  used in the selection formula    DocKey@=DocEntry
    It also has another parameter : static list with 2 entries
          - 1 : normal presentation
          -  2 : proforma presentation
    The user has to choose between option 1 or 2 before displaying the report
    Using the report in the Crystal application is OK : i can choose between option 1 and 2 in a dropdown list
    If i use the Addin Menu // preview in SAP : i can choose in the dropdown menu
    If i import my report in SAP and i try to preview it : the dropdown menu is empty and i cannot select anything
    Anyone has the same problem ?
    I use SAp SBO 8.8 pl 00 hotfix 14
    I 've the same report worrking on a sap sbo 8.8 sp 00 pl 11
    thanks for your help

    Hi and thanks for your help
    I've tried with and without default values : no changes
    I've tested with the last pl (18) and it works fine : no blank dropdown menu , i can select a value for my static parameter !
    Edited by: Antoine TESSIER on Jan 6, 2011 11:47 AM

  • List with expandable categories

    SharePoint 2010
    I am trying to create a page similar to this one at our site:
    http://jobs.georgiasouthern.edu/facultystaff/perks/
    I'm unsure how to create the "Vendor Discount Categories" list with the expandable categories in SharePoint.  I already have all of the coupons/offers in an Announcements list.  I just need to break them down to categories.  Can
    anyone help?
    Any help is greatly appreciated.

    Try these links - 
    http://www.amrein.com/apps/page.asp?Q=5808
    http://spjquerywebparts.codeplex.com/wikipage?title=Accordion%20Web%20Part%20for%20Announcements%20List&referringTitle=Home
    http://spjsblog.com/category/accordion/
    https://social.msdn.microsoft.com/Forums/office/en-US/02f1d451-aaca-4708-8171-fc6e4d24d7d6/sharepoint-2010-accordian-style-quick-launch-menu?forum=sharepointcustomizationprevious
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Request help to display a list with parent and child list item.

    I created a static list with items A,B,C and a child item A1 under parent A. I chose the template "vertical Side bar list". I am using theme 10 (sand) for my application. I created page 0 and am displaying the list on page template region position2. I am able to see the side bar with options A,B,C. But am not able to see the child option A1 when I click on Option A. I tried using 'DHTML MENU WITH SUB LIST' but When I click on option A, the child entry A1 is showing over the B and C options. I know this might be a pretty basic functionality. I am new to APEX and am just learning. I appreciate any help you give me.

    Mr.Backstrom,
    I have changed the list template overide to dhtml Tree. And now the list is being displayed as vertical unordered list with bullets. Is it possible to take off the bullets? Thank you for your time.
    Suma.

  • Lists - hierarchical expanding

    Hi,
    I created a hierarchical list with template "hierarchical expanding". When I click on a list entry to go to a page, the tree will not remain expend to the List entry current. The tree will always shrink back to the hightest level. Is there a way to preserve tree expaned to current entry when go to a page?
    Thanks.

    Hi,
    What version of APex you are using?
    Do you mean the LIST template name is "hierarchical expanding" this?
    Thanks,
    Logaa

  • [svn] 3246: Fix fasttrack bug SDK-16910 - Simple List populated with strings throws RTE .

    Revision: 3246
    Author: [email protected]
    Date: 2008-09-17 15:31:25 -0700 (Wed, 17 Sep 2008)
    Log Message:
    Fix fasttrack bug SDK-16910 - Simple List populated with strings throws RTE. This is fallout from the Group/DataGroup split. DefaultItemRenderer now uses a TextBox instead of a Group to show the list data.
    QE: Any List tests that depended on the default item renderer to support anything other than text must be updated.
    Bugs: SDK-16910
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16910
    http://bugs.adobe.com/jira/browse/SDK-16910
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/DefaultItemRenderer.mxml

    BTW, I do not experience the bug you had mentioned at
    http://www.cs.rit.edu/~cxb0025/flex/TreeControlBugs.html
    Can submit a video of my actions recorded

  • How to maintain the state(opened/closed) of a Hierarchical expanding list

    Hi,
    I've created a list with template "hierarchical expanding". When I click on the list node to go to a page, page related to the node appears but the tree doesn't remain expanded. It always shrinks back to the highest level.
    Please suggest a solution.
    Regards,
    Gaurav.

    Hi,
    use a setPropertyListener to save the row key of this select item and then restore this key as the current selected key.
    Frank
    Ps.: I don't ask why you call clearForRecreate() on the iterator. I am sure you have a reason.

  • Hierarchical expanding list contracts when link is klicked

    I've got a hierarchical expanding list (a menu) with parent and child entries located on page zero.
    Two things are wrong with it.
    1. I dont want the parent entries (the ones that are displayed from the start) to be links. If I klick the + -sign next to them the list expands and show the child entries that are links to different pages. But if i klick the parent entries I get kicked to the login screen. I've set the parent entries to have Target type: -no target- but it doesn't work.
    2 When I klick a child entry I'm linked to the right page but the hierarchical expanding list contracts... I'd like it to be expanded the way it was when I cklicked the link.
    Could this be realated to the fact that it's located on page zero??? I've had some problems with page 0 before... But shouldn't you put a meny on page zero?
    I would appreciate any help you could give me.
    Edited by: andypandy on 2009-jun-16 06:21

    I've moved the menu from page zero to another page temporarily but it still misbehaves. Anyone have any ideas??
    Regards
    Andreas

  • How to control rendering logic of static list element defintion?

    We are using 10gR4 version of site studio and are working with region templates and element definitions. We created a reporters static lits element definition which contains 3 columns (Name, About, Details) and added that to Reporters region template. Next defined a place holder defintion and associated region defintion and the region template fo reporters. Finally I added that place holder onto a article template. In the contribution mode for article we were able to add reporters rows (static list). BUt in the presentation of article I don't to see any listing of reporters. How could I control the display of static list element defintions from the region template forreporters? I don't see a way I could retrieve the individual rows and columns of static list and display the the results. The detail column of static lits just contatin a link to toher content item which is contributed through other region template. I would like to display the contents of that content items in line in the reporters template by making a wcm-place_holder service call for the embedded content items. How to achieve this?
    Regards,
    Pratap

    You are not making a remote call. Take a look at java RMI for more  info:
    http://docs.oracle.com/javase/6/docs/api/java/rmi/package-summary.html
    You can do it using a change listener.
    Take a look at this thread: https://forums.oracle.com/thread/2554119
    Change your class name (Menu ).  There is already  a menu control:
    http://docs.oracle.com/javafx/2/api/javafx/scene/control/Menu.html  

  • [svn:bz-trunk] 18926: bug fix BLZ-570 Double linked list with lot of objects result in BlazeDS Error deserializing error  : StackOverflowError

    Revision: 18926
    Revision: 18926
    Author:   [email protected]
    Date:     2010-12-01 14:07:19 -0800 (Wed, 01 Dec 2010)
    Log Message:
    bug fix BLZ-570 Double linked list with lot of objects result in BlazeDS Error deserializing error : StackOverflowError
    We put hard limit to the max object nest level to prevent StackOverFlowError. the default max object nest level is 1024 and it can be configured in the endpoint/serialziation section in service-config.xml.
    This needs documentation.
    Checkintests pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-570
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/errors.properties
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/AbstractEndpoint.java
        blazeds/trunk/modules/core/src/flex/messaging/io/SerializationContext.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf0Input.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf3Input.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/AmfIO.java

  • [svn:bz-4.0.0_fixes] 20451: backporting bug fix BLZ-570/ BLZ-620 Double linked list with lot of objects result in BlazeDS Error deserializing error  : StackOverflowError  We put hard limit to the max object nest level to prevent StackOverFlowError .

    Revision: 20451
    Revision: 20451
    Author:   [email protected]
    Date:     2011-02-24 08:33:31 -0800 (Thu, 24 Feb 2011)
    Log Message:
    backporting bug fix BLZ-570/BLZ-620 Double linked list with lot of objects result in BlazeDS Error deserializing error : StackOverflowError  We put hard limit to the max object nest level to prevent StackOverFlowError. the default max object nest level is 1024 and it can be configured in the endpoint/serialziation section in service-config.xml. This needs documentation.  Checkintests pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-570
        http://bugs.adobe.com/jira/browse/BLZ-620
    Modified Paths:
        blazeds/branches/4.0.0_fixes/modules/common/src/flex/messaging/errors.properties
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/endpoints/AbstractEndpoint.j ava
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/SerializationContext.java
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/amf/Amf0Input.java
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/amf/Amf3Input.java
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/amf/AmfIO.java

    Dear Pallavi,
    Very useful post!
    I am looking for similar accelerators for
    Software Inventory Accelerator
    Hardware Inventory Accelerator
    Interfaces Inventory
    Customization Assessment Accelerator
    Sizing Tool
    Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
    Request help on such accelerators... Any clues?
    Any reply, help is highly appreciated.
    Regards
    Manish Madhav

  • [svn:bz-3.x] 20443: back porting bug fix BLZ-570/ BLZ-620 Double linked list with lot of objects result in BlazeDS Error deserializing error  : StackOverflowError  We put hard limit to the max object nest level to prevent StackOverFlowError .

    Revision: 20443
    Revision: 20443
    Author:   [email protected]
    Date:     2011-02-23 21:19:22 -0800 (Wed, 23 Feb 2011)
    Log Message:
    back porting bug fix BLZ-570/BLZ-620 Double linked list with lot of objects result in BlazeDS Error deserializing error : StackOverflowError  We put hard limit to the max object nest level to prevent StackOverFlowError. the default max object nest level is 1024 and it can be configured in the endpoint/serialziation section in service-config.xml. This needs documentation.  Checkintests pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-570
        http://bugs.adobe.com/jira/browse/BLZ-620
    Modified Paths:
        blazeds/branches/3.x/modules/common/src/java/flex/messaging/errors.properties
        blazeds/branches/3.x/modules/core/src/java/flex/messaging/endpoints/AbstractEndpoint.java
        blazeds/branches/3.x/modules/core/src/java/flex/messaging/io/SerializationContext.java
        blazeds/branches/3.x/modules/core/src/java/flex/messaging/io/amf/Amf0Input.java
        blazeds/branches/3.x/modules/core/src/java/flex/messaging/io/amf/Amf3Input.java
        blazeds/branches/3.x/modules/core/src/java/flex/messaging/io/amf/AmfIO.java

  • Dynamic select list with one static 'not_listed" option

    Hi guys,
    I want to create a dynamic select list with one static 'not_listed' option.
    One possible alternative is to add the 'not_listed' record into database, but I really dont want to go that way unless there is no other way around.
    Can anyone shed some lights on this?
    Many thanks,
    William

    As usual : "It depends"...
    If you have a foreign key defined on that field, Scott's reply won't work - unless you define '0 - Not listed' in the database. You can use selec 'not listed' d, to_number(null) r from dual though...
    Another - more declarative way - is in the on 'Edit Page Item' page, in the 'List of Values' region set 'Display Null' to 'Yes' and 'Null Display Value' to ' - Not listed - '.
    Roel

Maybe you are looking for

  • Indexing Multiple columns Doesn't work

    Here's some help for those of you struggling with the interMedia sample code for: "Faster Multi-column Text Searches" Basically, after you have run the code cdstore.sql as CTXSYS and granted CTXAPP to whoever, you are now in a position to create your

  • Xcelsius 2008 Service Pack 1, Fix Pack 1 is now available

    Hello, FP1 is now available and posted on the Business Objects download support site. You can access it here: <a href="https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm">https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ

  • How to create the fact table

    pleae let me know how to create the fatc table by using pl/sql packages Edited by: 792988 on Sep 6, 2010 3:34 AM

  • Please can you help with my problem ??

    PS elements download - could not be opened - illegal seek??

  • IPhoto 9.4.2 update completes but isn't recognized by app store

    I have a macbook pro running OS X 10.8.2. After successfully installing the latest iPhoto update, the app store still thinks the update isn't installed. Within app store update page, there's one update t install, iPhoto 9.4.2 is listed but then to th