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:
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: