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

        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: