proxy-portlet & form submit behaviour

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

proxy-portlet & form submit behaviour

Stian Sigvartsen

Is there an easy way to get Orbeon 4.1+ Form Runner when used via proxy-portlet deployed Liferay Portal to behave so that when a form is submitted by the user, a full page request occurs which results in the form being reloaded with a confirmation of the user’s submission? I am interested in the same behaviour as what was/is possible with the “separate deployment with portlets” approach for XForms containing <xforms:submission replace=”all”/>. Ideally the GUID of the form submission should be set as the value for a public render parameter so other portlets on the same page can show related content.

 

What I want to avoid is hard coding portal URLs into forms because these should really be generated dynamically using the portlet API.

 

Any thoughts / comments would be greatly appreciated.

 

-Stian

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
 
 
Reply | Threaded
Open this post in threaded view
|

Re: proxy-portlet & form submit behaviour

Erik Bruchez
Administrator
Stian,

It seems that this message didn't get a response. But yes this should work. In fact with 4.2, the `send` action defaults to returning to the browser the content returning by the URL to which the data is sent. See also:

https://github.com/orbeon/orbeon-forms/wiki/Form-Runner:-Buttons-and-Processes#send

But there is no handling of public render parameters.

You should even be able to get rewriting of portlet URLs with by using a "wsrp" escape sequence. I haven't tried this recently though.

-Erik