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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:02:58+00:00 2026-05-24T12:02:58+00:00

You often need View in View. For example, a client that has many phone

  • 0

You often need View in View.

For example, a client that has many phone numbers.
So you create a view for the client:

- app/view/client/Edit.js

and you create two views for the phone numbers:

- app/view/phone/Edit.js
- app/view/phone/List.js

What is the way to “tie” them properly? (I mean in the client Edit view, show Phones of this client (and only of this one)).

I’ve already gone through those examples, and I’ve made my custom MVC based on those “lessons” (that are far from being usable for making professionnal stuff):

  • http://docs.sencha.com/ext-js/4-0/#/guide/application_architecture
  • http://www.sencha.com/learn/the-mvc-application-architecture/
  • http://www.sencha.com/learn/architecting-your-app-in-ext-js-4-part-1
  • http://www.sencha.com/learn/architecting-your-app-in-ext-js-4-part-2

You can test my example at my website here:

http://doonoo.com/intranet/gs.php

This is a full CRUD system (no CRUD example could be found with the MVC tutorials (and this is “kind of” important to me)).

But now I’d like to make another (model + store + view) about “phone”, but when we edit the user, I want to display his/her own phone numbers, and (maybe) add / delete their phone numbers. This is kind of “opening a user view, which contains a phone view that is filtered with the user id”.

Any idea / suggestion?
What I’ve come so far is to create the “phones” view into the “edit user view” but I don’t know how to apply the filter. I’m stuck.

Any idea welcome!!

Here’s how it should work:

How it should work

  • 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-24T12:02:59+00:00Added an answer on May 24, 2026 at 12:02 pm

    Your question is not very clear but let me take a stab –

    Your edit user view is nothing but a form.
    This form, when presented to the user, has phone number related fields. (home, mobile, work, etc)
    If you want to be able to edit phone numbers from places other than edit user form, you are right, you need a “separate” view so that it can be reused. In this case, you can extend a fieldset (app/view/phone/Edit.js extends fieldset) and just add it to edit user form. This fieldset by itself wont be usable (it wont have any save logic) but it will be reusable across forms. When your edit user form is submitting, it will automatically submit phone fields too.

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

Sidebar

Related Questions

I have two scripts that often need to be run with the same parameter:
I often need to design a dialog in Delphi/C++Builder that allows various properties of
This is a situation that comes up often: In the View, you have a
I have a scroll view and I need to reload the contents often while
I work almost exclusively in the terminal, and very often I need to view
I have an app where I need to have two tableviews swapped in and
I often have the need to view data in arrays and use the html
I have created a View controller with some methods I need to use often
I often need to run reduce (also called foldl / foldr, depending on your
I often need to display information based on or influenced by a user's actual

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.