[izpack-devel] Addition of one more attribute 'createForField' to make installer more dynamic

Amit Bhayani amit.bhayani at jboss.com
Sat Aug 19 12:38:56 CEST 2006


Hello Friends,

 

We have something called as 'createForPack' to make our <userInput>
<panel>  (within userInputSpec.xml) depends on one of the Pack's.
However in my project I have a requirement were I need to display
UserInputPanel depending upon what the user has selected in previous
UserInputPanel screen. 

 

To achieve this requirement I have made changes in UserInputPanel.java
to have one more attribute 'createForField'. So depending upon some
value selected by user in previous screen I can change the fields in
next screen or I can altogether avoid next screen.

 

Please have a look at patch UserInputPanel.txt

 

To demonstrate this I have made changes in sample\install.xml. Look at
patch Install.txt. In order to run this example please download
userInputSpec.xml attached with mail in \sample folder.

 

NOTE : For this sample to work correctly you need to have latest code of
TwoColumnLayout.java (changes suggested by me in previous mail)

 

Regards,

Amit.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-devel/attachments/20060819/868beda9/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: UserInputPanel.txt
Url: https://lists.berlios.de/pipermail/izpack-devel/attachments/20060819/868beda9/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Install.txt
Url: https://lists.berlios.de/pipermail/izpack-devel/attachments/20060819/868beda9/attachment-0001.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: userInputSpec.xml
Type: text/xml
Size: 20496 bytes
Desc: userInputSpec.xml
Url : https://lists.berlios.de/pipermail/izpack-devel/attachments/20060819/868beda9/attachment.xml 


More information about the izpack-devel mailing list