Results 1 to 2 of 2

Thread: Outsource a form

  1. #1
    Sencha User
    Join Date
    Feb 2009
    Posts
    264

    Default Outsource a form

    Hello!

    I have an application that consists of different modules.
    Into two components, a form is displayed. This form is in two
    Cases the same.
    Is there a way to outsource this form in an external file?
    I need a simple example.

    Sincerely

    Stephan

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,751

    Default

    use ext.extend to create a custom class based on formPanel.
    this class can easily be saved in a separate file and get instanciated in both of your apps.

    take a look at the ext js 4 mvc / architecture guides as well.
    Best regards
    Tobias Uhlig

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •