Search Type: Posts; User: ax123man

Search: Search took 0.03 seconds.

  1. Replies
    it was easy:

    <button text="A button" />
    <button text="Another button" />
  2. Replies
    maybe, but my config objects are created via DWR from objects created via xtream & xml. So they are java classes with properties, not simple strings.
  3. Replies
    I'm having problems creating a menu separator in a menu using config. It didn't look like Ext had an xtype registered for this so I did this:

  4. that works, sort of. I have your new Ext.override and...

    Ext.override(Ext.Button, {
    constructor: Ext.Button.prototype.constructor.createInterceptor(function(config){
  5. I tried something like what was in that post, which the post indicates didn't work for Ext.grid.ColumnModel, but that isn't a problem for me. And for the sake of testing, I tried this:

  6. found this post:

    so I tried this:

    Ext.interceptConstructor = function(c, f) {
    var r = function(){
    f.apply(this, arguments);
  7. any ideas at all?! Does my code at least look like it should work? Anything would be helpful.

  8. I also tried this:

    Ext.override(Ext.Component, {
    constructor: Ext.Component.prototype.constructor.createInterceptor(function(config){
    config = mte.UI.getMergedConfig(config);
  9. anyone?
    The other issue is that I wanted to also do this trick on a TextField but the overridden constructor is not called. I then tried to override Ext.Component since I really need to do this to...
  10. I'm trying to merge some custom config for all menu items like so:

    Ext.override(, {
    constructor: function(config) {
    config = mystuff.getMergedConfig(config);
Results 1 to 10 of 10