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

Progressive disclosure and label condition doesn’t work for lookup view

    Details

    • Type: Bug Fix Bug Fix
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.6
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-13257Widgets breadcrumb label doesn’t display correctly
      KULRICE-9946Save button doesn’t enable when last field of line is changed
      KULRICE-9672Progressive disclosure not working
      KULRICE-6495When a field is refreshed that triggers a progressive disclosure condition, the check for progressive disclosure is not triggered
      KULRICE-7996Progressive disclosure and refresh within table not working
      KULRICE-7221Progressive disclosure within collections throwing exception
      KULRICE-7754Progressive disclosure via ajax not working in Kitchen Sink
      KULRICE-13280Mouse Events demo: In Chrome, mousing over the checkbox doesn’t do anything
      KULRICE-11915Demo/Labs Lookup Conditional Criteria page doesn't work
      KULRICE-8938problem with dropbox progressive disclosure in a lightbox
    • Rice Team:
      Framework
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      Hello,
      I need help with progressive rendering on LookupViews. I've raised this issue previously, but we're now using rice-2.3.0 and still getting this issue.
      Issue 1:
      I have declared a 'searchBy' field in the 'criteriaFields' section of the KS-Uif-LookupView:

      <bean parent="Uif-LookupCriteriaInputField" p:propertyName="searchBy" p:label="Search By">
      <property name="control">
      <bean parent="Uif-DropdownControl" />
      </property>
      <property name="optionsFinder">
      <bean class="org.kuali.student.lum.lu.ui.course.keyvalues.LoSearchByValuesFinder" p:addBlankOption="false"/>
      </property>
      </bean>

      Then, beneath this, but still in the 'criteriaFields' section, I have fields that are dependent upon 'searchBy' for progressiveRendering:
      <bean parent="Uif-LookupCriteriaInputField" p:propertyName="title" p:label="Course Title" p:progressiveRender="@

      {lookupCriteria['searchBy'] eq 'COURSE_ONLY'}

      " />
      This does not seem to work and no exception is thrown. The field is only rendered/hidden after I've hit the search button. (I checked in Chrome)
      Issue 2:
      Then, I've also got a similar issue in the 'resultFields' section of the LookupView.
      I'm trying to dynamically change the label of a result column based on the selection in 'searchBy'.
      Example:
      <bean parent="Uif-DataField" p:propertyName="code" p:label="

      {@(lookupCriteria['searchBy'] eq 'COURSE_ONLY') ? 'Course Number''}

      "/>
      or
      <bean parent="Uif-DataField" p:propertyName="code" p:label="Code">
      <property name="finalizeMethodToCall" value="setCodeLabel" /> <!--Change the label here -->
      </bean>

      I get no exceptions. Just no label is displayed as the column name.
      Thanks in advance

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Paul Marais (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Structure Helper Panel