I don't see why you couldn't customize t:label, it supports informal
parameters, everything you pass as an attribute will be passed down to the
<label> tag. In the for parameter of t:label you pass the server id of
the component.

On Tue, Jun 19, 2012 at 5:47 PM, Norman Franke <[email protected]> wrote:

> I'm creating a list of t:checkbox items and I want to label them. I can't
> use t:label, since I need to customize the label.
>
> At first, I tried: ${component:myCheckItemID} since the documentation says
> that should result in the clientId for the compoent. It doesn't, I get
> basically the toString() of the Checkbox object. I can't do
> ${component:myCheckItemID.clientId} either, since that results in an error.
>
> Short of injecting the component into my class and making it a property,
> how do I get the clientId of the checkbox component?
>
> Norman Franke
> Answering Service for Directors, Inc.
> www.myasd.com
>
>
>
>

Reply via email to