[
https://issues.jboss.org/browse/RF-10275?page=com.atlassian.jira.plugin.s...
]
Nick Belaevski commented on RF-10275:
-------------------------------------
We are not providing sourceId for our components to minify size of AJAX request function
code. Actually, all events in the components are expected to happen in the context of root
node (i.e. the one that's id=clientId), so rich:select code should be checked.
Provide sourceId in ClientBehaviorContext
-----------------------------------------
Key: RF-10275
URL:
https://issues.jboss.org/browse/RF-10275
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: base functionality
Affects Versions: 4.0.0.Milestone5
Environment: richfaces trunk svn rev. 21155, mojarra 2.0.3, myfaces trunk
Reporter: Martin Kočí
Assignee: Nick Belaevski
Attachments: RF-10275.patch
Example:
<rich:select id="richSelect">
<f:ajax />
...some selectItems
</rich:select>
f:ajax execute default value is @this. But http request contains (for this example)
javax.faces.partial.execute = formId:richSelectInput (with 'Input' suffix) and
thus component is not executed on server! This is a combination of bugs, one of them is in
rich faces: RenderKitUtils.getAttributeAndBehaviorsValue does not provide sourceid for
ClientBehaviorContext.
For other informations see:
http://www.mail-archive.com/dev@myfaces.apache.org/msg50884.html
https://issues.apache.org/jira/browse/MYFACES-3018
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira