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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:49:09+00:00 2026-06-17T23:49:09+00:00

EDIT: SOLVED, was accidentally creating instead of extending the ember view. See answer below.

  • 0

EDIT: SOLVED, was accidentally creating instead of extending the ember view. See answer below.

I am creating a keyboard for a touchscreen device that does not have a native touchscreen keyboard in the browser (Google Chrome on an HP touchscreen, though correct me if I’m wrong. I’m open to an easier solution.)

I’d like to split out the keyboard into separate rows to make the styling easier.

keyboardView: Ember.CollectionView.create({
    elementId: 'search-keyboard',
    content: [
        [ 'q','w','e','r','t','y','u','i','o','p' ],
        [ 'a','s','d','f','g','h','j','k','l' ],
        [ 'z','x','c','v','b','n','m' ],
        [ ' ' ]
    ],
    itemViewClass: Ember.CollectionView.extend({
        tagName: 'ul',
        classNames: [ 'keyboard-row' ],
        itemViewClass: Ember.View.create({
            template: Ember.Handlebars.compile( '{{view.content}}' )
        })
    })
})

Of course, I am getting this error:

Uncaught Error: assertion failed: itemViewClass must be a subclass of Ember.View, not <Ember.View:ember186> 

I can work a solution with the parent view as a ContainerView, but it means duplicating classNames, tagNames, etc for the child collectionViews

Is there a way to create this keyboard and keyboard rows without said code duplication?

  • 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-17T23:49:11+00:00Added an answer on June 17, 2026 at 11:49 pm

    Whoops, was creating the ember view instead of extending…the following works:

    keyboardView: Ember.CollectionView.create({
        elementId: 'search-keyboard',
        content: [
            [ 'q','w','e','r','t','y','u','i','o','p' ],
            [ 'a','s','d','f','g','h','j','k','l' ],
            [ 'z','x','c','v','b','n','m' ],
            [ ' ' ]
        ],
        itemViewClass: Ember.CollectionView.extend({
            tagName: 'ul',
            classNames: [ 'keyboard-row' ],
            itemViewClass: Ember.View.extend({   // extend! don't create!
                template: Ember.Handlebars.compile( '{{view.content}}' )
            })
        })
    })
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

[EDIT: Problem solved. Please see my answer below.] In my app I call the
Answer solved in edit below I had this piece of code Dictionary<Merchant, int> remaingCards
EDIT: This problem has been solved. See below. Hey all. I'm building an iPhone
SOLVED: See my answer . I'm trying to find a point that is interior
EDIT: Solved in self-answer below. I've looked all over but I can't find anything
EDIT: solved, look below for my solution. first of all, this is my very
Edit: [Solved] : It seems that the getTableCellRendererComponent of the CustomTableCellRenderer is called every
Edit : SOLVED Right. I found the thing that confused me. I use pgadmin
EDIT: Solved. I was unware that enabling a language extension in the source file
EDIT: solved! read below When I want to install MS SQL Server 2008 (R2)

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.