Search Type: Posts; User: eggspencer

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Hi guys,

    I had a bit of fun writing a Solitaire game with Ext over Christmas, and thought it was time to release it. I've written a short blog post about it, or you can just head on over and play...
  2. I've just released my own ExtJS bundle for Textmate and E, available on Github at http://github.com/edspencer/extjs-tmbundle/tree/master. I've also written a short blog post about it.
  3. Thanks for that. I don't know how long it takes for changes such as that to be made live to the docs so in the meantime I've written a hopefully comprehensive blog post about this at...
  4. You're quite pretty too Animal, thanks for the tip.

    It's still good to know how to make more customised layouts as well, getLayoutTarget isn't in the API docs as far as I can see, nor had I seen...
  5. You're a beautiful man - thank you :)

    I wasn't aware of getLayoutTarget, that really helps.
  6. Hi everyone,

    I'm attempting to build a custom container which will contain standard components, as does any other container in Ext. Usually when I do this, I do something like the following:

    ...
  7. Replies
    4
    Views
    1,254
    mayras, try giving each of the elements which look odd a unique id in their config. Do it manually, don't let Ext do it for you. I was having this same problem until I read this thread just now -...
  8. Replies
    101
    Views
    44,672
    I'm just flicking through the DnD chapter - the sub-headings are magical:

    Drop what you're doing
    Life's a drag
    Drop me off
    Interacting the fool

    Seriously guys, you need some better puns ;)...
  9. Replies
    3
    Views
    1,529
    You can also get a list of events for a given object like this (assumes you're using Firebug):


    var win = new Ext.Window();
    console.log(w.events);

    This works for all classes which inherit...
  10. I use Textmate on the mac, and E on windows (E is a windows clone of Textmate, but unlike Textmate is being actively developed and has some really nice features).

    Snippets are your friend, they...
  11. Looks good :)

    I also use Rails with Ext (I'm also writing a large library on top of Ext which emulates certain elements of Rails). It's good to see how other people approach things as I've...
  12. Replies
    23
    Views
    5,729
    Agreed. Which is also why I advocate 2 spaces - I just can't see any benefit in using 4, whereas there are clear downsides, especially with deeply nested code or config objects.

    Note that the...
  13. Replies
    23
    Views
    5,729
    Definitely, spaces are much better. I guess the question then is how many to use? I know some people use 4 but I really can't see the point, I find 2 greatly preferable. Opinions?
  14. Replies
    3
    Views
    1,078
    If you're using the default Desktop example you can probably do this using the Window Manager. Unless you've changed the code, you can access this with:


    MyDesktop.desktop.getManager();

    I...
  15. Replies
    22
    Views
    6,730
    I guess this is the same thing again, so long as you have defined MyUsefulClass somewhere already:


    Ext.extend(MyUsefulClass, Object, {
    constructor: function(config) {
    ...
  16. Replies
    22
    Views
    6,730
    Interesting stuff. Which of the following would you consider better?


    MyUsefulClass = Ext.extend(Object, {
    constructor: function(config) {
    alert('constructed');
    },

    test:...
  17. Replies
    66
    Views
    15,663
    Interesting idea, I would certainly be interested in hearing more.

    In my other life as a Rails developer I recently attended a small conference here in the UK. The format was informal with only a...
  18. Replies
    5
    Views
    4,285
    The first article seems to be talking about idempotence without actually naming it. It says "since HTTP/GET is commonly used for Web linking, a malicious user could potentially trick someone into...
  19. Replies
    3
    Views
    1,500
    Gah you're right and I'm not able to update those currently. Try these instead:

    username: edward
    password: rarrar

    Curses
  20. Replies
    3
    Views
    1,500
    Hi Null,

    I've used ExtJS pretty much full time for just over a year now and think I'm reasonably well accomplished with it. Check out http://demo.domine.co.uk/admin for a quick demo, log in with:...
  21. Replies
    12
    Views
    4,861
    Hi mjlecomte (how do you pronouce that? :) ),

    Thanks for the reference, that is not something I had seen before. I take Animal's point about the initialConfig vs. initComponent problem - this is...
  22. Replies
    12
    Views
    4,861
    Hi Animal,

    I listed a few things that I see as advantages in my post (less repetition in your code, xtypes, JSDoc, class reuse, further subclassing). As I said I wasn't aware of many...
  23. Replies
    12
    Views
    4,861
    I think this depends largely on how often you use the same configuration. For example I think it is completely acceptable to do something like this:



    /**
    * Ext.ux.MyWindow
    * @extends...
  24. Hi everyone,

    Something I noticed when watching one of Jay Garcia's excellent screencasts http://tdg-i.com/42/ext-js-screencast-003-extapply-published was that Ext.apply has what is to me a...
  25. Hi everyone,

    I'm not sure who to ask but I would really like to use the ExtJS API application code, stylesheets and images to provide nicely formatted, searchable API docs for a large extension I...
Results 1 to 25 of 26
Page 1 of 2 1 2