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 7440677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:53:18+00:00 2026-05-29T10:53:18+00:00

I am in the process of roughing out an application in Sencha Touch. I’m

  • 0

I am in the process of roughing out an application in Sencha Touch. I’m at the point where I’m verifying that the movement between cards is correct before I add the actual logic for logging in and loading external data.

My problem is that, regardless of which view is active, clicking/tapping anywhere on the view will change the active item to app.views.buildingList.

I am using Sencha Touch 1.1, Phonegap 1.3.0 and XCode 4 (iOS 5 SDK).

Any clues are appreciated!

Viewport.js

app.views.Viewport = Ext.extend(Ext.Panel, {
fullscreen: true,
layout: 'card',
cardSwitchAnimation: 'slide',
initComponent: function() {
Ext.apply(app.views, {
          login: new app.views.Login(),
          plantDetail: new app.views.PlantDetail(),
          buildingList: new app.views.BuildingList()
          });
Ext.apply(this, {
          items: [
                  app.views.login,
                  app.views.plantDetail,
                  app.views.buildingList
                  ]
          });
app.views.Viewport.superclass.initComponent.apply(this, arguments);
    }
});

Login.js

app.views.Login = Ext.extend(Ext.Panel, {
fullscreen: true,

dockedItems: [
    {
        dock : 'top',
        xtype: 'panel',
        height: 70,
        html: '<img src="images/logo.jpg"/>'
    },
    {
        xtype: 'textfield',
        name : 'user',
        placeHolder: 'Username',
        cls: 'loginBox',
    },
    {
        xtype: 'passwordfield',
        name : 'password',
        placeHolder: 'Password',
        cls: 'loginBox'         
    },
    {
        xtype: 'button',
        text : 'Login',
        cls: 'standardButton',
        listeners: {
            'tap': function () {
                Ext.dispatch({
                    controller: app.controllers.viewController,
                    action: 'index',
                    animation: {type:'slide', direction:'left'}
                });
            }
        }
    },
    {
        xtype: 'spacer',
        html: '<div style="text-align: center; font-size: 14px; padding: 10px; margin-top: 10px;">Forgot Password?</div>' 
    },
    {
        xtype: 'button',
        cls: 'standardButton',
        text : 'Retrieve Password'
    },
    ]

});
  • 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-29T10:53:19+00:00Added an answer on May 29, 2026 at 10:53 am

    It’s probably because you have:

    app.views.Login = Ext.extend(Ext.Panel, {
    fullscreen: true, //Only your viewport should be fullscreen
    

    Also change your app’s name from app to something else since that has naming conflicts with android phonegap.

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

Sidebar

Related Questions

I process a lot of text/data that I exchange between Python, R, and sometimes
The process is elevated and I ensured that the path was correct in VS
The process is explained here: http://msdn.microsoft.com/en-US/library/d1ae6tz5%28v=VS.80%29.aspx What I don't get from that article is
Each process gets a 4 GB of virtual address space and out of 4
Most process-monitoring software can show CPU(s) load by application in real-time. But I can't
The process cannot access the file 'C:\Users\xx\Desktop\Original Application\XMLshredapp\xmldocs\xmltempfile0001.xml' because it is being used by
I process data from a legacy system with SSIS before importing data into a
I process lots of output from Fortran programs, and it generally appears that the
Every process running on a machine is given the illusion that it is the
Loading process image file different between VS 2005 and VS 2010 We have a

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.