[izpack-users] izpack variable issue
CMorrissey at espatial.com
Wed Dec 20 16:04:36 CET 2006
I have downloaded the latest source code from IzPack and the UserInputPanel
class does not contain any updateUIElements method. Would it be possible to
get a copy of the code? I am trying to update default values on the
UserInputPanel at runtime.
From: Mandeep Saini [mailto:Mandeep.Saini at dante.org.uk]
Sent: 20 December 2006 11:43
To: izpack-users at lists.berlios.de
Subject: Re: [izpack-users] izpack variable issue
In IzPack graphical interface is build only once and it happens in the
very beginning so if you are setting a field with the value of a
variable which you are taking as input from user will not be displayed
in the field because the graphical interface was already build at that
time and will not be able to show the recent value.
But if you checkout the recent IzPack from the trunk then its possible.
Because a new method updateUIElements has been added in the
UserInputPanel class which updates the UI elements. Although it has not
been implemented completely . It updates the rule field, text field but
doesn't do it for search field and other fields. But you can write your
own code to update Search field inside this method.
Hope this will help you.
sonal.deshpande at tcs.com wrote:
> I want to use a variable for file tag in search field in userInputSpc.xml.
> <field filename=VAR type="search" variable="db2_home">
> where VAR is variable set in some radiobutton control.
> Is it possible and how?
> Sonal B Deshpande
> Tata Consultancy Services
> Mailto: sonal.deshpande at tcs.com
> Website: http://www.tcs.com
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
> izpack-users mailing list
> izpack-users at lists.berlios.de
izpack-users mailing list
izpack-users at lists.berlios.de
More information about the izpack-users