[KULRICE-8319] Expressions not being evaluated for components in a dialog group Created: 26/Sep/12  Updated: 03/Apr/13  Resolved: 30/Nov/12

Status: Closed
Project: Kuali Rice Development
Component/s: Development
Affects Version/s: None
Fix Version/s: 2.2
Security Level: Public (Public: Anyone can view)

Type: Bug Fix Priority: Critical
Reporter: Jerry Neal (Inactive) Assignee: Sona Sona (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
cloned from KULRICE-7208 Template Closed
Discovered
discovered by KSENROLL-2017 Add Alert Box for Indicating a CO is ... Closed
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); }

}



 Comments   
Comment by Jessica Coltrin (Inactive) [ 16/Oct/12 ]

moving m4 criticals and blockers to rc1

Generated at Sat Jun 19 13:47:08 CDT 2021 using JIRA 7.0.11#70121-sha1:19d24976997c1d95f06f3e327e087be0b71f28d4.