Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:component + passThru boolean attributes
Description
To avoid the unnecessary calls , the new approach taken to rendering of the passThru attributes, doesn't render the booleanPassThru attributes by default. So any component which supports any boolean attribute has to make the following call from the renderer exclusively,
For DOM based renderer:
PassThruAttributeRenderer.renderBooleanAttributes(
facesContext,
uiComponent,
targetElement,
excludedAttributes)
For ResponseWriter based renderer:
PassThruAttributeWriter.renderBooleanAttributes(
writer,
uiComponent,
excludedAttributes);
The call should go to those component only, which support one of a following boolean attribute.
- disabled
- ismap
- readonly
For DOM based renderer:
PassThruAttributeRenderer.renderBooleanAttributes(
facesContext,
uiComponent,
targetElement,
excludedAttributes)
For ResponseWriter based renderer:
PassThruAttributeWriter.renderBooleanAttributes(
writer,
uiComponent,
excludedAttributes);
The call should go to those component only, which support one of a following boolean attribute.
- disabled
- ismap
- readonly
trunk revision 17774