Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-8494

Build test case of attribute query and custom method

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Critical 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
    • Similar issues:
      KULRICE-7592Suggest query not working correctly with custom service method
      KULRICE-13116AFT Failure DemoClientResponsivenessAjaxFieldQueryAft Ajax Field Query Custom Method and Service not suggesting
      KULRICE-13057AFT Failure Ajax Field Query Custom Method and Service
      KULRICE-13108AFT Failure Ajax Field Query Custom Method and Service
      KULRICE-12693Ajax field query with custom method throws exception
      KULRICE-12510AFT Failure LabsLookupsAft Lookups, etc. Ajax Field Query Custom Method and Service loading new data over old
      KULRICE-12682AFT Failure LabsLookupsAft and DemoClientResponsivenessAjaxFieldQueryAft Ajax Field Query Custom Methods stopped working
      KULRICE-5561enabling features for working with custom remotable attributes
      KULRICE-8832Build "Kitchen Sink" doc type to exercise all custom search UI options
      KULRICE-11904Library - ClientResponsiveness - Ajax Field Query Custom Method - Does nothing on tabbing out .
    • 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.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel