Page 1 of 1

Launching Web Client in Developer Shows Wrong Form

PostPosted: Thu Jul 02, 2009 12:23 am
by kwpsd
Servoy 4.1.3
WIndows Vista

The Servoy Developer User's Guide states the following:

To launch Servoy Web Client from Servoy Developer:
􀂃 Make sure that Form Design perspective is open.
Click once on the Start WebClient Toolbar control icon .
􀂃 The default browser will open.
􀂃 Servoy Web Client will open and show the currently selected form in Servoy Developer.


When I launch the Web Client from Developer, it does not display the currently selected form (the only form that is open). Instead, it displays the first form listed alphabetically in the solution.

How do I get it to launch the form I am currently working on? Any help/advice appreciated.

Thanks!

Re: Launching Web Client in Developer Shows Wrong Form

PostPosted: Thu Jul 02, 2009 1:30 am
by mboegem
kwpsd wrote:How do I get it to launch the form I am currently working on?

It works the same as in smart client:

Once you started up the webclient with the icon in the toolbar, you open up the form you want to show in form designer and click: ctrl-L
This command will refresh your browser with the form you have in the formdesigner.

kwpsd wrote:Instead, it displays the first form listed alphabetically in the solution.

This would normally be the form that is specified in the 'first form' property of the solution.

Re: Launching Web Client in Developer Shows Wrong Form

PostPosted: Thu Jul 02, 2009 10:01 am
by pbakker
The anomaly has been removed from the documentation.

Paul

Re: Launching Web Client in Developer Shows Wrong Form

PostPosted: Sat Jul 04, 2009 1:19 am
by kwpsd
Once you started up the webclient with the icon in the toolbar, you open up the form you want to show in form designer and click: ctrl-L
This command will refresh your browser with the form you have in the formdesigner


The form I want is the only form displayed in Developer. If I press control-L, nothing happens.

If I launch Smart client then press control-L, the client screen toggles to/from the foreground/background (hides behind the Developer screen).

If I launch Web client, I still get the first alphabetically listed form in the solution. When I press control-L in Web client, the browser history 'Open' window pops up showing past URLs.


This would normally be the form that is specified in the 'first form' property of the solution.


The solution 'first form' property is set to the form I want to see. Smart client honors this and displays the correct form. Web client does not honor this and displays the first alphabetically listed form in the solution.


I don't know if this makes a difference, but our Servoy server is running as a Windows service (always running) as opposed to only running when Developer is launched. When we launch Developer on the server, the lightning bolt icon in the system tray never appears (the default installation). Does this 'break' the association between Developer and Server for launching the Web client?

Re: Launching Web Client in Developer Shows Wrong Form

PostPosted: Mon Jul 06, 2009 9:45 am
by mboegem
I've tried it also in our office (server as a windowsservice) and it all works fine...