Open a Solution Without Browser Bars

Forum to discuss the Web client version of Servoy.

Open a Solution Without Browser Bars

Postby jasantana » Sat Dec 10, 2011 7:54 pm

I need to open the solution in webclient without the browser bars. What I´m doing is call an HTML file in the server that opens it, but I would like to know if this can be done from Servoy because the way I´m doing it shows a message about Popups.

This is the code I use in the HTML file I have in the server:

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <script language="JavaScript">

   function openMySolution(){
    window.open('http://myserver/servoy-webclient/ss/s/GSDespachos', 'principal', 'location=no,menubar=no,status=no,toolbar=no');
   }

   </script>
</head>
<body onload="openMySolution()">
</body>
</html> 
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
Servoy MVP 2015
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Open a Solution Without Browser Bars

Postby jcompagner » Tue Dec 13, 2011 11:57 am

showurl can also be used like that i believe, we do pretty much the same then as far as i know
I also don't get why you don't get a popup warning when you do that in html
You are then also just showing a popup..

why not let that be the start point of your solution then?
So place that html in the webapps/ROOT/ folder and point your users to that.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Open a Solution Without Browser Bars

Postby jasantana » Tue Dec 13, 2011 4:06 pm

Hi Johan. That is the point I get a popup warning and I would like to know if I could solve that warning from Servoy.
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
Servoy MVP 2015
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Open a Solution Without Browser Bars

Postby jcompagner » Tue Dec 13, 2011 5:28 pm

no i don't think so, because you are showing a popup thats not allowed anymore in many browsers
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 9 guests

cron