Date: Thu, 28 Mar 2024 16:41:59 +0000 (UTC)
Message-ID: <101816860.10699.1711644119521@911f0a1bad02>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_10698_1817722411.1711644119521"
------=_Part_10698_1817722411.1711644119521
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
A module is a Servoy solution that can be used as part of other =
solutions. It is commonly used to develop parts of a Servoy solution separa=
tely, to be combined later. Modules allow users to re-use graphical user in=
terface objects and business logic in multiple solutions.
In This Chapter
=20
Creating a New Module
The process to create a module is similar to the one described in Workin=
g with Solutions.
- In Solution explorer, access the context menu on the currently active s=
olution node and select Create New Solution.
- Specify the name of the module.
- Select Module as the solution type.
- Choose the resource project (usually the same resource project that the=
active solution is using).
- Click Finish.
- The new module will be added to the Modules node in th=
e currently active solution, providing access to the module components.&nbs=
p;
- It will also be listed under the All Solutions node, f=
rom which the module can be activated and worked on as the currently active=
solution.
Add=
ing an Existing Module to the Active Solution
There are two ways to add an existing module to the currently active sol=
ution.
To add a module via the Solution Explorer:
- Access the context menu on the desired solution/method listed in the
All Solutions node.
- Select Add as Module.
- The solution will appear under the Modules node in the=
currently active solution.
To add multiple modules:
- Make sure the Properties view is active (usually on the right of the wo=
rkbench). If not, open the view using the menu item Window > Show View > Properties.
- Double-click modulesNames under the Properties node. A=
select window will appear containing a list of all available solutions.
- Click the checkboxes for the solutions that you want to add as a module=
to the active solution.
Removing=
a Module from the Active Solution
To remove a module from the active solution, access the context menu (ri=
ght-click) on the module and click Remove module. The remo=
ved module will remain in the All Solutions list for futur=
e use.
------=_Part_10698_1817722411.1711644119521--