• Returning a field from selected document does not work (patch included)

    By Jan Krejcarek 1 decade ago

    When a property select is set to a value "Field", the component does not return the field's value. The code is missing apostrophes in the getItemValueString() method call (see patch below).

    Thanks for this control!

    regards

    Jan Krejcarek

     

    329c329
    < valueselected = eval(compositeData.dialogID + 'viewinfo.getDocument().getItemValueString(' + compositeData.selectField +')')
    ---
    > valueselected = eval(compositeData.dialogID + 'viewinfo.getDocument().getItemValueString("' + compositeData.selectField +'")')