Framesets and Roles

Posted on 2001-06-18
Last Modified: 2013-12-18
I have a role in the db ACL. If is user is assigned the role, on db open, Frame1 is opened. If useris not assigned role Frame 2 is opened. This is working fine however, when I hit ECS from the Frame1 or Frame2 (to close the db), the second frame opens.


How can I can close the DB from the frame itself without opening the other frame?? Please help.

Question by:Vanita
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 6202900
where did you specify your code ?
Because in the database launch options you dont have the possibility to use your formula.
Because, I think that if you click escape, he doesn't return the other frameset but he return the place where you start from (where your formula was written)
What are your notes launch options ?


Author Comment

ID: 6203232
The code is in the database postopen, and the db launch options are to open the Frameset1. In this case, after Frameset1 is opened and I hit ECS, it closes the DB. However if Frameset2 is opened, this is when I hit ECS and goes to Frameset1.
However if I change the launch option to open Frameset2, it happens the other way round.
LVL 13

Accepted Solution

CRAK earned 50 total points
ID: 6205319
There is no need to specify the frameset in the launch options if you use the databases PostOpen event.

As an alternative, can't you use just one frameset, and compute in the different frames what page/view etc. should be loaded? E.g.:

Frame properties:
  type: Named Element, Page
  formula (press "@"): @If( @UserRoles="[myRole]"; "page1";
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Assisted Solution

by:Jean Marie Geeraerts
Jean Marie Geeraerts earned 50 total points
ID: 6205393
The alternative with loading different pages, only works if both framesets have the same layout, if there's a differeence in frames this won't solve Vanita's problem.
Before the OpenFrameSet command set the target frame to _parent, this will open the new frameset and close the old frameset.
So you're formula would be :

Try this and let us know if it does the trick.
LVL 13

Expert Comment

ID: 6205415
I have to agree with you, but instead of choosing between page1 and -2, you could load frameset1 and 2 IN the original frameset (nesting).
Your base frameset could then contain only one (computed) frame, and frameset1 and -2 could differ.
I'm not sure if I would choose that option, but it IS an alternative way to meet Vanitas wishes.

Expert Comment

by:Jean Marie Geeraerts
ID: 6205429
Sounds like the easiest solution to me CRAK.
LVL 13

Expert Comment

ID: 6205707
LVL 63

Expert Comment

ID: 10476221
No comment has been added lately (984 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: split points between CRAK http:#6205319 and jerrith http:#6205393
Please leave any comments here within 4 days.

-- Please DO NOT accept this comment as an answer ! --


EE Cleanup Volunteer

Expert Comment

by:Jean Marie Geeraerts
ID: 10512131

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System ( introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question