You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Cyrille (JIRA)" <de...@tapestry.apache.org> on 2007/06/28 20:28:04 UTC
[jira] Created: (TAPESTRY-1613) add an optionnal t:listener to
t:actionLink
add an optionnal t:listener to t:actionLink
-------------------------------------------
Key: TAPESTRY-1613
URL: https://issues.apache.org/jira/browse/TAPESTRY-1613
Project: Tapestry
Issue Type: Improvement
Components: tapestry-core
Affects Versions: 5.0.5
Reporter: Cyrille
Fix For: 5.0.6
I think it would be nice to have a optional t:listener to the t:actionLink component to bind it's event to the specified method, like T4 do.
<a href="#" t:type="actionLink" t:id="theUniqueId" t:listener="theListenerMethod" t:context="aValue">et voilĂ </a>
If it is not a good idea, can you explain why ? It will drive me in the right way.
Thanks to give us Tapestry ! It is a really great and nice tool !!
--
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-1613) add an optionnal t:listener to
t:actionLink
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship resolved TAPESTRY-1613.
--------------------------------------------
Resolution: Invalid
Assignee: Howard M. Lewis Ship
You're own example shows why this is not necessary, just name the method onActionFromTheUniqueId(), or add @OnEvent(component="theUniqueId") to an existing method. Either way, it's less typing and less configuration, and more self-documenting, than the T4 approach.
> add an optionnal t:listener to t:actionLink
> -------------------------------------------
>
> Key: TAPESTRY-1613
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1613
> Project: Tapestry
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.0.5
> Reporter: Cyrille
> Assignee: Howard M. Lewis Ship
>
> I think it would be nice to have a optional t:listener to the t:actionLink component to bind it's event to the specified method, like T4 do.
> <a href="#" t:type="actionLink" t:id="theUniqueId" t:listener="theListenerMethod" t:context="aValue">et voilĂ </a>
> If it is not a good idea, can you explain why ? It will drive me in the right way.
> Thanks to give us Tapestry ! It is a really great and nice tool !!
--
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