[izpack-devel] defaults values in userinputspec.xml

Dennis Reil Dennis.Reil at reddot.de
Mon Sep 25 16:30:52 CEST 2006


Hi,

That just works like this:
<field type="text" variable="JAVA_HOME">
   <spec set="${SELECTED_JVM}" size="25" id="java_home.label"/>
   <description align="left" id="java_home.description"/>
</field>


Maybe, you should put your variable in brackets.

Regards 
   Dennis

Am Montag, den 25.09.2006, 14:23 +0000 schrieb abdessamad danguir:
> Hi,
> 
> I want to know if it is possible to set field defaults values in
> userInputSpec.xml to variables defined with idata.setVariable().
> 
> Example :
> 
> <field type="text" variable="host" >
> <spec text="Host Name" size="20" set="$var" >
> <field>
> 
> where var is a variable that has been set with
> idata.setVariable("var","titan").
> 
> I read in IzPack history that , this have already been done ( release
> 38.0), but it does not work for me.
> 
> Can someone help me please . This is urgent .
> 
> 
> Une île, le soleil, la mer et vous ? Souriez ! Plongez dans les eaux
> de Majorque, oubliez tout et découvrez le charme d?une île baignée par
> la Méditerranée. Planifiez vos vacances en Espagne sur www.spain.info 
> 
> 
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel




More information about the izpack-devel mailing list