A sample tree 6i

Hello

Anyone has a sample form for a sample tree load the data in a table?

Kind regards

Abdetu...

Abdetu wrote:
Well, the most important now trying to create a new node by using the following code obtained assistance:

-- This code copies a value from a Form item and
-- adds it to the tree as a top level node.  The
-- value is set to be the same as the label.

DECLARE
htree         ITEM;
top_node      FTREE.NODE;
new_node      FTREE.NODE;
item_value    VARCHAR2(30);

BEGIN

-- Find the tree itself.
*htree := Find_Item('tree_block.htree3');*

You pass an incorrect item to the built-in FIND_ITEM name.

You try to find the ID of an non existing tree element, I guess your item in the tree is not called tree_block.htree3
It is called TREE_BLOCK_TEST. TREE13
Try using this:

HTREE := FIND_ITEM('TREE_BLOCK_TEST.TREE13');

Tony

Published by: Tony Garabedian on September 9, 2008 13:33

Tags: Oracle Development

Similar Questions

  • Improvements to the sample gears

    improvements to the new sample of waterfalls 10.3 gears

    https://github.com/BlackBerry/Cascades-samples/tree/master/gears

    My commit:

    https://github.com/EKKE/Cascades-samples/commit/02051efc6dd5e02e61f63fb491d4b03f5d87ecbf

    Unfortunately realized that long ago I did a fork of a forj of waterfalls-samples, so I couldn't create a request from github

    With the help of my code changes:

    * you don't need a button to recenter

    * focus has been after that Page was created by a discipline QTimer

    * FocusRetentionPolicy.LoseToFocusable fixed gear container

    Now you can automatically drag after starting the application

    AND you do not lose the focus it by tapping on the screen

    @Mark Sohm: maybe the developer can insert this?

    Hey God, I made a request to draw for you. I was in the same boat with an old fork, but if you delete, then re-fork the repo, it seems to work without any problems connecting your local repo to the GitHub fork.

  • Impossible to clone any code sample of BlackBerry of GitHub (on Windows at least)

    GitHub recently brought significant changes to their web site and workflow. It was that you could clone any public repository simply by downloading a ZIP file of the entire project.  It is no longer available, and now the only way to clone a repository must be running a git clone of the command line, or use the new GitHub application, which is much easier to use occasional (and not irritable). Or other method now requires to have an account on GitHub, so I advanced and created a new.

    Generally, the simplest workflow is to launch the GitHub application (not sure if this is true for non-Windows platforms), then use a browser to navigate to the repository on GitHub and drag the token "GitHub Inc." to the far left of the navigation bar of the browser on the GitHub application screen.

    At this point GitHub is supposed to appear a window asking where you want to clone the repository to locally. This happens for ALL the code examples in BlackBerry. Instead, you get a window that displays a message like this:

    The log file is completely useless, since it only contains entries on the GitHub application startup, do not attempt cloning. I pulled my hair for two days trying to solve this, thinking that my GitHub configuration was corrupted somehow, since I hadn't used for cloning any other depositary before the BlackBerry I have tried. For some reason any at 03:00 one morning that all of a sudden, I wondered if all other repositories might work, so I tried a few public ones as a cloning experiment. To my surprise, they were all cloned perfectly. Other tests revealed that ANY non-BlackBerry repository, I tried would be perfectly, clone while NONE of the BlackBerry code those would clone example. I tried since with repositories of the sample of BB at least a dozen, all with the same negative results.

    As I said, the other way to clone a repository with git clone CLI command or use a tool such as TortoiseGit, actually running a git clone under the hood. Anyway, trying to clone a repository of sample BB the command indicates that there is no repository at the specified URL.

    Many of the sample of BlackBerry apps can be downloaded from the home page Momentics, but many less popular are not included and only can be cloned from the GitHub site. Given that it is impossible, it's a show total Cap unless you want to watch one of the most common of the homepage.

    Here are a few deposits NON-BlackBerry which clone perfectly using the two methods I describe above:

    https://github.com/colinsc/Koha/

    https://github.com/pianohacker/Koha

    https://github.com/bendc/Sprint

    https://github.com/mikeflynn/egg.js

    https://github.com/square/keywhiz

    https://github.com/CoderMJLee/MJExtension

    These are all repositories just randomly from several sources with nothing in common except that they are public GitHub repositories. All clone them easily. Now try to clone ANY repository of sample of BlackBerry. This one, for example...

    https://github.com/BlackBerry/Cascades-samples/tree/master/cascadescookbookcpp

    Cloning will fail. Can someone at BlackBerry please look at this?

    IIRC, you need to clone the whole samples, they are not available as individual projects.
    (may be unrelated to your question, I haven't checked it)

  • Cannot build the sample application headlesservice.

    downloaded the two service without head and UI sample app and imported 10.2 sdk.

    When you build the release version for app headlesservice it gives this error message

    Package failed: 1
    Error: Path access valid asset "active".
    (Point of the error: MD 31 October 2013 16:53:40)

    If I remove the current item in the asset, then the following error message

    Package failed: 1
    Error: Path access valid asset 'arm/o.le-v7-g/headlesservice.so '.
    (Point of the error: MD 31 October 2013 16:49:44)

    https://github.com/BlackBerry/Cascades-samples/tree/master/headlesservice

    garydev wrote:

    What version of the IDE are you running?  (version 10.2.x?)  Please notify.

    g

    SDK 10.2.1 bulid #201308081807 is not the Gold version.

  • CascadesCookBookQml sample

    Everyone was able to build CascadesCookBookQml project by https://github.com/blackberry/Cascades-Samples/tree/master/cascadescookbookqml recently? I find that this is impossible unless I have change some project files. On the other hand, this example should be so popular and nobody complains * confused *.

    OK, got it. This record of mk etc. is to install the NDK.

    Sorry for the dummy post apparently my ways not were not configured appropriately, so my NDK could not find this mk.

  • How to download this sample?

    How to download this sample? all of the tools to use to download the directory?

    https://github.com/BlackBerry/BB10-WebWorks-community-samples/tree/master/Ant-build-script/tools

    found the download link on the right side.

  • webmapview on the bug of waterfalls-samples

    of https://github.com/blackberry/Cascades-Samples/tree/master/webmapview

    I had

    I dunno if everyone in the face of this bug?

    can someone help me solve I already try to use the default size on qml and even css it self but did not help

    I already create problem on github https://github.com/blackberry/Cascades-Samples/issues/113

    It seems that I am also facing the same issue - http://supportforums.blackberry.com/t5/Cascades-Development/webview-10-1-0-273-10-1-0-1435-showed-as...

  • When I tried to run the sample App "Weather" on ripple Packager for OS 7.0 Bb I got the error

    When I tried to run the sample App "Weather" on ripple Packager for OS 7.0 Bb I got the error

    Oh, Snap! Build request failed with the message: [ERROR] feature is not found in any extension (blackberry.ui.Spinner)

    What should be done to avoid the mistake and build/package for the web app and run it on the device?

    You need install the SpinnerControl extension.

    See "Dependencies" sample weather README on Github:

    https://github.com/BlackBerry/WebWorks-samples/tree/master/weather

  • How to get the value of the tree node without reloading the Page. !

    Hello
    I worked with apex 4.2 and I've created trees and as a table to retrieve the date according to the value of the tree node select the code tree something like that

    {
    Select case when connect_by_isleaf = 1 then 0
    When level = 1 then 1
    of another-1
    end the status,
    level,
    'ENAME' as the title,
    NULL as an icon,
    'EMPNO' as value,
    NULL as ToolTip,
    ' f ? p = 36648:34:5234984107903:P40_SELECTED_NODE :'|| EmpNo as link
    "Dept". "" EMP ".
    Start by "MGR" is nothing
    connect prior "EMPNO" = "MGR".
    siblings arrested by 'ENAME '.
    }
    and I put the Page selected node element: P40_SELECTED_NODE. the tree worked well and recover the data in tabular form according to the value of tree node

    My Question:
    1. I want to recover the data without submitting the page where whenever I select the value of the tree make page reload to update the tabular presentation with the new value, there is a way to convey the value of the tree node to point P40_SELECTED_NODE and in the form of refreshment without page reload.

    2-i want when selected in the page tree run process according to the value of the on-set tree node to create dynamic action with (jquery selector: div.tree li > a) but the value of the incorrect node.

    Concerning
    Ahmed;

    Take a look at my sample tree application.
    When you select a node, a details report is updated. That should help you implement for your situation.
    However, one thing to note is the link on each node that you have. Click on a node to redirect to the same page and set the value of P40_SELECTED_NODE. You can keep the element, but the link should go, as it's him "reload" the page whenever you click on a node. Implementation of the action of "onselect" tree and setting the page element to the value of the node that will be in place. Be sure to add the page element in the elements present in the form of tables.
    The reason why your selector didn't return the correct value is that you have a click event bound to the anchor tag in each element of the list. The anchor tag does not hold the real value (usually and id), but holds that the display value. The items list item containing the real value in their attribute "id". Therefore, to get this value you should always inspect the first parent of the clicked anchor tag. (which is another way to solve it, of course)

  • "Cannot complete order because the extension could not be loaded." with the sample CEP5

    Hello

    I have trouble with my extension porting to CEP5. I get the error message "Cannot finish order because the extension could not be loaded." when I open the Panel.

    Is it possible to get more information about what happened and why? My post was properly signed zxp and managed Extension installed without problem.

    Also, to debug the problem, I tried to open the Test HTML CEP Extension - https://github.com/Adobe-CEP/Samples/tree/master/CEP_HTML_Test_Extension_5.0

    I copied on '~/Library/Application Support/Adobe/CEP/extensions/com.adobe.CEPHTMLTEST ", created .debug inside (https://gist.github.com/m6k/39a49786b7a85a9e312b), empty the file inside Photoshop CC 2014.app .debug (to remove the verification of the signature). When I open Photoshop CC 2014, I see test listed in menu extension panels, but when I try to open them, I also get the error "cannot complete order because the extension could not be loaded.".


    No reference to what I'm doing wrong and what I can do to debug this problem?


    Jan

    Please read this: Adobe Extension Builder and Creative Cloud 2014

  • Try to simulate a growing tree?

    When you try to make an animation in Flash CS3 on a Mac using Photoshop (.psp) scanned, recorded images or .jpg format, I get strange artifacts. Please visit the following Web site and check the and.fla file in the Flash .swf file.

    http://homepage.Mac.com/Louh/FileSharing46.html

    Here are the General steps that I took:
    1: imported two Photoshop files of the two trees (small tree and big tree) as described above. It didn't matter of weather, the files were .jpg or .psp - the artifact even occur. Two image sizes are identical (8 x 6 inches at 72 dpi). I have the tree stratum separated from the background.
    2: dragged these instnaces to the scene. As the motion tweens cannot use symbols I breaks out each symbol by using modify > break themselves. Set up a simple shape tween between the two images 20 images apart.

    I have several marks of forms but that doesn't seem to help. The two trees are too complex for the animation of the small tree to tall tree? Someone has an idea what I am doing wrong? If you need more information please let me know.
    I haven't used Flash before if I was teaching myself using "Dynamic learning Flash CS3 Professional" O'Reilly. It's a great book, but I can't solve the problem I have with this one book and my many attempts of different variables. I tried to fix this since before Thanksgiving. I am on the point of abandoning and lodgings of the project. But I can do simple conversions and the use of Flash is really fun then I wish satisfaction to do it myself, especially after all the time I went down trying to figure out this glitch.
    Thank you
    Lou Hosta
    darhosta.com

    OK... the long and short of it is Yes, it's too complicated - and you try to shape tween symbols. This doesn't quite work. What I recommend (some may be a better way than this) is to place each sheet on a separate layer and the trunk of tree on its own layer. Shape tween the trunk first, then work on individual sheets. I say that it is because you have 24 leaves on your 'baby tree' and 40 leaves on the tree 'adult '. These leaves must come from somewhere, so the shape tween engine knows how to handle.

    I spent some time with her and placed a sample to: ( http://www.leonardo21.com/samples/tree%20indi%20layers.html)

    Initially, I deleted everything except your original bitmaps, and then go back to them (Edit-online-online Trace Bitmap Bitmap. Using the 100/25/Normal/Normal parameters)
    Once I had individual forms of the tree for baby, I checked each sheet has a single shape (some still were converted into three or more forms), distributed to the layers and then repeated the process to trace on the adult tree. From there I cut each sheet mature and placed on the layer with its corresponding infant sheet.

    When new leaves should appear, I took the mature leaves and it reduced to 3%, then moved to the point on the branch of maturation. Remember that I have always worked with shapes, no symbols. If you try to make a motion tween, Flash automatically convert forms into symbols and name them Tween1, Tween2, etc.. When you work with tweens, you cannot place several objects on the layer. I'm sure you've noticed, there are still two leaves that "flip" in the process of tween. It can be tweaked to look good, but he can not really important.

    As far as the chest goes, I used all available 26 shape hints to get the result I wanted.

    If you want that this sample sent to you (or someone else who wants it), just drag me an e-mail (noting your version of Flash and ActionScript) and I do things out of you.

    I hope this helps!

    I don't have time to do all the leaves, but I have worked with the two first branches (numbered clockwise from the lower left)

  • Push the web application through UrbanAirship

    I want to use the urban airship to send notifications of type push to a web application. I found an example on https://github.com/blackberry/Cascades-Community-Samples/tree/master/UrbanAirshipClient but it is an application c / c++. Is it possible to grow a web application via urban airship?

    Hi, it is possible.

    Urban airship servers simply push Push BlackBerry servers that relay this push to the end-user device. This means that the only extra step that is really needed is, when registering with the push service, to register as urban airship witih as well as the link between urban airship, Push BlackBerry server and end-user device exists.

    Registration for the Push Service is essentially the same. You must create a PushService object:

       blackberry.push.PushService.create(
            {
                invokeTargetId: INVOKE_TARGET_ID,
                appId: BLACKBERRY_PUSH_APPLICATION_ID,
                ppgUrl: BLACKBERRY_PUSH_URL
            },
            createPushServiceSuccess,
            createPushServiceError,
            simChangeCallback,
            pushTransportReadyCallback
        );
    

    On createPushServiceSuccess, you create the channel by the usual method.

    /* We created the PushService instance. */
    function createPushServiceSuccess(service) {
        /* Store our PushService object. */
        pushService = service;
    
        /* ...other actions here potentially... */
    
        /* Create channel to receive pushes. */
        pushService.createChannel(createChannelCallback);
    }
    

    And finally, on the creation of the channel, we will register with urban airship.

    /* When a channel is attempting to be created, this will trigger. */
    function createChannelCallback(result, token) {
        var xhr;
        if (result === blackberry.push.PushService.SUCCESS) {
            /* On success, we'll register with Urban Airship. */
            xhr = new XMLHttpRequest();
            xhr.open('PUT', HTTPS_GO_URBANAIRSHIP_COM_API_DEVICE_PINS + token, true);
            xhr.onload = function () {
                console.log('Urban Airship: ' + this.response);
            };
            xhr.setRequestHeader('Authorization', 'Basic ' + URBAN_AIRSHIP_APPENCODED);
            xhr.send();
        } else {
            console.log('createChannelCallback: ' + result);
        }
    }
    

    Above, we will ensure that the channel was created successfully. The xhr request is purely related to urban airship and is the extra piece that we need. We use a few defined constants (previously).

    • HTTPS_GO_URBANAIRSHIP_COM_API_DEVICE_PINS is a string matches the URL of urban airship registration default PIN.
    'https://go.urbanairship.com/api/device_pins/'
    

     

    • URBAN_AIRSHIP_APPENCODED is a combination of two other channels; coded using window.btoa ().
    window.btoa(URBAN_AIRSHIP_APPKEY + ':' + URBAN_AIRSHIP_APPSECRET);
    
    • URBAN_AIRSHIP_APPKEY and URBAN_AIRSHIP_APPSECRET are obtained from urban airship console when you configure your application as follows.

    Finally, the last piece, you need to do is provide your credentials to Push BlackBerry in the console of airship urban itself. It is important to use the full URL including your CPID when you fill out this information. This is information which is sent to you by BlackBerry when you sign up for credentials EVAL or PROD.

    Beyond that, the implementation of the push, summoning, etc. would be all follow the regular WebWorks Push Application structure.

  • PHP push notification - type registration

    Hello
    I need to send notification messages to peripheral bb10 using my server PHP script. I used the form of evaluation of the BlackBerry Push Service to register, select BlackBerry Internet Service transport for growth and Essentials of push Blackberry as Service Push type.

    I checked the posts, which one who seems to have been resolved (http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Problem-with-SEND-Push-Notificati... and making all kinds of changes to the data to be sent and headers, but not luck: push server does not respond (curl_exec is false) and attempt to parse the xml ends with error)
    An XML parser error occurred
    End of the invalid document

    The sent data now have the form:
    $data = '-'. $boundary.
    '
    http://www.openmobilealliance.org/tech/DTD/pap_2.1.DTD">




    ' .
    '--' . $boundary. "\r\n".
    "Content-Type: text/plain". "\r\n". "
    "Push-Message-ID: '." $messageid. "\r\n\r\n".
    stripslashes ($message). "\r\n".
    '--' . $boundary. '--';

    And transfer curl options are defined as:
    curl_setopt ($ch, CURLOPT_URL, "https://cpXXXX.pushapi.eval.blackberry.com/mss/PD_pushRequest"); (replaced with email of record value xxxx)
    curl_setopt ($ch, CURLOPT_HEADER, false);
    curl_setopt ($ch, CURLOPT_USERAGENT, "SAA push application");
    curl_setopt ($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
    curl_setopt ($ch, curlopt_buffersize, CURLAUTH_BASIC);
    curl_setopt ($ch, CURLOPT_USERPWD, $appid. ':' . $password); (replaced appid and password with the values of the registration email)
    curl_setopt ($ch, CURLOPT_POSTFIELDS, $data);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt ($ch, CURLOPT_HTTPHEADER, array ("Content-Type: multipart/related;")) Boundary =". $boundary. "; type = application/xml"));

    2 attempted to use javascript to POST XMLHttpRequest in a page on the same server. The result was:
    XMLHttpRequest does not load https://cpxxxx.pushapi.eval.blackberry.com/mss/PD_pushRequest. No "Access-Control-Allow-Origin" header is present on the requested resource. So, the original 'http://my_server_address' is not allowed access.

    3. I used the same code XMLHttpRequest in webworks launched from z10 camera app (the code can be found here - https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/pushCaptureBasics/pushInitiator) and
    Here is the result:

    .. .and the Capture application seems to take notice, by launching again push (does not display the message, but it's another thing ).

    The only thing that now comes to my mind, it is that the push server does not accept my server push messages. But how do I solve this problem?
    Any guidance is appreciated.

    Well, glad to have found a solution to this: after obtaining the references of Production Service Push BlackBerry have used their and it actually works with this code here http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Cannot-send-PHP-Push-message-usin...

  • HTML content sharing - the context of Invocation and Facebook

    Hi all

    I would like to share content to Facebook HTML using Webworks and the framework of the call. No problem with a text/plain content, but I need something more... do you know guys if it's feasible or not?

    I saw no examples on this subject or on the official documentation on Git...

    Thank you very much

    -marco

    Thank you, good

    If it is not currently possible with the framework to invoke. You can share either text or an image. Not both at the same time.

    The only solution I know is to manage sharing using OAuth. It's just a little more work to use the invoke framework but will work. We have posted examples to use OAuth for Twitter and Facebook that would probably be a huge help in this case.

    https://github.com/BlackBerry/BB10-WebWorks-samples/tree/WebWorks-2.0

  • How to use the API

    Hello everyone can tell me how I can implement google map in my application?

    Which API is available for the implementation of the google map?

    Hello

    The best answer is to take a look at our sample app (s). I wrote one that shows you how to work with maps (Google, Bing, flyer, open layers).

    Here is a link to the example: https://github.com/blackberry/BB10-WebWorks-Samples/tree/WebWorks-2.0/Maps

Maybe you are looking for