Page History
Div | ||
---|---|---|
| ||
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING. | ||
Div | ||
| ||
Starting Headless Clients from Debug Clients in Servoy DeveloperWhen starting a Headless Client from a Debug Client in Servoy Developer, there are restrictions to which solution can be started in the Headless Client.
By default the Headless Client which is started will be a debug-able Headless Client. As there can be only one debug-able Client of a specific type at the same time (so one debug-able Web Client, one debug-able Smart Client and one debug-able Headless Client), starting a new debug-able Headless Client will close an existent debug-able Headless Client. It's possible to start non-debug-able Headless Clients using the Headless Client plugin while in Servoy Developer by sending in the value 'nodebug' as the last value in the |
Cache | |||||
---|---|---|---|---|---|
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
Table Head (th) | ||
---|---|---|
| ||
Return Types |
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
|
...
Colgroup Tag | |||||
---|---|---|---|---|---|
|
Table Head (thead) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Table Cell (td) |
---|
JSClient |
...
|
...
Table Cell (td) |
---|
JSClient |
...
Table Cell (td) |
---|
JSClient |
...
...
...
...
|
...
|
...
...
...
...
Col |
---|
...
...
id | sig |
---|
...
Span | ||
---|---|---|
| ||
JSClient |
Span | ||
---|---|---|
| ||
createClient |
...
...
Table Head (th) | ||
---|---|---|
| ||
Method Details |
...
id | createClient-String_String_String_ObjectArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
createClient(solutionName, username, password, solutionOpenMethodArgs) |
...
...
Creates a headless client on the server that will open the given solution. |
...
The clientId of this client can be stored in the database to be shared between clients so that that specific client can be used |
...
over multiply clients later on or picked up later on by this client. (Even after restart of this client) |
...
NOTE: in the developer this will only load the solution in debug mode when it is the current active solution or a module of the active solution; |
...
you can load any solution from the workspace when you pass "nodebug" as last argument in the arguments list (it should still use the same resources project). |
...
But then you won't be able to debug it, breakpoints won't hit. |
...
...
Parameters |
...
Table Body (tbody) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
id | getOrCreateClient-String_String_String_String_ObjectArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
...
id | sig |
---|
...
Span | ||
---|---|---|
| ||
JSClient |
Span | ||
---|---|---|
| ||
getOrCreateClient |
...
...
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
...
Returns Supported Clients Sample getClient(clientID)Gets an existing headless client for the given client uuid. Parameters Returns Supported Clients Sample getOrCreateClient(clientId, solutionname, username, password, solutionOpenMethodArgs) |
...
...
This will try to get a existing client by the given id if that client is already created for that specific solution; |
...
it will create a headless client on the server that will open the given solution if it didn't exists yet. |
...
If the client does exist but it is not loaded with that solution an exception will be thrown. |
...
NOTE: in the developer this will only load the solution in debug mode when it is the current active solution or a module of the active solution; |
...
you can load any solution from the workspace when you pass "nodebug" as last argument in the arguments list (it should still use the same resources project). |
...
But then you won't be able to debug it, breakpoints won't hit. |
...
...
Parameters |
...
...
...
...
...
...
...
...
...
...
...
...
Returns |
...
class | lastDetailRow |
---|
...
...
class | sIndent |
---|
...
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Supported Clients Sample |