ICEfaces
  1. ICEfaces
  2. ICE-5810

auto-completion in facelets xhtml doesn't work with ICEfaces components' attributes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0-Beta1, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Eclipse 3.6

      Description

      In WebPage Editor text view. auto-completion works for icefaces component names but doesn't work with ICEfaces components' attributes.

      Actually the problem is in taglib.xml in compat.jar. This taglib.xml is for facelets. facelets 1.1 taglib.xml is dtd based and it doesn't require attribute section for each tag. Actually attributes for ui tags are hard coded in facelets.

      JSF 2 is based on schema web-facelettaglibrary_2_0.xsd. But looks like we ignored this change in compat and we simply took it from 1.8.2

      Since glimmer/compat is only for icefaces2/jsf2, this file is now needed to be generated correctly for jsf 2.0.

      I have made change/checked in the following file.
      revision 21930
      glimmer\compat\core\src\main\java\com\icesoft\faces\webapp\parser\TagToComponentMap.java

      Following the same fashion of using beanutil.

        Activity

        Liming Wu created issue -
        Liming Wu made changes -
        Field Original Value New Value
        Assignee Liming Wu [ liming.wu ]
        Liming Wu made changes -
        Salesforce Case []
        Liming Wu made changes -
        Salesforce Case []
        Component/s Components [ 10012 ]
        Component/s Tool Integrations [ 10017 ]
        Fix Version/s 2.0-Beta1 [ 10231 ]
        Liming Wu made changes -
        Summary auto-completion doesn't work with ICEfaces components' attributes auto-completion in facelets xhtml doesn't work with ICEfaces components' attributes
        Salesforce Case []
        Description In WebPage Editor text view. auto-completion works for icefaces component names but doesn't work with ICEfaces components' attributes.

        Looks like attribute meta file has problem
        In WebPage Editor text view. auto-completion works for icefaces component names but doesn't work with ICEfaces components' attributes.

        Actually the problem is in taglib.xml in compat.jar. This taglib.xml is for facelets. facelets 1.1 taglib.xml is dtd based and it doesn't require attribute section for each tag. Actually attributes for ui tags are hard coded in facelets.

        JSF 2 is based on schema web-facelettaglibrary_2_0.xsd. But looks like we ignored this change in compat and we simply took it from 1.8.2

        Since glimmer/compat is only for icefaces2/jsf2, this file is now needed to be generated correctly for jsf 2.0.

        I have made change/checked in the following file.
        revision 21930
        glimmer\compat\core\src\main\java\com\icesoft\faces\webapp\parser\TagToComponentMap.java

        Following the same fashion of using beanutil.
        Liming Wu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Liming Wu
            Reporter:
            Liming Wu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: