[izpack-users] Retaining values in previous fields

Sonal Deshpande sonal.deshpande at tcs.com
Tue Feb 27 10:17:09 CET 2007


Hi Dennis,

For rule field i think it is simpler than that .
We used following specification for retaining values for rule field....

<field type="rule" variable="client_model_repos_name">
  <description align="left" txt=""
               id="description.rule.2"/>
  <spec txt="Service Name:"  set="0:$client_model_repos_name"
        layout=" AN:10:20" 
        resultFormat="specialSeparator" separator="."/>
  <validator class="com.izforge.izpack.util.NotEmptyValidator"
             txt="The Service name is mandatory!" />
  <!--processor class=""/-->
</field>



i.e we just used set="0:$client_model_repos_name"
and it worked.
I am facing problem with search field I am not able to specify variable in 
choice tag .
i.e
<field type="search" variable="MCClient_home">
  <description align="left" 
               txt=""
               id="description.mcclient_home"/>
  <spec txt="MasterCraft Client Install path:" checkfilename=""
        type="directory" result="directory" >
 
        <choice  value="$MCClient_home" set="true" os="windows"/>

  </spec>
 
  </field>

Here value="$MCClient_home" is not working

Any solution??????

Regards,

Sonal B Deshpande
Tata Consultancy Services
Mailto: sonal.deshpande at tcs.com
Website: http://www.tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070227/1821d822/attachment.html 


More information about the izpack-users mailing list