Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-115019

Add a "view state" display context holder for search containers to the Clay Taglib

    Details

      Description

      The Clay Taglib currently contains a ManagementToolbarDisplayContext interface which has the potential for encapsulating "view state" for seach container toolbar.

      This task involves introducing a new com.liferay.frontend.taglib.clay.servlet.taglib.view.state package with interfaces like ClayToolBarViewState which extends ManagementToolbarDisplayContext and adds some additional methods.

      It also involves support for encapsulating the view state within a javax.portlet.RenderURL. When combined with a Liferay Friendly URL, we will be able to achieve human-readable, bookmarkable friendly portlet RenderURLs that look like the following:
      http://localhost:8080/web/guest/test/-/gradebook/list/title/desc/20/false/1/assignment/master

      (See the attached screenshot as an example of what it looks like in a CRUD portlet)

      Here are some example usages, relying heavily on the JSP Expression Language (EL) in order to attain a purely declarative syntax for a JSP view:

      https://github.com/ngriffin7a/liferay-training-backend-dev/blob/master/wars/gradebook-mvcbean-web/src/main/webapp/WEB-INF/views/assignments.jspx#L14

      https://github.com/ngriffin7a/liferay-training-backend-dev/blob/master/wars/gradebook-mvcbean-web/src/main/webapp/WEB-INF/views/assignments.jspx#L30-L35

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Engineering Assignee:
              Neil Griffin
              Recent user:
              Enterprise Release HU
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.3.X