[izpack-users] Sharing variable values between panels
Klaus Bartz
bartzkau at gmx.net
Sat Feb 25 17:16:48 CET 2006
Hi Laurent,
seems so, you mean the special panel UserInputPanel. There you
can only use IzPack variables for some elements of the spec and
only the value at start time because the spec file will be
evaluated during panel constructor run (this is after the
language selection box for all panels).
You can declare what IzPack variable should be used for a defined
field in UserInputPanel, but you cannot use this variable in a
following UserInputPanel.
One reason why I use custom panels :-)
Cheers
Klaus
> 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
>>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-users
>
--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
More information about the izpack-users
mailing list