Cannot access object via the function

Faced with the question while accessing the object to a different schema.

I go from B a scheme A scheme object.

synonyms and roles are created. When I select A schema I can't access the object of Figure B.

But this error when accessing the service.

Error: PLS-00904: insufficient privilege to access object

Hello

Roles do not count in the procedures of stlored and functions with "AUTHID OWNER".

Log in as user B and give A necessary privilege directly or change the function so that it uses "AUTHID CURRENT_USER.

Published by: Frank Kulash, 24 March 2010 06:03

Tags: Database

Similar Questions

  • Cannot access emails via the mail application

    I'm unable to access my account through the app, I connect but it says I already added that account but it won't let me not on simply add an account.

    so I remove all the accounts and re add but get the same thing already added grrr!

    Since it affects all 3 of these service accounts, I think we can rightly claim it is not a problem with the account and is probably a problem with the mail application directly.

    Is that what you have already installed the 8.1 store update?  It fixes the problems more than 900, more than 60 are with the Mail app specifically.

  • Cannot access Firefox shows the missing profile or inaccessible is there an easy solution?

    cannot access Firefox shows the missing profile or unreachable is there a solution I'm not a computer expert

    Hello d2burnett, tryp press windows key + R and open %appdata%\Mozilla\Firefox\ - then rename the file called profiles.ini to something like oldprofiles.ini...

  • I have an iPhone and a MacBook Air 11 '' 6. iPhone 6 syncs and backup icloud. I can access iCloud via the net on MacBook.  The problem is that I can't get the MacBook to sync with iCloud.  How can I do this?  Help, please. Thank you.

    I have an iPhone and a MacBook Air 11 '' 6. iPhone 6 syncs and backup icloud. I can access iCloud via the net on MacBook.  The problem is, I can't get the MacBook to sync with iCloud.  How can I do this?  Help, please. Thank you.

    What, in particular, looking to sync with the Mac iCloud? If you mean things like Contacts, calendars, Notes, etc., then you want to go in under the  system preferences, click the iCloud and connect to iCloud there with your iCloud ID. Then select which items you want to sync'd via iCloud.

    What - what are you trying to do?

    See you soon,.

    GB

  • Windows XP pro, can not see desktop (just a blank screen) at startup. can access only via the Task Manager. How can I fix? __

    Windows XP pro, can not see desktop (just a blank screen) at startup. can access only via the Task Manager. How can I fix?

    In the Task Manager, click on "File" and select "new task (run).

    Type explorer.exe, and then press the ENTER key.

    If you are able to connect successfully to the windows, scan the entire computer using updated anti-virus software and check the virus.

  • Windows 7 unable to access XP via the snap-snap-in mmc

    Hello gentlemen,

    The question that I have met is "Insufficient permissions" which tent to access remotely via the MMC, the Task Scheduler. I came to the conclusion that there is a compatibility issue of cross that I am under Win 7 and tries to access an XP machine. I can access the Task Scheduler on Windows 7 machines without any problem, but the XP machines give me an insufficient permissions error. I have the possible right plu admin for my domain, I excluded insufficient permissions and concluded with cross incompatibility.
    Someone has encountered this same problem and/or found a fix for this. Thank you in advance!

    Hi Alex,

    I would have you post your query in the TechNet forums because it caters to an audience of it professionals. Your question would be more out there.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/category/w7itpro

    Back to us for any issues related to Windows in the future. We will be happy to help you.

  • Client VPN cannot access anything at the main Site

    I am sure that this problem has been resolved in a million times more, but I can't get this to work.  Can someone take a look at this quick config and tell me what is the problem?

    The Cisco VPN client connects without problems but I can't access anything whatsoever.

    ASA Version 8.4 (4)

    !

    ciscoasa hostname

    activate 8Ry2YjIyt7RRXU24 encrypted password

    2KFQnbNIdI.2KYOU encrypted passwd

    names of

    !

    interface Ethernet0/0

    switchport access vlan 2

    !

    interface Ethernet0/1

    !

    interface Ethernet0/2

    switchport access vlan 15

    !

    interface Ethernet0/3

    !

    interface Ethernet0/4

    !

    interface Ethernet0/5

    !

    interface Ethernet0/6

    !

    interface Ethernet0/7

    !

    interface Vlan1

    nameif inside

    security-level 100

    IP 192.168.43.254 255.255.255.0

    !

    interface Vlan2

    nameif outside

    security-level 0

    IP address a.a.a.a 255.255.255.248

    !

    interface Vlan15

    prior to interface Vlan1

    nameif IPOffice

    security-level 100

    IP 192.168.42.254 255.255.255.0

    !

    boot system Disk0: / asa844 - k8.bin

    passive FTP mode

    network object obj - 192.168.43.0

    192.168.43.0 subnet 255.255.255.0

    network obj_any object

    subnet 0.0.0.0 0.0.0.0

    network of the NETWORK_OBJ_10.11.12.0_24 object

    10.11.12.0 subnet 255.255.255.0

    network of the NETWORK_OBJ_192.168.43.160_28 object

    subnet 192.168.43.160 255.255.255.240

    network of the IPOffice object

    subnet 0.0.0.0 0.0.0.0

    outside_access_in list extended access permit icmp any 192.168.42.0 255.255.255.0

    Note access list ACL for VPN Tunnel from Split vpn_SplitTunnel

    standard access list vpn_SplitTunnel allow 192.168.43.0 255.255.255.0

    AnyConnect_Client_Local_Print deny ip extended access list a whole

    AnyConnect_Client_Local_Print list extended access permit tcp any any eq lpd

    Note AnyConnect_Client_Local_Print of access list IPP: Internet Printing Protocol

    AnyConnect_Client_Local_Print list extended access permit tcp any any eq 631

    print the access-list AnyConnect_Client_Local_Print Note Windows port

    AnyConnect_Client_Local_Print list extended access permit tcp any any eq 9100

    access-list AnyConnect_Client_Local_Print mDNS Note: multicast DNS protocol

    AnyConnect_Client_Local_Print list extended access permit udp any host 224.0.0.251 eq 5353

    AnyConnect_Client_Local_Print of access list LLMNR Note: link Local Multicast Name Resolution protocol

    AnyConnect_Client_Local_Print list extended access permit udp any host 224.0.0.252 eq 5355

    Note access list TCP/NetBIOS protocol AnyConnect_Client_Local_Print

    AnyConnect_Client_Local_Print list extended access permit tcp any any eq 137

    AnyConnect_Client_Local_Print list extended access udp allowed any any eq netbios-ns

    pager lines 24

    Enable logging

    asdm of logging of information

    Within 1500 MTU

    Outside 1500 MTU

    MTU 1500 IPOffice

    IP local pool newvpnpool 10.11.12.100 - 10.11.12.150 mask 255.255.255.0

    ICMP unreachable rate-limit 1 burst-size 1

    ASDM image disk0: / asdm - 649.bin

    don't allow no asdm history

    ARP timeout 14400

    NAT (inside, outside) static source any any static destination NETWORK_OBJ_10.11.12.0_24 NETWORK_OBJ_10.11.12.0_24 non-proxy-arp-search to itinerary

    NAT (inside, outside) static source any any static destination NETWORK_OBJ_192.168.43.160_28 NETWORK_OBJ_192.168.43.160_28 non-proxy-arp-search to itinerary

    NAT (IPOffice, outside) static source any any static destination NETWORK_OBJ_192.168.43.160_28 NETWORK_OBJ_192.168.43.160_28 non-proxy-arp-search to itinerary

    !

    network obj_any object

    NAT dynamic interface (indoor, outdoor)

    network of the IPOffice object

    NAT (IPOffice, outside) dynamic interface

    Access-group outside_access_in in interface outside

    Route outside 0.0.0.0 0.0.0.0 b.b.b.b 1

    Timeout xlate 03:00

    Pat-xlate timeout 0:00:30

    Timeout conn 01:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02

    Sunrpc timeout 0:10:00 h323 0:05:00 h225 mgcp from 01:00 0:05:00 mgcp-pat 0:05:00

    Sip timeout 0:30:00 sip_media 0:02:00 prompt Protocol sip-0: 03:00 sip - disconnect 0:02:00

    Timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute

    timeout tcp-proxy-reassembly 0:01:00

    Floating conn timeout 0:00:00

    dynamic-access-policy-registration DfltAccessPolicy

    identity of the user by default-domain LOCAL

    AAA authentication http LOCAL console

    AAA authentication LOCAL telnet console

    Enable http server

    http 192.168.1.0 255.255.255.0 inside

    http 0.0.0.0 0.0.0.0 outdoors

    http 192.168.43.0 255.255.255.0 inside

    http 192.168.42.0 255.255.255.0 IPOffice

    No snmp server location

    No snmp Server contact

    Server enable SNMP traps snmp authentication linkup, linkdown cold start

    Crypto ipsec transform-set ikev1 ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac

    Crypto ipsec transform-set ikev1 ESP-DES-SHA esp - esp-sha-hmac

    Crypto ipsec transform-set ikev1 esp ESP-DES-MD5-esp-md5-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac

    Crypto ipsec transform-set ikev1 ESP-3DES-MD5-esp-3des esp-md5-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-256-SHA esp-aes-256 esp-sha-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-128-SHA aes - esp esp-sha-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-192-SHA esp-aes-192 esp-sha-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-128-MD5-esp - aes esp-md5-hmac

    Crypto ipsec transform-set ikev1 SHA-ESP-3DES esp-3des esp-sha-hmac

    IKEv1 crypto ipsec transform-set high - esp-3des esp-md5-hmac

    crypto ipsec transform-set encrypt method 1 IKEv1 esp-3des esp-sha-hmac

    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 pfs Group1 set

    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 define ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA MD5-ESP-3DES ESP-DES-SHA ESP-DES-MD5

    Crypto-map dynamic dynmap pfs set 30 Group1

    Crypto-map dynmap 30 set transform-set ikev1 strong dynamic - a

    outside_map card crypto 65535-isakmp dynamic ipsec SYSTEM_DEFAULT_CRYPTO_MAP

    map rpVPN 65535-isakmp ipsec crypto dynamic dynmap

    rpVPN interface card crypto outside

    crypto isakmp identity address

    Crypto ikev1 allow outside

    IKEv1 crypto policy 1

    preshared authentication

    3des encryption

    sha hash

    Group 2

    life 86400

    IKEv1 crypto policy 2

    preshared authentication

    3des encryption

    md5 hash

    Group 2

    life 86400

    Telnet timeout 5

    SSH timeout 5

    SSH group dh-Group1-sha1 key exchange

    Console timeout 0

    dhcpd outside auto_config

    !

    dhcpd address 192.168.43.5 - 192.168.43.36 inside

    !

    a basic threat threat detection

    Statistics-list of access threat detection

    no statistical threat detection tcp-interception

    WebVPN

    allow outside

    AnyConnect image disk0:/anyconnect-win-2.4.1012-k9.pkg 1

    AnyConnect enable

    tunnel-group-list activate

    internal RPVPN group policy

    RPVPN group policy attributes

    value of server DNS 8.8.8.8

    Ikev1 VPN-tunnel-Protocol

    username admin privilege 15 encrypted password gP3lHsTOEfvj7Z3g

    username password encrypted blPoPZBKFYhjYewF privilege 0 mark

    type tunnel-group RPVPN remote access

    attributes global-tunnel-group RPVPN

    address newvpnpool pool

    Group Policy - by default-RPVPN

    IPSec-attributes tunnel-group RPVPN

    IKEv1 pre-shared-key *.

    !

    !

    context of prompt hostname

    no remote anonymous reporting call

    Cryptochecksum:b3f15dda5472d65341d7c457f2e8b2a2

    : end

    Well Yes, you are quite right on site!

    Asymmetric routing is not supported on the firewall, such as trafficking and out should be via the interfaces of same, in the contrary case, it think it's an attack and drop the package.

    Default gateway on the subnet devices IPOffice should be the interface IPOffice ASA (192.168.42.254), not the switch, if it is a switch shared with your home network. Similarly for devices inside subnet, default gateway must be ASA 192.168.43.254.

    In regards to the switch, you can get a default gateway or the ASA inside or IP interface IPOffice ASA and the needs of return traffic to route through the same path

  • Problem of peripheral access NAS via the VPN Site to Site

    Hi all

    I am facing a strange problem with a client. I use a VPN from Site to Site between two ASA 5505 to connect its network to ours to replikate between a NAS on his side and a NAS on our side. I use the same configuration with other guests and it works fine.

    With this client, while I am able to ping the remote NAS and I have problems using SMB to connect via ssh (it works _sometimes_ but most of the time to access files via eplorer results in a timeout) and join the NAS Web portal (http and https, with https I can see the remote certificate of the SIN but the page does not load). These problems occur on both sides (our network-> NAS, customer network-> our NAS client)

    I can access the NAS even without any problems other customers. ASA newspaper I see no connection blocked or whatever it is when this happens and the tunnel seems to work fine otherwise.

    Any ideas how to refine the problem here?

    Thanks in advance

    Tobias

    It looks like you can run into problems with packets that are too big for your tunnel. Try to limit the size of TCP segment by putting the following on your ASA units:

     sysopt connection tcpmss 1360

    Most VPN tunnels are not going to have an MTU (Maximum Transmission Unit) less than 1400 bytes, so the above should clean things up.

  • visibility of object inside the function handling

    Hello!  It is to animate CC HTML5 Canvas.  I am sure that it is extremely simple, but please explain why does not the following:

    function hideButton() {}

    This.Button.Visible = false;

    }

    hideButton();

    At the same time, running this.button.visible = false; outside the service works very well.

    How can I correct this clip from movie?

    Thank you!

    PS is there a reference library that I can look to animate CC JavaScript?

    It does not work because the event handlers in JavaScript, 'this' by default refers to the window object, not the object that raised the event. Simplest solution is to use bind() when you assign to the event handler (the built-in code snippets illustrate this).

    Best references for coding in canvas mode are:

    CreateJS | A suite of tools designed to work with HTML5 and JavaScript libraries

    JavaScript | DND

  • Safari, chrome time cannot access most of the sites on my MacBook Air

    All of a sudden since the morning of today I can access most of the sites except Google, Facebook, and LinkedIn. Safari and chrome have the same problem. I tried to empty cache, remove extensions, change dns 8.8.8.8 in Network preferences, but nothing seems to work. can someone please advice what to do.

    I have OS X Yosemite with Safari 9.0.2

    Thank you!

    You may have installed one or more variants of the malware "VSearch' ad-injection. Please backup all data, and then follow the instructions from Apple Support to remove it.

    If you have problems with these instructions, or if they do not work, see below.

    Malware is constantly evolving to work around defenses against it. This procedure works now, I know. It will not work in the future. Anyone finding this comment a couple of days or more after it was published should look for a more recent discussion, or start a new one.

    VSearch malware tries to hide by varying names of the files it installs. To remove it, you must first identify the naming model.

    1 triple - click on the line below on this page to select, then copy the text to the Clipboard by pressing Control-C key combination:

    /Library/LaunchDaemons

    In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

    A folder named "LaunchDaemons" can open. Search inside the two files with the names of these forms:

    com.something.daemon.plist

    com.something.Helper.plist

    com.something .net - preferences.plist

    com.something.Preferences.plist

    Here, something is a variable character string, that may be different in each VSearch infection. So far it has always been an alphanumeric string without punctuation signs, such as the 'cloud', 'point,' 'Highway', 'underwater', or 'trusteddownloads.' Sometimes, it's an empty string like 'e8dec5ae7fc75c28' instead of a Word. Sometimes, the string is "Apple", and then you must be particularly careful not to delete the wrong files, because many built-in OS X files have similar names.

    You may have more than one copy of the malware, with different values of something.

    There may be one or more files with the name of this form:

    com.somethingUpd.plist

    where something may be a different meaning empty string in other files. Yet once, there may be more than one file of this type, with different values of something.

    Here's a specific example of an infection VSearch:

    com.disbalance.daemon.plist

    com.disbalance.Helper.plist

    com.thunderbearerUpd.plist

    You will have files with similar names, but probably not identical to these.

    2. If you find such files, let the open LaunchDaemons folder and open the file following the same way:

    /Library/LaunchAgents

    In this case, there may be a file named

    com.something.agent.plist

    where the channel something is the same as before.

    If you feel confident that you have identified the above files, back up all data, and then drag the files - nothing - to the trash only. You may be prompted for administrator login password. Close the Finder Windows, and then restart the computer.

    Do not delete the folder 'LaunchAgents' or 'LaunchDaemons' or anything else inside either.

    3 reset the home page in each of your browsers, if it has been modified. In Safari, first load the desired home page, then select

    ▹ Safari preferences... ▹ General

    and click on

    Set on the current Page

    The malware is now permanently inactivated, as long as you reinstall it never. You can stop here if you want, or you can delete the other two components for completeness.

    4. This step is optional. Open this folder:

    /Library

    It may have subfolders that are named as follows

    something

    somethingUpd

    where something is one of the channels that you have seen before. Drag all these subfolders to the trash, and then close the window.

    Do not delete the folder "Library" or anything else inside.

    5. This step does not apply to the OS X 10.11 ("El Capitan") or later and it is optional if you are using an older version of Mac OS X.

    In this folder:

    /System/Library/Frameworks

    There may be an element named exactly

    v.Framework

    either a named item

    Something.Framework

    Again, something is the same string as before.

    This item is actually a file, although it has a different icon than usual. Drag it to the trash, and then close the window.

    Do not delete the folder "Frames" or anything else inside.

    6. If you do not find the files or you are not sure about the identification, after what you have found.

    If in doubt, or if you have no backups, change nothing at all.

    7. the penalty may have started when you have downloaded and run an application called "MPlayerX." It is the name of a legitimate free movie actor, but the name is also used fraudulently to distribute VSearch. If there is an element with that name in the Applications folder, delete it. I do not recommend to install the genuine "MPlayerX", because it is hosted on the rogue 'SourceForge' site and is bundled with other malware.

    This Trojan horse is often found on the illegal Web sites that traffic in content such as movies pirated. If you, or anyone else who uses the computer, visit these Web sites and follow the instructions to install the software, you can expect more of the same and worse, to follow. Never install software that you downloaded from a bittorrent, or which has been downloaded by someone else from an unknown source.

    In the aspect of security & confidentiality of system preferences, select the general tab. The marked anywhere radio button should not be selected. If this is the case, click the lock icon to unlock the settings, and then select an other keys. After that, do not ignore a warning that you are about to run or install an application from an unknown Director.

    Then, still in system preferences, open the pane of the App Store or software update and check the box marked

    Install the system data files and security updates (OS X 10.10 or later version)

    or

    Automatically download the updates (OS X 10.9 or earlier version)

    If it is not already done.

  • ASA 5505 VPN works great but can't access internet via the tunnel to customers

    We have an ASA 5505 ASA 8.2.1 running and using IPSec for Remote access clients in the main office.  Remote access is a lot of work, with full access to network resources in the main office and the only thing I can't get to work is access to internet through the tunnel.  I don't want to use split tunneling.  I use ASDM 6.2.1 for configuration.  Any help is appreciated.  I'm probably missing something simple and it looked so much, I'm probably looking at right beyond the error.  Thanks in advance for your time and help!    Jim

    Add a statement of nat for your segment of customer on the external interface

    NAT (outside) - access list

    then allow traffic routing back on the same interface, it is entered in the

    permit same-security-traffic intra-interface

    *

    *

    * more than information can be found here:

    http://www.Cisco.com/en/us/products/ps6120/products_tech_note09186a00807...

    On Wednesday, 27 January 2010, at 23:12, jimcanova

  • Illustrator 2015.3 - cannot select objects in the layers palette

    After having upgraded to 2015.3 this morning, I can not select the layers to reorganize in the layers palette. The file is one I created before the update - but even a newly created file has this same problem.

    He puts the light color to the right of the object in the layers palette, but refused to move the object upward or down in the stack.

    Has anyone else had this problem and solved?

    Mac Yosemite 10.10.5.

    Thank you

    Beth

    Thanks Mike - I found my answer: decouple, decouple, dissociate. I who appears when objects are grouped a few times it can not be moved until it was separated.

  • Why can't I access object inside the ListItemComponent.onCreationCompleted C++... ?

    Hello world

    My application has a HTTP connection to retrieve the XML stream and insert data to the ListView using DataSource and DataModel, and I want to hear at each of its ListView ListItem is created and completely to use a ListItemData for my c++ object. So I write my code like this

    In main.cpp

    int main (int argc, char * argv)

    {

    App app (argc, argv);

    new MyApp (&app);)

    returnApplication::exec();

    }

    In MyApp.cpp

    MyApp::MyApp (bb::cascades:Application * app): //constructor

    {QObject (app)}

    QmlDocument * qml = QmlDocument::create("asset:///main.qml").parent(this);

    QML-> setContextProperty ("app", this);

    AbstractPane * stream = qml-> createRootObject)

    App-> setScene (NCA);

    }

    void MyApp::doMyFunction (const QString & someData) {}

    qDebug()< "yes!!="">

    }

    In main.qml
    {Page}

    {Of container

    {To ListView

    dataModel: myDataModel

    listItemComponents:]

    {ListItemComponent}

    type: 'point '.

    {Of container

    onCreationCompleted: {}

    Console.log ("-LISTITEM ONCREATION COMPLETED");

    app.doMyFunction (ListItemData.someData);    //<  but="" console="" print="" about="" "can't="" find="" variable="" "app"="">

    }

    }

    }

    ]

    } //end listview

    } //end container

    onCreationCompleted: {}

    myDataSource.load ();

    }

    attachedObjects:]

    {GroupDataModel}

    ID: myDataModel

    },

    DataSource {}

    ID: myDataSource

    Source: "some URLs to get RSS... blah blah."

    type: DataSource.Xml

    onDataLoaded: {}

    myDataModel.clear ();

    myDataModel.insertList (data);

    }

    ]

    }

    I try to run mycode. But a console is printed on "can't find variable: app". " How can I solve this problem?

    Thanks for any suggestions.
    MAZ

    Its because the listitem is not in the same document as the Page tree really, he lives with ListView and does not have direct access to the elements of the Page.

    What you can do is create a javascript function in the ListView, and then the listitemcomponent facing, which in turn can relay to your environment variable "app."

    int listitemcomponent add id: itemContainer your container can
    itemContainer.ListItem.view.someFunctionDefinedInTheListView (data)

    in the listview:

    function somefunctiondefinedinlistview (data) {}
    app.doMyFunction (data)
    }

  • Apple Watch 2 cannot access Siri when the phone is charging

    My iPhone is plugged in my Apple Watch says that it cannot connect to Siri 6 simple feet further. Has anyone else experienced this problem and/or been able to solve it?

    Hello

    The following steps may help:

    • On your iPhone, go to: settings > Siri - disable, pause for a few moments, and then reactivate the Siri.
  • Cannot access object C++ in QML

    I have a NavigationPane defined in QML. In my C++ class, I create the NavigationPane and use setContextProperty in order to access the C++ class. However, when I try to use the QML context in the onCreationCompleted signal, the console displays a "ReferenceError: can't find variable: splashSample" error.

    The code is as follows:

    QML:

    import bb.cascades 1.0
    
    NavigationPane
    {
        id: navigationPane
        Page
        {
            onCreationCompleted:
            {
                splashSample.splashScreenDone.connect(navigationPane.push(getSecondPage()))
            }
            Container
            {
                background: Color.Black
                layout: DockLayout
                {
                }
                ImageView
                {
                    horizontalAlignment: HorizontalAlignment.Center
                    verticalAlignment: VerticalAlignment.Center
                    imageSource: "asset:///images/splash.png"
                    onTouch:
                    {
                        // show detail page when the button is clicked
                        var page = getSecondPage();
                        console.debug("pushing detail " + page)
                        navigationPane.push(page);
                    }
                    property Page secondPage
                    function getSecondPage()
                    {
                        if (! secondPage)
                        {
                            secondPage = secondPageDefinition.createObject();
                        }
                        return secondPage;
                    }
                    attachedObjects:
                    [
                        ComponentDefinition
                        {
                            id: secondPageDefinition
                            source: "main.qml"
                        }
                    ]
                }
            }
        }
    }
    

    CPP file:

    SplashScreenSample::SplashScreenSample(bb::cascades::Application *app)
    : QObject(app)
    {
        QmlDocument *qml = QmlDocument::create("asset:///splash.qml").parent(this);
    
        AbstractPane *root = qml->createRootObject();
        qml->setContextProperty("splashSample", this);
    
        app->setScene(root);
    
    //  QTimer::singleShot(1000, this, SLOT(loadMainScreen()));
    }
    
    void SplashScreenSample::loadMainScreen()
    {
        emit splashScreenDone();
        qDebug("******************************************************************");
    }
    

    the HPP file:

    #ifndef SplashScreenSample_HPP_
    #define SplashScreenSample_HPP_
    
    #include 
    
    namespace bb { namespace cascades { class Application; }}
    
    class SplashScreenSample : public QObject
    {
        Q_OBJECT
    public:
        SplashScreenSample(bb::cascades::Application *app);
        virtual ~SplashScreenSample() {}
    
    public Q_SLOTS:
        void loadMainScreen();
    
        Q_SIGNALS:
            void splashScreenDone();
    
    };
    
    #endif /* SplashScreenSample_HPP_ */
    

    It seems that the alias 'splashSample' is not accessible in the onCreationCompleted signal. Is this the case? Is it possible to connect to a signal when the QML document is created?

    Thank you very much.

    You must call setContextProperty before calling createRootObject

Maybe you are looking for

  • bar quick launch not visible when the new version of firefox is open?

    In the previous version, my windows XP Quick Launch toolbar was visible when Firefox was open. It is no longer visible. Help, please!

  • Since upgrading to OS 10.10.5, Mail breakdowns

    I now have severe problems with Mail.app Apple that I don't remember having ever before. I noticed these problems after running Apple Software Update, including the Mac OS v. X 10.10.4 to 10.10.5 upgrade. When I run the Mail application, does frequen

  • WRT610N wireless can not connect to internet

    I have a WRT610Nv1. It worked perfectly for about a year until my internet whent out. I have reset my modem and the router and one day more late my wireless connection could not connect to the internet. I can connect to my wireless router, but I can'

  • connection of the antenna

    Hello I have a bridge 1310 with me, but the connections are curious to me. It's a BR1310G-E-K9 and I would push its antenna with an external, how do I connect to them (antena)? Also, does anyone know where I can the innovative deployment of the bridg

  • BlackBerry Smartphones 9790 camera

    is it all the same the camera back on this thing?  so I can take some pictures of me