1. #1
    Sencha User
    Join Date
    Nov 2012
    Location
    Mauritius
    Posts
    43
    Vote Rating
    3
    Shabneez is on a distinguished road

      0  

    Default Viewport and other views

    Viewport and other views


    Hello
    I would like to know if Im allowed to create a viewport, (apart from the one generated by SA) and, separately I have other views, for example, toolbars with buttons, formpanels with buttons, a gridpanel with a toolbar with buttons inside a tabpanel, all these in a formpanel...and then! I link them to my viewport? I make them store and retrieve data from the server separately first, and then put everything together?

    For example, I create one toolbar separately with my buttons, then each button should load a form panel inside the center region of the viewport.

    For this I make use of a Controller that knows which button I want to do something with based on its id that I declare in my View (toolbar buttons)? My form panels have fields and so on, this is bound to a Store? that has an associated Model? and a Proxy so that I may communicate with my backend and perform CRUD operations using the api config? (am I right?)

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,940
    Vote Rating
    64
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      1  

    Default


    Yeah this is a common use case. You're on the right track. See https://github.com/SenchaArchitect/ExtFeedViewer for inspiration.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Location
    Mauritius
    Posts
    43
    Vote Rating
    3
    Shabneez is on a distinguished road

      1  

    Default


    Thank you so much <3 <3 <3

Thread Participants: 1