I'm trying to add a 'logout' button to the summary page.
We don't use the 'Home' button, so I thought that was a reasonable choice to redefine. I've set, in properties-local.xml, : <property as="xs:string" name="oxf.fr.resource.*.*.en.buttons.home" value="Logout" /> <property as="xs:string" name="oxf.fr.detail.process.home.*.*" value='navigate("/logout")' /> "/logout" is simply trying to prove that the home button is redirected to somewhere new for the moment. The first setting works perfectly. The second is completely ignored, and pressing the Home/Logout button takes me to Form Runner Home. What am I missing ? As a bonus question, I'm sure I've seen somewhere an instruction I can use in a process for invalidating the orbeon session, thus effectively logging the user out. I can't find that anywhere now. |
Administrator
|
Hi James, Currently, buttons on the summary page don't run processes. And granted, they should. We have an RFE for this: If you want to change what the "Home" button on the summary page does, for now you have to override this section of fr/summary/view.xhtml: Alex On Tue, Mar 17, 2015 at 9:28 AM James Newcombe <[hidden email]> wrote:
-- I'm trying to add a 'logout' button to the summary page. 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].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Thanks Alex.
That works. |
Free forum by Nabble | Edit this page |