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 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21893 Tue Jul 13 15:37:31 MDT 2010 liming.wu ICE-5810 optionally an extended facelets taglib.xml can now be generated. But now problem is how to add it into eclipse plugins because we don't want to ship it in runtime.
        Files Changed
        Commit graph ADD /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/webapp/parser/AttributeElement.java
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/webapp/parser/TagToTagClassElement.java
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/webapp/parser/TagToComponentMap.java
        Hide
        Liming Wu added a comment -

        ICE-5810 optionally an extended facelets taglib.xml can now be generated. But now problem is how to add it into eclipse plugins because we don't want to ship it in runtime.

        /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/webapp/parser/AttributeElement.java
        /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/webapp/parser/TagToComponentMap.java
        /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/webapp/parser/TagToTagClassElement.java

        Show
        Liming Wu added a comment - ICE-5810 optionally an extended facelets taglib.xml can now be generated. But now problem is how to add it into eclipse plugins because we don't want to ship it in runtime. /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/webapp/parser/AttributeElement.java /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/webapp/parser/TagToComponentMap.java /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/webapp/parser/TagToTagClassElement.java
        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.
        Hide
        Liming Wu added a comment -

        Fixed and shipped in icefaces 2.0 beta1

        Show
        Liming Wu added a comment - Fixed and shipped in icefaces 2.0 beta1
        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: