IPC using events giving exception

Anyone saw this exception before?
I was only trying IPC using events b/w 2 portlets that comes with wsrp-tools (form & display portlet) - last section of 2nd chapter of Yannick's book, am getting below exception when I click 'ok':
java.lang.StackOverflowError at oracle.jbo.common.JboBeanUtils.getPropertyDescriptor(JboBeanUtils.java:32) at oracle.jbo.common.JboBeanUtils.getProperty(JboBeanUtils.java:80) at oracle.jbo.common.JboAbstractMap.internalGet(JboAbstractMap.java:97) at oracle.adf.model.binding.DCExecutableBinding.internalGet(DCExecutableBinding.java:169) at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2823) at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115) at javax.el.MapELResolver.getValue(MapELResolver.java:164) at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173) at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200) at com.sun.el.parser.AstValue.getValue(Unknown Source) at com.sun.el.ValueExpressionImpl.getValue(Unknown Source) at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68) at org.apache.myfaces.trinidad.component.FacesBeanWrapper.getProperty(FacesBeanWrapper.java:58) at oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper.getProperty(UIXInclude.java:550) at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1194) at oracle.adf.view.rich.component.fragment.UIXPageTemplate.getValue(UIXPageTemplate.java:486) at oracle.adf.view.rich.component.fragment.UIXPageTemplate._setupPageTemplateContext(UIXPageTemplate.java:301) at oracle.adf.view.rich.component.fragment.UIXPageTemplate.access$100(UIXPageTemplate.java:169) at oracle.adf.view.rich.component.fragment.UIXPageTemplate$PageTemplateContextChange.doChangeImpl(UIXPageTemplate.java:450) at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91) at oracle.adf.view.rich.component.fragment.UIXPageTemplate.setupVisitingContext(UIXPageTemplate.java:219) at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:142) at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330) at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424) at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330) at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424) at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678) at oracle.adfinternal.model.portlet.binding.PortletModelImpl.markComponentAsPartialTarget(PortletModelImpl.java:194) at oracle.adfinternal.model.portlet.binding.PortletModelImpl.markPortletDirty(PortletModelImpl.java:164) at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel$2.handleEvent(PortletBinding.java:1894) at oracle.portlet.client.container.event.ArrayEventConsumer.handleEvent(ArrayEventConsumer.java:17) at oracle.portlet.client.containerimpl.event.EventManagerImpl.fireEvent(EventManagerImpl.java:145) at oracle.adfinternal.model.portlet.binding.PortletModelImpl.activateParameterChanges(PortletModelImpl.java:681) at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.activateParameterChanges(ActivityPortletModelWrapper.java:70) at oracle.adf.model.portlet.binding.PortletBinding._handleEvent(PortletBinding.java:914) at oracle.adf.model.portlet.binding.PortletBinding.handleEvent(PortletBinding.java:985) at oracle.adf.model.binding.events.EventDispatcherImpl.invokeEvent(EventDispatcherImpl.java:429) at oracle.adf.model.binding.events.EventDispatcherImpl.dispatchEventToConsumer(EventDispatcherImpl.java:402)

Sorry for delay in reply.
There is an 'ok' button on 'form' portlet, when I click that, I get above error.

Similar Messages

  • Not able to spy objects in ie9 using coded UI Test Builder Spy, giving exception -Interface not registered(Exception from HRESULT:0X....

    Not able to spy objects in ie9 using coded UI Test Builder Spy, giving exception - "Interface not registered(Exception from HRESULT:0X...."
    I am not able to capture any objects of my web application using coded ui recorder. Even though it is a simple html page, coded ui is showing a message  -"Interface not registered(Exception from HRESULT:0X...."
    Please give me solution , why this is hapening. I am having problem with object identification. Even I am not able to identify any object in google.com.
    swapnanil sengupta

    TechnologyName is displaying as "MSAA" . But my application is a Webapplication.If I try to spy the google .com's search field then also TechnologyName is displaying as "MSAA". Is it any configuration issue of vsts codedui.
    swapnanil sengupta

  • Unhandled event loop exception in workshop 10.3

    Hi All,
    when I tried to generate a Process controller from a JPD using WLI workshop 10.3 I found following error says
    Message :
    Unhandled event loop exception
    here is following exception stack trace :
    java.lang.ExceptionInInitializerError
         at com.bea.wli.bpm.compiler.CheckerVisitor.addIssue(CheckerVisitor.java:44)
         at com.bea.wli.bpm.compiler.CheckerVisitor.addWarning(CheckerVisitor.java:58)
         at com.bea.wli.bpm.compiler.CheckerVisitor.visit(CheckerVisitor.java:476)
         at com.bea.wli.bpm.model.ProcessNode.accept(ProcessNode.java:63)
         at com.bea.wli.bpm.model.BaseNode.accept(BaseNode.java:283)
         at com.bea.wli.bpm.compiler.Compiler.check(Compiler.java:46)
         at com.bea.wli.bpm.compiler.JpdChecker.checkProcessDefinition(JpdChecker.java:567)
         at com.bea.wli.bpm.compiler.JpdChecker.check(JpdChecker.java:146)
         at com.bea.wli.knex.runtime.core.compiler.WlwChecker.wrapCheck(WlwChecker.java:139)
         at com.bea.wli.knex.runtime.core.compiler.WlwChecker.checkType(WlwChecker.java:112)
         at com.bea.wli.knex.runtime.core.compiler.WlwAnnotationProcessor.check(WlwAnnotationProcessor.java:54)
         at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.check(JpdAnnotationProcessor.java:61)
         at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.check(JpdAnnotationProcessor.java:95)
         at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.getProcessControl(JpdAnnotationProcessor.java:283)
         at com.bea.wli.ide.controls.process.ProcessControlInsertionDelegate.getControlContents(ProcessControlInsertionDelegate.java:85)
         at com.bea.wli.ide.controls.process.ControlGenerator.generate(ControlGenerator.java:57)
         at com.bea.wli.ide.jpd.actions.GenerateProcessControl.run(GenerateProcessControl.java:101)
         at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3687)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3299)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:448)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1174)
         at org.eclipse.equinox.launcher.Main.eclipse_main(Main.java:1148)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:33)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.util.MissingResourceException: Can't locate bundle for class 'com.bea.wli.core.l10n.CoreBpmCompilerLogLocalizer'
         at weblogic.i18ntools.L10nLookup.getLocalizer(L10nLookup.java:382)
         at weblogic.i18ntools.L10nLookup.getLocalizer(L10nLookup.java:345)
         at com.bea.wli.bpm.compiler.CompileErrorImpl.<clinit>(CompileErrorImpl.java:35)
         at com.bea.wli.bpm.compiler.CheckerVisitor.addIssue(CheckerVisitor.java:44)
         at com.bea.wli.bpm.compiler.CheckerVisitor.addWarning(CheckerVisitor.java:58)
         at com.bea.wli.bpm.compiler.CheckerVisitor.visit(CheckerVisitor.java:476)
         at com.bea.wli.bpm.model.ProcessNode.accept(ProcessNode.java:63)
         at com.bea.wli.bpm.model.BaseNode.accept(BaseNode.java:283)
         at com.bea.wli.bpm.compiler.Compiler.check(Compiler.java:46)
         at com.bea.wli.bpm.compiler.JpdChecker.checkProcessDefinition(JpdChecker.java:567)
         at com.bea.wli.bpm.compiler.JpdChecker.check(JpdChecker.java:146)
         at com.bea.wli.knex.runtime.core.compiler.WlwChecker.wrapCheck(WlwChecker.java:139)
         at com.bea.wli.knex.runtime.core.compiler.WlwChecker.checkType(WlwChecker.java:112)
         at com.bea.wli.knex.runtime.core.compiler.WlwAnnotationProcessor.check(WlwAnnotationProcessor.java:54)
         at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.check(JpdAnnotationProcessor.java:61)
         at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.check(JpdAnnotationProcessor.java:95)
         at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.getProcessControl(JpdAnnotationProcessor.java:283)
         at com.bea.wli.ide.controls.process.ProcessControlInsertionDelegate.getControlContents(ProcessControlInsertionDelegate.java:85)
         at com.bea.wli.ide.controls.process.ControlGenerator.generate(ControlGenerator.java:57)
         at com.bea.wli.ide.jpd.actions.GenerateProcessControl.run(GenerateProcessControl.java:101)
         at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3687)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3298)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
         at org.eclipse.equinox.launcher.Main.eclipse_main(Main.java:1148)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:33)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         ... 1 more
    Session Data:
    eclipse.buildId=M20080221-1800
    java.version=1.6.0_05
    java.vendor=BEA Systems, Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86
    Any idea on this issue would be appreciated.
    Regards,
    Kal.

    Got the same error in Ubuntu as well.
    Found any solution?

  • Trigger process chain using event

    Hi all,
    I’d like to know if someone ever faced this kind of situation.
    I have a process in R/3 and it must run every day, and when it’s finished I have to start a process chain in BW.
    I thought to do this using events. So, I created a Job that executes this process and added a step( an ABAP program ) that generates an event in a target system, BW.
    The program is this one:
    PARAMETERS:
        p_eventi   TYPE btceventid,
        p_eventp   TYPE btcevtparm,
        p_server   TYPE btcserver.
    Obligatory parameter: EventID.
    EventID should be an existing event already defined in transaction
    SM64 or using CREATE method of class CL_BATCH_EVENT:
    p_eventi   = 'SAP_TEST'.
    Optional parameters: event parameter and target server.
    p_eventp = 'Event parameter'.
    p_server    = ''.
      CALL METHOD cl_batch_event=>raise
        EXPORTING
          i_eventparm                    = p_eventp
          i_server                       = p_server
          i_eventid                      = p_eventi
        EXCEPTIONS
          excpt_raise_failed             = 1
          excpt_server_accepts_no_events = 2
          excpt_raise_forbidden          = 3
          excpt_unknown_event            = 4
          excpt_no_authority             = 5
          OTHERS                         = 6.
      CASE sy-subrc.
        WHEN 0.
          EXIT.
        WHEN 1 OR 2 OR 3.
    Raise failed.
        WHEN 4.
    Event does not exist.
        WHEN OTHERS.
    Raised failed due to unknown reason.
      ENDCASE.
    The execution of the job appears to be OK, but I checked the log at SM62 and couldn’t find any entrie, and the process chain didn’t start too.
    I created the event at BW and R/3 side,  informed the variant with event / server in R/3, etc.
    I’m missing some step??
    Best Regards,
    Tomas

    This is what this note does.  From R/3, it will trigger an event in BW.
    You can also read this post:
    Triggering a Process Chain From R/3 pgm
    Hope this helps.

  • Can we update InfoPath field using Event Receiver ItemAdded method

    Hi,
    Can we update InfoPath browser enabled form field using Event Receiver ItemAdded method. Following is the code snippet I used to update the field but it's not updating the field.
    Please help me on this issue.
    public override void ItemAdded(SPItemEventProperties properties)
                base.ItemAdded(properties);
                try
                    //Turn off event firing so we don't end up with a conflict 
                    base.EventFiringEnabled = false;
                    //Run the code elevated so we can rename our item
                    SPSecurity.RunWithElevatedPrivileges(delegate()
                        using (SPSite site = new SPSite(properties.Web.Site.ID))
                            using (SPWeb web = site.OpenWeb(properties.Web.ID))
                                //Grab a new copy of our list and listitem under the new security context
                                SPList list = web.Lists[properties.List.ID];
                                SPListItem item = list.Items.GetItemById(properties.ListItemId);
                                //Change name and title to match item ID
                                item.File.CheckOut();
                                string fieldInternalName = properties.List.Fields["Employee Name"].InternalName;
                                SPUser oUser = web.EnsureUser(Convert.ToString(item["Employee Entry"]).Substring(0, Convert.ToString(item["Employee Entry"]).Length - 2));
                                item[fieldInternalName] = oUser.Name;
                                item.Update();
                                item.File.CheckIn("Changed Employee Name");
                catch (Exception ex)
                    //Log an errors to the ULS
                finally
                    //Turn event firing back on
                    base.EventFiringEnabled = true;
    Srivignesh J

    When you published your infopath form, did you promote the field you are trying to update to a property, and allow updates (its one of the steps in publishing your form, where you pick which fields you want to show as fields in the list view)... 
    Otherwise, how about get the Item.SPFile object, open it as XML, find the field you want to update, and update it that way... 

  • Tomcat begin event threw exception

    G'day
    This is a freshly built SLES10sp3 OES2sp1 server.
    Everything works except for iManager/novell-tomcat5
    In the catalina.out each time I try to start Tomcat I get
    ERROR org.apache.commons.digester.Digester - Begin event threw exception
    etc......
    I've only found one other reference to this kind of failure in Tomcat
    startup, it was never answered.
    I have reinstalled the iManager pattern then installed iManager and I
    have also reinstalled novell-web-config Novell-tomcat5 and mod_jk
    configuration for OES. No change
    I did checksum the new SLES10sp3 media and verified that media during
    install, the OES2 Install source where Novell-Tomcat would come from
    has been used a few times now and everything works as designed.
    What should I do?
    Thanks, Paul.

    I followed your removal and re-install and Novell-tomcat5 started up fine.
    Thanks.
    Bill
    >>> On 12/2/2009 at 6:36 PM, in message <[email protected]>, Bill Swisher<[email protected]> wrote:
    This happened exactly to me on my 64-bit system. I need to fix it also. How?
    >>> On 11/11/2009 at 9:28 PM, in message <epKKm.2190$[email protected]>, Paul Segal<[email protected]> wrote:
    G'day
    This is a freshly built SLES10sp3 OES2sp1 server.
    Everything works except for iManager/novell-tomcat5
    In the catalina.out each time I try to start Tomcat I get
    ERROR org.apache.commons.digester.Digester - Begin event threw exception
    etc......
    I've only found one other reference to this kind of failure in Tomcat
    startup, it was never answered.
    I have reinstalled the iManager pattern then installed iManager and I
    have also reinstalled novell-web-config Novell-tomcat5 and mod_jk
    configuration for OES. No change
    I did checksum the new SLES10sp3 media and verified that media during
    install, the OES2 Install source where Novell-Tomcat would come from
    has been used a few times now and everything works as designed.
    What should I do?
    Thanks, Paul.

  • How do I use event.target.name in AS2?

    Thanks to kglad I was able to see how event.target.name in AS3 could make a button load a movieclip with the same namesake.
    I'm doing the same thing now in AS2 but don't know what to write instead of event.target.name.
    And so at the moment each button pushes info into an array and then a function uses that to decide which movieclip to attach to a holder after it has faded out once, and then fades in again...
    // ***** IMAGE GALLERY START ***** //
    // Add image to holder
    imgholder.attachMovie("img0", "image0_0", 1)
    // Array
    var nextLoad = ["img0"];
    // Btn listeners
    img5.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img5"); btnClick() } // Written on 1 line
    img4.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img4"); btnClick() }
    img3.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img3"); btnClick() }
    img2.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img2"); btnClick() }
    img1.onRelease = function() {
    nextLoad.pop();
    nextLoad.push("img1");
    btnClick()
    img0.onRelease = function() {
    nextLoad.pop();
    nextLoad.push("img0");
    btnClick()
    // The btn function
    function btnClick() {
    trace ("click");
    var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 100, 0, 1, true);
    myImgTween.onMotionFinished = function() {
    fadeOutImg();
    // The btn function part II
    function fadeOutImg() {
    trace ("fadeOutImg");
    imgholder.attachMovie(nextLoad, "image1_1", 1);
    var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 0, 100, 1, true);
    I know I should be able to push the button name into the array, but am having to use a string... I'm sure my code is cumbersome!! But it works. I've tried pushing the button name but it end up including the full stage reference.
    Is there a cleaner way of doing this using event.target.name?
    Thanks for looking!

    There is no event.target in AS2. However since AS2 has no way of remembering the scope object where the target object resides, you can use this to your advantage to retrieve the name of the target by using the "this" command in the function whenever you use the above format "mc.onPress = myfunc". FYI, the popular workaround Delegate, made it possible that when you called "this" in the function, you could retrieve the scope object where the target instance resides. So without its use, "this" will return the name of the target object. Anyway this is the code you can use:
    imgholder.attachMovie("img0","image0_0",1);
    var nextLoad = ["img0"];
    img5.onRelease = onImgRelease;
    img4.onRelease = onImgRelease;
    img3.onRelease = onImgRelease;
    img2.onRelease = onImgRelease;
    img1.onRelease = onImgRelease;
    img0.onRelease = onImgRelease;
    function onImgRelease():Void {
       nextLoad.pop();
       nextLoad.push(this._name);
       btnClick();
    // The btn function
    function btnClick() {
       trace("click");
       var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 100, 0, 1, true);
       myImgTween.onMotionFinished = function() {
          fadeOutImg();
    // The btn function part II
    function fadeOutImg() {
       trace("fadeOutImg");
       imgholder.attachMovie(nextLoad,"image1_1",1);
       var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 0, 100, 1, true);

  • How can I view my photos in "Events" like in iPhoto? How can I create events?  I have 55,000 photos and 1700 events so the only way I can possibly manage my photos is using events that are one slide in size.

    I have 55,000 images organized into about 1700 events. The only reasonable way to view my library is using events in iPhoto where each event has one image That still leaves 1700 images to sort through but that is a lot easier than 55,000 images.  In the side bar is a folder with "iPhoto Events" but those views still show all of the slides.  How can I create events and view my photos as events as in iPhoto?  Events are critical for large libraries and has been my primary way to sort images.
    Thanks!

    I had a problem a couple of months ago when iPhotos suddenly rearranged the order of my Events (Why won't iPhoto let me arrange my photos?) .  I was told "Use albums not events - events are not a good way to organize - albums and folder are designed for organisation and are very flexible".
    Haha!  I should have paid attention and read between the lines!  My iPhotos were highly organised groupings - not according to date but the way I wanted them - and it was so easy to do!  I see now that if I had them all in albums, as per the Apple Apologist suggestion, I wouldn't have this unholy mess I have been left with just to make iPhone & iCloud users happy.  I am now going through Photos and making Albums (of what used to be in my Events)  ... maybe I'll get this finished before they do another non user friendly update!

  • I have all of my music on my dad's apple ID (on my Macbook pro and iphone). I want to start using my own apple ID (the one that my iPhone uses for everything except iTunes store) as my iTunes apple ID - how do I do this without losing my old music?

    I have all of my music on my dad's apple ID (on my Macbook pro and iphone). I want to start using my own apple ID (the one that my iPhone uses for everything except iTunes store) as my iTunes apple ID - how do I do this without losing my old music?

    Authorize your computer with your Dad's AppleID.

  • Add fields to maintenance view and update then using events

    Hi experts:
      I've created a table with 4 fields, one of them is userid. Also, there is a maintenance view to add new entries.
      I want to display user name when typing userid using events (1 or 21). I know how to do it if username is one of the fields of the table, but there is a requirement to not store username in the table, just userid.
    My question is: is possible to add a field into the maintenance view and update it using events but not store the value in DB?.
    Thanks in advance for your help.
    Regards,
    Carlos.

    In the save event just clear the entries of the field(user name) in the internal table.

  • Can i use events for anything i want?

    hi
    i've got a doubt about events. i am using events to send information between objects, so that the objects don't need to know who they are sending the information to.
    so i created my own events, listener and listenermulticaster
    but i have the feeling that events are intended to be used by the GUI objects, swing and awt.
    my question is if it is a good programming practice to use events to communicate other kind of objects. or maybe using events is not desirable at all??
    if events must not be used for this kind of works, what are the other ways to do it??
    thanx in advance,
    Lagarto

    well, thank you for your time
    now im considering using interfaces. if i understand it, the idea would be this:
    object A has information to send, so it has an atribute of tipe MyInterface, which has the methods to send the data.
    object B wants to get the data, so it create a new MyInterface and do something like:
    A.setMyInterface(new MyInterface() {....});
    i think this would work if there is only object B which wants the data (actually, this is the case i was thinking of from the beginning)
    but what can i do if there are more objects wich must get the data?
    Must the object A keep a Vector or something of more than one interfaces??
    thanks again...
    Lagarto

  • HOW TO CREATE  and  USE EVENTS IN WORKFLOWS .

    HOW TO CREATE  and  USE EVENTS IN WORKFLOWS with the help of classes.
    What i am doing is..
    open se24
    event tab->event name->parameters
    method tab->method name->event handler->copy parameters
    interface tab->if_workflow->enter
    tell me what else to do step by step
    Another important thing is that HOW to use these class events to trigger the workflows.
    REPLY ASAP
    THXS IN ADVANCE

    Hi,
    Pl. see this blog...
    Raising ABAP OO events for workflow
    Regards,
    JOy.

  • Why and how to use events in abap objects

    Dear all,
      Please explain me why and how to use events in abap objects with real time example
    regards
    pankaj giri

    Hi Pankaj,
    I will try to explain why to use events... How to use is a different topic.. which others have already answered...
    This is same from your prev. post...
    Events :
    Technically speaking :
    " Events are notifications an object receives from, or transmits to, other objects or applications. Events allow objects to perform actions whenever a specific occurrence takes place. Microsoft Windows is an event-driven operating system, events can come from other objects, applications, or user input such as mouse clicks or key presses. "
    Lets say you have an ALV - An editable one ...
    Lats say - Once you press some button  you want some kind of validation to be done.
    How to do this ?
    Raise an Event - Which is handled by a method and write the validation code.
    Now you might argue, that I can do it in this way : Capture the function code - and call the validate method.
    Yes, in this case it can be done.. But lets say .. you change a field in the ALV and you want the validation to be done as soon as he is done with typing.
    Where is the function code here ? No function code... But there is an event here - The data changed event.
    So you can raise a data changed event that can be handled and will do the validation.
    It is not user friendly that you ask the user to press a button (to get the function code) for validation each time he enters a data.
    The events can be raised by a system, or by a program also. So in this case the data changed event is raised by a system that you can handle.
    Also, Lets say on a particular action you want some code to trigger. (You can take the same example of validation code). In this case the code to trigger is in a separate class. The object of which is not available here at this moment. (This case happens very frequently).
    Advantage with events : Event handlers can be in a separate class also.
    e.g : In the middle of some business logic .. you encounter a error. You want to send this information to the UI (to user - in form of a pop up) and then continue with some processing.
    In many cases - A direct method call to trigger the pop up is not done. Because (in ideal cases) the engine must not interact with UI directly - Because the UI could be some other application - like a windows UI but the error comes from some SAP program.
    So - A event is raised from the engine that is handled in the UI and a pop up is triggered.
    Here -- I would have different classes (lets say for different Operating Systems). And all these classes must register to the event ERROR raised in application.
    And these different classes for different Operation systems will have different code to raise a pop-up.
    Now you can imagine : If you coded a pop-up for Windows (in your application logic) .. it will not work for Mac or Linux. But of you raise a event.. that is handled separately by a different UI classes for Win, Linux or Mac  they will catch this event and process accordingly.
    May be I complicated this explanation .... but I couldn't think of a simpler and concrete example.
    Cheers.
    Varun.

  • I've a problem which is: Ibelieve there's someone who knows my password in some games like "Happy Day" so, could you please help me by not letting anybody to use this game except for this IMEI 01 336000 521261 1 even if they have the correct password.

    I've a problem which is: Ibelieve there's someone who knows my password in some games like "Happy Day" so, could you please help me by not letting anybody to use this game except for this IMEI 01 336000 521261 1 even if they have the correct password. Thanks alot for your help.

    Change your password.
    These are user forums. We can't do what you ask, in fact no one can.

  • USER LOGIN GENERATION USING EVENT HANDLER IN OIM 11G

    Hi
    I am looking to generate user logins in OIM 11g (11.1.1.5) using event handlers. Can anyone guide me with the process and which API need to be used?
    Regards

    You have to write your custom class which implements oracle.iam.identity.usermgmt.api.UserNamePolicy. Then you have to register the plugin which will contain the plugin.xml and class file of your custom code.
    More in this metalink ID 1228035.1

Maybe you are looking for

  • How do i use an alredy open HTTP connection belong to aother class

    When my apps logs in the User by checking that the username and password are correct against the server then there has been a connection opened to perform this task. Then the user is returned to the Main Menu. After that they can send some data to th

  • Photoshop Elements 6.0 Not Opening

    Running Windows Vista on a Dell XPS M1530 laptop. Photoshop 6.0, installed by Dell with purchase. Photoshop 6.0 will not open wheh I click the icon. Just minutes before, the program ran fine. I shut it down momentarily and not due to any technical pr

  • GPS in DNG

    My panasonic .rw2 files have GPS data in sidecar XMP files.  When converting the .rw2 files to DNG, the GPS data is not transferred.  Is there a mehtod of achieving this?

  • Customer fields in Delivery Monitor

    Hi, We we would like to add our own customer fields to the delivery monitor (VL06), specifically to the selection screen of the List Outbound Deliveries report. Is there any way of doing this without copying and modifying the standard report?. Regard

  • Keyboard shortcut to open new Tab in Terminal.app

    Hi, I'm looking for a way to open new tabs with keyboard shortcuts in Terminal.app Opening the default profile is not a problem (command-T), but how can I get to the non-default profiles? Assigning keyboard shortcuts in the System Preferences doesn't