Select to view content in your preferred language

"Select template to create feature"

731
2
05-24-2011 09:52 AM
philippschnetzer
Frequent Contributor
How do I remove the words "Select template to create feature" from the EditWidget??? I have searched for that phrase in all of the EditWidget components I could think of and wasn't able to find it anywhere!

Thanks
Tags (2)
0 Kudos
2 Replies
ArminPosch
New Contributor
Hi,

in the EditWidget.mxml you will find the line

<s:Label text="{getDefaultString('selectTemplateText')}"/>

..so either you comment it out or put any text in there you want as a label
0 Kudos
philippschnetzer
Frequent Contributor
Thanks - in hindsight that seems so obvious!

But now I think I have a hard challenge!  I would like to remove/hide the part in the edit widget which shows what layers you have editable with a checkbox beside the layer.  You can turn on/off the editable layers with this check box.  In my case I am using the editable FeatureService just as a dummy layer but am symbolizing the layer with the MapService instead - so now when you uncheck the editable layer in the edit widget the layer is still visible because it gets its symbology from the MapService instead.  I did this because I needed the user to not be able to select all the different templates.

Anyway - I have looked for this check box in every skin...including the EditorSkin.mxml directly in the api download....can't find the reference to it..
0 Kudos