[
https://issues.apache.org/jira/browse/TAPESTRY-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513837
]
Sergey Kashin edited comment on TAPESTRY-1522 at 7/19/07 12:33 AM:
-------------------------------------------------------------------
I'm upgrade 4.1.2 to 4.1.3 SNAPSHOT
when try to test previous functional by updating elements by EventListener
id have not contain _ symbol
found exception
---------------------------------------------------------------
[ +/- ] Exception:
java.lang.NullPointerException
Stack Trace:
* java.lang.String.endsWith(Unknown Source)
*
org.apache.tapestry.internal.event.impl.ComponentEventInvoker.invokeFormListeners(ComponentEventInvoker.java:107)
*
$IComponentEventInvoker_113dd5052af.invokeFormListeners($IComponentEventInvoker_113dd5052af.java)
* org.apache.tapestry.form.FormSupportImpl.rewind(FormSupportImpl.java:625)
* org.apache.tapestry.form.Form.renderComponent(Form.java:196)
* org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725)
*
org.apache.tapestry.services.impl.DojoAjaxResponseBuilder.render(DojoAjaxResponseBuilder.java:627)
---------------------------------------------------------------
because componentId is null in ComponentEventInvoker.java:107
add additional condition (componentId!=null)
test again
work's but not correct:
now execute all methods with @EventListener in the Action and not analyze
elements annotation tag
downgrade to 4.1.2
was:
I'm upgrade 4.1.2 to 4.1.3 SNAPSHOT
when try to test previous functional by updating elements by EventListener
id have not contain _ symbol
found exception
---------------------------------------------------------------
[ +/- ] Exception:
java.lang.NullPointerException
Stack Trace:
* java.lang.String.endsWith(Unknown Source)
*
org.apache.tapestry.internal.event.impl.ComponentEventInvoker.invokeFormListeners(ComponentEventInvoker.java:107)
*
$IComponentEventInvoker_113dd5052af.invokeFormListeners($IComponentEventInvoker_113dd5052af.java)
* org.apache.tapestry.form.FormSupportImpl.rewind(FormSupportImpl.java:625)
* org.apache.tapestry.form.Form.renderComponent(Form.java:196)
* org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725)
*
org.apache.tapestry.services.impl.DojoAjaxResponseBuilder.render(DojoAjaxResponseBuilder.java:627)
---------------------------------------------------------------
because componentId is null in ComponentEventInvoker.java:107
add additional condition (componentId!=null)
test again
work's but not correct:
now execute all methods with @EventListener in the Action.
downgrade to 4.1.2
> @EventListener is not been called if target ids contains _
> ----------------------------------------------------------
>
> Key: TAPESTRY-1522
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1522
> Project: Tapestry
> Issue Type: Bug
> Components: XHR/dhtml/Ajax
> Affects Versions: 4.1.2
> Environment: MacOSX 10.4 / Firefox 2.0.3
> Reporter: Eric BIANCHI
> Assignee: Jesse Kuhnert
> Fix For: 4.1.3
>
>
> method is not being called if the target id of the EventListener contains _
> watch_menu doesn't work whereas watchMenu works
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]