Search Type: Posts; User: tinyfactory

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    291
    In one of my ST1.x projects I was able to place an index.html on client servers which would then load assets from my server. For example:



    <!DOCTYPE html>
    <html...
  2. Replies
    5
    Views
    4,647
    Yes, but there are 2 conditions to make this work:
    The API accepts JSONP like callbacks i.e. http://www.domain.com/someapi?callback=foo will return:
    foo('...data...');
    The API returns the XML...
  3. Replies
    5
    Views
    4,647
    I was integrating with a client's API which used a blend of JSONP and XML. Sencha Touch 2 does not have a native way to parse this, so I extended XML reader to make a 'jsonpx' reader. Hopefully...
  4. Replies
    8
    Views
    1,585
    That's correct. "this" references "application" when the event is fired. Using the "me" scoping trick you can maintain reference to the controller.

    Glad it works for you. This is a great...
  5. Replies
    8
    Views
    1,585
    I just updated my example to show the receiving end. I should have probably included that before ;-)
  6. Replies
    8
    Views
    1,585
    You can keep a reference to your controller by setting var me = this inside a function before the async Ajax call. You can then fire app wide events from one controller to another. This is an...
  7. The app is all local, except API calls to the system. You can see an example of the HTML5 version at www.showmetheparts.com/mobile

    The app that got denied is a skinned version of the above app. ...
  8. Replies
    8
    Views
    1,585
    I second that technique. Event listeners and custom events are the way to go.
  9. The interesting thing is the app is a skinned version of an already live app that I also built. This is a branded version of ShowMeTheParts...
  10. I submitted an app last week for a customer. I have submitted numerous Sencha Touch apps to Apple's App Store, but I have never received a rejection like this:

    -----------------

    Jun 5, 2012...
  11. That work's perfectly. Thank you so much for the quick response!
  12. REQUIRED INFORMATION

    Ext version tested:

    Sencha Touch 2.0.0
    Browser versions tested against:

    Google Chrome Desktop 19.0.1084.46
    DOCTYPE tested against:
  13. Replies
    294
    Views
    93,752
    I see this component extends DataView, but I can't get it to use the emptyText value. Is there a good way to display emptyText when the grid has no records?

    Thanks for the great component. ...
  14. I also have this problem. I ran this command:



    sencha create jsb -a http://localhost:8090/index.html -p app.jsb3


    and I receive this error:
  15. In beta 3, buttons in toolbars do not have any padding or rounded corners. I reverted back to beta 2 resources and everything is back to normal.
  16. Replies
    141
    Views
    16,351
    http://docs.sencha.com/touch/2-0/#!/api/Ext.data.Store

    The data Store docs incorrectly use the property "root" on the JSON reader example. "root" is deprecated, and is now "rootProperty" This...
  17. Using an item template, I can access data from a hasMany association as follows:




    var tpl =newExt.XTemplate(
    '<p>Name: {name}</p>',
    '<p>Title: {title}</p>',
    '<p>Company: {company}</p>',...
  18. Actually I just figured it out



    Ext.define('app.view.dataitem.SetItem', {
    extend: 'Ext.dataview.component.DataItem',
    requires: [
    'Ext.field.Text',
    ...
  19. I'm using the DataView's useComponents. I can render in a single text field in a list item, but I need to be able to render two text fields for the same item. Looking at the examples, I can't...
  20. I'm looking at leveraging the 'grouped' config of Ext.List with my list items using dataItems. When I extend 'Ext.DataView' the dataItem components render fine, but when I extend 'Ext.List' they do...
  21. Replies
    141
    Views
    16,351
    http://docs.sencha.com/touch/2-0/#!/api/Ext.scroll.Scroller




    //lets assume container is a container you have
    //created which is scrollable
    container.getScrollable.getScroller().setFps(10);
  22. Replies
    3
    Views
    1,195
    I'm getting the error:



    when running



    sencha create jsb -a index.html -p app.jsb3
  23. Mitchelle -

    Thanks for the quick response!

    I have one more piece to add to the equation. I'm destroying inactive cards from within a Viewport controller like so:


    ...
  24. I'm getting an error when calling store.removeAll() on a DataView. The error does not halt the application, but I don't want it to come back and bite me later.

    Stack trace:

    31202

    Any...
  25. Thanks for the quick response! I can live with that ;-)

    I also found a reference in the Viewport class in the docs, but I'm not sure if there is any value add:




    Ext.application({
    ...
Results 1 to 25 of 39
Page 1 of 2 1 2