You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Glen Stampoultzis <gs...@iinet.net.au> on 2004/03/16 06:20:38 UTC
Informal parameters on Radio component
Hi,
I'm trying to add informal parameters to a Radio component. The component
documentation says it can handle informal parameters and the component
source seems to call renderInformalParameters() but they aren't
rendered. Any clues?
Regards,
Glen Stampoultzis
gstamp@iinet.net.au
http://members.iinet.net.au/~gstamp/glen/
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Informal parameters on Radio component
Posted by Richard Lewis-Shell <rl...@mac.com>.
The PropertySelection component has a renderer parameter. Seems the
component ref docs missed it. From the jwc:
<parameter name="renderer"
type="org.apache.tapestry.form.IPropertySelectionRenderer"
direction="in">
<description>
An alternate rendered for the property selection.
</description>
</parameter>
There are two IPropertySelectionRenderer implementations:
RadioPropertySelectionRenderer and SelectPropertySelectionRenderer. But by
default PropertySelection uses neither, performing its own render.
However, the javadocs for the code that uses the renderer says that uses the
renderer is to be removed in 2.3 (!), which is possibly why it is not
referenced in the docs. You also lose a lot of formatting control if you
use the RadioPropertySelectionRenderer (it renders using a table) which
might explain why it is on the way out. Of course, if you supply your own
renderer you get some of the control back...
Richard
----- Original Message -----
From: "Glen Stampoultzis" <gs...@iinet.net.au>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Tuesday, March 16, 2004 4:53 PM
Subject: Re: Informal parameters on Radio component
>
> Sorry. Stupid mistake on my part. Please ignore this question.
>
> One other question though. In the documentation for the Radio component
it
> says that PropertySelection is preferred. PropertySelection seems to
> create combo boxes however so I'm not sure I understand why the docs would
> say this.
>
> Regards,
>
> Glen
>
>
> At 04:20 PM 16/03/2004, Glen Stampoultzis wrote:
>
> >Hi,
> >
> >I'm trying to add informal parameters to a Radio component. The
component
> >documentation says it can handle informal parameters and the component
> >source seems to call renderInformalParameters() but they aren't
> >rendered. Any clues?
> >
> >Regards,
> >
> >
> >Glen Stampoultzis
> >gstamp@iinet.net.au
> >http://members.iinet.net.au/~gstamp/glen/
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
>
>
> Glen Stampoultzis
> gstamp@iinet.net.au
> http://members.iinet.net.au/~gstamp/glen/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Informal parameters on Radio component
Posted by Glen Stampoultzis <gs...@iinet.net.au>.
Sorry. Stupid mistake on my part. Please ignore this question.
One other question though. In the documentation for the Radio component it
says that PropertySelection is preferred. PropertySelection seems to
create combo boxes however so I'm not sure I understand why the docs would
say this.
Regards,
Glen
At 04:20 PM 16/03/2004, Glen Stampoultzis wrote:
>Hi,
>
>I'm trying to add informal parameters to a Radio component. The component
>documentation says it can handle informal parameters and the component
>source seems to call renderInformalParameters() but they aren't
>rendered. Any clues?
>
>Regards,
>
>
>Glen Stampoultzis
>gstamp@iinet.net.au
>http://members.iinet.net.au/~gstamp/glen/
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
Glen Stampoultzis
gstamp@iinet.net.au
http://members.iinet.net.au/~gstamp/glen/
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org