We need you!

Icon

The IzPack documentation needs work, and you are invited to edit it!

Skip to end of metadata
Go to start of metadata

Usage

Allows the user to select the packs to be installed. This panel also allows grouping of packs. Look at InstallationGroupPanel description to get more details.

IzPack automatically sets reserved variables depending on the packs selected by the user or an unattended installation (auto-install.xml) to be installed:

izpack.selected.<packname>

where <packname> is the name attribute <pack name="..."> of the pack selected. If the pack is selected, the condition validates true.

Translations

The contents of PacksPanel can be translated, in order to present a different name and description of the packs for each language.

In order to provide internationalization for the PacksPanel, you have to add a resource packsLang.xml_xyz to the installation descriptor (install.xml) where xyz is the ISO3 code of the language in lowercase.

Example:

The installation descriptor (install.xml)

The IzPack translation file uses reserved IDs for the single translation items.

For translating the short name of the pack use the pack name as the id attribute of each translation item. For translating a pack description use the pack name suffixed by .description as the translation item key.

 

The packsLang.xml_eng file referred by the according resource ID
  • No labels

7 Comments

  1. This does not work if you do not have a TargetPanel. 

  2. This is known, see 

    Error rendering macro 'jira' : Unable to locate JIRA server for this macro. It may be due to Application Link configuration.

  3. Is this a bug that will be fixed in the release or a feature that needs to be documented?

  4. From my point of view it is not critical.

    Depends whether there will be time or a contribution.

    At the moment, as long as there is no volounteer to solve it we should document it.

  5. Can you sketch the document. I can fix it up if you can describe the restriction.

  6. izpack-1192 describes a bug that makes the PacksPanel mandatory.

    It also appears that you need a packsLang.xml_xxx even if you do not want any translation.

    The packsLang.xml can not be found.

     

  7. iZPack -1193 describes a bug that seems to demonstrate that the Panel ignores the contents of the PacksLang file and uses the name and description from the install.xml pack section.