You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Denny Strietzbaum (JIRA)" <de...@myfaces.apache.org> on 2007/07/09 11:14:04 UTC

[jira] Created: (MYFACES-1676) outputlink ignores user defined id

outputlink ignores user defined id
----------------------------------

                 Key: MYFACES-1676
                 URL: https://issues.apache.org/jira/browse/MYFACES-1676
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 1.2.0-SNAPSHOT
            Reporter: Denny Strietzbaum


The reason is a double negotiaton within
HtmlRendererUtils#writeIdAndNameIfNecessary(ResponseWriter, UIComponent, FacesContext)

if(component.getId()!=null && !!component.getId().startsWith(UIViewRoot.UNIQUE_ID_PREFIX))
must be
if(component.getId()!=null && !component.getId().startsWith(UIViewRoot.UNIQUE_ID_PREFIX))


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MYFACES-1676) outputlink ignores user defined id

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved MYFACES-1676.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.0-SNAPSHOT

> outputlink ignores user defined id
> ----------------------------------
>
>                 Key: MYFACES-1676
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1676
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.2.0-SNAPSHOT
>            Reporter: Denny Strietzbaum
>             Fix For: 1.2.0-SNAPSHOT
>
>
> The reason is a double negation within
> HtmlRendererUtils#writeIdAndNameIfNecessary(ResponseWriter, UIComponent, FacesContext)
> if(component.getId()!=null && !!component.getId().startsWith(UIViewRoot.UNIQUE_ID_PREFIX))
> must be
> if(component.getId()!=null && !component.getId().startsWith(UIViewRoot.UNIQUE_ID_PREFIX))

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.