Uploaded image for project: 'KS QA Test Cases'
  1. KS QA Test Cases
  2. KSQATC-5

TEST Customize the appearance and behavior of a field

    Details

    • Type: Test Case
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: R1 M4.2, R1 M5, R1.1 M10
    • Component/s: Configuration
    • Labels:
      None

      Description

      Try altering a constraint on a field .

      Solution:
      Appearence of the field can be altered by technique described in wiki articles:
      https://test.kuali.org/confluence/display/KULSTG/Configuration+procedure+for+customizing+CSS+styles+of+UI
      and
      https://test.kuali.org/confluence/display/KULSTG/Custom+configuration+of+validation+error+messages+and+field+labels

      These articles describe how the new theme with CSS styles can be used.
      A field appearance can be changed by assigned style e.g. by selector referencing class .KS-TextBox in KSTextBox.css
      (full path: /ks-common-ui/src/main/resources/org/kuali/student/common/ui/theme/standard/public/css/KSTextBox.css)

      Example of new Organization page with custom field labels, marked with additional text "(mnu org)" for labels and "(mnu val) for validation error messages is in the attached file: CustomOrganization_fields_mnu.png (mnu means My New University).
      Positive Cucumber test for new custom labels, appearance and error messages is in the atteched file: mnuorg_test.png

      Test for constraint on the field belongs to another Jira issue in: KSLAB-236 (https://test.kuali.org/jira/browse/KSLAB-236).

        Attachments

          Issue Links

            Activity

            Hide
            bclark Ben Clark (Inactive) added a comment -

            You and Doug Chew may want to work together on this one.

            Show
            bclark Ben Clark (Inactive) added a comment - You and Doug Chew may want to work together on this one.
            Hide
            bclark Ben Clark (Inactive) added a comment -

            Regress on M9-M10 using the Configuration Guide in concert with the UBC KS Project

            Show
            bclark Ben Clark (Inactive) added a comment - Regress on M9-M10 using the Configuration Guide in concert with the UBC KS Project
            Hide
            dchew Doug Chew (Inactive) added a comment -

            screenshot of the trancipt title field with a limit of 50 characters (from 24)

            Show
            dchew Doug Chew (Inactive) added a comment - screenshot of the trancipt title field with a limit of 50 characters (from 24)
            Hide
            dchew Doug Chew (Inactive) added a comment -

            Configured the bean through the dictionary to change the max characters from 24 to 50

            <bean id="courseInfo.transcriptTitle" parent="courseInfo.transcriptTitle-parent" >
            <property name="maxLength" value="50"/>
            <property name="caseConstraint">
            <bean parent="caseConstraint">
            <property name="whenConstraint">
            <list>
            <bean parent="whenConstraint">
            <property name="values">
            <list>
            <value>DRAFT</value>
            <value>SUBMITTED</value>
            <value>APPROVED</value>
            <value>ACTIVE</value>
            <value>RETIRED</value>
            </list>
            </property>
            <property name="constraint">
            <!-Copy all the properties from above adding minOccurs = 1->
            <bean parent="cluIdentifierInfo.shortName-parent">
            <property name="minOccurs" value="1" />
            <property name="maxLength" value="50"/>
            </bean>
            </property>
            </bean>
            </list>
            </property>
            </bean>
            </property>
            </bean>

            Show
            dchew Doug Chew (Inactive) added a comment - Configured the bean through the dictionary to change the max characters from 24 to 50 <bean id="courseInfo.transcriptTitle" parent="courseInfo.transcriptTitle-parent" > <property name="maxLength" value="50"/> <property name="caseConstraint"> <bean parent="caseConstraint"> <property name="whenConstraint"> <list> <bean parent="whenConstraint"> <property name="values"> <list> <value>DRAFT</value> <value>SUBMITTED</value> <value>APPROVED</value> <value>ACTIVE</value> <value>RETIRED</value> </list> </property> <property name="constraint"> <!- Copy all the properties from above adding minOccurs = 1 -> <bean parent="cluIdentifierInfo.shortName-parent"> <property name="minOccurs" value="1" /> <property name="maxLength" value="50"/> </bean> </property> </bean> </list> </property> </bean> </property> </bean>
            Hide
            dchew Doug Chew (Inactive) added a comment -

            regressed for m10. Passed!

            Show
            dchew Doug Chew (Inactive) added a comment - regressed for m10. Passed!

              People

              • Assignee:
                dchew Doug Chew (Inactive)
                Reporter:
                rkaushik Rajiv Kaushik (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: