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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:54:18+00:00 2026-06-03T13:54:18+00:00

I have 2 models, one called profile and a collection of profiles called profilelist.

  • 0

I have 2 models, one called profile and a collection of profiles called profilelist.

One view shows a list of the profiles, its called profileListView and when you click on a profile, it loads a new view, profileDetailsView, where you can edit its details.

Now when i change properties in this profileDetailsView of this profile and do a model.Change, the profileListView rerenders, because it obviously listens to its model.
The problem is the view rerenders but the URL stays the same, pointing to the detailsview of the profile i changed, which messes up the navigation of the site.

So i want to stop the automatic rerendering of the profileListView and then manually ‘redirect’ to the listview.

How can I achieve this?

  • 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-06-03T13:54:19+00:00Added an answer on June 3, 2026 at 1:54 pm

    You probably do want the view to re-render, right? You just want the url to change too. So one option would be to have your router bind a handler on the model, and then have it update the URL – something like:

    model.on('change', function(model) {
        var url = getTheCorrectUrl(model);
        router.navigate(url);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you have several view models on one page, how do you ensure that
I have three models that are coming together to create one view model and
I have a method in one of my models that, when called, fetches a
I have two models, one called Notes and one called Comments. Comments can be
I have a model called Question and another one called Answer. class Question(models.Model): text
I have two models, one is called labor_report and the other is employee, My
I have 3 Models. Each one has a column that holds a DateTime called
Say that I have a data model called Widget . If I pick one
I have two models related one-to-many: a Post and a Comment : class Post(models.Model):
Say I have two models and one belongs to another. Now normaly you would

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.