Search Type: Posts; User: rwbaker

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    2,013
    I have a lot of functions in my view which I think belong in my controller. They center around executing functions After the 'activeitemchange' event on my Ext.tab.panel. How do I attach events...
  2. Replies
    6
    Views
    1,261
    Here is what I have so far. This is on my Ext.tab.Panel:



    listeners : {
    initialize : function(component, options) {
    this.addAfterListener('activeitemchange', function(container,...
  3. Replies
    6
    Views
    1,261
    Right now the above listeners are on the individual tab. Is there any way to put this function on the Ext.tab.Panel instead? After I've removeAll() items on the deactivate, how would I get the items...
  4. Replies
    6
    Views
    1,261
    Silly mistake. My updated (working) listeners:



    listeners : {
    activate : function() {
    if (this.getItems().length === 0){
    ...
  5. Replies
    6
    Views
    1,261
    Here is what I have so far—below my 'Home' tab:



    var myItems = [
    {
    cls : 'm-box flat round push-after m-datalist',
    ...
  6. Replies
    6
    Views
    1,261
    I've seen a couple ST1 posts about DOM optimization that center around only loading the active tab panel in the DOM (and unloading the others after itemactiveachange).

    What is the best way to do...
  7. Replies
    9
    Views
    4,155
    Hey hirokenshin,
    Did you ever get this working? I'm trying to achieve similar results and still having quite a bit of trouble. Care to post some code if you got it working?
  8. Finally all fixed. Here is what the end (simple) solution was:

    Put the Cordova JS file as the first script object in the HTML page, before Sencha
    Comment out line numbers 44 and 54 of...
  9. Device Example
    I put the Device example in a PhoneGap (v1.6.1) app and I get similar results. When I launch the app I get the correct "<App Name> would like to use your current location" message....
  10. primski -- have you tried this code on iOS? I'm having trouble finding any geolocation solution with ST2 + PhoneGap that doesn't give a garbage prompt like:


    "/Users/user/Library/Application...
  11. I hit this same issue. If you look at the docs, animateActiveItem() expects obj/num for activeItem and a obj for animation. You and I were both passing a string of the item we wanted to set active.
    ...
  12. Replies
    4
    Views
    2,501
    Then that means that 'teststore' doesn't exist at the time you're calling it. If you post more complete code we might be able to help more.

    You can also try getting the store from your component:...
  13. Replies
    4
    Views
    2,501
    load() should do it:


    Ext.getStore('teststore').load();
  14. I have a ST2.0.1 app running in PhoneGap 1.6.1. When my app is running in PhoneGap the Geolcoation prompt doesn't use the application name, but rather the path to the index.html file in the PhoneGap...
  15. Replies
    19
    Views
    17,323
    I have a pretty basic app.js file generated from the SDK tools. The app loads fine in PhoneGap, but no console.log outputs in the Xcode debug area. Any suggestions?



    //<debug>...
  16. Worked like a charm. I added this to my showNewsItem function:



    newsPanel.onAfter('erased', function(){
    this.destroy();
    });


    reset() isn't a method on the...
  17. I have a controller where I create a panel to display item details after a List item click.

    When they click the list item, I show my panel (with a back button). I tap item 1, see the details,...
  18. I have a Tab.Panel with 5 tabs. I have a refresh function I call on activeitemchange of the tab panel so that each tab has fresh data. On a given tab, I could have 4 small dataviews/lists, which...
  19. Here is what I ended up with (doesn't mean it's right, but it works) :

    This is one of my main tab panels:



    Ext.define('EOC.view.Help', {
    extend : 'Ext.Panel',
  20. Now when I get the geolocation prompt, it uses the path of the index.html file, rather than the Application Name. Anyone ever seen this?

    Image:
    32934
  21. Ah, perfect. Just checked the docs on Views to understand your changes a bit better. Thanks again. That fixed my problem!
  22. I have a panel in my app that displays information about a person's location (hard coded for this example). On the initial load of that view, the html property is set to 'Use your current...
  23. When pulling up my app on a Blackberry (Curve, OS v6.0), the app hangs on the Loading screen with the 3 blue dots. Works fine on iOS 5.x and Android 2.3.x. I built the app via Sencha Command to...
  24. Fair enough. Thanks.
  25. I need to send my lat/long coordinates to one API and get the results in JSON. The results contain the converted ArcGIS X/Y points from my lat/long. I then need to send those X/Y points to a 2nd API...
Results 1 to 25 of 38
Page 1 of 2 1 2