Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta1
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces 2.0 compat Component Showcase
-
Affects:Sample App./Tutorial
Description
The chrome browser reports "Extra <body> encountered. Migrating attributes back to the original <body> element and ignoring the tag." when component-showcase is loaded.
I set the contentType in the f:view back to text/html as WebKit browsers get borked if that's not set.
The fix to get WebKit browsers to not complain was to rationalize the link tags so that:
1) Any </link> tags are removed as links should be self terminated (since they don't have children). I changed the static links in the markup as well as the dynamically generated link in the StyleBean.
2) The h:output text was changed to an ice:outputText with nospan=true to avoid rendering a span.