Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6840401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:50:22+00:00 2026-05-26T23:50:22+00:00

The controller function startpage:function(a){ var model1 = this.store.getAt(a.index); App.views.start.load(model1); App.views.viewport.reveal(‘start’); }, how to get

  • 0

The controller function

 startpage:function(a){
              var model1 = this.store.getAt(a.index);   
              App.views.start.load(model1);
              App.views.viewport.reveal('start');
            },

how to get the loaded model1 values in the start page
how can i able to pass parameter from controller to a page

App.views.start = Ext.extend(Ext.form.FormPanel, {

    initComponent: function(){}
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:50:22+00:00Added an answer on May 26, 2026 at 11:50 pm

    As your extending the FormPanel, I believe Sencha will pre-populate your fields.

    Your code will looking something similar to this:

    App.views.start = Ext.extend(Ext.form.FormPanel, {
      initComponent: function(){
    
        var fields = {
          xtype: 'fieldset',
          id: 'a-form',
          title: 'A Form',
          instructions: 'Some instructions',
          defaults: {
            xtype: 'textfield',
            labelAlign: 'left',
            labelWidth: '40%'
          },
          items: [
            {
              name : 'title',
              label: 'title',
              xtype: 'textfield'
            },
            {
              name: 'email',
              label: 'email',
              xtype: 'emailfield'
            }
          ]
        };
    
        Ext.apply(this, {
          scroll: 'vertical',
          items: [ fields ]
        });
    
        App.views.start.superclass.initComponent.call(this);
      }
    }
    
    Ext.reg('App.views.start', App.views.start);
    

    Note that you will have to substitute in your actual fields and you’ll probably need to customise the form somewhat.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<?php class Email extends Controller { function Email() { parent::Controller(); $this->load->library('email'); } function index()
i have this controller function: Public Function Index(ByVal id As System.Nullable(Of Integer)) As ActionResult
I have two actions in controller: function indexAction() { $this->_redirect('/index/welcome/'); } function welcomeAction() {
Let's say I have a controller function with these lines: $this->load->view('stdHeader_view'); echo <div class='main'>;
I have this function on my controller (Im using CodeIgniter) that reads the database,
What's wrong with this function: function() { $.get('/controller/action', function(data) { $('#temporaryPhotos').text(data); } ); return
I have a simple unsubscribe function in my Unsubscribed controller. if ($this->Unsubscribe->save($this->data['Unsubscribes'])) { //
I have this in my controller: function foo() { // my code redirect(site_url('competitor/main'), 'refresh');
This is my Welcome controller class Welcome extends MY_Controller { function __construct() { parent::__construct();
Controller function delete_payment($payment_id) { $this->sale_lib->delete_payment($payment_id); $this->_reload(); } View <?php echo anchor(sales/delete_payment/$payment_id,'['.$this->lang->line('common_delete').']');?> It is possible

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.