Results 1 to 6 of 6

Thread: Ext.toast in extJS 6.2GPL

  1. #1

    Default Ext.toast in extJS 6.2GPL

    Hello

    i am getting

    PHP Code:
    Uncaught TypeErrorExt.toast is not a function 
    when i try to use

    PHP Code:
         Ext.toast('test'); 
    in a view controller.
    Is this feature in v6.2GPL ?
    Thanks!

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Generally speaking, the GPL version of Ext JS is the same as the commercial version -- it's just how you are licensed to use it that is different. Are you having trouble with the classic or modern toolkit? I tried both using the 6.2.0 GPL version and both worked fine for me. Do you notice any other code/functionality missing like this?

  3. #3

    Default

    Thanks for the quick reply.
    Ext.Toast works, Ext.toast not; the examples here http://docs.sencha.com/extjs/6.2.0/c...dow.Toast.html should probably be updated.

  4. #4

    Default

    ... i meant Ext.windowToast works instead if Ext.toast .

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Strange. That's what I was using to test. Here's my test case:
    https://fiddle.sencha.com/#fiddle/1j08

    I ran that locally against 6.2.0 GPL, classic and modern, and it worked for me in all tests.

  6. #6
    Sencha Premium User
    Join Date
    Oct 2015
    Posts
    27

    Default

    Using the modern toolkit (I don't know about classic) it looks like you can use Ext.toast('My toast') in your dev build but after I deployed it there are no toasts.

    But using Ext.window.Toast('My toast', 1500); works fine even after deployment.

    There was already a topic here: https://www.sencha.com/forum/showthr...TOASTS-to-work
    But it was closed.


    Edit: Nevermind, my problem was a different one ..

Similar Threads

  1. Toast duration
    By rmoncho in forum Ext JS 6.x Q&A
    Replies: 8
    Last Post: 12 May 2017, 12:09 PM
  2. toast with animateTarget
    By Leshicus in forum Ext 5: Q&A
    Replies: 4
    Last Post: 19 Dec 2014, 6:34 AM
  3. Ext.ux.Toast equivalent?
    By daiei27 in forum Ext: Q&A
    Replies: 2
    Last Post: 8 Sep 2011, 1:09 PM
  4. Window toast
    By sk205 in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 11 Feb 2009, 8:42 AM
  5. Ext.ux.Toast IE7.0 problem
    By emredagli in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 3 Feb 2009, 1:09 AM

Tags for this Thread

Posting Permissions

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