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
Activity
Adnan Durrani
created issue -
Frank Ye
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | disabled_Renderer.txt [ 11225 ] |
Frank Ye
made changes -
Attachment | readonly_renderer.txt [ 11226 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7.2 [ 10130 ] | |
Affects Version/s | 1.7.2 [ 10130 ] | |
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Fix Version/s | 1.8DR#1 [ 10141 ] | |
Fix Version/s | 1.7.2 [ 10130 ] | |
Security | Private [ 10001 ] |
Ken Fyten
made changes -
Assignee Priority | P2 | |
Assignee | Ken Fyten [ ken.fyten ] | Adnan Durrani [ adnan.durrani ] |
Ken Fyten
made changes -
Fix Version/s | 1.8DR#2 [ 10142 ] | |
Fix Version/s | 1.8DR#1 [ 10141 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17773 | Tue Oct 14 19:22:50 MDT 2008 | adnan.durrani | Fix related to |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/SelectManyCheckboxListRenderer.java
MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/RadioRenderer.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/PassThruAttributeRenderer.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/CheckboxRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17774 | Tue Oct 14 21:17:26 MDT 2008 | adnan.durrani | Fix related to |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/ButtonRenderer.java
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputtext/SelectInputTextRenderer.java |
Adnan Durrani
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Adnan Durrani
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] | |
Assignee Priority | P2 |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Adnan Durrani [ adnan.durrani ] |
http://www.icefaces.org/JForum/posts/list/9652.page#40126
The forum poster mentioned InputText not doing disabled and readonly properly. The decode is properly checking them, to know to not decode, but the rendering was not emitting the proper markup, allowing the user to enter values into the input field. CSS styling was working properly though.