1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    1
    Vote Rating
    0
    jerry_hokh is on a distinguished road

      0  

    Default How to use controller from VIEW?

    How to use controller from VIEW?


    hi there,
    How to use controller from VIEW?
    Of course i can do it via the direct source code, my question is that: is there anywhere in the configuration panel where i can just select a controller and an action for let say an Submit button on my form?

    thanks.
    Jerry.

  2. #2
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    522
    Vote Rating
    41
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default


    I believe you can get there using the 'Basic Event Binding' behavior. Probably just as easy to create your controller and configure it to listen to your controls event manually.

    I'm trying to figure my way through all of this as well so play around with this but I could be off.

    Hope that helps
    JB

  3. #3
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,305
    Vote Rating
    106
    ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice

      0  

    Default


    Quote Originally Posted by jerry_hokh View Post
    hi there,
    How to use controller from VIEW?
    Hum?

    The whole concept of MVC is that C controls V...
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

Thread Participants: 2

Tags for this Thread