Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Eclipse 3.6
-
ICEsoft Forum Reference:
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.
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.
ICE-5810optionally 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