save an element in xpl without redirection

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

save an element in xpl without redirection

srikanth.prodigy

Hello All,

 

I am trying to save an element without redirection using xpl but when I uncomment the redirection the element is not saved and the page is redirecting

To another page in liferay and it is displaying an error in portlet “the portlet is temporarily unavailable” the problem with redirection processor is when it is

Redirected the query parameters are not available with redirection which are dynamic values. I want the page should there without redirection after user has

Clicked the trigger

 

<xforms:trigger ref="instance('triggerfe')/trigger2"  appearance="minimal">

                        <xforms:label><img src="/../orbeon/images/grey.png" /></xforms:label>

                        <xforms:action ev:event="DOMActivate">

                            <xforms:setvalue ref="instance('triggerfe')/trigger2">false</xforms:setvalue>

                            <xforms:setvalue ref="instance('triggerfe')/trigger1">false</xforms:setvalue>

                            <xforms:insert nodeset="instance('profile')/UserProfile/FavoriteEvents/EventReference" at="last()" position="after" />

                            <xforms:setvalue ref="instance('profile')/UserProfile/FavoriteEvents/EventReference[last()]" value="instance('event-instance')/Key"/>

 

                          <xforms:send submission="saveupdate" />

 

                        </xforms:action>

                    </xforms:trigger>

Please find the xpl attached with this mail

 

Thanks,

Srikanth A



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

save-userprofile.xpl (3K) Download Attachment