View Javadoc

1   package org.kuali.student.common.uif.service.impl;
2   
3   import org.kuali.rice.krad.lookup.LookupableImpl;
4   import org.kuali.rice.krad.uif.element.Action;
5   
6   /**
7    * Base class for the KS lookupable implementation.
8    *
9    * @author Kuali Student Team
10   */
11  public class KSLookupableImpl extends LookupableImpl {
12  
13      /**
14       * Override this method to set the title that is used as a tooltip on the select action as null as the user
15       * does not need to see the ids.
16       *
17       * @param returnLink
18       * @param model
19       */
20      @Override
21      public void getReturnUrlForResults(Action returnLink, Object model) {
22          super.getReturnUrlForResults(returnLink, model);
23          returnLink.setTitle(null);
24      }
25  
26  }