Bastian,

please have a look at
https://issues.apache.org/jira/browse/TAPESTRY-1556 .
Maybe you can temporarily work around this by toying with your form-id
and their specification on the EventListener annotation.

Maybe you can add your problem with source-code, if possible, to that
issue. That would definitively be helpful!

Marcus


> -----Original Message-----
> From: Marcus Schulte [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 10, 2007 8:41 PM
> To: Tapestry users
> Subject: Re: Tap 4.1.2 Bug found ???
> 
> I think I've seen an issue connected to EventListener-wiring 
> being fixed.
> I'll look it up tomorrow if the problem persists.
> 
> 2007/7/10, Bastian Voigt <[EMAIL PROTECTED]>:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi,
> > before I report a bug on this, I would like to hear some opinions 
> > since the bug is maybe difficult to describe and/or reproduce.
> >
> > I have written an AJAX component which makes use of the new 
> > EventListener api. This component is called VesselSuggest 
> and is used 
> > in two different pages, called "EditAlert" and "ImageUpload".
> >
> > In 4.1.1 this same component used to work, but since we upgraded to 
> > 4.1.2, the component works only on one of the two pages (actually , 
> > and on the other I get an error:
> >
> > org.apache.hivemind.ApplicationRuntimeException:
> >
> > "No component found in tree for EventListener binding with 
> a matching 
> > component id of ImageUpload/vesselSuggest.vesselSuggest."
> >
> > 
> classpath:/com/vesseltracker/web/components/alerting/EditAlert.html,li
> > ne13
> >
> > As you might have noticed, it tries to wire a component 
> from the page 
> > "ImageUpload" to the page "EditAlert" which is obviously wrong.
> >
> > Is it OK to report this as a tapestry bug, or does anyone 
> have other 
> > suggestions?
> >
> >
> >
> > The stacktrace:
> >
> > 
> org.apache.tapestry.pageload.EventConnectionVisitor.wireElementFormEve
> > nts(
> > EventConnectionVisitor.java:114)
> > org.apache.tapestry.pageload.EventConnectionVisitor.visitComponent(
> > EventConnectionVisitor.java:86)
> >
> > 
> $IComponentVisitor_113b0099dbd.visitComponent($IComponentVisitor_113b0
> > 099dbd.java)
> >
> > 
> $IComponentVisitor_113b0099dbe.visitComponent($IComponentVisitor_113b0
> > 099dbe.java) 
> > org.apache.tapestry.pageload.ComponentTreeWalker.walkComponentTree(
> > ComponentTreeWalker.java:45)
> > org.apache.tapestry.pageload.ComponentTreeWalker.walkComponentTree(
> > ComponentTreeWalker.java:57)
> > org.apache.tapestry.pageload.ComponentTreeWalker.walkComponentTree(
> > ComponentTreeWalker.java:57)
> > 
> org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:655)
> > $IPageLoader_113b0099da9.loadPage($IPageLoader_113b0099da9.java)
> > $IPageLoader_113b0099daa.loadPage($IPageLoader_113b0099daa.java)
> > 
> org.apache.tapestry.pageload.PageSource.makeObject(PageSource.java:153
> > ) org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(
> > GenericKeyedObjectPool.java:797)
> > org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:177)
> > $IPageSource_113b0099d24.getPage($IPageSource_113b0099d24.java)
> > 
> org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:239
> > )
> > 
> org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:226)
> > $MyAlertsPage_103.getEditAlertPage($MyAlertsPage_103.java)
> > 
> com.vesseltracker.web.pages.MyAlertsPage.onAlert(MyAlertsPage.java:17)
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> > 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > ava
> > :39)
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> > java.lang.reflect.Method.invoke(Method.java:597)
> > 
> org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeTargetMet
> > hod(
> > ListenerMethodInvokerImpl.java:276)
> >
> > 
> org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerM
> > ethod
> > (ListenerMethodInvokerImpl.java:221)
> > 
> org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke
> > (
> > ListenerMethodInvokerImpl.java:157)
> >
> > 
> org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerM
> > ethod
> > (ListenerMethodInvokerImpl.java:80)
> > org.apache.tapestry.listener.SyntheticListener.actionTriggered(
> > SyntheticListener.java:52)
> > org.apache.tapestry.binding.ListenerMethodBinding.actionTriggered(
> > ListenerMethodBinding.java:77)
> > 
> org.apache.tapestry.listener.ListenerInvokerTerminator.invokeListener(
> > ListenerInvokerTerminator.java:50)
> >
> > 
> $ListenerInvoker_113b0099d1a.invokeListener($ListenerInvoker_113b0099d
> > 1a.java)
> > org.apache.tapestry.link.DirectLink.trigger(DirectLink.java:101)
> > org.apache.tapestry.engine.DirectService.triggerComponent(
> > DirectService.java:166)
> > 
> org.apache.tapestry.engine.DirectService.service(DirectService.java:14
> > 2)
> > 
> $IEngineService_113b0099d97.service($IEngineService_113b0099d97.java)
> > org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(
> > EngineServiceOuterProxy.java:72)
> > 
> org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:
> > 237) 
> org.apache.tapestry.services.impl.InvokeEngineTerminator.service(
> > InvokeEngineTerminator.java:54)
> >
> > 
> $WebRequestServicer_113b0099d6c.service($WebRequestServicer_113b0099d6
> > c.java)
> >
> > 
> $WebRequestServicer_113b0099d68.service($WebRequestServicer_113b0099d6
> > 8.java) 
> > 
> org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.ser
> > vice
> > (WebRequestServicerPipelineBridge.java:61)
> >
> > 
> $ServletRequestServicer_113b0099d4e.service($ServletRequestServicer_11
> > 3b0099d4e.java) 
> > org.apache.tapestry.request.DecodedRequestInjector.service(
> > DecodedRequestInjector.java:55)
> >
> > 
> $ServletRequestServicerFilter_113b0099d4a.service($ServletRequestServi
> > cerFilter_113b0099d4a.java)
> >
> > 
> $ServletRequestServicer_113b0099d50.service($ServletRequestServicer_11
> > 3b0099d50.java) 
> > org.apache.tapestry.multipart.MultipartDecoderFilter.service(
> > MultipartDecoderFilter.java:52)
> >
> > 
> $ServletRequestServicerFilter_113b0099d48.service($ServletRequestServi
> > cerFilter_113b0099d48.java)
> >
> > 
> $ServletRequestServicer_113b0099d50.service($ServletRequestServicer_11
> > 3b0099d50.java) 
> > org.apache.tapestry.services.impl.SetupRequestEncoding.service(
> > SetupRequestEncoding.java:53)
> >
> > 
> $ServletRequestServicerFilter_113b0099d4c.service($ServletRequestServi
> > cerFilter_113b0099d4c.java)
> >
> > 
> $ServletRequestServicer_113b0099d50.service($ServletRequestServicer_11
> > 3b0099d50.java)
> >
> > 
> $ServletRequestServicer_113b0099d42.service($ServletRequestServicer_11
> > 3b0099d42.java) 
> > 
> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.ja
> > va
> > :126)
> > 
> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:1
> > 03)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:705)
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.6 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD4DBQFGk3tZ9+lAHD7HULYRAmOOAJ0bWVD0zWYtZqNqFJnkm9p7TBHnVQCYjf0E
> > LhUMwN/U+p+TXAFiuZ/tBg==
> > =W9lK
> > -----END PGP SIGNATURE-----
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> Marcus Schulte
> http://marcus-schulte.blogspot.com
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to