struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Anderson" <>
Subject Re: Basic question about <html:
Date Tue, 25 Nov 2003 12:23:02 GMT
You can't specify a tag for the value of an attribute.  The only place you 
can nest tags is inside the tagbody.  Are you using JSTL and struts-el?
You could do
<html-el:radio property="id" value='"${filters.filterID}"/>

but what you're describing sounds more like:
<c:forEach var="row" items="${filters}">
   <html-el:radio property="id" value="${row.filterID}"/>

there might be a better way to do this.  I haven't worked with radio buttons 
that much, but this should work.

>From: "Raman" <>
>Reply-To: "Struts Users Mailing List" <>
>To: "Struts Users Mailing List" <>
>Subject: Basic question about <html:
>Date: Tue, 25 Nov 2003 17:41:02 +0530
>hello all,
>i have a basic problem in <html:radio
>I want to use it in the loop for radio buttons. But facing problems in
>setting the "value" of the control. i have tried
><html:radio property="id" value="<bean:write
>    name="filters" property="FilterId" />">
>but this is not working.
>Any help regarding this??
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Need a shot of Hank Williams or Patsy Cline?  The classic country stars are 
always singing on MSN Radio Plus.  Try one month free!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message