You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2008/11/29 01:36:44 UTC

[jira] Created: (MFCOMMONS-1) id attribute for html components on JSF 1.2 could be set via an rtexprvalue (but not by a ValueExpression)

id attribute for html components on JSF 1.2 could be set via an rtexprvalue (but not by a ValueExpression)
----------------------------------------------------------------------------------------------------------

                 Key: MFCOMMONS-1
                 URL: https://issues.apache.org/jira/browse/MFCOMMONS-1
             Project: MyFaces Commons
          Issue Type: Bug
          Components: myfaces-commons-components
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


Checking the javadoc of jsf ri 1.2 mr 1 tld, On all html components and some core components that extends from UIComponent but HtmlColumn, request time is set to true, so the value in its tld for id in rtexprvalue is true.

This problem can be seen because facelets assume this behavior, so when using html component on facelets, you can set the id the first request using a EL Expression (it is calculated only once).

The solution is set the default value of id for rtexprvalue to true

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


[jira] Resolved: (MFCOMMONS-1) id attribute for html components on JSF 1.2 could be set via an rtexprvalue (but not by a ValueExpression)

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MFCOMMONS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MFCOMMONS-1.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1-SNAPSHOT

updated template

> id attribute for html components on JSF 1.2 could be set via an rtexprvalue (but not by a ValueExpression)
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: MFCOMMONS-1
>                 URL: https://issues.apache.org/jira/browse/MFCOMMONS-1
>             Project: MyFaces Commons
>          Issue Type: Bug
>          Components: myfaces-commons-components
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 1.0.1-SNAPSHOT
>
>
> Checking the javadoc of jsf ri 1.2 mr 1 tld, On all html components and some core components that extends from UIComponent but HtmlColumn, request time is set to true, so the value in its tld for id in rtexprvalue is true.
> This problem can be seen because facelets assume this behavior, so when using html component on facelets, you can set the id the first request using a EL Expression (it is calculated only once).
> The solution is set the default value of id for rtexprvalue to true

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