Solved

IZPACK PROBLEM : HOW DO YOU PASS A VARIABLE RECEIVED FROM A USER INPUT PANEL TO ANOTHER PANEL???

Posted on 2004-08-17
7
371 Views
Last Modified: 2010-03-31
Hi,

    I am trying to receive a variable through seach in my userInputSpec.xml
and I want to pass it to my install.xml..

Does anyone know how to go abt this??

Thanks!

Anita
0
Comment
Question by:Anita_Pillai
  • 3
7 Comments
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 11823942
so uou want to save the serarch value into install.xml. Right??

use DOM or sax to read and write the variables.

best Regards
Sudhakar
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 11824053
http://www.javaalmanac.com/egs/org.w3c.dom/pkg.html

examples in above link will help u to do that

Best regards
Sudha
0
 

Author Comment

by:Anita_Pillai
ID: 11955819
I found a solution for it..and  the help i had recvd had nothing to do with the solution..

Here is the soln..

try: installData.getVariable("variable_name") where installData is an InstallData object and variable_name is the name of your variable.  If you receive the value null then there is no value associated with that variable name.

All panels are created upon startup of the intaller, if the variable's value changes during the course of the installation you need to check for this in your panel's 'panelActivate()' method.

I would like the soln to be PAQ'd

Thanks!

0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 12247145
Ok by me
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12280203
PAQed, with points refunded (500)

Computer101
E-E Admin
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now