1 package org.kuali.student.common.uif.element;
2
3 import org.kuali.rice.krad.uif.element.Action;
4 import org.kuali.rice.krad.uif.widget.Inquiry;
5
6 import java.util.Map;
7
8
9
10
11
12
13
14
15
16
17 public class KSUifInquiry extends Inquiry {
18
19 private String title;
20
21
22 public void buildInquiryLink(Object dataObject, String propertyName, Class<?> inquiryObjectClass,
23 Map<String, String> inquiryParams) {
24 super.buildInquiryLink(dataObject, propertyName, inquiryObjectClass, inquiryParams);
25 getInquiryLink().setTitle(title);
26 }
27
28 public String getTitle() {
29 return title;
30 }
31
32 public void setTitle(String title) {
33 this.title = title;
34 }
35
36
37
38
39 @Override
40 protected <T> void copyProperties(T component) {
41 super.copyProperties(component);
42
43 KSUifInquiry ksUifInquiryCopy = (KSUifInquiry) component;
44
45 ksUifInquiryCopy.setTitle(this.title);
46 }
47 }