disable back button of servoy web client.

Forum to discuss the Web client version of Servoy.

disable back button of servoy web client.

Postby aksrot426 » Mon Jul 02, 2012 10:29 am

Hi All,

I am facing problem with the back button of the browser . It is sometimes taking me out of the application . How can I disable the back button of the Servoy web client ?.
or any way work it correctly for servoy web client ?. I am using Servoy 6.0.6 .





Please provide some suggestions on this.




Thanks,
aksrot426
aksrot426
 
Posts: 26
Joined: Fri Apr 20, 2012 8:03 am

Re: disable back button of servoy web client.

Postby jdbruijn » Mon Jul 02, 2012 10:36 am

As far as I know it is not possible to disable the browser back-button.
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: disable back button of servoy web client.

Postby techlists » Mon Jul 02, 2012 11:10 am

Something like this should work:

- create a web page in which your solution will run inside an iframe (search in this forum for "iframe" for some tips)
- provide users a link to this page that includes a _blank target, so that there is no history to go "back" to in the new browser window

The url of your solution will not be shown in the address bar, and the Back button will be greyed out ... so the address bar has now become irrelevant. Perhaps run some js to hide the address/navigation bar of the browser window. (a web search will help with the code for this)

kazar
(yes, still occasionally lurking, hi everyone)
techlists
 
Posts: 1
Joined: Sat Jun 30, 2012 3:31 pm


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 8 guests