Results 1 to 3 of 3

Thread: Using XTemplate when Field Name contains Colon

  1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    5
    Vote Rating
    0
      0  

    Default Using XTemplate when Field Name contains Colon

    Hello. I have created a DataView that uses a XTemplate. This works great for most of my fields, but some of my fields contain a colon (e.g. namespace:foobar).

    The XTemplate won't work with that field. I get an error on eval(body) of "fm.foobar" is not a function.

    Anybody have an idea for this? I tried doing field mapping using an ArrayReader in the Store (mapping namespace:foobar to just foobar), but that didn't seem to take. It's not paying any attention to the Reader when I add the record to the store.

    I can provide more details and code samples if needed. Thanks.

  2. #2
    Sencha User
    Join Date
    Sep 2008
    Posts
    2
    Vote Rating
    0
      0  

    Default

    I also have the same problem. Anyone. Please help.

  3. #3
    Sencha Premium User
    Join Date
    Oct 2015
    Posts
    24
    Vote Rating
    0
      0  

    Default

    Just in case someone has the same problem: https://www.sencha.com/forum/showthr...contains-colon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •