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

Allow for Return to Previous button to be hidden or displayed based on workgroup membership.

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.1.4
    • Component/s: Development
    • Labels:
      None
    • Similar issues:
      KULRICE-1285Searching for a workgroup by membership on the Workgroup lookup does not follow nested workgroups
      KULRICE-10887Allow for navigation items to be hidden based on an expression
      KULRICE-6247Document Workgroups - User Guide
      KULRICE-943Update workgroup documentation to include Workgroup types and configuration
      KULRICE-7983Allow hidden criteria fields to be specified from quickfinder widget
      KULRICE-8191Support for hidden labels for accessibility
      KULRICE-97Add paging for large role/group memberships on KIM documents
      KULRICE-4575IM Person doc should only allow editing of direct group memberships
      KULRICE-852Workgroup xml handler allows workgroups with duplicate members
      KULRICE-2417Permit Edoclite to allow ad-hoc workgroup routing.
    • Rice Module:
      KEW

      Description

      Currently, the "returnToPrevious" button always shows up on an EDocLite. We need to make it possible to not display this button or display it based on the membership of a workgroup. In the long term, we may want to come up with some general solution for all of the buttons that are displayed as far as allowing the EDocLite implementors more control over when/why these buttons are displayed. For now, let's just concentrate on return to previous.

        Activity

        Hide
        Eric Westfall added a comment -

        I believe we talked about in the past allowing for some boolean parameters to be passed to the "buttons" template which is in widgets.xml. I think this is probably the easiest solution for this.

        Show
        Eric Westfall added a comment - I believe we talked about in the past allowing for some boolean parameters to be passed to the "buttons" template which is in widgets.xml. I think this is probably the easiest solution for this.
        Hide
        Greg Patterson (Inactive) added a comment -

        Created a solution, but working on something better. Currently, the idea is to not render the button if this parameter is passed in as false. This is possible to do on the selection drop-down, but I'm having concerns with setting up a proper test that will not impact previous documents.

        Still under testing/development but a usable solution can be implemented. In SND currently.

        Show
        Greg Patterson (Inactive) added a comment - Created a solution, but working on something better. Currently, the idea is to not render the button if this parameter is passed in as false. This is possible to do on the selection drop-down, but I'm having concerns with setting up a proper test that will not impact previous documents. Still under testing/development but a usable solution can be implemented. In SND currently.
        Hide
        Greg Patterson (Inactive) added a comment -

        Developed a solution without impacting previous documents. Currently in SND testing.

        Show
        Greg Patterson (Inactive) added a comment - Developed a solution without impacting previous documents. Currently in SND testing.
        Hide
        Greg Patterson (Inactive) added a comment -

        Ready to be committed.

        Show
        Greg Patterson (Inactive) added a comment - Ready to be committed.
        Hide
        Eric Westfall added a comment -

        Can this one be resolved?

        Show
        Eric Westfall added a comment - Can this one be resolved?
        Hide
        Greg Patterson (Inactive) added a comment -

        Added a parameter called 'showRTP' that is optionally passed in as true or false with the widgets buttons template.
        If excluded from the buttons template call, the parameter is ignored and things behave as before.
        If included as true, things behave as before (the return to previous button and drop-down are rendered)
        If included as false, the button and drop down are NOT rendered.

        Completed and committed.
        -Greg

        Show
        Greg Patterson (Inactive) added a comment - Added a parameter called 'showRTP' that is optionally passed in as true or false with the widgets buttons template. If excluded from the buttons template call, the parameter is ignored and things behave as before. If included as true, things behave as before (the return to previous button and drop-down are rendered) If included as false, the button and drop down are NOT rendered. Completed and committed. -Greg

          People

          • Assignee:
            Greg Patterson (Inactive)
            Reporter:
            Eric Westfall
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel