Hello,
I would like to programmatically (from java) set the 'show' and 'update'
attribute of a zone.
I found no way of doing this neither from the page with an injected Zone nor
from simply extending the Zone components as the corresponding fields are
private.
After a quick look at the Zone source
Hello,
I'm trying to develop a mixin for t:label component in which i need to get
the value of the 'for' attribute.
I currently find no way of doing this !
Tried @Parameter, @BindParameter in many ways with no success at all.
Is there any way of doing this ?
Thanks.
Fred
--
View this message i
Thanks for your help but i'm afraid it doesn't work :
myFor = resources.getInformalParameter("for",String.class) ;
=> myFor is null
--
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-tp5136617p5137126
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 T
Thanks for this detailed answer.
The @HeartbeatDeferred trick does the job.
Seems I was really missing something ;)
--
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-tp5136617p5151098.html
Sent from the Tapestry - U
Hello,
I build a common page layout class which contains the html skeleton and a
few common components (navbar, ...) and one of them is dedicated to client
feedback.
As it was directly in the .tml of my page itself, i simply could have done
something like :
@Component private Feedback feedback ;