i have a big problem to bind this method:
[Bindable(event=LOCALE_CHANGED_EVENT_TYPE)]
public static function localeString(pathInLocale:String):String
{
var value:String=LocaleUtil.getValueFromLocaleFromStringPath(pathInLocale);
if (value == null || value.length == 0)
{
value=pathInLocale;
}
trace(value);
return value;
}
like this:
<mx:DataGridColumn headerText="{PDMPlusPlusModelLocator.localeString('employeeView.employeeFilter.noDottedManager')}" />
The Binding seams simply not beeing executed. (Think that, because the trace() is not called and i have debuged it)
But the same works perfect here:
<mx:Label text="{PDMPlusPlusModelLocator.localeString('employeeView.employeeFilter.noDottedManager')}"/>
Dose anyone have an idea what the Problem is?
Note: i reade this post and i think it's the same problem, but it do not work for me cause of any reasons: