You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by d s <dt...@yahoo.com> on 2005/02/17 04:23:25 UTC
Radio Control
Hi
What would be my html syntax for radio control
<input jwcid="srcRadio" name="" type="Radio" value=""/>
And what would my component have
<component id="srcRadio" type="PropertySelection" >
<binding name="model" expression="availRadio"></binding>
<binding name="value" expression="srcRadio"/>
</component>
If my Home.java is going to come up with some values and how would this code be.
---------------------------------
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'
Re: Radio Control
Posted by d s <dt...@yahoo.com>.
Yes mandr, I found it.
Albert Kwong <ma...@yahoo.com> wrote:
You need to use the RadioGroup component for the
RadioGroup, and then use Radio for the individual
choices. To support dynamic choice list, you will
need a Foreach component as well.
[input] value='ognl:choice'/>
You may refer to the component reference
http://jakarta.apache.org/tapestry/doc/ComponentReference/RadioGroup.html
for more details.
Albert
--- d s
���e�G
> Hi
> What would be my html syntax for radio control
>
> [input] > value=""/>
>
> And what would my component have
>
>
> > expression="availRadio">
> > expression="srcRadio"/>
>
>
> If my Home.java is going to come up with some values
> and how would this code be.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Search presents - Jib Jab's 'Second Term'
=====
Are you an MBA? Check out http://www.mba.hk for value added services.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Radio Control
Posted by Albert Kwong <ma...@yahoo.com>.
You need to use the RadioGroup component for the
RadioGroup, and then use Radio for the individual
choices. To support dynamic choice list, you will
need a Foreach component as well.
<span jwcid='@RadioGroup'>
<span jwcid='@Foreach' ... value='ognl:choice'>
<input jwcid='@Radio'
value='ognl:choice'/><br/>
</span>
</span>
You may refer to the component reference
http://jakarta.apache.org/tapestry/doc/ComponentReference/RadioGroup.html
for more details.
Albert
--- d s <dt...@yahoo.com> 內容:
> Hi
> What would be my html syntax for radio control
>
> <input jwcid="srcRadio" name="" type="Radio"
> value=""/>
>
> And what would my component have
>
> <component id="srcRadio" type="PropertySelection" >
> <binding name="model"
> expression="availRadio"></binding>
> <binding name="value"
> expression="srcRadio"/>
> </component>
>
> If my Home.java is going to come up with some values
> and how would this code be.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Search presents - Jib Jab's 'Second Term'
=====
Are you an MBA? Check out http://www.mba.hk for value added services.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org