RE: Value attribute of html:checkbox

2004-01-22 Thread Leticia Golubov
Have you tried the indexed tag?

indexed
Valid only inside of logic:iterate tag. If true then name of the
html tag will be rendered as id[34].propertyName. Number in brackets will
be generated for every iteration and taken from ancestor logic:iterate tag.
[RT Expr]


as per
http://jakarta.apache.org/struts/userGuide/struts-html.html#checkbox

-Original Message-
From: Raman [mailto:[EMAIL PROTECTED]
Sent: 19 December 2003 07:02
To: Struts Users Mailing List
Subject: Value attribute of html:checkbox


Hello,
I have a checkbox and i want to assign value attribute in html:checkbox
 and that value should be my id value. How should i do that?? by default
it is taking value=on but i don't want this.

html:checkbox property=deleteItem value=??
Delete
/html:checkbox
here i want value to be my id value of table.. i have this string in
logic:iterate loop

What I did till now:

I have bean:define id=val1 name=subfilters property=subFilterId/
and assign this as html:checkbox property=subfilterids
value=%=val1%
still it is not working and giving me error

this may be simple issue.. but i have tried and couln't find solution.. Pls
help.

Raman Garg


Value attribute of html:checkbox

2004-01-19 Thread Raman
Hello,
I have a checkbox and i want to assign value attribute in html:checkbox 
 and that value should be my id value. How should i do that?? by default it is 
taking value=on but i don't want this.

html:checkbox property=deleteItem value=??
Delete
/html:checkbox
here i want value to be my id value of table.. i have this string in logic:iterate 
loop

What I did till now:

I have bean:define id=val1 name=subfilters property=subFilterId/ 
and assign this as html:checkbox property=subfilterids value=%=val1%
still it is not working and giving me error

this may be simple issue.. but i have tried and couln't find solution.. Pls help.

Raman Garg