[izpack-users] Hidden text filed on the UserInputPanel

Dennis Reil Dennis.Reil at reddot.de
Wed Jan 17 09:45:44 CET 2007


Your condition.xml is incorrect. There are now elements called
fieldcondition.

You have to use it as follows:

in conditions.xml:
<condition type="variable" id="con_oracle_home_hidden1"> 
                        <name>nooracle</name> 
                        <value>oracle</value> 
                </condition>

in UserinputSpec:
<field type="text" variable="app_db_databese_home"
id="oracle_home_hidden1" conditionid="con_oracle_home_hidden1"> 
  <description align="left" txt="" 
               id="description.text"/> 
  <spec txt="" id="oracle_home_hidden_txt" size="15"
set="$oracle_home_model_repos"/> 
</field>



regards, 

   Dennis
> I need hidden fields on my panel . 
> For that my UserinputSpec.xml tags are as follows 
> 
> <!-- these are to be made hidden--> 
>   
> <field type="text" variable="app_db_databese_home"
> id="oracle_home_hidden1"> 
>   <description align="left" txt="" 
>                id="description.text"/> 
>   <spec txt="" id="oracle_home_hidden_txt" size="15"
> set="$oracle_home_model_repos"/> 
> </field> 
> 
> 
> and conditions.xml is  
> 
> <condition type="variable" id="con_oracle_home_hidden1"> 
>                         <name>nooracle</name> 
>                         <value>oracle</value> 
>                 </condition> 
> 
> <fieldcondition fieldid="oracle_home_hidden1"   
>                   conditionid="con_oracle_home_hidden1"/> 
> 
> 
> here I compared oracle with nooracle since I always want this field
> invisible(hidden). 
> But it did not work. 
> 
> is <fieldcondition fieldid=......     tag is OK? 
> 
> What can be the problem? 
> 
> 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
> 
> 
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users



More information about the izpack-users mailing list