Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8919653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:05:04+00:00 2026-06-15T06:05:04+00:00

i have a big problem to bind this method: [Bindable(event=LOCALE_CHANGED_EVENT_TYPE)] public static function localeString(pathInLocale:String):String

  • 0

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:

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T06:05:05+00:00Added an answer on June 15, 2026 at 6:05 am

    The problem lies here: [Bindable(event=LOCALE_CHANGED_EVENT_TYPE)]

    This is a preprocessor rule that hasn’t done a resolve on its references yet. Effectively what the [Bindable] does is to write an event listener for you (via a ChangeWatcher elsewhere), and since they are based on ‘magic strings’, you’re statement would need to look similar to:

    public static const LOCALE_CHANGED_EVENT:String = "localeChangedEvent";
    
    [Bindable(event="localeChangedEvent")]
    function foo(param:int):void
    {
      var oldValue:int = _fooFighters;
      _fooFighters = param;
      if (oldValue != param) dispatch(new Event(LOCALE_CHANGED_EVENT));
    }
    

    Now this is over-simplified, but you can hopefully get the idea. As for why it works in the same mxml as the DataGrid, I can only speculate that your dispatched event isn’t a defined Event Class but something similar above – just a defined string? Hard to say.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a big problem. I use excel auto filter function, at the end
I have a big problem. I try to bind my WPF DataGrid to a
I have a big problem opening http://localhost/ on Windows 7 (beta). I installed this
I have really big problem with calling JSON with jQueryUI autocomplete. I have this
I have this big problem that i dont know how to fix. I have
I have a big problem, but probably it's only big for me :). terminal.Bind(client);
i have big problem with explanation code under, meanwhile i made two loops function
I have big problem when I am trying to deploy my app over clickonce.
I'm using editor from Kendo UI, so I have big problem. I don't know
I have a big problem that a recursive treeview doesn't update any childs if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.