xform:setfocus for redirecting the page

Posted by Prameela R on
URL: https://discuss.orbeon.com/xform-setfocus-for-redirecting-the-page-tp42966.html

 

Hi,

 

   <xforms:setfocus ev:event="xforms-ready" control="_eventdetails_WAR_eventdetails_redirector" />/* liferay id*/

                                    or

<xforms:setfocus ev:event="xforms-ready" control="redirector" />

 

<xforms:trigger id="redirector" appearance="minimal">   

                        <xforms:label>Add </xforms:label>

                        <xforms:action ev:event="DOMFocusIn" if="instance('createdby-instance')/loginuser = 'false'">

                            <xforms:load resource="http://localhost:8080/web/guest/home" />

                        </xforms:action>

            </xforms: trigger>

 

I wanted to redirect the page depending on the user login. <xforms:setfocus is working fine with orbeon.But

When I integrated with liferay, it is not working.What could be the wrong?

 

Do we have any other method to redirect?.

 

Thanks,

Prameela



--
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