[izpack-devel] variables in UserInputPanel

Dennis Reil Dennis.Reil at reddot.de
Thu Jan 4 14:26:45 CET 2007


I added support for defining variables in userinput panels. It's
possible to do the following now:

userinputspec.xml:

<panel id="somepanel">      		  				
	  <!-- the default context path -->
  	<variable conditionid="notwarfilesetup" name="SERVLET_CONTEXT_PATH"
value="tomcat/webapps/myappname"/> 
  	<variable conditionid="warfilesetup" name="SERVLET_CONTEXT_PATH"
value=""/>     

...

</panel>


This means, that if the installer switches to "somepanel", the variable
definitions will be analyzed, conditions will be checked and the
variable(s) will be added or updated in install data. The value of such
a variable can be used in the same panel and on following panels, custom
actions, ...


-- 
Regards,
   Dennis



More information about the izpack-devel mailing list