You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Kevin Menard (JIRA)" <de...@tapestry.apache.org> on 2008/02/04 20:33:08 UTC

[jira] Created: (TAPESTRY-2121) EventListener does not bind to @Select using targets parameter.

EventListener does not bind to @Select using targets parameter.
---------------------------------------------------------------

                 Key: TAPESTRY-2121
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2121
             Project: Tapestry
          Issue Type: Bug
    Affects Versions: 4.1.4
            Reporter: Kevin Menard


Setting the "targets" parameter of EventListener to a Select component's ID will not wire up any JavaScript.  Using the same ID with the "elements" parameter will bind, but it will not submit the form, so it's not quite the same thing.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAPESTRY-2121) EventListener does not bind to @Select using targets parameter.

Posted by "Kevin Menard (JIRA)" <de...@tapestry.apache.org>.
    [ https://issues.apache.org/jira/browse/TAPESTRY-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565490#action_12565490 ] 

Kevin Menard commented on TAPESTRY-2121:
----------------------------------------

The issue seems to be in the target detection logic.

Manually binding the component to the event works just fine.  For this, I copied the generated JavaScript for some other component and modified as appropriate.

> EventListener does not bind to @Select using targets parameter.
> ---------------------------------------------------------------
>
>                 Key: TAPESTRY-2121
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2121
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 4.1.4
>            Reporter: Kevin Menard
>
> Setting the "targets" parameter of EventListener to a Select component's ID will not wire up any JavaScript.  Using the same ID with the "elements" parameter will bind, but it will not submit the form, so it's not quite the same thing.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Assigned: (TAPESTRY-2121) EventListener does not bind to @Select using targets parameter.

Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert reassigned TAPESTRY-2121:
---------------------------------------

    Assignee: Jesse Kuhnert

> EventListener does not bind to @Select using targets parameter.
> ---------------------------------------------------------------
>
>                 Key: TAPESTRY-2121
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2121
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 4.1.4
>            Reporter: Kevin Menard
>            Assignee: Jesse Kuhnert
>
> Setting the "targets" parameter of EventListener to a Select component's ID will not wire up any JavaScript.  Using the same ID with the "elements" parameter will bind, but it will not submit the form, so it's not quite the same thing.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Resolved: (TAPESTRY-2121) EventListener does not bind to @Select using targets parameter.

Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert resolved TAPESTRY-2121.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.1.5

Added call to super.cleanupAfterRender() in Select component method implementation so that the critical renderworker code is able to run. 

> EventListener does not bind to @Select using targets parameter.
> ---------------------------------------------------------------
>
>                 Key: TAPESTRY-2121
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2121
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 4.1.4
>            Reporter: Kevin Menard
>            Assignee: Jesse Kuhnert
>             Fix For: 4.1.5
>
>
> Setting the "targets" parameter of EventListener to a Select component's ID will not wire up any JavaScript.  Using the same ID with the "elements" parameter will bind, but it will not submit the form, so it's not quite the same thing.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org