Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
javap not working 8 59
MySQL  on Tomcat 8 70
java stored proc example 9 45
collection output issue 9 37
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

831 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