[izpack-users] To show Our Own panels conditionaly
Dennis.Reil at reddot.de
Tue Jan 2 08:40:16 CET 2007
the current trunk version of izpack supports so called panel conditions,
i.e. panel can be shown based on conditions. These conditions can be
based on the current value of certain variables, selected packs, ...
e.g. if you have the variable CHOOSE_DIR which should be true, you have
to do the following:
1. assuming that your pathpanel has the id path.panel1 (<panel
2. define the location of your condition specification like <res
id="conditions.xml" src="conf/conditions.xml" />
<?xml version="1.0" ?>
<condition type="variable" id="showmypathpanel">
This defines a condition named showmypathpanel based on a variable's
value. It also defines a panelcondition on the panel path.panel1, which
means that path.panel1 should be shown if showmypathpanel is fulfilled,
which is the true if the variable CHOOSE_DIR has the value true.
> I have created a Panel which extends PathInputPanel.
> I want to give conditional behaviour to my Panel.
> I.e Like ConditionalUserInputPanel my pannel should be shown if some
> variable is set to particular value.
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the izpack-users