myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Schofield <sean.schofi...@gmail.com>
Subject Re: findComponent not finding component when forceId="true"
Date Wed, 02 Nov 2005 14:38:00 GMT
forceId only affects the clientId not the component id.

sean

On 10/28/05, Travis Reeder <treeder@gmail.com> wrote:
> I tried this without setting the id, works fine.
> I set the id, works fine.
> Added forceId="true" and it cannot find it.
>
> Even though when I print out the component tree, the component id is
> the same as the id I pass to findComponent:
>
> Here is the component output:
>
> <org.apache.myfaces.custom.inputAjax.HtmlSelectManyCheckboxAjax
> id="smcb" FORMER_CHILD_IDS="[_id3]" forceIdIndex="true" forceId="true"
> ...  trimmed for space>
>
> And the id I'm using is in this log statement between the brackets.
>
> SEVERE: Component with id [smcb] not found in view tree.
>
> Anyone know offhand where the bug may lie?
>
> Travis
>

Mime
View raw message