Thanks,

Is there an API the helps to find component in componet tree,
respecting name container of course? I've found it in JSF 1.2, but not
in 1.1. And we need the latter.

Stefano.



2008/9/16 Cagatay Civici <[EMAIL PROTECTED]>:
> A solution would be that in your facelets method, you pass the server side
> id of the component, then find it in the component tree, once you have the
> component instance use UIComponent.getClientId(facescontext) to reach the
> client id.
>
> On Tue, Sep 16, 2008 at 8:24 PM, Stefano Panero <[EMAIL PROTECTED]>
> wrote:
>>
>> Hi,
>>
>> with Myfaces/Tomahawk how can I do something like richfaces
>> rich:clientId el function?
>>
>> This function resolve the clientId of a componet passing the id,
>> respecting name containers:
>>
>> For example:
>>
>> <h:form id="workform" >
>>      <h:inputText id="intputText" />
>>      <h:outputText value="#{t:clientId('intputText')}">
>>  </h:form>
>>
>> The outputText valu should be: "workform:inputText"
>>
>> How can I implementig a function like this in a Facelets envinroment?
>>
>> Thanks,
>> Stefano.
>
>

Reply via email to