Solved

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

Posted on 2004-08-17
7
372 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Which is the latest version of Apache Tomcatl 3 50
thymeleaf natural templating vs JSP 2 67
more than one jdk and one jre 1 32
java jdbc batch example 8 21
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

910 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

21 Experts available now in Live!

Get 1:1 Help Now