1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    saji.krizh is on a distinguished road

      0  

    Default Answered: sample management system . develepment doubts.

    Answered: sample management system . develepment doubts.


    Hi sencha users,

    please help me. im new in sencha architect 2 and in ext js4. im trying to develop a employee management webapplication. i just created the desgin.
    1.first a viewport with fit layout
    inside that viewport added a panel with border layout
    inside that panel in the top region added some menu
    2. create a new panel outside with name/id 'createemp' form contents for insertion
    3. create a new panel outside with name/id 'editemp' with editing contents.

    im attaching all the screen shots..
    i want to know how i can call theses 2 panels(createemp and editemp) inside the centre region of main panel for corresponding menu button click ?
    how can i pick the menu button click event, where i can write the function means in which js file ?

    desginer view.jpgmain.jpgedit.jpgcreate.jpg


    http://www.4shared.com/zip/d3Jp36kz/demo1.html
    pleae help me !!!
    Thanks in advance

  2. If you are using an 'id' for your components, you can use Ext.getCmp()

    itemId is preferred as mentioned below.

    Regards,
    Scott

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    If you are using an 'id' for your components, you can use Ext.getCmp()

    itemId is preferred as mentioned below.

    Regards,
    Scott

  4. #3
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Answers
    102
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Quote Originally Posted by scottmartin View Post
    If you are using an 'id' for your components, you can use Ext.getCmp()

    Regards,
    Scott
    Using static ids is highly discouraged!

  5. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Using static ids is highly discouraged!
    Agreed ... based on his code. Please use itemId

    Scott.

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