Details
Description
JSF 2.2 supports HTML 5 through passthrough attributes and data-* attributes. These must be supported with the ICEfaces DOM diff and ajax page updates.
Additional references:
http://jsfcorner.blogspot.ca/2013/06/jsf-22-pass-through-attributes.html
http://jdevelopment.nl/jsf-22/
Additional references:
http://jsfcorner.blogspot.ca/2013/06/jsf-22-pass-through-attributes.html
http://jdevelopment.nl/jsf-22/
Issue Links
- depends on
-
ICE-9681 Modify DOMResponseWriter to render passthrough attribute
- Closed
Activity
Ted Goddard
created issue -
Ted Goddard
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Ken Fyten [ ken.fyten ] |
Ted Goddard
made changes -
Fix Version/s | 3.4 [ 10770 ] |
Ken Fyten
made changes -
Issue Type | Improvement [ 4 ] | New Feature [ 2 ] |
Description |
JSF 2.2 supports HTML 5 through passthrough attributes and data-* attributes. These must be supported with the ICEfaces DOM diff and ajax page updates.
|
JSF 2.2 supports HTML 5 through passthrough attributes and data-* attributes. These must be supported with the ICEfaces DOM diff and ajax page updates.
Additional references: http://jsfcorner.blogspot.ca/2013/06/jsf-22-pass-through-attributes.html http://jdevelopment.nl/jsf-22/ |
Assignee | Ken Fyten [ ken.fyten ] | Mircea Toma [ mircea.toma ] |
Affects Version/s | EE-3.3.0.GA [ 10572 ] | |
Affects | Compatibility/Configuration [ 10002 ] | |
Assignee Priority | P2 [ 10011 ] |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Summary | Support for JSF 2.2 HTML 5 features | Support for JSF 2.2 HTML 5 passthrough attributes |
Ken Fyten
made changes -
Fix Version/s | 4.0 [ 11382 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
It looks like things did go wrong, both for h:* and ace:* components.
In case of h:* components the attributes that are really allowed to be rendered are defined in com.sun.faces.renderkit.AttributeManager. They seem to be hardcoded. So when the component implementation class in found in javax.faces.component package RenderKitUtils will choose an optimised method of rendering the passthrough attribute (renderPassThruAttributesOptimized() method) which will skip rendering the attributes that are not listed in the AtributeManager for the component.
In case of ace:* components some HTML5 attributes are rendered but when they are updated, thir value won't change. For example components that render input elements have this problem (we know already that input element updates are treated differently).