Orbeon : Liferay Form Runner Proxy Portlet Preferences not saved

懵懂的女人 提交于 2019-12-25 02:14:04

问题


I'm trying to implement the Form Runner Proxy Portlet into my Liferay portal but I have a problem.

In Orbeon, I have an application named "CUS07" and two forms named "CUS07" and "Test" (and Orbeon default app and forms).

I set the init parameters in "portlet.xml" to display "CUS07/CUS07" form by default.

It's working well. But when I go to the "Preferences" page in the portlet configuration and I set "Form Runner app name" to "CUS07" and "Form Runner form name" to "CUS07" and click on "Save" button, nothing change. The form displayed is still "Test" and when I go back to "Preferences" page, the fields are still filled with init parameters set in "portlet.xml".

I tried with different datas in portlet.xml and "Preferences" page (with default Orbeon forms and app), but it does not change anything, I can not override init parameters with portlet preferences.

Nothing is logged in catalina.out.

Is it a known issue or what can I try to find the reason of this problem ?

Thank you :)

Environment : - CentOS - Tomcat 7 - Liferay 6.2 CE - Orbeon 4.4.0


回答1:


Can you verify steps from below link, it might help you.

http://www.liferay.com/community/wiki/-/wiki/Main/How+to+Add+a+Configuration+Page+to+a+Portlet

on your configuration action class you should be getting the parameter value (from your config jsp) & store it in preferences. This should update the value in preferences.




回答2:


I got the answer on Twitter : https://twitter.com/mikew_satx/status/428752758984806400

This line :

<requires-namespaced-parameters>false</requires-namespaced-parameters>

was missing in liferay-portlet.xml.

This is specific to Liferay 6.2.



来源:https://stackoverflow.com/questions/21435074/orbeon-liferay-form-runner-proxy-portlet-preferences-not-saved

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!