Hi all,

Perhaps this is extremely obvious...

I'm running into a problem with a fix for SYNCOPE-215. Essentially there is
a drop down list of Virtual attribute names, and I want to make the
corresponding text field "read-only" if the Virtual attribute that is
selected is "read-only".

The DropDownChoice object in VirtualAttributesPanel already has an "onblur"
component that allows me to see what was selected. The problem is that the
"Panel" object corresponding to the text field, is passed through to a
MultiValueSelectorPanel object, which clones it:

 final FieldPanel fieldPanel = panelTemplate.clone();

So even if I call "setReadOnly" on the panel in VirtualAttributesPanel, the
text field does not turn read-only. Is there an obvious way to solve this
problem?

Thanks,

Colm.


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to