How to set default text in TextPanel?
Answered
I have been following this...
along with
and I want to populate a TextPanel with the tag/attribute I'm binding it to, but I can't figure out how to do that. I'm using doBind to bind a TextControl to a TextPanel, but the panel is not prepopulating with the xml. However if I then type something into the TextPanel it's reflected in the xml (so I know the binding is happening). Or rather the binding is only one way, from the Form to the XML. I want it to be bidirectional or at least the ability to populate the Form on load of the XML file.
Please sign in to leave a comment.
Do you have a TextControl bound to this panel? Is BaseControl.reset ever called on this TextControl?
BaseControl.reset(). Bingo. That's it.