[svn] 4366: Remove hard references to the Application class.

Revision: 4366
Author: [email protected]
Date: 2008-12-19 12:54:06 -0800 (Fri, 19 Dec 2008)
Log Message:
Remove hard references to the Application class.
QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Alex
tests: checkintests, Application, controls, containers/Accordion, containers/ApplicationControlBar, containers/ControlBar
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddChild.as

All components can only be shown in one spot at a time. It's not anything you've done wrong in particular as it will happen with any component. The solution is to abstract the data you want to display away from the canvas, using the subclass merely as a window to the data. Then, you can have mutliple instances of your subclass using the same reference to the data. So whenever the data changes, all instances of the canvas subclass will get the changes (although they may still need to be repainted to display the change). Feel free to ask if you have any more questions.
-JBoeing

Similar Messages

  • Completely remove all references to the old MacBook

    Hello! I have a problem - after buying a new MacBook in a Safari remained tabs from the old MacBook, and iPhone attempts to synchronize with the old MacBook. Before the sale of the old MacBook I untied it from my Apple ID, and removed him to the icloud.com website under "Find iPhone", but he still stayed there in my devices on the same site ... Help to completely remove all references to the old MacBook. Thanks in advance and excuse me for my english ...

    Is this the problem?
    How do I disable Bing?
    If you just want to use a different search engine it's easily selected:
    ... but I sense this is not what you're asking.

  • Changing the Application class of script

    How can i change the application class of a script?

    Hi use TDOCLASS: object class.
    Hope this solves your issue.
    <REMOVED BY MODERATOR>
    Thanks,
    Dishant
    Edited by: Alvaro Tejada Galindo on Feb 6, 2008 2:33 PM

  • Java returning the reference of the current class.

    Hi,
    I want to write a method in Java to return the reference of the current class in a static manner i.e, without instantiating the class. Please help as to how to go about it.
    Thanks.

    Come on, at least point out where the guy is wrong.
    user563329 wrote:
    I want to write a method in Java to return the reference of the current class in a static manner i.e, without instantiating the class.There is no concept of a "current class" but I guess you meant "the class where the code is defined that the current thread is running now".
    However, that means that class (code) has been instantiated so your question makes no sense.
    If you want the class of the "current running code" use Object#getClass().
    You can reference a class without instantiating it but it will still be loaded. For example:
    public class TestInit {
        public static void main(String[] args) {
            System.out.println(Init.class.getSimpleName());
    class Init {
        static { System.out.println("Init init"); }
    // running it with java -verbose:class show Init is loaded but the static initializer is not run
    // loading lots of class ending with
    [Loaded TestInit from file:/C:/Projects/Dump2/Output/]
    [Loaded java.lang.Void from shared objects file]
    [Loaded Init from file:/C:/Projects/Dump2/Output/]
    Init
    [Loaded java.lang.Shutdown from shared objects file]
    [Loaded java.lang.Shutdown$Lock from shared objects file]

  • Hello, is there any removable hard drives for the iPad?

    Does anyone know if there is a removable hard drive that can be used with an iPad, ie backing up working emails from my laptop but being able to access them on the iPad from the hard drive?

    Thanks, the problem I have is, I access a lot of archived emails on my laptop but as we all know this is quite a long winded thing to do when you have to switch a laptop on and off thought out the day.
    Thanks for your help.

  • TS1702 Vtok application problems since I update my iPad 2 system to ios6, my vtok cannot open. What I need to do in order to fix this problem? I already removed and re installed the application many times, but this didn't fix the problem.

    It is any problem with the application vtok? Since I update my iPad2 system to iOS6.0 I was unable to use this application. The problem is when I tap on the vtok icon, the application opens and closes right away. I removed and reinstall the application twice, but this doesn't fix the problem. When I try to find the application on application store, it's give me a message that the vtok application is not available in USA.

    Not available in Spain either. I can't find anything googling for this problem, Vtok's page and facebook page seem to be unmaintained.
    It is strange such a widely used app doesn't show life signals.
    Good luck

  • [svn:osmf:] 14230: PARB changes: Move the dynamicstreaming classes into net package.

    Revision: 14230
    Revision: 14230
    Author:   [email protected]
    Date:     2010-02-17 17:34:32 -0800 (Wed, 17 Feb 2010)
    Log Message:
    PARB changes: Move the dynamicstreaming classes into net package.  Rename a handful of them.  Hide a handful of APIs.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/DynamicStreamingSample.mxml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/AllExamples.as
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/elements/VideoElement.as
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
        osmf/trunk/framework/OSMF/org/osmf/events/BeaconEvent.as
        osmf/trunk/framework/OSMF/org/osmf/events/DRMEvent.as
        osmf/trunk/framework/OSMF/org/osmf/media/DefaultMediaFactory.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamLoadTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamPlayTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamUtils.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/DownloadRatioRule.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingNetLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingUtils.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/DroppedFramesRule.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/InsufficientBandwidthRule.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/InsufficientBufferRule.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/SufficientBandwidthRule.as
        osmf/trunk/framework/OSMF/org/osmf/plugin/PluginManager.as
        osmf/trunk/framework/OSMF/org/osmf/utils/Version.as
        osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
        osmf/trunk/framework/OSMFTest/org/osmf/elements/f4mClasses/TestManifestParser.as
        osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayerWithDynamicStreamingVideoElem ent.as
        osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayerWithDynamicStreamingVideoElem entSubclip.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/TestNetStreamUtils.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestDownloadRatioRule.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/rtmpstreaming/TestDroppedFramesRule.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/rtmpstreaming/TestInsufficientBandwidthRule.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/rtmpstreaming/TestInsufficientBufferRule.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/rtmpstreaming/TestSufficientBandwidthRule.as
        osmf/trunk/framework/OSMFTest/org/osmf/plugin/TestPluginManager.as
        osmf/trunk/framework/OSMFTest/org/osmf/utils/DynamicNetStreamSwitchManager.as
        osmf/trunk/framework/OSMFTest/org/osmf/utils/DynamicSwitchingRule.as
        osmf/trunk/framework/OSMFTest/org/osmf/utils/NetFactory.as
        osmf/trunk/libs/adobe/NetMocker/.flexLibProperties
        osmf/trunk/plugins/SMILPlugin/org/osmf/smil/media/SMILMediaGenerator.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/DynamicStreamingItem.as
        osmf/trunk/framework/OSMF/org/osmf/net/DynamicStreamingResource.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamDynamicStreamTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamMetricsBase.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamSwitchManager.as
        osmf/trunk/framework/OSMF/org/osmf/net/SwitchingRuleBase.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStreamMetrics.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/RTMPDynamicStreamingNetLoader.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/RTMPNetStreamMetrics.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/TestDynamicStreamingItem.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/TestDynamicStreamingResource.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/TestNetStreamDynamicStreamTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/TestNetStreamSwitchManager.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/rtmpstreaming/TestRTMPDynamicStreamingNetLoade r.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockHTTPNetStreamMetrics.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockNetStreamMetricsBase.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockRTMPDynamicStreamingNetLoader.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockRTMPNetStreamMetrics.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/dynamicstreaming/
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPMetricsProvider.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/RTMPMetricsProvider.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/dynamicstreaming/
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockDynamicStreamingNetLoader.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockHTTPMetricsProvider.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockMetricsProvider.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockRTMPMetricsProvider.as

    Stop it
    Sent from my I phone

  • [svn:bz-trunk] 20936: Pass in the MessageBroker class loader to the FactorySettings:: createFactory() function.

    Revision: 20936
    Revision: 20936
    Author:   [email protected]
    Date:     2011-03-21 13:40:50 -0700 (Mon, 21 Mar 2011)
    Log Message:
    Pass in the MessageBroker class loader to the FactorySettings::createFactory() function.
    The supports situations where the MessageBroker class loader is not the same as the one that loaded ClassUtils (e.g. OSGi).
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/config/FactorySettings.java
        blazeds/trunk/modules/core/src/flex/messaging/config/MessagingConfiguration.java

    SpryAccordion.css
    You have an error that is killing the rest of your code shown below in red.  Remove it.
    .AccordionPanelContent {
        margin: 0px;
        padding: 2px; /**suggest using 12px or more**/
        background-image: url(../infobkgd.png);
        background-attachment: fixed;
        background-repeat: repeat;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 12px;  /**suggest using 16px or more**/
        color: #FFF;
        overflow: hidden;
        height: 40
    [x;
        height: 100%;
    Nancy O.

  • [svn] 4081: Remove @private from an interface and class

    Revision: 4081
    Author: [email protected]
    Date: 2008-11-12 06:50:02 -0800 (Wed, 12 Nov 2008)
    Log Message:
    Remove @private from an interface and class
    QE Notes: None
    Doc Notes: None
    Bugs:
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBaseContentH older.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/ISmallMessage.as

    System.arraycopy()
    You're almost certainly better off with a List implementation, though. Whether you use LinkedList or ArrayList should depend on your usage specifics, but from the limited information provided it seems that LinkedList would be a better choice.

  • How to use application class reference in the controller methods of BSP

    Hi,
    I have created a bsp application and also created an application class and assigned it to the application class. In the application class, I have created attribute TEXT type string(public and instance parameter).
    In the controller let's say main.do, I am trying to give a value to to the text by adding the following code.
    application->text = 'test'.
    I am getting syntax error saying field 'text' is unknown. It is not contained in one of the specified tables nor defined by DATA statement. 
    Please can someone let me know how to use the application class in the coding with an example. I couldn't find how exactly this has to be reference. Please help.
    Best regards
    Siva

    Hi,
    if you are having main controller and sub-controller then you may need to use below coding to use application class reference.
    *Data declaration
      DATA:  obj_cntrl        TYPE REF TO cl_bsp_controller2,
             obj_sub_cntrl   TYPE REF TO z_cl_sub_cntl,
             application TYPE REF TO z_cl_application.
    *Get the controller
      CALL METHOD obj_main_cntrl->get_controller   "obj_main_cntrl is the object of main controller
        EXPORTING
          controller_id       = 'SUB'   "Controller ID
        RECEIVING
          controller_instance = obj_cntrl  .
      obj_sub_cntrl ?= obj_cntrl  .
      application ?= obj_sub_cntrl ->application.
    or simply use below code in your controller method.
      application ?= me->application.
    Thnaks,
    Chandra

  • Help!! - Unable to use the Application Module Deployed as Corba Object in Oracle 8i

    I have been able to successfully deploy an Application Module in Oracle 8i but i am un able to get a reference to the Application Module from the database the code used by me is -
    package client;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Hashtable;
    import oracle.jbo.*;
    import org.omg.CORBA.*;
    public class Corba8IClient{
    Hashtable env = new Hashtable();
    ApplicationModule appMod = null;
    String theAMDefName = "test/jd/freshJBO.FreshJBOModule";
    public Corba8IClient() {
    System.out.println("Started...");
    // Load the Application Module
    try{
    // Component deployed to Oracle8i CORBA Server.
    // Set up the 8i environment
    System.out.println("Setting up initial Context...");
    env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_ORACLE8I);
    env.put(Context.SECURITY_PRINCIPAL, "jd");
    env.put(Context.SECURITY_CREDENTIALS, "jd");
    env.put(JboContext.HOST_NAME, "Dev51");
    env.put(JboContext.CONNECTION_PORT, "2481");
    env.put(JboContext.ORACLE_SID, "ORA8I");
    // env.put(JboContext.APPLICATION_PATH, "test/jd/");
    System.out.println("Getting initial Context.");
    Context ic = new InitialContext(env);
    System.out.println("Doing Lookup...");
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(theAMDefName);
    System.out.println("Calling create...");
    // home
    System.out.println("Home Class Name : "+home.getClass().getName());
    oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome am = (oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome)home;
    System.out.println("DefName "+am.getDefName());
    appMod = home.create();
    System.out.println("Setting up connetion from AppMod to database...");
    appMod.getTransaction().connect("jdbc:oracle:thin:jd/jd@dev51:1521:ORA8I");
    }catch(Exception e) {
    e.printStackTrace();
    System.out.println("AppMod full Name "+ appMod.getFullName());
    public ApplicationModule getAppMod(){
    return appMod;
    public static void main(String args[]){
    Corba8IClient c8c = new Corba8IClient();
    after running the output is -
    Started...
    Setting up initial Context...
    Getting initial Context.
    Doing Lookup...
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    Calling create...
    Home Class Name : oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome
    DefName null
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
    at oracle.jbo.client.remote.corba.CORBAApplicationModuleHomeImpl.create(CORBAApplicationModuleHomeImpl.java:63)
    at client.Corba8IClient.<init>(Corba8IClient.java:39)
    at client.Corba8IClient.main(Corba8IClient.java:53)
    java.lang.NullPointerException
    at client.Corba8IClient.<init>(Corba8IClient.java:45)
    at client.Corba8IClient.main(Corba8IClient.java:53)
    Corba Object is deployed as -
    ObjectName = /test/jd/freshJBOModule
    Server Class = freshJBO.server.o8.FreshJBOModuleServerO8
    Helper Class = oracle.jbo.common.remote.corba.RemoteApplicationModuleHomeHelper
    The Application Module conatians an entity object and a view object for Dept Table in schema jd(Username -jd, Password -jd).

    Moneesh,
    I believe there is a problem with the way you set the variable theAMDefName. It should be:
    String theAMDefName = freshJBO.FreshJBOModule";
    Then you need to reinstate the line you commented out, to set the application path (but remove the trailing / from the path, as shown):
    env.put(JboContext.APPLICATION_PATH, "test/jd");
    If that doesn't work, and for future reference, I suggest testing your deployed application module from the Business Component Browser (aka the tester) before trying your hand-coded client. Start the tester, select Oracle8i as the middle tier server type, make sure the other information in the connect window is correct, then click Connect.
    Good luck
    Blaise

  • You can't open the application NotificationExec because PowerPC applications are no longer supported

    I have Lion OS X 10.7 on my MacBook Pro 15'' and I've tried to install an application for an external Maxtor hard drive.
    But it seems to be compatable only with previous Operating Systems because now every 5 seconds I get the popup
    "You can't open the application NotificationExec because PowerPC applications are no longer supported".
    I have deleted all the applications of the external hard drive from the Applications folder, and from the trash as well.
    But it doesn't help because the message is continuing to pop-up.
    Please help me somehow.

    I had already formatted the external Maxtor external hard drive but it didn't help because the problem came when after formatting I tried to install an application (belonging to Maxtor) to the MacBook. The application was meant for an operating system previous to Lion.
    The solution is to remove everything belonging to Maxtor from your Mac.
    I deleted the Maxtor application from the Applications folder, but it wasn't enough. After struggling in google I found this solution and it worked!
    HERE IS THE SOLUTION:
    First remove all the Maxtor applications you've installed from the Applications folder (just trash them and empty the trash).
    Then go to Finder and from Macintosh HD -> Library -> Driver Support -> DELETE THE MAXTOR APPSYOU FIND IN THIS FOLDER AND EMPTY THE TRASH !
    But the Library folder is hidden, so if you don't know how to find it (I don't remember exactly because I did it at 1 am at night in the desperation after looking for the solutions in many forums for hours) you can go to Helpand write library, then from All Help -> what is the Library folder? and there it is explained!
    Now you are free!!!

  • You can't open the application NotificationExecbecause PowerPC applications are no longer supported

    I have Lion on my mac and I've tried to install an application for an external Maxtor hard drive.
    But it seems to be compatable only with previous Operating Systems because now every 5 seconds I get the popup
    "You can't open the application NotificationExec because PowerPC applications are no longer supported".
    I have deleted all the applications of the external hard drive from the Applications folder, and from the trash as well.
    But it doesn't help because the message is continuing to pop-up.
    Thank you for your help.

    I had already formatted the external Maxtor external hard drive but it didn't help because the problem came when after formatting I tried to install an application (belonging to Maxtor) to the MacBook. The application was meant for an operating system previous to Lion.
    The solution is to remove everything belonging to Maxtor from your Mac.
    I deleted the Maxtor application from the Applications folder, but it wasn't enough. After struggling in google I found this solution and it worked!
    HERE IS THE SOLUTION:
    First remove all the Maxtor applications you've installed from the Applications folder (just trash them and empty the trash).
    Then go to Finder and from Macintosh HD -> Library -> Driver Support -> DELETE THE MAXTOR APPS YOU FIND IN THIS FOLDER AND EMPTY THE TRASH !
    But the Library folder is hidden, so if you don't know how to find it (I don't remember exactly because I did it at 1 am at night in the desperation after looking for the solutions in many forums for hours) you can go to Help and write library, then from All Help -> what is the Library folder? and there it is explained!
    Now you are free!!!

  • The application was not installed unknown error: 0xE8000050

    The application was not installed unknown error: 0xE8000050.
    How to fix please???

    If it helps, the redirect page when I clicked on more information was:
    http://support.apple.com/kb/TS1702
    I tried all the following, rebooted my ipod still didnt work.
    I would like to know how to completely remove all traces of the application, so I can reinstall it again. Thanks.

  • Can't share files on a removable hard drive when using Airport Extreme

    I connected a removable hard drive to the USB port on the Airport Extreme. I can see the hard drive under Disks in Airport Utility, but cannot view or share the files.
    Note: I can share the files when I am connected directly to my MacBook Pro USB port.
    Please help.

    I have enabled file sharing.
    I tried going to afp://10.0.1.1 but get a connection error. I may be doing it wrong. How do I get the proper IP to use?
    Thanks

Maybe you are looking for

  • The document "Blank.template" could not be opened. in Pages

    I can not open any tempaltes in Pages from iWork on Macbook Pro. When I open pages. I can then pick a template. when I click that or any of the templates I get The document "Blank.template" could not be opened. I am new to the Mac world and trying to

  • Importing From Flat File with Dynamic Columns

    HI I am using ssis 2008,i have folder in which I have Four(4) ".txt" files each file will have 2 columns(ID, NAME). I loaded 4 files in one destination, but today I receive one more ".txt" file here we have 3 columns (ID, NAME, JOB) how can I get a m

  • Magic mouse right click problem in Mountain Lion

    Hi! My Magic mouse right-click doesn't work in Mountain Lion! in previous OSes it was working properly (Leopard and Lion), but when I upgrated to Mountain, this problem occured. if you click anywhere on the magic mouse, it simply do a click, not a ri

  • Delete an ENTIRE podcast?

    Hi Does anyone know how to delete an entire podcast? The show, the header...everything? I'm the owner- I changed servers and upgraded extensively, but the old podcast is still out there. It's confusing for first time visitors. We're talking about Smo

  • Sleep mode draining the battery (Macbook Pro Retina 13" Late 2013)

    Hi everybody, I have the following issue. I have the newest Macbook Pro Retina (late 2013) with 16gigs memory. When I put in is sleep mode then it drains the battery with between 6% and 20% in 8hours. Powernap is turned off, according the logs in Con