renderAllAttributes in XhtmlRenderer should not be rendering event handlers
when the component is disabled
----------------------------------------------------------------------------------------------------------
Key: TRINIDAD-1658
URL: https://issues.apache.org/jira/browse/TRINIDAD-1658
Project: MyFaces Trinidad
Issue Type: Bug
Components: Components
Affects Versions: 1.2.13-core , 2.0.0-core
Reporter: Andrew Robinson
While writing the client behavior support in Trinidad 2, I noticed that the
component's disabled state is not checked when renderAllAttributes is called
and it calls renderEventHandlers. Renderers like the button manually check the
disabled state and avoid calling renderAllAttributes, but other components do
not (like input text).
I think that we should look at moving the disabled check into the
renderAllAttributes function to bypass the call to renderEventHandlers so that
all component's event handlers are not processed for disabled components.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.