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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:18:31+00:00 2026-05-18T12:18:31+00:00

First: I’m shocked that I have to ask this question. Nowhere in the docs

  • 0

First: I’m shocked that I have to ask this question. Nowhere in the docs is it explained how the new “WindowManager” should be used… I’ve been hacking around some hours around this and I still dont have an satistactionary way of doing something as trivial as this:

def vName = 'Error'
if (!app.views[vName]) { //I just want to create it once, otherwise I'd just change it's model and want to show() it!
  buildMVCGroup(vName, vName, errorCode: 500, message: "fail detected ;-)") //ok, this indeed shows the idem (as it's an "frame(/**/show: true,/*...*/", but I dont want to create it each time
}

//    app.windowManager.show(app.views.Error) //fails, show() want's an Window, and app.views.Error is of ErrorView type
//    app.views.Error.visible = true //won't display the view
//    app.views.Error.show() // there is no such method

I’d also need an nice way to hide, something like:

//in controller
def view
def hideAction = {
  //view.hide() //fails, no such method...
}

Another way that would make me happy, is an easy way to “when user clicks OK (in the ErrorView”, dispose of this MVCGroup. I have been searching and reading the examples quite some time today, yet still can’t figure out how to code such easy application flow hmm…

Many thanks in advance for any idea on how to do this,
cheers

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

    Ok, I found quite nice solution for this:

    application(/**/){
      //...
      myError = dialog(/**/){
        //thats my error window
      }
    }
    

    And then in the controller I’d just:

    view.myError.visible = true
    

    It’s quite elegant for such an thing, hope it’s “the right thing to do” 🙂

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

Sidebar

Related Questions

First off, I know this may be a very stupid question, so don't shoot
First of all: this is not a homework assignment, it's for a hobby project
First of all, I am new to the Silverlight + MVVM world. So I
First, I'm not a regex expert, so I'm pretty sure I'm doing something wrong.
first a little bit of documentation from the jQuery validation plugin: Use submitHandler to
first post here so sorry for the length of it. I've been lurking and
First of all, sorry for the title. Someone please propose a better one, I
First off, I'm not really sure how much information is necessary to include because
First of all I am a newbie in C# Programming, and I need to
First, I created a xcode project and copied and pasted the CSS and javascript

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.