[izpack-users] Retaining values on the previous panel
Dennis Reil
Dennis.Reil at reddot.de
Mon Feb 26 11:46:49 CET 2007
E.g. in the description of an panel:
<field type="rule" variable="SERVER_HOST" conditionid="!
input.serverhost">
<spec layout="O:25:U" set="0:${HOST_NAME}"
id="server_host.label"/>
</field>
<field type="rule" variable="SERVER_HOST"
conditionid="input.serverhost">
<spec layout="O:25:U" set="0:${SERVER_HOST}"
id="server_host.label"/>
</field>
So in this example only one of the fields is displayed. Both fields have
differend default values. HOST_NAME is the default if there's no input
at all.
Note that the expression !input.serverhost is a new feature in the trunk
of izpack. With 3.10 you'll have to define a NotCondition referencing
the input.serverhost condition. That is, what !input.serverhost actually
does in the background.
You also have to create a new type of condition which checks in addition
to the normal variable condition if a variable already has any value.
Regards,
Dennis
> Thanks for quick reply...
> But could you expalin with small example ,how i can retain values in
> all fields in previous panel???
> I could not get it from ur explainition in reply....
>
>
> Thanks And Regards
> Sonal
>
> H
> =====-----=====-----=====
> 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