jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • IzPack
  • IZPACK-697

UserInputPanel does not changes the binding's dynamicvariable

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Blocker Blocker
  • Resolution: Unresolved
  • Affects Version/s: 5.0
  • Fix Version/s: 5.0
  • Component/s: Installer
  • Labels:
    None

Description

When user change a field in UserInputPanel which binds to an existing dynamic variable with a default value, the user inputs does not dynamically change the var.

To produce this, debug thru UserInputPanel's validator

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Tim Anderson added a comment - 13/Apr/12 5:08 AM

Can you attach a minimalist install.xml and userInputSpec.xml that can be used to reproduce the behaviour?
It will make it easier to diagnose and develop a test case.

Show
Tim Anderson added a comment - 13/Apr/12 5:08 AM Can you attach a minimalist install.xml and userInputSpec.xml that can be used to reproduce the behaviour? It will make it easier to diagnose and develop a test case.
Hide
Permalink
CM added a comment - 23/May/12 4:44 AM

I'm experiencing(with beta11 build locally) the same thing only when I'm accessing dynamic variable(DV) "DV_JBOSS_MASTER_ADDRESS" in my java class called by process panel, but the DV gets correctly replaced with the modified value when called <parsable/> node over the file on which I've putted the DV(in my case a BAT file).

My snippet code:
install.xml
<installation version="1.0">
...
<variables>
...
<variable name="V_DEFAULT_JBOSS_MASTER_ADDRESS" value="localhost" />
...
</variables>
<dynamicvariables>
...
<variable name="DV_JBOSS_MASTER_ADDRESS" value="${VI_MASTER_ADDRESS}" condition="C_NODE" />
<variable name="DV_JBOSS_MASTER_ADDRESS" value="${V_DEFAULT_JBOSS_MASTER_ADDRESS}" condition="!C_NODE" />
...
</dynamicvariables>
...
</installation>

userInputSpec.xml
<userInput>
...
<panel id="P_userinput_master">
<field type="text" variable="VI_MASTER_ADDRESS">
<spec txt="CRE Master Address:" id="input.dg.cre.master.address" size="20" set="${V_DEFAULT_JBOSS_MASTER_ADDRESS}" />
</field>
</panel>
...
</userInput>

Show
CM added a comment - 23/May/12 4:44 AM I'm experiencing(with beta11 build locally) the same thing only when I'm accessing dynamic variable(DV) "DV_JBOSS_MASTER_ADDRESS" in my java class called by process panel, but the DV gets correctly replaced with the modified value when called <parsable/> node over the file on which I've putted the DV(in my case a BAT file). My snippet code: install.xml <installation version="1.0"> ... <variables> ... <variable name="V_DEFAULT_JBOSS_MASTER_ADDRESS" value="localhost" /> ... </variables> <dynamicvariables> ... <variable name="DV_JBOSS_MASTER_ADDRESS" value="${VI_MASTER_ADDRESS}" condition="C_NODE" /> <variable name="DV_JBOSS_MASTER_ADDRESS" value="${V_DEFAULT_JBOSS_MASTER_ADDRESS}" condition="!C_NODE" /> ... </dynamicvariables> ... </installation> userInputSpec.xml <userInput> ... <panel id="P_userinput_master"> <field type="text" variable="VI_MASTER_ADDRESS"> <spec txt="CRE Master Address:" id="input.dg.cre.master.address" size="20" set="${V_DEFAULT_JBOSS_MASTER_ADDRESS}" /> </field> </panel> ... </userInput>

People

  • Assignee:
    Unassigned
    Reporter:
    Dan Tran
Vote (0)
Watch (1)

Dates

  • Created:
    03/Sep/11 8:12 PM
    Updated:
    Yesterday 4:44 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.