[izpack-users] Sharing variable values between panels

Laurent Duperval lduperval at gmail.com
Fri Feb 24 22:54:55 CET 2006


No, I mean XML. Sorry... :-)

L

On 2/24/06, Hal Vaughan <hal at thresholddigital.com> wrote:
> 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
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-users
>



More information about the izpack-users mailing list