Posted by Raman Garg <ra...@smartdatainc.com>.
Thanks for your reply...
BUT
it take the default value="on" when I do the way as you were telling me.
I want to put the value="232" where 232 is the id value corresponding to my
record.
-- Raman
----- Original Message -----
From: "Mohan Radhakrishnan" <mr...@cellexchange.com>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Saturday, January 17, 2004 5:02 PM
Subject: RE: <html:checkbox pls help
> Raman,
>
> What's wrong with this ? <html:checkbox property="deleteItem"/>
>
> Shouldn't this pick up the property from the ActionForm and generate
> value="x" for example.
> Is yours dynamic ?
>
> Mohan
>
> -----Original Message-----
> From: Raman [mailto:ramang@smartdatainc.com]
> Sent: Saturday, January 17, 2004 12:43 PM
> To: Struts Users Mailing List
> Subject: <html:checkbox pls help
>
>
> Hello,
>
> I have a checkbox and i want to assign <html:checkbox
> value. and that value should be my "id" value.
> How should i do that.
>
>
>
> <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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE:
Posted by Mohan Radhakrishnan <mr...@cellexchange.com>.
Raman,
What's wrong with this ? <html:checkbox property="deleteItem"/>
Shouldn't this pick up the property from the ActionForm and generate
value="x" for example.
Is yours dynamic ?
Mohan
-----Original Message-----
From: Raman [mailto:ramang@smartdatainc.com]
Sent: Saturday, January 17, 2004 12:43 PM
To: Struts Users Mailing List
Subject: <html:checkbox pls help
Hello,
I have a checkbox and i want to assign <html:checkbox
value. and that value should be my "id" value.
How should i do that.
<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
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org