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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:41:33+00:00 2026-05-23T15:41:33+00:00

I hava a main view, where you have one object and you can change

  • 0

I hava a main view, where you have one object and you can change the properties of that object. But then I have a popup window when you click on a button: the advanced properties. But these changes that you do in the pop up window also have to be done in the object of the main view.

So I implemented a viewmodel as well for the popup. I can put here some code but this is quite useless, because I don’t have anything, just 2 viewmodels with bindings with some textboxes to change the properties of that object. So the 2 viewmodels don’t work together on the same object (this is what i should do i think).

It is just difficult for the popup to get to the object which you are working on in the mainview. In some way i should must be able to pass the changes which you made in the popup , to the main view (to the same object). Someone who knows how to do this? I am searching for this a long time, but i really don’t know to fix or to go around my problem 🙁 ..

  • 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-23T15:41:34+00:00Added an answer on May 23, 2026 at 3:41 pm

    There are several ways of achieving this, depending on your architecture. For example, if you are using a rich domain model, you may be binding directly to a Model property exposed on your view model. In which case, when you invoke the advanced property window, you can pass an instance of your existing model to that view model. Changes in the advanced property window will be bound to the same instance of your business object opened in the original window.

    Alternatively, if you are using an anemic domain model where you don’t expose the model directly to the view, you can still pass the same instance of the model to the new window, but use a mediator pattern (or any other standard inter-view model communication techniques) to notify the original window when the advanced window closes. In this case, the advanced window would be the publisher, and the original window the subscriber.

    When notified, the original window can invalidate all of its view model bindings so that the UI is updated as appropriate.

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

Sidebar

Related Questions

I hava a data window object, in which I am fetching some attributes from
i hava a class that hold a list for each request but each request
I hava a WP 7.5 app. I have a splash screen and then comes
I hava a JSON Object in my javascript code that is like : {0
I hava set up AJAX script that when you click the button it calls
I hava an activity which might have to load data when it's starting up.
I hava a CSV file that I want to treat as source code. Essentially
i hava two text boxs in flex.have to add two txt boxs values in
I hava a JFrame with multiple JPanels of similar width aligned one below other.
I hava a function that looks something like this: require(config.php); function displayGta() { (...

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.