incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: client id problem
Date Thu, 26 Apr 2007 16:48:50 GMT
Is this on the 1.2 branch or the 1.1 trunk?

-- Adam


On 4/25/07, Anahide Tchertchian <at@nuxeo.com> wrote:
> Hi,
>
> I noticed that trinidad components client ids are not set up correctly
> when used inside a naming container that redefines its children client ids.
>
> I believe this could be fixed applying the following changes, which is
> not very visible as the default implementation returns getClientId when
> calling getContainerClientId.
>
> $ svn di
> ./src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java
> Index:
> src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java
> ===================================================================
> ---
> src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java
>    (revision 532384)
> +++
> src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java
>    (working copy)
> @@ -270,7 +270,7 @@
>       {
>         if (containerComponent instanceof NamingContainer)
>         {
> -        clientId = (containerComponent.getClientId(context) +
> +        clientId = (containerComponent.getContainerClientId(context) +
>                       NamingContainer.SEPARATOR_CHAR +
>                       clientId);
>           break;
>
>
>
> Do you think this could be made available for the next version?
> Thanks,
>
> --
> Anahide Tchertchian, Nuxeo
> Mail: at@nuxeo.com - Tel: +33 (0)1 40 33 79 87
> http://www.nuxeo.com - http://www.nuxeo.org
>

Mime
View raw message