APEX 4 checkbox tree template

Hello,
why is no more available the checkbox tree template?
is there a workaround to obtain the same result starting from the classic template?
Thank you,
matteo

Oracle - can we not at least have what you had working for check boxes so we can try to extend it to our needs.????
We have a great need for the ability to show what was checked, we can use AJAX to do whatever process...
Any help is much appreciated... :>)
Thanks, Bill

Similar Messages

  • Scrollbar in a classic Apex 4.1 tree

    In Apex 4.1 it looks like it is not possible for a new Apex 4.1 tree to adjust its template HTML settings.
    It can't be found in the shared components for instance.
    To be able to change some of the html style settings you can add a javascript in the "Execute when Page Loads" javascript settings of the page where the tree is located.
    Here is an example of adding a scrollbar to an Apex 4.1 tree:
    // Get div element of the tree. You can use firebug to determine the id of the tree
    d = document.getElementById('tree160968347950446047');
    // Show scrollbars when the tree data extends the maximum height
    // If you only need a vertical bar you can use 'overflowY' instead
    d.style.overflow="auto";
    // Set the width of the tree
    d.style.width="500px";
    // Set maximum height of the tree
    d.style.maxHeight="460px";
    // Microsoft Internet Explorer ignores the maxHeight style. So use height instead.
    // To avoid that the other browsers use this height style, give the height 1 px more than the maxHeight
    d.style.height="461px";
    Regards,
    Mathieu

    Hi Mathieu,
    Any chance that you might know the code to move the selected tree node to the top of the scrollbar region? I've done it previously as per
    APEX Tree.  Keep focus on expanded leaf node.
    but don't know where to put all this code now that we do not have access to the tree templates in V4+
    regards
    Paul P

  • 3 State CheckBox Tree

    I just downloaded the 3 State CheckBox Tree custom control
    from the Flex dev exchange a few moments ago. I put the code into a
    Flex prject, compiled it and ran it pretty much unchanged. When I
    click on any of the tree controls I get the error message:
    ArgumentError: Error #2025: The supplied DisplayObject must
    be a child of the caller.
    at flash.display::DisplayObjectContainer/getChildIndex()
    at mx.managers::SystemManager/getChildIndex()
    at mx.managers::SystemManager/::mouseDownHandler()
    Anybody else download this tag and have a problem like
    this???
    Have an Ordinary Day...
    KomputerMan ~|:-)

    O.K. I pulled the downloaded component inside an existing
    application and ran it from there. The problem was that the
    downloaded component had a <mx:Application...> tag in it
    which gave me two templates with the <mx:Application ...>
    tag. Flex didn't like this too much. After I renamed the
    <mx:Application...> tag in the downloaded component to
    <mx:Canvas...> life was good. One of those duh moments...
    DUH!!! :)
    Have an Ordinary Day...
    KomputerMan ~|:-)

  • Checkbox Trees

    Hi All,
    I have a requirement that I feel would be best implemented with a tree if I can get the functionality working.
    First off I am on apex 4.2.2.00.11.  I implemented a solution for creating a checkbox tree that Alex Nuijten https://plus.google.com/118115428098299370580 discussed in his blog from 7/23/2013.  I then added in the drag and drop functionality that was discussed in forum thread https://forums.oracle.com/thread/2274874.
    Now I have a tree that has the chechboxes and the ability to reparent a node through drag and drop.  The problem I now have is in trying to save the changes and acting upon the checked nodes.  When I check a node I would like to perform an action in the database.  Unfortunately I am drawing a blank on how to reference the nodes.
    Just wondering if anyone might have any ideas on how to do this?
    Thanks for your time.
    Tom

    Remy Suen wrote:
    > On Wed, 16 Sep 2009 13:27:05 +0000, amay wrote:
    >> I am using checkboxtreeviewer in my application. I want it to behave
    >> like other checkbox trees in Eclipse IDE. When user checks parent
    >> checkbox, all its child item checkboxes should get checked, if any child
    >> item is checked, its parent item should get grayed and when all the
    >> child items are checked then parent should get automatically checked and
    >> so on.
    > I think you want ContainerCheckedTreeViewer?
    > http://help.eclipse.org/stable/nftopic/org.eclipse.platform. doc.isv/
    > reference/api/org/eclipse/ui/dialogs/ContainerCheckedTreeVie wer.html
    > Regards,
    > Remy
    Thank you Remy,
    This is exactly what I wanted.
    -amay.

  • Populating apex item checkbox in report row based on database value

    Hi All
    I am looking for help setting an apex item checkbox to 'checked' depending on a record exisiting in a database and I would appreciate a little guidance.
    At the moment I have a report which looks a bit like this
    SELECT licence_user_identifier,
    description,
    licence_name,
    apex_item.checkbox(22,licence_id)
    FROM TABLE(SOL_LICENCE.F_RETRIEVE_ORG_LICENCES ( 121 ));
    4 columns and the last column is a checkbox called 'assign' and is used to assign the selected licence to a user(who is already displayed on the page in another table). There is save button which when clicked saves a record to the database if the checkbox is selected.
    However when the page is displayed the checkbox should be prepopulated/checked if there is a record in the database saying that the licence is assigned to the current user. I have created a page process to try and collect this information and populate the checkboxes on load - before header. However I am having difficulty referencing the apex_application item the corresponds to each row because when I use the FOR i IN 1 .. apex_application.g_f22.COUNT LOOP it only selects the item if it is checked. Can anyone point me in the right direction?
    here is the process I have to populate the checkboxes, it is not getting to my flow.debug as there are no selected checkboxes:-(
    DECLARE
    v_count     NUMBER;
    CURSOR getlicences (p_co_id so05.co_id%TYPE)
         IS
    SELECT     licence_id
    FROM     so05_cust_org_licences
    WHERE     co_id = p_co_id;
    BEGIN
         IF :p9_co_id IS NOT NULL
         THEN
              FOR each_rec IN getlicences (:p9_co_id)
              LOOP
                   --check if a record exists
                   SELECT     COUNT ( * )
                   INTO     v_count
                   FROM     so05_cust_org_licences
                   WHERE     co_id = :p9_co_id AND licence_id = each_rec.licence_id;
    --if the record exists populate the checkbox
                   IF v_count > 0
                   THEN
                        FOR i IN 1 .. apex_application.g_f22.COUNT
                        LOOP
    wwv_flow.debug ('bbbbbbbbbbccccccccccandwearein' || v_count);
                             IF apex_application.g_f22 (i) = each_rec.licence_id
                             THEN
                                  apex_application.g_f22 (i) := 1;
                             END IF;
                        END LOOP;
                   END IF;
              END LOOP;
         END IF;
    END;
    Thanks in advance
    Lynn

    Hi,
    Sorry my mistake. You can use the above link only to solve this problem, for this you have to use a hidden column to which you will assign 'Y' or 'N' as mentioned in that post.
    using that hidden column value you can fire your query accordingly.
    let's say your hidden column is f01 and checkbox column is f02 and the id column is f03, you can do like this
    create a process before your update process like this
    BEGIN
        -- Reset the hidden ADMIN_USER flag for all visible records to N
        -- Note: g_f01 maps to the hidden ADMIN_USER column
        FOR ii IN 1 .. APEX_Application.g_f01.COUNT
        LOOP
            APEX_Application.g_f01(ii) := 'N';
        END LOOP;
        -- Set the hidden ADMIN_USER flag for those records where the
        -- checkbox has been set by the user to Y
        -- Note: g_f02 is the checkbox column ADMIN_USER_CHECKBOX
        FOR ii IN 1 .. APEX_Application.g_f02.COUNT
        LOOP
            APEX_Application.g_f01(APEX_Application.g_f02(ii)) := 'Y';
        END LOOP;
    END;then write a new process positioning after above process
    if apex_application.g_f01 = 'Y' then
      your update query using id column (f03)
    else
      your delete query using that id column (f03)
    end if;hope this helps you.
    Thanks
    Tauceef

  • A checkbox tree control

    Hi All,
    I need to create a checkbox tree control to show the user and make him select the directory listing of application-home on the server side. I have a solution wherein I have to submit the page every time the checkbox is clicked, but that is not efficient.
    I need to select all the child node checkboxes once the parent checkbox is selected and well I need to show the parent checkbox greyed if even one child is not selected and show the parent deselected if all child nodes are unclicked.
    Please Help...
    Thanks
    Ultimate.

    U can handle all these by JavaScript. there's no time to sit and write code fer u, just try to show the way!
    do some search on huge set of javascript codes/sample on net to handle those things.
    --Behrad                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Trying to get my head around lists, sub-lists and DHTML Tree Template

    I'm missing something..
    1) I create a list using the DHTML tree template
    2) I create the following list entries
    A
    ...1
    ...2
    ...3
    B
    C
    Lists entries 1,2 and 3 have the "Parent List Entry" set to "A"
    List entries A,B and C have the "Parent List Entry" set to "No Parent..."
    3) I create a list region and select the above list
    How do I make A a label or heading and not a link? If I click on a heading I expect the list to expand.
    How do you set up the lists as shown in Carls demos at
    http://htmldb.oracle.com/pls/otn/f?p=11933:31
    regards
    Paul P

    Hi Paul,
    In the list definition, you can set the "Target Type" for the headers to " - No Target - ".
    Regards
    Andy

  • Checkbox Tree

    In old threads about new tree functionality in 4.0 I see examples of the Checkbox Tree, however, in the final version when I create the tree I do not see this option. Was it dropped from final release or am I doing something wrong?

    Hi All,
    I just came across this code that searching the forum for "tree", one of the first posts.
    It is not showing correctly below so go to this link and look at original:
    Tree Formatting
    It allows the HTML tags to be interpretted as HTML tags...
    /* getElementsByClass from http://bit.ly/dj8Xk8 */
    function getElementsByClass( searchClass, domNode, tagName) {
         if (domNode == null) domNode = document;
         if (tagName == null) tagName = '*';
         var el = new Array();
         var tags = domNode.getElementsByTagName(tagName);
         var tcl = " "+searchClass+" ";
         for(i=0,j=0; i<tags.length; i++) {
              var test = " " + tags.className + " ";
              if (test.indexOf(tcl) != -1)
                   el[j++] = tags[i];
         return el;
    function fixTreeHTML() {
         var treeParts = new Array("leaf","open","closed");
         for( p=0; p < treeParts.length; p++ ) {
              var nodes = getElementsByClass(treeParts[p],document,'li');
              for( i=0; i < nodes.length; i++ ) {
                   var ihtm = nodes[i].innerHTML;
                   ihtm = ihtm.replace(/& lt;/ig,"<"); // there is a space & lt just to post on forum
                   ihtm = ihtm.replace(/& gt;/ig,">"); // there is a space & gt just to post on forum
                   nodes[i].innerHTML = ihtm;
    Edited by: BillC on Oct 25, 2010 2:32 PM

  • Checkbox Tree in JavaFX

    Does anybody has an idea where I find an example for a checkbox Tree? Thx

    There is no Checkbox Tree control in JavaFX (as of now). I've written one long time back in Java. You could adopt it to use in JavaFX as a swing component.
    [http://winstonprakash.com/sources/java2html/tree/JCheckBoxTree.java.html]
    [http://winstonprakash.com/sources/java2html/tree/JCheckBoxTreeTester.java.html|http://winstonprakash.com/sources/java2html/tree/JCheckBoxTree.java.html]

  • Apex 4.2 CKEditor template hit some errors

    Dear all,
    The first issue is my CKEditor templates work well in Apex 4.1, but after upgrade Apex4.1 to Apex4, click template icon and tick "Replace actual contents" and select my own template, the template has no response. if I un-select "Replace actual contents", my template works fine.
    The second issue is if I un-select "Replace actual contents", my template content is displayed in textarea, then I save it to database, the page(let's say page1) is redirected to another page(let's say page2). In page2, there is button "Edit", click "Edit", page1 is opened and load data to textarea, but page1 appears to hang and gives a message that a script has stopped working :
    Script: http://server/i/libraries/ckeditor/3.6.4/ckeditor.js:29
    Thanks in advance.
    Maggie

    Hi,
    Sorry for the delay and here are my findings and am unable to reproduce your issue. I have a Apex Upgrade and running on version 4.2.1.00.08.
    The steps which i followed are below.
    1. Copied the Templates under plugins/templates/templates/default.js to mytemplate.js and modified the content of mytemplate.js to the following
    // Register a template definition set named "default".
    CKEDITOR.addTemplates( 'default',
        // The name of the subfolder that holds the preview images of the templates.
        imagesPath:CKEDITOR.getUrl(CKEDITOR.plugins.getPath('templates')+'templates/images/'),
        // The template definitions.
        templates :
                    title: 'My Template 1',
                    image: 'template1.gif',
                    description: 'Description of My Template 1.',
                    html:
                        '<h2>Template 1</h2>' +
                        '<p><img src="/logo.png" style="float:left" />Type your text here.</p>'
                    title: 'My Template 2',
                    image: 'template2.gif',
                    description: 'Description of My Template 2.',
                    html:
                        '<h3>Template 2</h3>' +
                        '<p>Type your text here.</p>'
    });Step 2: Modified 3.6.4/config.js and added the following entry config.templates_files = [ CKEDITOR.plugins.getPath( 'templates' ) + 'templates/mytemplate.js' ];
    so your config file will look like
    CKEDITOR.editorConfig = function( config )
        // Define changes to default configuration here. For example:
        // config.language = 'fr';
        // config.uiColor = '#AADC6E';
        config.templates_files = [ CKEDITOR.plugins.getPath( 'templates' ) + 'templates/mytemplate.js' ];
    };Step 3: Since i am using Embedded PL/SQL gateway modified imagelist.xml added the entry (for the mytemplate.js)
           <file>/libraries/ckeditor/3.6.4/plugins/templates/templates/mytemplate.js</file>        just below the following entry
      <file>/libraries/ckeditor/3.6.4/plugins/templates/templates/default.js</file>Step 4: Ran the apxldimg.sql with the necessary parameters and no issues.
    Step 5: Ran the page which has TextArea and clicked on the Templates icon can see the two custom templates which was added to mytemplates.js and selected one of the them with the "Replace Actual Contents" checkbox checked or selected, can see the content in the TextArea and submitted the page to Page 2 and clicked on the button which redirects back to page 1. I can see the HTML Template content in the textArea no issues.
    Step 6: The above step also tested with "Replace Actual Content" checkbox unchecked or not selected, works fine without errors or issues.
    The above testing is done on IE, FF, Chrome and Safari browsers.
    The issue maybe because of Browser cache, recommend to clear the browser cache and try again, also check whether the necessary entries and references in the config.js and mytemplates.js files are proper.

  • Possible Bug in APEX 4.1 Tree Region

    Hello Everybody,
    I am developing an APEX application and want to add a navigation tree.
    So I downloaded the Oracle packaged sample application "Sample Trees".
    I created a tree region like the tree on page "Project Tracking" and realized that the lines at the left of the images were not visible in my application (to be exact: on root level they they are concealed by the bitmaps).
    The reason is that my application uses the a different page template (No Tabs, Left and Right Sidebar, Theme 24 Cloudy).
    The "Sample Tree" application (which has a reduced set of page templates) uses a template without sidebars (same Theme).
    I was able to reproduce this error by switching the page template in the Oracle "Sample Tree" application to "Two level Tabs, Right Sidebar).
    When I do so the tree line on root level disappear in the sample application also.
    As I want to use a sidebar page template and want to use a navigation tree...
    does anybody know a workaround for this behavior ?
    I am using Chrome and Firefox on MacOS and the behavior ist the same in both browsers.
    Thank very much ...
    Telemat
    Edited by: telemat on 03.08.2012 10:19

    Hi,
    I do not have access to your apex.oracle.com application to see what happens when the page template is changed.
    It appears to render identical for various page templates in my local instance. I even tried with custom icons, 24-Cloudy. I am unable to spot the missing lines. Or, I do not see them rendered in any of the page templates ( corollary).
    What appears to me on your apex.oracle.com application is that you are using icon that are not in the three options in the tree wizard (Blue/Classic/Default).
    Moreover, your Tree does not have a single root that is displayed.
    So, you either need to give access to your apex.oracle.com workspace for someone to try changing the template and see what is happening. Or, you need to describe how to locate the lines that find go missing.
    Cheers.
    PS : I am checking with FF 14 on Windows
    Edited by: Prabodh on Aug 6, 2012 5:13 PM

  • Apex 3.2 Tree Dynamic Source

    Hello,
    I am looking for an example or any code snippet to have a logic PL/SQL souce in a tree in APEX 3.2.
    IF condition = A
    SELECT * FROM tbl where <condition1>
    ELSE IF condition = B
    SELECT * FROM tbl where <condition2>
    END IF
    Is this possible in tree source ? How and what Source type to use : PL/SQL Function or Expression | PL/SQL Function Body | SQL Query ? Please let me know if you have ideas ?
    Regards,
    Eric

    Hi,
    Dynamic actions are introduced on Apex 4 and there is not anything similar on Apex 3.2.
    But you can write your own JavaScripts. See e.g. this
    Apex 3.2 hook javascripts to IR and execute those when report is refreshed
    Regards,
    Jari

  • Not able to upload file in ApEx 4.2 (Mobile Template)

    Hi all,
    I try to upload an image file into a blob column in my custom table on apex.oracle.com (release 4.2), by using the file browse item.
    When I use a normal template, it works. When I use the mobile template, my file isn't uploaded.
    Is this a known bug? Or am I doing someting wrong?
    Thanks for your help!

    Never mind, I was able to reproduce the problem.
    I think the root problem is that AJAX submits don't support uploading a file. As a workaround add the following into the "Execute when Page Loads" (region JavaScript) attribute of the page with a page item of type "File Upload".
    $("#wwvFlowForm", apex.gPageContext$).attr("data-ajax", false);This will tell jQuery Mobile to not use AJAX to submit the data and instead perform a regular submit.
    Note: This will disable the visual page transition effect.
    I will file a bug to get this fixed in the first patch set. Thanks for letting us know!
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • CheckBox Tree Component

    Hye guys,
    I need a custom tree component for some xml elements that represent some files and their attributes. I have written one such component but what I need now to add to this component is Checkboxes.
    The user is supposed to select files from this Tree component via these chk boxes.
    Can someone point me in the direction of such an existing Tree component.
    Or if I have to write one how do I go about it.
    Pls donot point me to the Java tutorial. I read it but I still have a very very vague idea, if any idea at all, of doing this.
    Regards

    worth a look
    http://forum.java.sun.com/thread.jsp?forum=57&thread=122006

  • Apex 4.0 tree does not work with more than 2 levels.

    When I have more than 2 levels in my tree, I only see the root node. The query works fine and returns 132 rows when I run it in SQL. It is just the tree that does not work.
    The same tree when built in 3.2 works fine.
    This is my tree query:
    select case when connect_by_isleaf = 1 then 0
    when level = 1 then 1
    else -1
    end as status,
    level,
    "NAME" as title,
    null as icon,
    "ID" as value,
    null as tooltip,
    null as link
    from (
    SELECT '__TOP_NODE__' id
    , NULL pid
    , 'BI Applications' name
    , '' link_id
    , null a1
         , null a2
    FROM dual
    1 b) BIA Modules
    UNION ALL
    SELECT '__MD_'||module_key id
    , '__TOP_NODE__' pid
    , module_name name
    , module_key link_id
    , '__MD__' a1
         , null a2
    FROM c_bia_module
    Level = 2
    Parent = Module
    Node = Functional Areas
    ID = '__FA_' prefixing functional area code
    UNION ALL
    SELECT '__FA_'||funcarea_key id
    , '__MD_'||module_key pid
    , funcarea_name name
    , funcarea_key link_id
    , '__FA__' a1
         , null a2
    FROM c_functional_area
    Level = 3
    Parent = Functional Area
    Node = Fact Group
    ID = '__FG_' prefixing fact group key
    UNION ALL
    SELECT '__FG_'||factgroup_key id
    , '__FA_'||funcarea_key pid
    , factgroup_name name
    , factgroup_key link_id
    , '__FG__' a1
         , null a2
    FROM c_fact_group
    start with "PID" is null
    connect by prior "ID" = "PID"
    order siblings by "NAME"
    If I reduce the query to just use two levels like:
    SELECT '__TOP_NODE__' id
    , NULL pid
    , 'BI Applications' name
    , '' link_id
    , null a1
         , null a2
    FROM dual
    1 b) BIA Modules
    UNION ALL
    SELECT '__MD_'||module_key id
    , '__TOP_NODE__' pid
    , module_name name
    , module_key link_id
    , '__MD__' a1
         , null a2
    FROM c_bia_module
    It works fine. Can somebody let me know what I am doing wrong? Is there a way to set the number of levels supported in 4.0?

    Hi Vidya,
    Thanks for posting your example. You may want to remove your workspace details from the previous posting, or at least update the password on the workspace. I've taken a look at your example and initially couldn't see anything wrong with your tree query. However, when I ran your query in SQL Workshop, it only returned one row, which would explain why you were only seeing one node in your tree! I've updated your query to use a WITH clause, and the tree is now working correctly. I believe you've hit an underlying database bug where the CONNECT BY query is only returning 1 row, when in fact it should return > 1 row. By re-writing the query to use a WITH clause, you can get around the problem.
    Regards,
    Hilary

Maybe you are looking for

  • How do I set up a new router for my macbook?

    I am living in South Korea and recently just bought a new unicorn router. I followed all of the instructions. I went to the IP address that it listed, typed in all of my IP information that was on my mac and I just can't get it to work. Has anyone el

  • How to restrict the users specific cost center/profit center in FBCJ transaction.

    Hello Guru's We have created multiple profit centers across india. So I would like to restrict area wise profit center to use the users. ex ; I have created for MUMBAI M001 to M009 range and for Hyderbad I have created H001 to H009. So my requirement

  • Fcp X share export media export video & audio but I simply can't work with audio

    I simply wanna (and even tried to) save a movie using whichever codec, I make sure to set it up on "export video & audio", but I cannot do anything on audio since the audio file format won't be highlighted (just like if there was no sound on a video

  • Ipod 4g goes black out while playing games

    i dont know whether you guys have experinced this but my ipod 4g goes black out while playing some games. its like when im playing games half way, the ipood will auto close the app that im playing. Does this means that my ipod is having problem? Btw

  • Problems Import Preflight Profile

    Hi guys, A friend of mine who works at doing Pre-press adjustments sent me a Preflight Profile .kpf file. I uploaded the file at http://dl.dropbox.com/u/641112/dani%20perfil%20imprenta.kfp The profile was made with Acrobat Professional 9 for Windows.