Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-9632

CDK: wrong component event names generated from <cdk:scriptOption attributes="onchange"/> in the Select component renderer template

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Milestone3
    • Fix Version/s: 4.0.0.Milestone4
    • Component/s: cdk
    • Labels:
      None

      Description

      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"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nbelaevski Nick Belaevski
                Reporter:
                abelevich Anton Belevich
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: