1. #1
    Ext User
    Join Date
    Oct 2009
    Posts
    10
    Vote Rating
    0
    ax123man is on a distinguished road

      0  

    Default menuseparator config

    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', Ext.menu.Separator);


    but it doesn't look like ext respects xtypes when creating menu items. What's the best way to work around this?

  2. #2
    Sencha User carol.ext's Avatar
    Join Date
    Jun 2007
    Location
    Littleton, Colorado, USA
    Posts
    673
    Vote Rating
    20
    carol.ext will become famous soon enough carol.ext will become famous soon enough

      0  

    Default


    I don't think 2.x supports menu xtypes. Does "-" not do what you need?

    Adds a separator bar to a menu, used to divide logical groups of menu items. Generally you will add one of these by using "-" in you call to add() or in your items config rather than creating one directly.

  3. #3
    Ext User
    Join Date
    Oct 2009
    Posts
    10
    Vote Rating
    0
    ax123man is on a distinguished road

      0  

    Default


    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.

  4. #4
    Ext User
    Join Date
    Oct 2009
    Posts
    10
    Vote Rating
    0
    ax123man is on a distinguished road

      0  

    Default [solved] menuseparator config

    [solved] menuseparator config


    it was easy:

    <menu>
    <items>
    <button text="A button" />
    <string>-</string>
    <button text="Another button" />

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi