You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Sven Homburg (Commented) (JIRA)" <ji...@apache.org> on 2011/11/23 19:19:40 UTC
[jira] [Commented] (TAP5-1752) Component cannot receive any event
in a case when transformer added event handler before OnEventWorker
[ https://issues.apache.org/jira/browse/TAP5-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156022#comment-13156022 ]
Sven Homburg commented on TAP5-1752:
------------------------------------
Same es here ....
@Component(parameters = {"value=entity.itemNo"})
@Mixins("ItemAutoText")
private TextField inputItemNo;
the fired event "SELECTED" not handled by the existing event method in the same page
@Log
@OnEvent(component = "inputItemNo", value = EventConstants.SELECTED)
Object onSelectedFromInputItemNo(Item item)
{
....
return object;
}
but if i restart the servlet container .... with some luck .... the
event would handled until the next container restart.
> Component cannot receive any event in a case when transformer added event handler before OnEventWorker
> ------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1752
> URL: https://issues.apache.org/jira/browse/TAP5-1752
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.3
> Reporter: Denis Stepanov
>
> Component transformed using ComponentClassTransformWorker or ComponentClassTransformWorker2 with added event handler via addComponentEventHandler/addEventHandler cannot receive any event defined inside the component (onSuccess etc.), changing from "before:OnEvent" to "after:OnEvent" solves the problem (5.2 didn't have a problem).
> 5.3 RC-3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira