Details
- 
        Type: Improvement Improvement
- 
        Status: Closed
- 
            Priority: Major Major
- 
            Resolution: Fixed
- 
            Affects Version/s: 1.7DR#3
- 
            Component/s: Framework
- 
            Labels:None
- 
            Environment:JSP (not Facelets)
- 
                        Support Case References:
- 
                        Affects:Compatibility/Configuration
Description
                    When using ICE-2419's test application, I found that  com.icesoft.faces.webapp.parser.ComponentRuleSet.addRuleInstances(Digester)  has a special case for <f:view>, where it doesn't actually save what was parsed into a TagWire. This is because  com.icesoft.faces.webapp.parser.Parser.parse(Reader,FacesContext)  just makes a new TagWire for the <f:view>, and forces it to be the root TagWire.  This means that any attributes on the <f:view> tag are discarded, including the locale attribute.
We have to add a rule to the Digester, to get it to save the attributes somewhere, where they can be put into the made root TagWire. Then, I believe that ViewTag will have its locale attribute, and be able to set it on the UIViewRoot.
            
We have to add a rule to the Digester, to get it to save the attributes somewhere, where they can be put into the made root TagWire. Then, I believe that ViewTag will have its locale attribute, and be able to set it on the UIViewRoot.
Issue Links
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
| Repository | Revision | Date | User | Message | 
| ICEsoft Public SVN Repository | #15706 | Fri Feb 01 14:53:42 MST 2008 | ted.goddard | added fallback case for pages without view tag ( | 
| Files Changed | ||||
|  MODIFY
            				/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/ComponentRuleSet.java  MODIFY
            				/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/Parser.java | 
| Repository | Revision | Date | User | Message | 
| ICEsoft Public SVN Repository | #15698 | Thu Jan 31 13:25:52 MST 2008 | greg.dick |  | 
| Files Changed | ||||
|  MODIFY
            				/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/StubPageContext.java  ADD
            				/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/StubHttpServletRequest.java  MODIFY
            				/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/ComponentRuleSet.java  MODIFY
            				/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/Parser.java  MODIFY
            				/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/ELSetPropertiesRule.java  MODIFY
            				/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/JsfJspDigester.java  MODIFY
            				/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/TagWire.java | 
 
        