Search:

Type: Posts; User: romerve

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    630

    Well, that is not what it's said to be in app.js...

    Well, that is not what it's said to be in app.js

    You are basically defining a User.js model by extending the ExtJS.data.Model class. Read the MVC tutorials and Class system. Those docs will tell...
  2. Replies
    2
    Views
    2,014

    DOM manipulation and Twitter Bootstrap

    Hello,

    I came across: http://twitter.github.com/bootstrap/index.html and it seems very nice and easy to use when providing a front end.

    You can customize it to only get the CSS of the CSS+JS...
  3. All the panels get rendered with "Ext.widget" in...

    All the panels get rendered with "Ext.widget" in the for loop.


    displayResults: function( response ) {
    var records = response.data;
    this.resultRecords = records;

    ...
  4. Removing components and resetting their default configs

    Hello,

    I have several panels created and rendered with collapsed: true. I am having a little problem. If the user has expanded any of the panels and the page gets cleared by triggering the...
  5. Thank you.

    Thank you.
  6. Ext.Ajax.request - callback to call another method

    Hello,

    I have the following method in my controller:


    requestSearch: function(needleStack) {

    Ext.Ajax.request({
    url: './index.php/sts/search',
    ...
  7. Replies
    1
    Views
    544

    Ok, so it seems that the "onTriggerNClick"...

    Ok,

    so it seems that the "onTriggerNClick" are not being exposed to the controller's this.control.

    In order to get the trigger click events i have to manually fire the events using...
  8. Replies
    1
    Views
    544

    SearchField events??

    Hello,

    I am working on this MVC app that uses the ux SearchField. I can render it find and get some results, etc. However, i am trying to make my app more within the "ExtJS MVC" standards and i am...
  9. Controller's init() and App's launch() - Best practice?

    Hello,

    Based on the docs, i can deduct that the controller's init() is sort of a constructor and it is executed before launch().

    If i have some UI that i would like to make present as soon as...
  10. Replies
    1
    Views
    679

    DOCS - 4.1 and 4.0.7??

    I made a boo boo..

    Thanks and sorry.
  11. Replies
    2
    Views
    567

    Yeah, i know that it works as you suggested, i...

    Yeah, i know that it works as you suggested, i had previously done it like that, but i read somewhere in the docs that if you dont want the configs to be read only, you need to use the config{}...
  12. Replies
    2
    Views
    567

    Controller passing configs to views

    Hello,

    I am trying to find a way to to pass config params to a view and instantiate it with them. My view is:


    Ext.define('Que.view.Quesearch',{
    extend: 'Ext.ux.form.SearchField',
    ...
  13. Replies
    3
    Views
    787

    Oh i see, i totally missed the configs for...

    Oh i see, i totally missed the configs for Ext.Loader.

    So i would just do something like:


    Ext.Loader.setConfig({ enabled:true, paths: { 'ux': 'ux/' }});

    And then just use...
  14. Replies
    3
    Views
    787

    Ext4 MVC - Where to place ux??

    Hello,

    I am having troubles using the SearchField.js UX. Is it supposed to be in Ext/ux/SearchField.js? Or within my app folder?

    I keep getting 404 errors about (NOT FOUND) when trying to use...
  15. Replies
    7
    Views
    2,786

    That didnt work either. It's weird the store...

    That didnt work either. It's weird the store shows records in store.data, but anytime i try to access store.data.items[] the records are no longer there, like if somehow the store hasnt been...
  16. Replies
    7
    Views
    2,786

    Yeah, that didnt work either. I managed to do...

    Yeah, that didnt work either.

    I managed to do it by doing this:



    var ds = Ext.getStore(this.store);
    ds.on('load', function(store, records){
    ...
  17. Replies
    7
    Views
    2,786

    Ok, i am having trouble understanding why i seem...

    Ok, i am having trouble understanding why i seem not to be able to use the store in the "initConfig()"



    Ext.define('Analytics.view.charts.AssemInOut', {
    extend: 'Ext.chart.Chart',
    ...
  18. Replies
    7
    Views
    2,786

    Well i tried that and it did the same thing that...

    Well i tried that and it did the same thing that it is happening in with the listener.

    I did: "console.log(this)" and i can see the store->data->items, etc. But if i do:...
  19. Replies
    7
    Views
    2,786

    Chart listener: beforerender

    Hello,

    i am trying to change the bottom axis title to show information that resides in the the chart data store.

    So i decided to have a beforerender listener to change it, however, i am getting...
  20. The way i approached this scenario was to create...

    The way i approached this scenario was to create one URL for all my requests something like:
    "http://myhost.lan/route"

    Then whatever back end you have the "route" method would just call whatever...
  21. Replies
    11
    Views
    7,204

    If it's not too late, you can also change it...

    If it's not too late, you can also change it without doing the override as in above, you can just do:



    Ext.define('Analytics.store.dsAssemInOut', {
    extend: 'Ext.data.Store',
    alias:...
  22. Thanks Mitchell, If you dont mind telling me a...

    Thanks Mitchell,

    If you dont mind telling me a bit more about aliases... I read that you needed to use widget, however, prior to your explanation i was trying different things and i was able to...
  23. Hello Mitchell, I have made the changes you...

    Hello Mitchell,

    I have made the changes you suggested as you clarified a few things to me. However, i still get the same error: "Uncaught TypeError: Cannot read property 'theme' of undefined...
  24. Chart works from within the controller, but not from the view

    Hello,

    I am trying to get a chart to render, but i am having issues. I keep getting "Uncaught TypeError: Cannot read property 'theme' of undefined ext-all-debug.js:41482"

    My store works fine as...
  25. Replies
    1
    Views
    1,081

    Cannot read property 'theme' - MVC

    Hello,

    I am trying to get a chart to render, but i am having issues. I keep getting "Uncaught TypeError: Cannot read property 'theme' of undefined ext-all-debug.js:41482"

    My store works fine...
Results 1 to 25 of 36
Page 1 of 2 1 2