MyFaces Core
  1. MyFaces Core
  2. MYFACES-2082

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.5
    • Fix Version/s: 1.2.6
    • Component/s: None
    • Labels:
      None

      Description

      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

        Activity

        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Fix Version/s 1.2.6 [ 12313611 ]
        Fix Version/s 1.2.6-SNAPSHOT [ 12313493 ]
        Leonardo Uribe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 1.2.6-SNAPSHOT [ 12313493 ]
        Hide
        Leonardo Uribe added a comment -

        Checked the .tld using normalizer and javadoc manually.

        Show
        Leonardo Uribe added a comment - Checked the .tld using normalizer and javadoc manually.
        Leonardo Uribe created issue -

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Leonardo Uribe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development