Search Type: Posts; User: Jehu

Search: Search took 0.03 seconds.

  1. We've learned hard lessons about Associations and don't think we know all of them. A rule of thumb that one should not expect too much. It's better to expect little intelligence as possible (have you...
  2. We use mappings in model for this now.


    fields: [{
    ....
    },{
    name: '__map_child_category_id',
    mapping: 'my_parent_category.childcategory_category.id',
    persist: false
    }]
  3. Replies
    36
    Views
    8,103
    I've put together a testcase to get the problem clear.

    I want to get the products for some categories.
    the model 'Product' and the model 'Category' have own URLs but are associated ("Category...
  4. Replies
    36
    Views
    8,103
    Oh, and I would add: 'autoLoad: true' may mean then one could immediately getAssociatedData() to access the data recurse. Because the documentation says "Gets all of the data from this model loaded...
  5. Replies
    36
    Views
    8,103
    It is interesting that so many people have massive problems with the data package,especially with the Model-Associations.

    My experience is that after each new acquired knowledge the API...
  6. Hi there,

    we finally got the relations between two models work properly (we think). Yippie!
    But: How to display some values from the associated model in a grid?

    We've a list of commodity...
  7. Please take look at the code below.
    getSelection() returns the wrong record.
    Without the groupingFeature it's all right.



    Ext.define('MyApp.view.contact.GridLinked', {
    extend:...
  8. Hi,

    i try to get an click event from a input[type=button] inside an XTemplate for a dataview.

    I could do it like this:

    tpl: new Ext.XTemplate(
    '<tpl for=".">',
    '<div...
  9. ok, i've added requires to the controllers. now it works. but why define views: [...] in Application.js if they are not autoloaded?
  10. I can't find the difference you talking about. At the mvc-guide the views are still in Application.js, not in the controller.
    How you've solved your problem exactly?
  11. Replies
    3
    Views
    1,536
    Sometimes if i use setText(), the following error is thrown:



    Uncaught TypeError: Cannot call method 'update' of undefined


    The error comes from here: Code
    because 'me.btnInnerEl' is...
  12. Replies
    63
    Views
    10,921
    So often when i clicked a link in the API docs, i get a 404, the browser-history is destroyed and back links are broken (http://dev.sencha.com/new/ext-js/4-0/...)

    If i go back in history much...
  13. Thank you.
    The API Docs are outdated here and will be updated, right?
  14. Hi,

    if i use the configuration "closeAction: 'close'" for window, thend the event 'beforeclose' fires 10890 times. :-/
    The i called this.destroy() in the beforeclose-event and everything was...
  15. Thank you all.
    At the API Docs i've found the information too now (see "Notes")...
    The hint there is to create a dummy panel inside and replace the content later. That's the way i go, because i...
  16. So sorry,
    i've startet now with a blank new html with ExtJS4 pre5 and do this:


    var cockpit = Ext.create('Ext.panel.Panel',{
    id:'cockpit',
    layout:'border',
    title:'TEST',
    ...
  17. Thank you, but panel still does not appear.


    var cockpit = Ext.getCmp('cockpit'); // This is a Panel in a TabPanel
    var sidebar = Ext.create('Ext.panel.Panel',{
    region: 'east',
    width:...
  18. Why does this not work?


    var cockpit = Ext.getCmp('cockpit'); // This is a Panel in a TabPanel
    var sidebar = Ext.create('Ext.panel.Panel',{
    region: 'east',
    width: '200px',
    html:...
  19. Replies
    292
    Views
    138,906
    Jo, sieht ganz so aus... :s
    It seems... :s
  20. Replies
    292
    Views
    138,906
    Same question here.
  21. Replies
    21
    Views
    11,795
    Interesting idea to define views in the route.
    But the code below is not work in my experiments with Ext JS 4:



    Ext.Router.draw(function(map) {
    map.connect("cockpit", {
    ...
  22. Replies
    51
    Views
    42,678
    There is an error (i use Symfony version 2.0.0-DEV.):


    Class Neton\DirectBundle\DependencyInjection\DirectExtension contains 1 abstract method and must therefore be declared abstract or implement...
  23. Replies
    51
    Views
    42,678
    Thank you so much, very helpful.
  24. Replies
    5
    Views
    2,284
    Are there more informations about the new Application Architecture? Can't find some more informations about it. Because we will create a huge App in Ext JS 4 it would be helpful at this time... :-)...
Results 1 to 24 of 24