Yes you can,

However ( in my case) i've overwritten both the Grid class and the GridRows
class to make it happen and use chennillekit's onEvent mixin:

Grid.class:   ( not everything)

@Mixins("ck/OnEvent")
        @Component(parameters = { 
                        "columnIndex=inherit:columnIndex", 
                        "rowsPerPage=rowsPerPage", 
                        "currentPage=currentPage", 
                        "row=row",
                        "overrides=overrides",
                "event=literal:click",
                "onCompleteCallback=clickRow"
                }, 
                publishParameters = "rowIndex,rowClass,volatile,encoder,lean")
        private yourcompany.components.GridRows rows;


And i did some changes to the gridrows class to give me a unique ID
identifying the current row.




--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Can-I-attach-an-instance-mixin-to-a-nested-component-tp5717741p5717777.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to