myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volker Weber <vol...@weber-oldenburg.de>
Subject Re: _forceId only on *Tag, not on components
Date Fri, 21 Oct 2005 19:33:05 GMT
Hi,

to set forceId do dynamicaly created components you can do

component.getAttributes().put(JSFAttr.FORCE_ID_ATTR, Boolean.True);

this is what the tag does.

Mike Kienenberger wrote:
> That'd also mean that you couldn't use forceID from an alternate
> ViewHandler facelets or Shale/Clay as well since the *Tag isn't used.
> 
> On 10/21/05, Travis Reeder <treeder@gmail.com> wrote:
> 
>>Any reason for this?  Why I ask is because when creating components
>>programatically, you can't setForceId().
>>
>> Travis
>>
>>
> 
> 

-- 
-------------------------------------------------------------------------
    Volker Weber    Dietrichsweg 38a     26127 Oldenburg     Germany
    MAILTO:Volker@weber-oldenburg.de   HTTP://www.weber-oldenburg.de

Mime
View raw message