IzPack

Multiple HTMLInfo Panels showing different html files...

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 4.0.0
  • Fix Version/s: 4.1.0
  • Component/s: Panels
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

We faced the problem to show at different places HtmlInfoPanel's with different content. Therefor we changed the HTMLInfoPanel to check for resoruces which follow the name pattern HTMLInfoPanel.<panelid>. If it exists, the HTMLInfoPanel shows the specified one if not it loads the default HTMLInfo.info panel.
e.g.
<resources>
<res id="HTMLInfoPanel.info" src="install-readme.html" parse="yes" type="plain"/>
<res id="HTMLInfoPanel.info2" src="info2-readme.html" parse="yes" type="plain"/>
[...]
</resources>
[...]
<panels>
<panel classname="HTMLInfoPanel" id="infopanel"/>
[...]
<panel classname="HTMLInfoPanel" id="info2"/>
[...]
</panels>

Activity

Hide
Gernot Stocker added a comment -

I would recommend to use the patch of http://jira.codehaus.org/browse/IZPACK-124 which is doing the same as the patch attached to this issue is doing including the parsing of the content,

Show
Gernot Stocker added a comment - I would recommend to use the patch of http://jira.codehaus.org/browse/IZPACK-124 which is doing the same as the patch attached to this issue is doing including the parsing of the content,
Hide
Julien Ponge added a comment -

Does this mean that the patch attached to this issue should be discarded?

Show
Julien Ponge added a comment - Does this mean that the patch attached to this issue should be discarded?
Hide
Gernot Stocker added a comment -

Yes, if you apply the patch from http://jira.codehaus.org/browse/IZPACK-124 this additional functionality is included.

Show
Gernot Stocker added a comment - Yes, if you apply the patch from http://jira.codehaus.org/browse/IZPACK-124 this additional functionality is included.
Hide
Julien Ponge added a comment -

Duplicate of IZPACK-124 since the other issue provides a fix.

Show
Julien Ponge added a comment - Duplicate of IZPACK-124 since the other issue provides a fix.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: