ICEfaces
  1. ICEfaces
  2. ICE-9604

fileEntryListener/rowSelectListener validation fails

    Details

      Description

      fileEntryLister takes fileEntryEvent as argument.
      The validation rule defined for that attribute was as
      <entity id="fileEntryListener">
      <trait id="attribute-value-runtime-type">
      <value xsi:type="mdt:StringValue">org.eclipse.jst.jsf.core.attributevalues.MethodBindingType
      </value>
      </trait>
      <trait id="runtime-return-type">
      <value xsi:type="mdt:StringValue">void</value>
      </trait>
      </entity>

      In the rule, no param type defined. which means in current eclipse the method takes no argument, which apparently is wrong. But in previous release no bean class level validation is enabled so that this issue was not exposed.

      This need to be fixed by adding following definition:
      <trait id="runtime-param-types">
      <value xsi:type="mdt:StringValue">org.icefaces.ace.component.fileentry.FileEntryEvent</value>
      </trait>

        Activity

        Hide
        Liming Wu added a comment -

        Checked in. rev: 35561

        Show
        Liming Wu added a comment - Checked in. rev: 35561
        Hide
        Liming Wu added a comment -

        checked in myeclipse trunk rev 35562

        Show
        Liming Wu added a comment - checked in myeclipse trunk rev 35562

          People

          • Assignee:
            Liming Wu
            Reporter:
            Liming Wu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: