1 <?xml version="1.0" encoding="utf-8"?>
3 xmlns:mx="http://www.adobe.com/2006/mxml"
4 xmlns:edit="net.systemeD.potlatch2.mapfeatures.editors.*"
5 xmlns:flexlib="flexlib.controls.*"
7 toolTip="{fieldDescription}"
8 direction="{fieldDirection}" styleName="titledEditor">
10 <mx:Label text="{fieldName}:"/>
11 <flexlib:PromptingTextInput id="inputBox" prompt="{prompt}" text="{value}" width="100%" change="value = inputBox.text"/>
15 [Bindable(event="factory_set")]
16 protected function get prompt():String {
17 return _factory == null ? null : FreeTextEditorFactory(_factory).notPresentText;
21 </edit:SingleTagEditor>