Adding a simple home button

Hi,

I would like to create a simple back button in one of my forms. I’ve already tried using a link to /bonita but I then get two task bar as shown in this screenshot :
http://i60.tinypic.com/zukux2.png

How can I avoid this ?

Thanks

I tried 2 experiments:

  1. Use the link widget by hacking “style” property to (info" target="_top) just the content inside brackets. This will produce a resultant html tag <a ..... class="btn btn-info" target="_top" href="/bonita"> Looks good BUT this DIDN’T work.

  2. This trick use the Button widget. Set the following:

  • “Action” = POST,
  • “URL to call” = any valid url like “/bonita” (this is the let the javascript return success, you may even try “http://www.bonitasoft.com”)
  • “Target URL on success” = “/bonita” (root context of portal page)

The last one is important, as the button will load window.top.location to this url.