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

Add support for the default-behavior faces-config property-extension to the CDK @Attribute annotation

    Details

    • Type: Feature Request
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.5-Tracking
    • Component/s: cdk
    • Labels:
      None

      Description

      Consider the xml component property definition:

      From command-button-props.xml
          <property>
              <description>
                  Javascript code executed when a pointer button is clicked over this element.
              </description>
              <display-name>Button Click Script</display-name>
              <icon />
              <property-name>onclick</property-name>
              <property-class&gt;java.lang.String</property-class&gt;
              <property-extension>
                  <cdk:pass-through>false</cdk:pass-through>
                  <cdk:event-name default="true">click</cdk:event-name>
                  <cdk:event-name>action</cdk:event-name>
                  <default-behavior>true</default-behavior>
              </property-extension>
          </property>
      

      There is currently no way to define this using the CDK @Attribute annotation - the <default-behavior> annotation property is absent.

      To resolve this issue (blocking RF-12952) we need to add support for specifying the default-behavior to the @Attribute annotation.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                bleathem Brian Leathem
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: