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 8462225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:06:31+00:00 2026-06-10T14:06:31+00:00

I upgraded from 0.97 I believe and was even using the configuration setting that

  • 0

I upgraded from 0.97 I believe and was even using the configuration setting that the deprecation warnings told me to but that didn’t prevent my app from completely breaking on upgrade

my handlebars code has this

<script type="text/x-handlebars" data-template-name="say-hello">
    {{name}}</br>
    {{hello}}
</script>​

And my view code is this

App = Ember.Application.create();

App.myView = Ember.View.create({
    templateName: 'say-hello',
    nameBinding: 'App.arrayProxy.name',
    helloBinding: 'App.arrayProxy.hello',
}).append();

App.arrayProxy = Ember.ArrayProxy.extend({
    name: "test",
    hello: function(){
      return 'hello ' + this.get('name')
    }.property('name')
})

Niether property shows up in the view. It’s like bindings don’t even work anymore. Even if I add a console.log to hello it never even gets called. For some reason properties have been handled completely different in ember 1.0 which is a very big PITA. Does anyone have any insight on how I do it in the newest version, if I have to add or remove something?

UPDATE: here is a jsfiddle to show how it doesn’t work http://jsfiddle.net/664H9/

  • 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-10T14:06:33+00:00Added an answer on June 10, 2026 at 2:06 pm

    There are three things in your jsfiddle which don’t work:

    • Appending the view. For me it’s better to declare a default template (without data-template-name), and reference the view inside it. Ember will create the view for you

    • Since 1.0 pre, to call view’s properties into template, you have to prefix them with view

    • Your bindings can’t work, as your are not creating an instance of array proxy, but you’re only creating a class (I think that even in 0.9.7, this should not work.

    Here is a working jsfiddle : http://jsfiddle.net/Sly7/664H9/22/

    <script type="text/x-handlebars">
      {{view App.MyView}}
    </script>
    
    <script type="text/x-handlebars" data-template-name="my-view">
      {{view.name}}</br>
      {{view.hello}}
    </script>​
    
    App = Ember.Application.create();
    
    App.ApplicationView = Ember.View.extend({
      nameBinding: 'App.arrayProxy.name',
      helloBinding: 'App.arrayProxy.hello',
    });
    
    App.arrayProxy = Ember.ArrayProxy.create({
      name: "test",
      hello: function(){
        return 'hello ' + this.get('name')
      }.property('name')
    });
    
    App.initialize();
    

    ​

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

Sidebar

Related Questions

I recently upgraded from jQuery 1.2.6 to 1.3.2 Now on the page I'm using
We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
I believe that I did everything necessary to change my app for ipad (was
I am current running EF 4.3.1 which was recently upgraded from 4.1, using a
I upgraded from xcode 4.0 to 4.0.2 today (not sure why, but everything i
I just upgraded from django 1.2.4 to 1.3. I'm using nginx in conjunction with
We just recently upgraded from VS2005 to VS2010. I've noticed that unlike VS2005, when
I upgraded from MacOS X 10.6 (Snow Leopard) to 10.7 (Lion) this morning, and
We have recently upgraded from SQL Server 2005 to SQL Server 2008 (R2, SP1).
I just upgraded from SnowLeapord to Lion and now cannot create virtualenvs. I understand

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.