click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLK-741) ActionLink ActionListeners not called when Table is contained in a Panel and links added using Link Decorator
Date Wed, 22 Dec 2010 21:29:01 GMT

    [ https://issues.apache.org/jira/browse/CLK-741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974399#action_12974399
] 

Bob Schellink commented on CLK-741:
-----------------------------------

Hi Rich,

Don't think there is a bug here. LinkDecorator doesn't attach the links to itself or any other
control. They simply decorate them. Your workaround is the expected behavior; you could also
add the links to the Panel instead of Table.

It is also consistent with the way it works with Pages. I think the behavior you are seeing
in a Page is Auto binding adding the links to the Page object which in turn processes them.
If you turn off Auto binding you'll also need to add the links to the page manually.

Kind regards

Bob

> ActionLink ActionListeners not called when Table is contained in a Panel and links added
using Link Decorator
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CLK-741
>                 URL: https://issues.apache.org/jira/browse/CLK-741
>             Project: Click
>          Issue Type: Bug
>          Components: extras
>    Affects Versions: 2.3.0-M1
>            Reporter: Rich S.
>            Priority: Minor
>
> If I create a Panel and add a Table with ActionLinks added using a LinkDecorator object,
the ActionListeners of the ActionLink will not be called when the links are clicked.
> It seems that the links created by the LinkDecorator are missing from the process chain,
and onProcess is not called for these links. This problem does not occur when exactly the
same setup is used directly in a Page.
> A workaround is to add the links to the table object, as well as passing them to the
LinkDecorator.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message