hey, friends want to code like this:
input type=checkbox name=audit value=0 ${audit0} /aaa
input type=checkbox name=audit value=1 ${audit1} /bbb
input type=checkbox name=audit value=2 ${audit2} /ccc
input type=checkbox name=audit value=3 ${audit3} /ddd
actually, what is in my page class
You should have a look at Tapestry's form components. There is a Checkbox
component.
On Mon, Sep 13, 2010 at 8:14 AM, Fanzhen fanzhen.m...@hotmail.com wrote:
hey, friends want to code like this:
input type=checkbox name=audit value=0 ${audit0} /aaa
input type=checkbox name=audit value=1
yes, I really have read it carefully.
On 2010-9-13 14:17, Igor Drobiazko wrote:
You should have a look at Tapestry's form components. There is a Checkbox
component.
On Mon, Sep 13, 2010 at 8:14 AM, Fanzhenfanzhen.m...@hotmail.com wrote:
hey, friends want to code like this:
input
hi fanzhen,
try following instead:
input type=checkbox name=audit value=0 checked=${audit0} /aaa
this will work; and if your adit0 returns null the attribute wont get
rendered.
i'd recommend to use the T5 checkbox component nevertheless.
g,
kris
Von:Fanzhen fanzhen.m...@hotmail.com