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

Expressions not being evaluated for components in a dialog group

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 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

      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); }

      }

        Attachments

          Issue Links

            Activity

            Error rendering 'com.atlassian.jira.jira-view-issue-plugin:activitymodule'. Please contact your JIRA administrators.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: