Issue Details (XML | Word | Printable)

Key: IZPACK-123
Type: Improvement Improvement
Status: Closed Closed
Resolution: Duplicate
Priority: Minor Minor
Assignee: Julien Ponge
Reporter: Gernot Stocker
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IzPack

Multiple HTMLInfo Panels showing different html files...

Created: 17/Jul/08 04:29 AM   Updated: 25/Sep/08 02:45 AM
Component/s: Panels
Affects Version/s: 4.0.0
Fix Version/s: 4.1.0

Time Tracking:
Not Specified

File Attachments: 1. Text File HTMLInfoPanel.patch (1 kB)


Patch Submitted: Yes


 Description  « Hide
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>

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Gernot Stocker added a comment - 17/Jul/08 09:59 AM
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,

Julien Ponge added a comment - 21/Jul/08 03:13 AM
Does this mean that the patch attached to this issue should be discarded?

Gernot Stocker added a comment - 21/Jul/08 05:11 AM
Yes, if you apply the patch from http://jira.codehaus.org/browse/IZPACK-124 this additional functionality is included.

Julien Ponge added a comment - 07/Aug/08 05:08 AM
Duplicate of IZPACK-124 since the other issue provides a fix.