You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ron piterman <ro...@gmx.net> on 2004/07/14 17:45:29 UTC
how to use dynamic values in html:radio
Hi -
I try to use html:radio inside an iterate. The values of the radios
should be dynamically read from the iterated bean.
I am using
<logic:iterated id="bla" ...>
<html:radio name="bla" value="${bla.prop}"/>
...
which does not work.
Can some one please :-) tell me the right way to do this?
Cheers,
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: how to use dynamic values in html:radio
Posted by Robert Taylor <rt...@mulework.com>.
Yes, you should. Otherwise, the <html:radio .../> doesn't
"know" how to digest ${bean.prop} expression.
robert
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org]On Behalf Of ron1
> Sent: Wednesday, July 14, 2004 12:04 PM
> To: user@struts.apache.org
> Subject: Re: how to use dynamic values in html:radio
>
>
> I'm not using EL, should I ?
> there is no raw HTML because the html:radio tag does not digest the
> ${bean.prop} expression.
> Cheers,
> Ron
>
>
> Robert Taylor wrote:
> > Can you be more descriptive as to what doesn't work?
> > Are you including the Struts-EL taglib?
> > What does the raw HTML look like?
> > Is there a stack trace?
> >
> > robert
> >
> >
> >
> >>-----Original Message-----
> >>From: ron piterman [mailto:ron.piterman@gmx.net]
> >>Sent: Wednesday, July 14, 2004 11:45 AM
> >>To: user@struts.apache.org
> >>Subject: how to use dynamic values in html:radio
> >>
> >>
> >>Hi -
> >>I try to use html:radio inside an iterate. The values of the radios
> >>should be dynamically read from the iterated bean.
> >>I am using
> >><logic:iterated id="bla" ...>
> >><html:radio name="bla" value="${bla.prop}"/>
> >>...
> >>which does not work.
> >>Can some one please :-) tell me the right way to do this?
> >>Cheers,
> >>Ron
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >>For additional commands, e-mail: user-help@struts.apache.org
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to use dynamic values in html:radio
Posted by ron1 <ge...@gmx.de>.
I'm not using EL, should I ?
there is no raw HTML because the html:radio tag does not digest the
${bean.prop} expression.
Cheers,
Ron
Robert Taylor wrote:
> Can you be more descriptive as to what doesn't work?
> Are you including the Struts-EL taglib?
> What does the raw HTML look like?
> Is there a stack trace?
>
> robert
>
>
>
>>-----Original Message-----
>>From: ron piterman [mailto:ron.piterman@gmx.net]
>>Sent: Wednesday, July 14, 2004 11:45 AM
>>To: user@struts.apache.org
>>Subject: how to use dynamic values in html:radio
>>
>>
>>Hi -
>>I try to use html:radio inside an iterate. The values of the radios
>>should be dynamically read from the iterated bean.
>>I am using
>><logic:iterated id="bla" ...>
>><html:radio name="bla" value="${bla.prop}"/>
>>...
>>which does not work.
>>Can some one please :-) tell me the right way to do this?
>>Cheers,
>>Ron
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to use dynamic values in html:radio
Posted by ron1 <ro...@gmx.net>.
ron1 wrote:
> Thanx,
> I Just posted it, but somehow it did not post...
> In the docu, the "property" attribute is missing :-(
No it isn't ;-)
> But I guess thats what I'm looking for...
> Thanx,
> Ron
>
> Michael McGrady wrote:
>
>> Have you checked out LabelValueBeans, another Ted Husted slam dunk.
>> Cf., http://www.jguru.com/faq/view.jsp?EID=1028442
>>
>> Michael
>>
>> P.S. You might also see my inquiry just posted as ":::
>> <logic:iterator> ::: guaranteed behavior? " in the email subject.
>>
>> At 09:14 AM 7/14/2004, you wrote:
>>
>>> I'm not using EL, should I ?
>>> there is no raw HTML because the html:radio tag does not digest the
>>> ${bean.prop} expression.
>>> Cheers,
>>> Ron
>>>
>>>
>>> Robert Taylor wrote:
>>>
>>>> Can you be more descriptive as to what doesn't work?
>>>> Are you including the Struts-EL taglib?
>>>> What does the raw HTML look like?
>>>> Is there a stack trace?
>>>> robert
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: ron piterman [mailto:ron.piterman@gmx.net]
>>>>> Sent: Wednesday, July 14, 2004 11:45 AM
>>>>> To: user@struts.apache.org
>>>>> Subject: how to use dynamic values in html:radio
>>>>>
>>>>> Hi -
>>>>> I try to use html:radio inside an iterate. The values of the radios
>>>>> should be dynamically read from the iterated bean.
>>>>> I am using
>>>>> <logic:iterated id="bla" ...>
>>>>> <html:radio name="bla" value="${bla.prop}"/>
>>>>> ...
>>>>> which does not work.
>>>>> Can some one please :-) tell me the right way to do this?
>>>>> Cheers,
>>>>> Ron
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to use dynamic values in html:radio
Posted by ron1 <ro...@gmx.net>.
Thanx,
I Just posted it, but somehow it did not post...
In the docu, the "property" attribute is missing :-(
But I guess thats what I'm looking for...
Thanx,
Ron
Michael McGrady wrote:
> Have you checked out LabelValueBeans, another Ted Husted slam dunk.
> Cf., http://www.jguru.com/faq/view.jsp?EID=1028442
>
> Michael
>
> P.S. You might also see my inquiry just posted as "::: <logic:iterator>
> ::: guaranteed behavior? " in the email subject.
>
> At 09:14 AM 7/14/2004, you wrote:
>
>> I'm not using EL, should I ?
>> there is no raw HTML because the html:radio tag does not digest the
>> ${bean.prop} expression.
>> Cheers,
>> Ron
>>
>>
>> Robert Taylor wrote:
>>
>>> Can you be more descriptive as to what doesn't work?
>>> Are you including the Struts-EL taglib?
>>> What does the raw HTML look like?
>>> Is there a stack trace?
>>> robert
>>>
>>>
>>>> -----Original Message-----
>>>> From: ron piterman [mailto:ron.piterman@gmx.net]
>>>> Sent: Wednesday, July 14, 2004 11:45 AM
>>>> To: user@struts.apache.org
>>>> Subject: how to use dynamic values in html:radio
>>>>
>>>> Hi -
>>>> I try to use html:radio inside an iterate. The values of the radios
>>>> should be dynamically read from the iterated bean.
>>>> I am using
>>>> <logic:iterated id="bla" ...>
>>>> <html:radio name="bla" value="${bla.prop}"/>
>>>> ...
>>>> which does not work.
>>>> Can some one please :-) tell me the right way to do this?
>>>> Cheers,
>>>> Ron
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to use dynamic values in html:radio
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
Have you checked out LabelValueBeans, another Ted Husted slam dunk. Cf.,
http://www.jguru.com/faq/view.jsp?EID=1028442
Michael
P.S. You might also see my inquiry just posted as "::: <logic:iterator>
::: guaranteed behavior? " in the email subject.
At 09:14 AM 7/14/2004, you wrote:
>I'm not using EL, should I ?
>there is no raw HTML because the html:radio tag does not digest the
>${bean.prop} expression.
>Cheers,
>Ron
>
>
>Robert Taylor wrote:
>>Can you be more descriptive as to what doesn't work?
>>Are you including the Struts-EL taglib?
>>What does the raw HTML look like?
>>Is there a stack trace?
>>robert
>>
>>
>>>-----Original Message-----
>>>From: ron piterman [mailto:ron.piterman@gmx.net]
>>>Sent: Wednesday, July 14, 2004 11:45 AM
>>>To: user@struts.apache.org
>>>Subject: how to use dynamic values in html:radio
>>>
>>>Hi -
>>>I try to use html:radio inside an iterate. The values of the radios
>>>should be dynamically read from the iterated bean.
>>>I am using
>>><logic:iterated id="bla" ...>
>>><html:radio name="bla" value="${bla.prop}"/>
>>>...
>>>which does not work.
>>>Can some one please :-) tell me the right way to do this?
>>>Cheers,
>>>Ron
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to use dynamic values in html:radio
Posted by ron1 <ro...@gmx.net>.
I'm not using EL, should I ?
there is no raw HTML because the html:radio tag does not digest the
${bean.prop} expression.
Cheers,
Ron
Robert Taylor wrote:
> Can you be more descriptive as to what doesn't work?
> Are you including the Struts-EL taglib?
> What does the raw HTML look like?
> Is there a stack trace?
>
> robert
>
>
>
>>-----Original Message-----
>>From: ron piterman [mailto:ron.piterman@gmx.net]
>>Sent: Wednesday, July 14, 2004 11:45 AM
>>To: user@struts.apache.org
>>Subject: how to use dynamic values in html:radio
>>
>>
>>Hi -
>>I try to use html:radio inside an iterate. The values of the radios
>>should be dynamically read from the iterated bean.
>>I am using
>><logic:iterated id="bla" ...>
>><html:radio name="bla" value="${bla.prop}"/>
>>...
>>which does not work.
>>Can some one please :-) tell me the right way to do this?
>>Cheers,
>>Ron
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: how to use dynamic values in html:radio
Posted by Robert Taylor <rt...@mulework.com>.
Can you be more descriptive as to what doesn't work?
Are you including the Struts-EL taglib?
What does the raw HTML look like?
Is there a stack trace?
robert
> -----Original Message-----
> From: ron piterman [mailto:ron.piterman@gmx.net]
> Sent: Wednesday, July 14, 2004 11:45 AM
> To: user@struts.apache.org
> Subject: how to use dynamic values in html:radio
>
>
> Hi -
> I try to use html:radio inside an iterate. The values of the radios
> should be dynamically read from the iterated bean.
> I am using
> <logic:iterated id="bla" ...>
> <html:radio name="bla" value="${bla.prop}"/>
> ...
> which does not work.
> Can some one please :-) tell me the right way to do this?
> Cheers,
> Ron
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org