In fact it does work but not the way i thought :/
The @BindParameter inject directly the TextField pointed by the for
parameter of the label !
I imagine it's related to the way the label class is implemented.

I simply first did a :
@BindParamater("for") private String myFor ; 
which results in a TextField.toString() thing.

It ended a couple of debug later in a @BindParamater("for") private
TextField myFor ; 
from which i believed i will be able to get the 'id' but it fails again :
although the myFor was a true real TextField object a lot of its properties
were null, event in the @cleanRender phase, and of course so was my id ...

For now, I still haven't found any way of getting the value of this stupid
attribute !







--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/5-2-how-to-read-the-for-attribute-of-a-t-label-in-a-mixin-tp5136617p5148901.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