[izpack-users] PathInputPanel

Bartz, Klaus Klaus.Bartz at coi.de
Tue Dec 5 18:38:33 CET 2006


Hi Michael,
PathInputPanel is not configurable with an xml file else
it is a base class used in the standard IzPack panel set
by TargetPanel and JDKPathPanel.
You can simple derive your own panel from PathInputPanel.
Appended a really simple one to ask for a data path. But
that panel do not create the directory else you can change the 
isValidated() method (not the best because you get problems
at backspaces) or create a "mini" custom action.
To compile etc. see docu or %IZ_HOME%\src\build.xml. Normaly
it is no problem to extend build.xml with own panels; may be
an other package path makes little trouble.

Cheers 

Klaus


>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Michael
>Hagedorn
>Sent: Tuesday, December 05, 2006 5:15 PM
>To: izpack-users at lists.berlios.de
>Subject: [izpack-users] PathInputPanel
>
>
>Hi Folks,
>
>while installation I need to read the name of an existing directory (or
>create it) to prepare some installed scripts. Actually I use
>UserInputPanel but I'm not satisfied because I cannot check existence.
>May be PathInputPanel could help to solve this issue, but I don't find
>documentation how to write a appropriate spec.xml.
>
>Is there someone able to provide a XML snippet? Klaus?
>
>Thanks
>Michael
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/izpack-users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataPathPanel.java
Type: application/octet-stream
Size: 1850 bytes
Desc: DataPathPanel.java
Url : https://lists.berlios.de/pipermail/izpack-users/attachments/20061205/0a5e22cd/attachment.obj 


More information about the izpack-users mailing list