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

        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
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: