[izpack-users] Sharing variable values between panels

Hal Vaughan hal at thresholddigital.com
Fri Feb 24 22:52:46 CET 2006


On Friday 24 February 2006 16:37, Laurent Duperval wrote:
> Hi,
>
> Is there a way for me to set a variable (INSTALL_PATH, in this case)
> and reuse it in a subsequent UserInputPanel to set the default value
> of an input (a "search" input in this case).

Do you mean specifying it in XML or in Java?

In Java, each panel is passed a copy of InstallData.  You can set 
variables and store objects in it and retrieve them in other panels.  
Variables stored in the common InstallData object are also parsed and 
substituted in any files you specify for the InstallPanel to parse.

Hal



More information about the izpack-users mailing list