|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Hide field using packselection conditionHi,
I have an unusual behavior when I try to hide a field using the attribute "conditionid" I defined in the condition.xml the following conditions: <conditions> <condition type="packselection" id="metadbselected"> <packid>metadb-pack</packid> </condition> <condition type="packselection" id="smxselected"> <packid>service-manager-pack</packid> </condition> .................. and in the userInputSpec.xml the fields: <field type="text" variable="smxDbDriver" conditionid="!metadbselected"> <spec size="20" txt="MetaDB Jdbc driver" id="smx.jdbc.driver" set="com.mysql.jdbc.Driver"/> </field> <field type="text" variable="smxDbHost" conditionid="metadbselected"> <spec size="20" txt="MetaDB Jdbc url" id="smx.jdbc.url" set="jdbc:mysql://localhost:3306/"/> </field> The field 'smxDbHost' fine works but the field 'smxDbDriver' (that uses !condition) has always been displayed (not depends on package selection) :-( Any suggestions? Thanks Daniela --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
AW: Hide field using packselection conditionWhat are you expecting? Should both fields appear at the same time?
Please use the conditions and variables debugger (http://blog.reil-online.de/2007/12/how-to-debug-variables-and-conditions.html) to see what the state of the conditions and variables when your UserInputPanel is visible. Regards, Dennis -----Ursprüngliche Nachricht----- Von: Daniela Butano [mailto:daniela.butano@...] Gesendet: Donnerstag, 8. Mai 2008 18:15 An: user@... Betreff: [izpack-user] Hide field using packselection condition Hi, I have an unusual behavior when I try to hide a field using the attribute "conditionid" I defined in the condition.xml the following conditions: <conditions> <condition type="packselection" id="metadbselected"> <packid>metadb-pack</packid> </condition> <condition type="packselection" id="smxselected"> <packid>service-manager-pack</packid> </condition> .................. and in the userInputSpec.xml the fields: <field type="text" variable="smxDbDriver" conditionid="!metadbselected"> <spec size="20" txt="MetaDB Jdbc driver" id="smx.jdbc.driver" set="com.mysql.jdbc.Driver"/> </field> <field type="text" variable="smxDbHost" conditionid="metadbselected"> <spec size="20" txt="MetaDB Jdbc url" id="smx.jdbc.url" set="jdbc:mysql://localhost:3306/"/> </field> The field 'smxDbHost' fine works but the field 'smxDbDriver' (that uses !condition) has always been displayed (not depends on package selection) :-( Any suggestions? Thanks Daniela --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Hide field using packselection conditionWhich version of Izpack are you using?
|
| Free embeddable forum powered by Nabble | Forum Help |