[izpack-devel] PacksPanelAutomationHelper

Jeff Gordon jeff.not24 at gmail.com
Wed Jan 9 19:49:40 CET 2008


This change was found and expressed by another person on the list a while
ago (sorry I forgot who) who didn't know how to make it a patch.  I
implemented it in my build and submitted it back to the list, but everything
I have sent in the past few weeks has gone into the berlios spam hole so
here's a follow on message as I clean up my changes and submit them back to
the community.

- Jeff Gordon


Index: PacksPanelAutomationHelper.java
===================================================================
--- PacksPanelAutomationHelper.java    (revision 1977)
+++ PacksPanelAutomationHelper.java    (working copy)
@@ -98,7 +98,10 @@
                         int index = Integer.parseInt(index_str);
                         if ((index >= 0) && (index <
idata.availablePacks.size()))
                         {
+                          if
(el.getAttribute("selected").equalsIgnoreCase("true")
||
+
el.getAttribute("selected").equalsIgnoreCase("on"))
{
                             idata.selectedPacks.add(
idata.availablePacks.get(index));
+                          }
                         }
                         else
                         {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-devel/attachments/20080109/73f6f20e/attachment.html 


More information about the izpack-devel mailing list