[izpack-users] search fields in UserInputPanel

Dennis Reil Dennis.Reil at reddot.de
Mon Sep 17 09:27:02 CEST 2007


You'll have to define a condition on that and define your fields twice like this:

 

  <field type="search" variable="KS_FILE" conditionid="filevarset">

      <description type="file" />

      <spec result="file" id="input2.searchdes" size="30">

          <choice txt="${KS_FILE}" />

      </spec>

  </field>

  

  <field type="search" variable="KS_FILE" conditionid="!filevarset">

      <description type="file" />

      <spec result="file" id="input2.searchdes" size="30">

          <choice txt="" />

      </spec>

  </field>

 

filevarset has to be defined in your conditions.xml and you'll have to implement a Condition (subclass com.izforge.izpack.rules.Condition) which check's if a variable is null or not.

 

Regards,

   Dennis

 

 

Von: izpack-users-bounces at lists.berlios.de [mailto:izpack-users-bounces at lists.berlios.de] Im Auftrag von Barzelatto Guido
Gesendet: Montag, 17. September 2007 09:18
An: izpack-users at lists.berlios.de
Betreff: [izpack-users] search fields in UserInputPanel

 

I haven't descript correctly my problem: The reset happened only for fields defined like this:

 

<field type="search" variable="KS_FILE">

      <description type="file" />

      <spec result="file" id="input2.searchdes" size="30">

          <choice txt="" />

      </spec>

  </field>

 

Any suggestion?

Thanks 

Guido

 

________________________________

Da: izpack-users-bounces at lists.berlios.de [mailto:izpack-users-bounces at lists.berlios.de] Per conto di Barzelatto Guido
Inviato: venerdì 7 settembre 2007 10.24
A: izpack-users at lists.berlios.de
Oggetto: [izpack-users] (no subject)

 

Hi,

I have successfully built an installer for deploying a web application. 

I use two UserInputPanels. If users fill the first form, press forward button and then press backward button, the first form is reset to default values. I haven't yet figured how to avoid it. Have you got any suggestion on how to avoid it?

 

Thanks for your help

Best regards

 

Guido 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070917/ab4a6ff4/attachment-0001.html 


More information about the izpack-users mailing list