Solved

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

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

773 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