Message-ID: <483115203.94233.1397918904684.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_94232_284835138.1397918904684" ------=_Part_94232_284835138.1397918904684 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Several panels, such as the license panel, the information and the short= cut panel, require additional data to perform their task.
This data is supplied in the form of resources.
The manual's panel description page lists any resources that the panel n= eeds.
<resources> element is a child o=
Currently, no checks are made to ensure resources needed by any panel ha= ve been included.
Here is an example of specifying two resources:
> contains the
strong><res> elements that identify each resource. Th=
e following attributes may be specified:
idThe identifier of the resou= rce The panels documentation lists the id= s to be used.
srcThe path in your staging area to= the resource.
parse(optional, yes or = no, default: no)
If set true, the r= esource will not be added to the installer "as is", but it is par= sed as XML and the result of this parsing is added as valid XML file to the= installer.
One use case for this is if there are used <xi:xinclude= /> elements in the referred resources, which must be resolved at compil= e time and replaced by the included XML code, in case the href attribute &l= t;xi:xinclude/> is no longer valid at installation time.
Please note that in general a resource id is unique.
If you define multiple resources with the same id, the later definition = will overwrite the previous definition. This can happen if a resource is de= fined in a referenced pack-file.
However there is an exception for packsLang.xml_xyz fil= es (see internationalization of the PacksPanel).
If multiple packsLang-files were defined, all files will be merged into = a single temporary file. This allows refpack files to provide their own int= ernationalization-information.
The following sample shows a <resources> element in an installatio= n file. It specifies resources required for 2 of the panels.