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
    411
    Vote Rating
    33
    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 User
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    986
    Vote Rating
    47
    ssamayoa has a spectacular aura about ssamayoa has a spectacular aura about

      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 2.x / ExtJS 4 MVC
    Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
    Application Server: Glassfish 3.1.x
    Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5

    If you like my answer please vote!

Tags for this Thread