Search:

Type: Posts; User: ax123man

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,182

    [solved] menuseparator config

    it was easy:

    <menu>
    <items>
    <button text="A button" />
    <string>-</string>
    <button text="Another button" />
  2. Replies
    3
    Views
    1,182

    maybe, but my config objects are created via DWR...

    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
    3
    Views
    1,182

    menuseparator config

    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:

    Ext.ComponentMgr.registerType('menuseparator',...
  4. Replies
    10
    Views
    2,321

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

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

    Ext.override(Ext.Button, {
    constructor: Ext.Button.prototype.constructor.createInterceptor(function(config){
    ...
  5. Replies
    10
    Views
    2,321

    I tried something like what was in that post,...

    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. Replies
    10
    Views
    2,321

    found this post:...

    found this post:
    http://www.extjs.com/forum/showthread.php?t=12181


    so I tried this:

    Ext.interceptConstructor = function(c, f) {
    var r = function(){
    f.apply(this, arguments);
    ...
  7. Replies
    10
    Views
    2,321

    any ideas at all?! Does my code at least look...

    any ideas at all?! Does my code at least look like it should work? Anything would be helpful.

    Thx!
  8. Replies
    10
    Views
    2,321

    I also tried this: Ext.override(Ext.Component,...

    I also tried this:

    Ext.override(Ext.Component, {
    constructor: Ext.Component.prototype.constructor.createInterceptor(function(config){
    config = mte.UI.getMergedConfig(config);
    })...
  9. Replies
    10
    Views
    2,321

    anyone? The other issue is that I wanted to also...

    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. Replies
    10
    Views
    2,321

    Issue with custom config and handler

    I'm trying to merge some custom config for all menu items like so:

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