Thanks, embarrassing easy. 2010/8/10 Thiago H. de Paula Figueiredo <[email protected]>
> On Tue, 10 Aug 2010 10:07:21 -0300, Borut Bolčina <[email protected]> > wrote: > > Hi, >> > > Hi! > > is it possible to programmatically (rather then from localized properties >> file) set label string to display >> >> <t:label for="email"/><br/> >> <input t:type="TextField" t:id="email" ... size="30"/> >> >> something like >> >> String getEmailLabel() { >> return "something from database"; >> } >> > > It is: > > <t:label for="email">${emailLabel}</label> > > You can also use the label parameter of the form field components for that: > > <input t:type="TextField" t:id="email" t:label="prop:emailLabel" > size="30"/> > > -- > 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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
