[izpack-users] How to add a panel property?

Klaus Bartz bartzkau at gmx.net
Sun Mar 5 14:14:01 CET 2006


Hi Yossi,
hope you inherit from PathInputPanel, not TargetPanel
else it will be possible that you alter also the InstallPath
(if you call super.isValidated() what it is common).

Your method isValidated looks like

     public boolean isValidated()
     {
         // Standard behavior of PathInputPanel.
         if (!super.isValidated()) return (false);
         idata.setVariable("MysqlPathPanel.Path",  
pathSelectionPanel.getPath());
         return (true);
     }

or? Then you have setted the variable which you can use in other
panels / custom actions.

Cheers

Klaus


Am 05.03.2006, 11:41 Uhr, schrieb Yossi Baram <yossiba at eldat.com>:

> Hi,
> I managed very easy, just used the
> idata.getVariable("MysqlPathPanel.Path") of course.
> Thanks any way
> Yossi
>
>
> __________ NOD32 1.1422 (20060301) Information __________
>
> Diese E-Mail wurde vom NOD32 Antivirus System geprüft
> http://www.nod32.com
>



-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/



More information about the izpack-users mailing list