使用 Orbeon 代理 Portlet,是否可以通过 Inter Portlet 通信启用表单选择?

With the Orbeon Proxy Portlet is there a way to enable form selection via Inter Portlet Communication?

Orbeon 代理 Portlet 允许 form selection via URL parameters. It would be preferable if the parameters were not included in the URL. I thought I might be able to use a public render parameter as described in the Liferay documentation,但代理 Portlet 似乎没有这样配置。

查看 OrbeonProxyPortlet.scala 我看到此方法用于检索 URL 参数:

private def portalQuery(request: PortletRequest) =
    collectByErasedType[String](request.getAttribute("javax.servlet.forward.query_string")) map decodeSimpleQuery getOrElse Nil

是否可以修改此方法以将该地图与 PorletRenderRequest.getParameterMap() or PorletRenderRequest.getPublicParameterMap() 返回的地图合并?

或者可能有另一个像 enable-url-parameters 这样的初始化参数,例如 enable-inter-portlet-parameters?

这还需要在 portlet.xml 中进行以下配置:

    <supported-public-render-parameter>orbeon-app</supported-public-render-parameter>
    <supported-public-render-parameter>orbeon-form</supported-public-render-parameter>
    <supported-public-render-parameter>orbeon-document</supported-public-render-parameter>
    <supported-public-render-parameter>orbeon-page</supported-public-render-parameter>

如你所见,目前还没有实现,我认为不修改OrbeonProxyPortlet.scala的代码是没有办法的。但是,是的,让这项工作有意义,事实上这个选项在问题 #1850.

中被考虑过