[ 
https://issues.apache.org/jira/browse/TAP5-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276666#comment-13276666
 ] 

Thiago H. de Paula Figueiredo commented on TAP5-1932:
-----------------------------------------------------


-1 from me. You can use the LinkTransformer API for that or even DOM  
rewriting. In addition, protected fields are source of problems are almost  
never used in Tapestry code.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

                
> Exposing the Link in the EventLink component
> --------------------------------------------
>
>                 Key: TAP5-1932
>                 URL: https://issues.apache.org/jira/browse/TAP5-1932
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.3
>            Reporter: Steve Eynon
>            Priority: Trivial
>
> I would like to alter the Link in an EventLink via a Mixin - specifically, 
> remove the LoopBack parameter.
> To do this, the "AbstractLink.link" field needs to be set *before* the link 
> is rendered and a simple change to 
> org.apache.tapestry5.corelib.base.AbstractComponentEventLink would accomplish 
> this:
>  protected void setupRender() {
>    super.link = createLink(context);
>  }
> AbstractLink.link would also need to become protected.
> I believe the above to be a small yet useful enhancement to the Link 
> Component API.

--
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


Reply via email to