Unable to pass liferay user id in proxy portlet

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to pass liferay user id in proxy portlet

Prathyush
I have configured "send method" in "properties-local.xml" and send a user name as parameter in the url.

Code:


    <property
      as="xs:string"
      name="oxf.fr.detail.process.send.*.*"
      value='require-valid
             then send(uri = "http://localhost:9090/demo-portlet/html/Data.jsp?id={xxf:get-request-header('orbeon-liferay-user-full-name')}", method="POST", content="matadata")
                     then success-message("save-success")
                     recover error-message("database-error")'/>

In jsp page I'm able to get the form data in XML format but unable to get the user information.

JSP code:

    <%
    String str = request.getParameter("id"); //here id values null
    %>

Some one can help me how to fix the issue,  I'm Completely new to Liferay and Orbeon Forms.

Reply | Threaded
Open this post in threaded view
|

Re: Unable to pass liferay user id in proxy portlet

Erik Bruchez
Administrator