[
https://jira.jboss.org/browse/RF-9632?page=com.atlassian.jira.plugin.syst...
]
Nick Belaevski commented on RF-9632:
------------------------------------
Happens because select & inplaceSelect components have the same family, but different
renderer types.
org.richfaces.cdk.templatecompiler.RendererClassGenerator.findComponentByRenderer(RendererModel,
ComponentLibrary) uses library.getComponentByFamily(renderer.getFamily()) completely
ignoring rendererType.
CDK: wrong component event names generated from <cdk:scriptOption
attributes="onchange"/> in the Select component renderer template
-----------------------------------------------------------------------------------------------------------------------------------
Key: RF-9632
URL:
https://jira.jboss.org/browse/RF-9632
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: CDK
Affects Versions: 4.0.0.Milestone3
Reporter: Anton Belevich
Assignee: Nick Belaevski
Fix For: 4.0.0.Milestone4
Select component:
in the template <cdk:scriptOption attributes="onchange"
wrapper="eventHandler"/> is used.
Component AbstractSelect class has getOnchange method with eventName="change"
but in the generated render
private static final Attributes PASS_THROUGH_ATTRIBUTES11 =
attributes().generic("onchange","onchange","inputchange")
FYI: in the same package exist AbstractInplaceSelect this class extends AbstractSelect
and has getInputchange method with eventName="inputchange"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira