Hi All,
There is a page class below.
// ProductDetail.java
private Goods _goods;
public void setGoods(Goods g) {
this._goods = g;
}
public Goods getGoods() {
Goods goods = new Goods();
goods.setDescription("Pure Cotton TShirt");
goods.setName("Pumpkin");
this._goods = goods;
}
...

// ProductDetail.html
<input t:type="TextField" t:id="goods.name" class="form" style="width:
220px;" type="text" />

I just want to map the text field to goods.name . Can I do it like above?
If not, what should I do?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to