Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:JSP
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
In UIXhtmlComponent, the xmlAttributes field is not Serializable, and so is not currently participating in state saving. Replace it with a data structure that is Serializable.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
There were 3 different data structures for attributes, one of them being for non-EL attributes for JSP, one for non-EL attributes for Facelets, and one for EL attributes for Facelets. I was going to simply make the JSP non-EL code use the Facelets non-EL data structure, but then I realised that it wouldn't be too hard to also cover the case of JSP EL attributes. So now there are only two data structures, both of which are Serializable. And, the JSP and Facelets code is more unified, and we've got a new feature, that XHTML tags in JSPX documents may now have EL values.
Both JSP and the Facelets should be tested, since both were changed.
TRUNK
Subversion 17476
ICEfaces 1.7 branch
Subversion 17477
icefaces\core\src\com\icesoft\faces\component\UIXhtmlComponent.java
icefaces\core\src\com\icesoft\faces\facelets\UIXhtmlComponentHandler.java
icefaces\core\src\com\icesoft\faces\webapp\parser\XhtmlTag.java