Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-8494

Build test case of attribute query and custom method

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-rc1, 2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      Report from user group:

      In the following config, the helper method "termInfoAjaxQuery" is called but the value in the input field, property "stringField3", is not passed into the method as desired. Any thoughts on what I'm doing wrong? Rice version is 2.2.0-M4.

      <bean parent="Uif-InputField-LabelTop">
      <property name="label" value="Ajax Field Query"/>
      <property name="instructionalText"
      value="Displays additional Term info from an ajax call (tab out of field)"/>
      <property name="propertyName" value="stringField3"/>
      <property name="defaultValue" value="20001"/>
      <property name="propertyNamesForAdditionalDisplay" value="stringField4" />
      <property name="attributeQuery">
      <bean parent="Uif-AttributeQueryConfig">
      <property name="queryMethodToCall" value="termInfoAjaxQuery"/>
      <property name="queryMethodArgumentFieldList" value="stringField3"/>
      <property name="returnFieldMapping" value="name:stringField4"/>
      </bean>
      </property>
      </bean>

      Note in the configuration test view there are several examples of suggest widget using custom methods. We can possibly reuse some of these methods or classes for building a test on attribute query.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                samuel Samuel Holtzkampf (Inactive)
                Reporter:
                jkneal Jerry Neal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: