• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 400
  • Last Modified:

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

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
Anita_Pillai
Asked:
Anita_Pillai
  • 3
1 Solution
 
sudhakar_koundinyaCommented:
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
 
sudhakar_koundinyaCommented:
http://www.javaalmanac.com/egs/org.w3c.dom/pkg.html

examples in above link will help u to do that

Best regards
Sudha
0
 
Anita_PillaiAuthor Commented:
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
 
sudhakar_koundinyaCommented:
Ok by me
0
 
Computer101Commented:
PAQed, with points refunded (500)

Computer101
E-E Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now