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" ${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 are: > > public String getAudit0(){ > if(xxxx) > return "checked=\"checked\""; > else > return ""; > } > .......................... > > but the problem is T5 told me "Unexpected character '$' (code 36) (expected > a name start character) > at [row,col {unknown-source}]: [27,56]" > > could anyone told me how to do with my checkbox or maybe and radio elements > ? > I just want to remember what the user input when they do some searching. > thank you in advance !! > > Fanzhen. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Best regards, Igor Drobiazko http://tapestry5.de