Debugging in Eclipse Java remote objects

Hi guys,.

The following URL used to point to a WIKI page that describes the steps to configure Eclipse launch the JRun integrated flex server in debug mode, so that it is able to debug java code on the server side.

http://labs.Adobe.com/wiki/index.php/Flex_Enterprise_Services: debugging

Where is this information now? It is said that this has been moved to the site of release, but I can't find it now.

Thank you
Thunder Stumpges

He has got to work! After much trial and error and research around
on debugging JRun, I've got that works for me.
Good luck
Thunder
_________________________

Here's what I did:

* Right click on your project in Java Server, select Debug as-> Debug...
* If it does not already have a new configuration, click on the 'new '.
button toolbar at the top left of the window.
Name of the debug configuration and in the "main" tab set the main «»
class' jrunx.kernel.JRun
* Click on the tab "arguments".
-Set of Arguments (without the quotes): 'start by default '.
-VM Arguments (without the quotes):
'- Dsun.io.useCanonCaches = false - Djmx.invoke.getters = true '.
* PROBABLY USELESS (may work with Java JRE 1.5)
-Select the JRE tab and select "Other JRE" and choose
a java JRE 1.4.x
* Click the Classpath tab and select entries of a user in the list, then
Use "Add external Jars" to add:
-All Jar of C:\fds2\jrun4\lib files
-All Jar of C:\fds2\jrun4\servers\lib files
-All Jar files of
C:\fds2\jrun4\servers\default\flex\WEB-INF\lib
* Click 'Apply' and 'Debug '.

Tags: Adobe LiveCycle

Similar Questions

  • Remote objects do not support Java integers

    Another a - cha with the help of flex... it becomes bad enough... :(

    Integers do not cross over Java in ActionScript3, the use of remote objects. Strings of working on a large, all the rest are not. Where can I report this bug?

    After further research, it turns out that flex 3 is still in ALPHA and is not ready for the general public. You simply can not get reproducible results when you use Flex / Java / JBoss / BlazeDS under any form without code change.

    Flex leaves just, no errors, no nothing. 10%, there is no work (return of remote objects), the rest of the time, it isn't, it returns empty objects.

    Would be great if this was tested prior to release.

  • Remote object (Java) - intercomm Data Service (Java)

    Hello

    I was wondering how to make my remote Java application communication (message exchange) object to my implementation of Java data service.

    The scenario is this: my Flex client application must connect to a 3rd person resource, which requires authentication. I was thinking of using a destination of the remote object that will perform the authentication of the user. It will store a session object valid (Java) to be used later to perform various reportoire to this 3rd party resource.

    At one point, during the same session of Flex browser, a data destination Service needs be accessible, which will link to the 3rd party resource. Well, for this operation, I don't want the user to authenticate again on the resource party 3rd, as a valid session exists and stored by the implementation of the remote Java object.

    The question is: how my class of Java Data Service will be able to speak with the class remote Java object, to get that 3rd party session to oppose (which is also a very complex Java object) and use it to connect to the 3rd party resource?

    Thank you.

    Had... it's by the attributes of the session... Robert

  • PL/SQL, debugging via Eclipse

    Hi all

    I'm developing an application JSP in Eclipse (3.3.0) and SQL Developer (1.2.1), which interacts with an Oracle database operations that write in the DB are all stored in stored procedures and called from the Java Code.

    What I'm trying to do, it's remotely debug PL/SQL code - when you debug Eclipse Java code, so I can trace the whole process, otherwise I do not see what is happening in the stored procedures.

    How can do remote debugging of Eclipse?

    Thanks, Leonard

    Published by: user8324848 on 05.09.2008 05:30

    call is a SQL * more of the customer's order and the braces are not part of pl/sql.

    TO call a procedure of JDBC, you run a pl/sql block.

    stmt = "start; fasi_lob.debugOn; end; « ;

  • Method in class java.lang.Object [] business need not be declared as final

    Hello

    I'm deploying a Java 7. EAR to Weblogic 12.1.3 and I get the following error

    The track repeats four times, changing the method name that is highlighted in bold: wait, getClass, notify, and notifyAll

    Can someone explain to me what was going on? The stack trace shows nothing else. There seems to be something to do with EJB.

    This post is the only related information I ve got EJB 3.0 and jndi lookup (simple question) , but it suggests to use @Remote worthless. That s not my case. This app has worked before with @Remote pointing to a Remote Interface

    Any help much appreciated

    Thank you

    weblogic.ejb.container.compliance.ComplianceException: method of business [wait / getClass / notify / notifyAll] in class java.lang.Object must not be declared as final

    at weblogic.ejb.container.compliance.Ejb30SessionBeanClassChecker.validateBusinessMethod(Ejb30SessionBeanClassChecker.java:274)

    at weblogic.ejb.container.compliance.Ejb30SessionBeanClassChecker.checkBusinessMethods(Ejb30SessionBeanClassChecker.java:229)

    at sun.reflect.GeneratedMethodAccessor232.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:497)

    at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:100)

    at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:90)

    at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:81)

    at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:172)

    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:346)

    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:314)

    at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:429)

    at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:355)

    at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:723)

    at weblogic.ejb.container.deployer.EjbModuleExtension.postPrepare(EjbModuleExtension.java:98)

    to weblogic.application.internal.ExtensibleModuleWrapper$ PrepareStateChange.next (ExtensibleModuleWrapper.java:297)

    to weblogic.application.internal.ExtensibleModuleWrapper$ PrepareStateChange.next (ExtensibleModuleWrapper.java:285)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:109)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

    to weblogic.application.utils.StateMachineDriver$ ParallelChange.run (StateMachineDriver.java:80)

    at weblogic.work.ContextWrap.run(ContextWrap.java:40)

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:548)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    I thought about it

    In one of my EBJ´s @Local and @Remote have been pointing to the same Interface

    In any case, the error does not specify which EJB is a failure. He says nothing, really

  • Graphics using remote object


    ======================== Original Post =========================

    I've looked everywhere for a single example of a person who uses a remote object with Flex charts. Each example and tutorial I've found so far use a static arrayCollection collection. I use CF and MS SQL so if anyone has an example of basic work that I could learn from I would be grateful.

    I was surprised that 4 books I (training from the Source of programming Flex 2, Professional Flex 2 and Flex 2 with AS3) as well as the tutorials of Lynda.com and Total Training videos or anything I could find on the net so far nobody seems to have addressed this issue.

    My company wants to build a system of dashboard with all cards and whistle so if anyone can point me to a tutorial or a juicy source code would be great.

    Thank you

    James

    Firstly, my apologies - my post was done half ass! I forgot to give you a lot of code. First of all the call to the Office receiver in the "creationcomplete" of the application method, so I re-posted the code below (and this time I ran it first out bugs!)

    OK, so, if nothing happens still, then I'd be puzzled. Something that could go wrong would be "unable to connect" inside CF remote server, but you should get an error when this happens, and it should be a pretty obvious mistake. If you've never done CF remoting, look at the example on the Flex dev center, it does not work with complex data, but it's a good start.

    If you debug the application, you should put a breakpoint in the function 'handleTop3ActivitiesResult' and that the variable 'slicedtop3ActivitiesAC' is is filled.

    Try the code below and tell me if you still have problems, and what these problems are.

    See you soon,.

    David


    http://www.Adobe.com/2006/mxml"layout ="vertical ".
    creationComplete = "reportManager.getTop3Activities (); » >

    Import mx.utils.NameUtil;
    Import mx.utils.DisplayUtil;
    Import mx.collections.ArrayCollection;
    Mx.charts import. *;
    Mx.charts.series import. *;
    Mx.charts.series.items import. *;
    Import mx.charts.chartClasses.ChartLabel;
    Import mx.charts.effects.SeriesInterpolate;
    Mx.rpc.events import. *;
    Import mx.controls.Alert;
    Import mx.formatters.NumberFormatter;

    [Bindable] public var top3ActivitiesArray:Array;
    [Bindable] public var slicedtop3ActivitiesAC:ArrayCollection = new ArrayCollection();
    public void handleTop3ActivitiesResult(event:ResultEvent):void {}
    top3ActivitiesArray = Event.Result.List.source in the table;
    slicedtop3ActivitiesAC.source = top3ActivitiesArray;
    }

    private void displayTop3ActivityChartTip(data:Object,_field:String,_index:Number,_percentValue:Number):String {}
    var nfmt:NumberFormatter = new NumberFormatter();
    NFMT. Precision = 0;
    return data. ActivityName + ":"+ nfmt.format (data.time) + "\n" «Minutes»;»
    }

    ]]>



    "Fault =" Alert.Show (Event.Fault.message) "result =" handleTop3ActivitiesResult (event) "/ >



    width = "50%" height = "50%" showDataTips = "true" >


    labelFunction = "displayTop3ActivityChartTip" showDataEffect = "{interpolate}" / >


  • Why my device-reset material whenever _other_ debug thru Eclipse?

    Why my device-reset every other time debug thru Eclipse?

    I'm trying to debug my app on a 9530 BB, and there the 4.7.0.167 software version. I get two errors that this guy is, but there is no 4.7.0.167 simulator version - closest is 4.7.0.181. Since I am not able to upgrade my OS to 5.0 version, I always use the 4.7.0. *.

    The first time I run Debug as > BlackBerry device Eclipse, my program downloads to the phone and I can launch successfully without any problems.

    If I try to run a second time, the device - reset hard. It's a very long edit/compile/run cycle (up to 2 minutes for a full reset) and I don't think that this should be the case.

    Re-installing your operating system (5.0 decided)

  • java.lang.Object can not be cast in error java.util.List

    We get the following error every now and then in a system busy. I don't even know what's hiding what is happening, or why. Note that the stack trace is all in the code of consistency.

    Any ideas?
    ERROR | 09-16-2012 10:35:50.479 | Logger@9214443 3.5.3/465 | Coherence(0) - 2012-09-16 10:35:50.478/42504.834 Oracle Coherence GE 3.5.3/465 <Error> (thread=DistributedCache:DistributedWriteThrough, member=190): An exception occured while dispatching synchronous event:MapListenerSupport$FilterEvent{DistributedCache$BinaryMap inserted: key=Binary(length=6, value=0x1542BC97C11D), value=null, synthetic, filters=[null]}
    ERROR | 09-16-2012 10:35:50.488 | Logger@9214443 3.5.3/465 | Coherence(0) - 2012-09-16 10:35:50.479/42504.835 Oracle Coherence GE 3.5.3/465 <Error> (thread=DistributedCache:DistributedWriteThrough, member=190):
    java.lang.ClassCastException: java.lang.Object cannot be cast to java.util.List
            at com.tangosol.net.cache.CachingMap.validate(CachingMap.java:1245)
            at com.tangosol.net.cache.CachingMap$BackMapListener.onMapEvent(CachingMap.java:1628)
            at com.tangosol.util.MultiplexingMapListener.entryInserted(MultiplexingMapListener.java:33)
            at com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap$ProxyListener.dispatch(DistributedCache.CDB:22)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap$ProxyListener.entryInserted(DistributedCache.CDB:1)
            at com.tangosol.util.MapListenerSupport$WrapperSynchronousListener.entryInserted(MapListenerSupport.java:856)
            at com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
            at com.tangosol.coherence.component.util.CacheEvent.dispatchSafe(CacheEvent.CDB:14)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.dispatch(DistributedCache.CDB:86)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onMapEvent(DistributedCache.CDB:43)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$MapEvent.onReceived(DistributedCache.CDB:3)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
            at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
            at java.lang.Thread.run(Thread.java:662)
    ERROR | 09-16-2012 10:35:50.488 | Logger@9214443 3.5.3/465 | Coherence(0) - 2012-09-16 10:35:50.479/42504.835 Oracle Coherence GE 3.5.3/465 <Error> (thread=DistributedCache:DistributedWriteThrough, member=190): (The exception has been logged and execution is continuing.)

    This is a bug (COH-3147), which was set in 3.5.3 Microsoft3

  • ProcessEntry (...) consistency: unknown user type: java.lang.Object

    Hello!

    I created a new class that extends the VersionedPutAll class. When I replace processEntry (...) method I get an exception:
    Exception in thread "main" (Wrapped: Failed request execution for DistributedCache service on Member(Id=1, Timestamp=2012-08-09 18:02:13.598, Address=192.168.1.1:8088, MachineId=49553, 
    Location=site:,machine:StBook,process:18387, Role=IntellijRtExecutionAppMain) (Wrapped) unknown user type: java.lang.Object) java.io.IOException: unknown user type: java.lang.Object
    The original VersionedPutAll works well. My class without processEntry (...) works well also. But the simple substitution of processEntry (...) as
    protected Object processEntry(InvocableMap.Entry entry, Map mapAll, boolean fInsert, boolean fReturn) {
        return new Object();
    }
    throws an exception.

    Does anyone know what is the problem? Thank you.

    public class ExtVersionedPutAll extends VersionedPutAll {
        private static final Object NO_RESULT = new Object();
    
        public ExtVersionedPutAll() {}
    
        public ExtVersionedPutAll(Map map) {
            super(map);
        }
    
        public ExtVersionedPutAll(Map map, boolean fAllowInsert, boolean fReturn) {
            super(map, fAllowInsert, fReturn);
        }
    
        protected Object processEntry(InvocableMap.Entry entry, Map mapAll, boolean fInsert, boolean fReturn) {
            Object oKey = entry.getKey();
            if(mapAll.containsKey(oKey)) {
                Versionable oValueCur = (Versionable)entry.getValue();
                Versionable oValueNew = (Versionable)mapAll.get(oKey);
                boolean fMatch;
                if(oValueCur == null) {
                    fMatch = fInsert;
                } else {
                    Comparable verCur = oValueCur.getVersionIndicator();
                    Comparable verNew = oValueNew.getVersionIndicator();
                    fMatch = verCur.compareTo(verNew) < 0;
                }
                if(fMatch) {
                    oValueNew.incrementVersion();
                    entry.setValue(oValueNew, false);
                    return NO_RESULT;
                } else {
                    return fReturn ? oValueCur : NO_RESULT;
                }
            } else {
                return NO_RESULT;
            }
        }
    }
    Exception in thread "main" (Wrapped: Failed request execution for DistributedCache service on Member(Id=1, Timestamp=2012-08-09 18:02:13.598, Address=192.168.1.1:8088, MachineId=49553,
     Location=site:,machine:StBook,process:18387, Role=IntellijRtExecutionAppMain) (Wrapped) unknown user type: java.lang.Object) java.io.IOException: unknown user type: java.lang.Object
         at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.tagException(Grid.CDB:36)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeAllRequest(PartitionedCache.CDB:97)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeAllRequest.onReceived(PartitionedCache.CDB:111)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:34)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.io.IOException: unknown user type: java.lang.Object
         at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:351)
         at com.tangosol.util.ExternalizableHelper.serializeInternal(ExternalizableHelper.java:2597)
         at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:211)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterValueToBinary.convert(PartitionedCache.CDB:3)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.invokeAll(PartitionedCache.CDB:63)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeAllRequest(PartitionedCache.CDB:78)
         ... 7 more
    Caused by: java.lang.IllegalArgumentException: unknown user type: java.lang.Object
         at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:430)
         at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:419)
         at com.tangosol.io.pof.PofBufferWriter.writeUserType(PofBufferWriter.java:1671)
         at com.tangosol.io.pof.PofBufferWriter.writeObject(PofBufferWriter.java:1623)
         at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:345)
         ... 12 more

    The problem is that you try to return an instance of the EntryProcessor NO_RESULT and No_Result is of type Object. Coherence cannot serialize an ordinary object, so you get this error. You need to do something No_RESULT that can be serialized - object to primitive type or a custom class that is serializable POF.

    JK

  • ORA-04052: error occurred while the remote object by raising

    Please help I m this error

    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-04052: error occurred while the remote object by raising
    ORA-01017: name of user and password invalid.
    connection refused ORA-02063: preceding the line of LINK DB

    Tom wrote:
    Please help I m this error
    ORA-01017: name of user and password invalid.
    connection refused ORA-02063: preceding the line of LINK DB

    Well, what part of the name of user and password invalid needs to explain?

    SY.

  • operation not allowed on java.lang.object

    Hello.

    I use jdeveloper 11.1.1.5

    I had used this code in my AMImpl method
           ViewObjectImpl vo = this.getFinPeriodsView1();
           Row vor= vo.getCurrentRow();        
           System.out.println("Current date : " + (vor.getAttribute("FpFromDate") + 1)  //getting error as operation not allowed on java.lang.object
           + "-"
           + now.get(Calendar.DATE)
           + "-"
           + now.get(Calendar.YEAR));
      
    My scenario is to perform this operation
    select max(add_months(fp_from_date,1)) from fin_periods  //This value is to be set to FPFromDate Attribute for FinPeriods
    select max(add_months(fp_end_date,1)) from fin_periods //This value is set to be set to FpEndDate Attribute for FinPeriods
    I need to do this for 12 periods that example sample is
    for (int i=0;i<=12;i++)
    {
      select max(add_months(fp_from_date,1)) from fin_periods;
      select max(add_months(fp_end_date,1)) from fin_periods;
    }
    How can I do this in my method of AMIMpl.

    Hello
    First add after the stuff inside your implementation code

    //Code Stuff in your mathod as follows
          Calendar cl = Calendar.getInstance();
          java.util.Date dateFromTable = convertDomainDateToUtilDate((oracle.jbo.domain.Date)vor.getAttribute("FyStartDate"));//check now
          cl.setTime(dateFromTable);
          System.out.println (cl.getTime());
          cl.add(Calendar.DATE, 30);//add 30 days
          Date toDate = cl.getTime();
          System.out.println (toDate);
    //
    

    and also add convertDomainDateToUtilDate new method to your class. Method will return java.util.Date to your oracle.jbo.domain.Date

    public java.util.Date convertDomainDateToUtilDate(oracle.jbo.domain.Date domainDate) {
     java.util.Date date = null;
     if (domainDate != null) {
     java.sql.Date sqldate = domainDate.dateValue();
     date = new Date(sqldate.getTime());
     }
    return date;
    }
    
  • Error with the remote object

    Hello

    I have this error when I try to connect using remote object with ColdFusion.

    Unknown AMF type "15".null

    Any ideas?

    Thank you!

    Sorry, I was the bad parameter

    It's time to go to sleep.

    Best,

  • Remote object with mobile apps

    Hi all

    I want to know that is it possible to apply a moblie (TLE say for android) using the adobe AIR software, which can work with

    the remote object? If so then someone can say that it will be possible to implement as amfphp, blazeds, flurinefx or web - orb etc.?

    Thanks in advance,

    Wallerand

    iPad, Android, Blackberry Playbook.

  • How to get the remote object mode protect?

    Hi all

    I have a question for a remote object mode protect in drive x. need your help, thank you very much ~

    Background: I have a plugin running on drive x protect mode. Without a strong name, plug-in will load my DLL (manufactured by c#). Then, in this DLL, it will use

    _3rdProxy p (_3rdProxy) Activator.GetObject = (typeof (_3rdProxy), url); for a remote object of the 3rd application (made by c# also). Then I can make communication between my app plug-in and 3rd.

    But I got an error "Access denied", said. Anyone know how to get the remote object in this case? Thank you very much ~

    Since you have a reader integration key, you are advised to use our methods of support for the official Developer.

  • Bubbling remote object

    Hello

    I have a component that is to have a remote object.

    Is it possible to the ResultEvent or result generated by the remote object of bubble. ? Can I do something that is mentioned below?

    COMP1. MXML

    <? XML version = "1.0" encoding = "utf-8"? >
    "< mx:VBox xmlns:mx ="http://www.adobe.com/2006/mxml">".
    < mx:RemoteObject id = "rem" destination = 'TestService' result = "onComplete (event); "showBusyCursor ="true"/ >

    < mx:VBox >


    MainComp.mxml

    <? XML version = "1.0" encoding = "utf-8"? >
    "< mx:Application xmlns:mx ="http://www.adobe.com/2006/mxml"layout ="absolute"creationComplete =" init () ">"
    < mx:Script >
    <! [CDATA]
    Import mx.controls.Alert;
    Import mx.rpc.events.FaultEvent;
    private function init (): void {}
    COMP1.addEventListener (GenericEvent.FAULT_EVENT, faultEvent);
    }

    private void faultEvent(event:FaultEvent):void {}
    Alert.Show ("Ersdasdfsdfrrror");
    }
    []] >
    < / mx:Script >
    < ns2:Comp1 id = "comp1" x = "72" y = "55" >
    < / ns2:Comp1 >

    < / mx:Application >

    Concerning

    mxvx

    Hello

    Propagation of events occur through the display list, that is to say a component (DisplayObject) sending an event and another component (DisplayObject) listen.

    However, you may have;

    COMP1. MXML

    private function onComplete(event:FaultEvent):void
    {
         dispatchEvent(event);
    }
    

    The above would then go the event to your MainComp.mxml

    Mike

Maybe you are looking for

  • First click on the popup icon Star "bookmark this Page".

    When I click the icon star on the address bar, I think it should be saved in "Unsorted Bookmarks" by default. but a "bookmark this Page" popup dialog.The page has never set bookmark.Anyone has an idea about this problem?

  • Satellite L10-254: problem of touchpad pointer jumps around

    Excuse me for my bad English My touchpad malfunctions when I hover in one place and let my finger. He trembles, sometimes when I he moved, he made jumps before I have not changed any settings and tested with others, it is similar. Should I return it

  • Failed to Load Video iPhone - cannot change Live photos

    I accidentally pulled a bunch of live photos and want to create still photos of them.  When you attempt to change the live photo, you receive an error message, "does not have video support, there was an error loading this video."  What can I do?  I r

  • HP paviliong4 notebook pc: ram problem

    ADATA first DDR3 4 GB laptop (ADDS1600W4G11-R) I can install this RAM I want to know who is this ram work in my laptop I have not bought PLSS help me!

  • aid to navigation in qml

    Hello I did an application using the request of single page using QML. Now I want to put a screen of configuration for this application and want to make a menu item for it by which user can click the layout option and the user gets this screen to set