how do I map 'bean' using the view layout?
Example:
VIEW LAYOUT
public class Teste {
private BeanTeste bt;
public Teste () {
this.bt = new BeanTeste();
}
}
BEAN
public class BeanTeste {
private String name;
getName();
setName();
}
On Wed, Jan 14, 2009 at 11:24 AM, Gutemberg A. Da Silva
sag@gmail.com wrote:
how do I map 'bean' using the view layout?
What do you mean by view layout?
By the way, take a look at the Tapestry forms tutorial:
http://tapestry.apache.org/tapestry5/tutorial1/forms.html
--
Thiago
when I say view layout, I wanna say view tie. I wanna acess one atribut
of the bean across of class of tml.
2009/1/14 Thiago HP thiag...@gmail.com
On Wed, Jan 14, 2009 at 11:24 AM, Gutemberg A. Da Silva
sag@gmail.com wrote:
how do I map 'bean' using the view layout?
What do you mean by
VIEW LAYOUT
public class Teste {
private BeanTeste bt;
public Teste () {
this.bt = new BeanTeste();
}
getBt(); { .. }
setBt(BeanTest bt) { .. }
}
you can use the value property:
input t:type=textfield t:id=name value=bt.name size=50
hi guy,
thanks for your help.
2009/1/14 Harald Geritzer h.gerit...@gmail.com
VIEW LAYOUT
public class Teste {
private BeanTeste bt;
public Teste () {
this.bt = new BeanTeste();
}
getBt(); { .. }
setBt(BeanTest bt) { .. }
}
you can