Great post and session Harjo – always nice to see great looking apps made with Servoy.
I would extend your post here slightly by saying that you can stick the above code by hand into the header of the Servoy html master template “MainPage.html”. Need to open via webdav and it is located in “http://localhost:8080/servoy-webclient/templates”.
Of course all web deployed solutions on the server would get that insertion then so it could very well not save any work. It would be kind of cool I think if we could specify/customize the master html and css template per solution instead of per server. Hmm…maybe something to bring up with the Servoy guys.
yeah I know, but now I have it solution based and totally dynamic.
btw I have now the same tabpanel on everyscreen, so I have to insert that global only on that tabpanel
I want to hide the address bar on the browser when the page loads. I use the following code as a global variable and then put it in a html area with size of 1px by 1px
or this is even nicer, when a customer, saves your webclient as a bookmark on the iphone desktop, than the second time, you fire thewebclient, it is fullscreen!!
I got this desktop icon working on a 3.5.10 solution,
but i have just made one in 5.01 and it changes so quickly to the session code that i cannot get the original url to save with its parameters on the iphone desktop.
Is there anyway to edit these desktop urls like other bookmarks to fors it to use the basic url with params to webclint?
I have created an iPhone app based on the above instructions, but seem to have an issue with content scrolling. The size of the page does not appear to scroll ie is fixed to the size of the iPhone screen length ways. I tried to view the Servoy sample solution at demo.servoy.com but it appears to be broken hence can not check to see if their offering works with a scroll feature.
On sampling other site the scroll is not a problem
or this is even nicer, when a customer, saves your webclient as a bookmark on the iphone desktop, than the second time, you fire thewebclient, it is fullscreen!!
Each time I have tried to save the URL as a bookmark or homepage icon on the iPhone the Servoy-webclient session has been saved ie it has not saved the URL specified - can you tell me how you managed to remove the session information from the Servoy instance ?
URL: site/servoy-webclient/ss/s/application/m/startup/a/var1var2var3 (note there is not a | character on the iPhone)
results in a URL similar to
site/servoy-webclient/?x=N0tOjIfgld6yRD5iZWNj4w
IF this is saved and the phone re started you get an error from Servoy !! however you can’t create the shortcut until you have started the session !!
with 3.5 that is not possible. and indeed you get the expired page. What I do is replace that page, by my own page, and place a login button on it. If you need that, please let me know and I could post a sample…
with servoy5 you could use the property on the servoy-admin page: use nice urls (did not tried that yet)
Thanks for the reply - I fixed the issue all be it with the intervention of a PHP page. Essentially it seems that with or without the nice URLs you cant create a shortcut on the iPhone homepage that can be re used.
To get around this I created a shortcut with a combination of your posts above and an icon link which applies a nice icon to the home page. The icon I used was 47x47px flat art - Apple does the gloss and rounded corners bit for you !! Interestingly Apple user a far larger icon 129x129px which means it renders better when shrunk by the phone - see attached - it may be intended for the iPad. You have two options re the icon…
a) stick the image you want to use into the root of the site your running and call it apple-touch-icon.png
OR
b) stick the link into the header and point it at your image
With the addition of your header the phone then allows you to create a nice looking shortcut to the web client based web app on your iPhone !!
This link file I used on my site which I have subsequently made a little more dynamic by changing the arguments in the iFrame to suit each client
It would be a great help if there were more information about the nice URLs offered in the Servoy Admin - the info button tells you they exist and the wiki has the same or similar scant info. Although this may be obvious to some it would be nice for the rest of us if it were a bit more specific OR and example provided !!