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

Need a way to add context to value finder classes

    Details

    • Similar issues:
      KULRICE-13570Create Default Value Finder Class AFT
      KULRICE-3405Add support for injecting a values finder object into ControlDefinition
      KULRICE-12297KRAD - Need way to disable radio buttons defined by values finder
      KULRICE-10907Caching for key value finders
      KULRICE-4733Improve key values finder support
      KULRICE-4181Add clear cache method to KeyValuesFinder interface and base class
      KULRICE-3999Need a dynamic way to add classes to kns-application-unit persistence unit
      KULRICE-12715Add class to alert messages
      KULRICE-11771Create fully working Quick Finder Lookup with Parameters sample
      KULRICE-12263Context Lookup context type drop down has two blank values
    • Rice Module:
      KNS
    • Application Requirement:
      KC

      Description

      Value finders should be able to take parameters that add context to the select.
      We have two types we need, one is generic bo,and the other is relative to the current doc.

        Issue Links

          Activity

          Hide
          Nate Johnson (Inactive) added a comment -

          Bryan,

          I'd have to do a lot of research into this to even have a clear understanding of it and then may still be unclear since it looks like it may have some KFS specific functionality. I would recommend talking to Ailish or Jonathan to get a quick answer to this.

          Nate

          Show
          Nate Johnson (Inactive) added a comment - Bryan, I'd have to do a lot of research into this to even have a clear understanding of it and then may still be unclear since it looks like it may have some KFS specific functionality. I would recommend talking to Ailish or Jonathan to get a quick answer to this. Nate
          Hide
          Bryan Hutchinson added a comment -

          Ailish and Jonathan,
          Any thoughts on my most recent questions (10/12)?

          Show
          Bryan Hutchinson added a comment - Ailish and Jonathan, Any thoughts on my most recent questions (10/12)?
          Hide
          Ailish Byrne added a comment -
          • The userSessions getter checks hideSessionFromTestsMessage - is this only required for session, or is this something we would want to implement for the form as well?

          do you mean would we want to hide a form from tests or would we want to implement the same check of the hideSessionFromTestsMessage in the getter for the form? it's hard for me to answer this question without have uses for the code in place - so, maybe my best advice is don't worry about it for now, and see if we need it?

          • The clear method clears the errorMaps, auditErrorMaps and messageLists (but not session). Should we need to clear out the form here? Set it to null?

          i think this is a good idea. we actually have a jira for that floating around somewhere, i think. where is the clear method used from?

          Show
          Ailish Byrne added a comment - The userSessions getter checks hideSessionFromTestsMessage - is this only required for session, or is this something we would want to implement for the form as well? do you mean would we want to hide a form from tests or would we want to implement the same check of the hideSessionFromTestsMessage in the getter for the form? it's hard for me to answer this question without have uses for the code in place - so, maybe my best advice is don't worry about it for now, and see if we need it? The clear method clears the errorMaps, auditErrorMaps and messageLists (but not session). Should we need to clear out the form here? Set it to null? i think this is a good idea. we actually have a jira for that floating around somewhere, i think. where is the clear method used from?
          Hide
          Bryan Hutchinson added a comment -

          Ok, I added a line to set the form to null in the clear() method.

          The only place in Rice where I found this was in the PostProcessorServiceImpl class:

          /**

          • Establishes the UserSession if one does not already exist.
            */
            protected void establishGlobalVariables() throws WorkflowException, UserNotFoundException
            Unknown macro: { if (GlobalVariables.getUserSession() == null) { GlobalVariables.setUserSession(new UserSession(RiceConstants.SYSTEM_USER)); } GlobalVariables.clear(); }
          Show
          Bryan Hutchinson added a comment - Ok, I added a line to set the form to null in the clear() method. The only place in Rice where I found this was in the PostProcessorServiceImpl class: /** Establishes the UserSession if one does not already exist. */ protected void establishGlobalVariables() throws WorkflowException, UserNotFoundException Unknown macro: { if (GlobalVariables.getUserSession() == null) { GlobalVariables.setUserSession(new UserSession(RiceConstants.SYSTEM_USER)); } GlobalVariables.clear(); }
          Hide
          Bryan Hutchinson added a comment -

          This work is complete and documented.

          Client Developer Guide: https://test.kuali.org/confluence/x/we4
          Technical Guide: https://test.kuali.org/confluence/x/v_4

          Show
          Bryan Hutchinson added a comment - This work is complete and documented. Client Developer Guide: https://test.kuali.org/confluence/x/we4 Technical Guide: https://test.kuali.org/confluence/x/v_4

            People

            • Assignee:
              Bryan Hutchinson
              Reporter:
              Lin-Long Shyu (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:
                Start Date:

                Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours Time Not Required
                2d 4h

                  Structure Helper Panel