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

Expressions not being evaluated for components in a dialog group

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-8101Expressions not evaluated on tooltip content
      KULRICE-9846defaultValue not applied before disabled expression evaluation on initialization
      KULRICE-12915Expressions not evaluated in collection group items
      KULRICE-7835expressions not being evaluated on line actions within a collection
      KULRICE-9722Error using spring expressions inside rich messaging components
      KULRICE-7330Dialog Framework - UifDialogGroup create new group component
      KULRICE-7859Spring Expressions in render property not working as expected
      KULRICE-10387Expressions not getting evaluated on property replacement substitutions
      KULRICE-7053spring expression error on refresh
      KULRICE-13974 items within a collection that have a label with expression does not evaluate
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      We've expressions and Uif-DataField defined at the dialog and it looks like it's not evaluating those before showing the dialog. For the below sample, we''re setting form properties (courseOffering and count) before calling the showDialog() from the controller method but the form properties not getting displayed. Any limitations using DialogGroup or is it a bug?

      <bean id="schedulingConfirmDialog-Group" parent="Uif-DialogGroup">
      <property name="hidden" value="true"/>
      <property name="headerText" value="Mark as Ready for Scheduling"/>
      <property name="promptText" value=""/>
      <property name="items">
      <list>
      <bean parent="Uif-DataField" p:label="Course Offerings" p:propertyName="courseOffering" p:fieldLabel.style="font-weight:bold;"/>
      <bean parent="Uif-MessageField" p:label="Activity Offerings" p:messageText="All contained in the course offerings (@

      {count}

      )" p:fieldLabel.style="font-weight:bold;"/>
      </list>
      </property>
      </bean>

      Our controller method (just snippet here) looks like

      public ModelAndView selectedCOActions(....){
      if (!hasDialogBeenAnswered("schedulingConfirmDialog", form))

      { form.setCourseOffering("something here") form.setCount(2); return showDialog("schedulingConfirmDialog", theForm, request, response); }

      }

        Issue Links

          Activity

          Hide
          Jessica Coltrin (Inactive) added a comment -

          moving m4 criticals and blockers to rc1

          Show
          Jessica Coltrin (Inactive) added a comment - moving m4 criticals and blockers to rc1

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel