Dear ScadaBR Users and Developers,
We are faced with a complicated schema of a control system. To reduce this complexity, we are trying to implement popup windows for view components in the "global" view. For example, to take a closer look into a switch, we would like to have a popup window that displays details for that switch (number of shifts so far etc.). To realize this, one approach is to associate a view component with a certain (popup) view, so this view can be customized through the familiar interfaces and be adapted by the user.
To this end we have defined an onclick action for the component in question which calls javascript open.window() to open a popupViews.shtm. This .shtm should be a stripped down version of the views.shtm (i.e. without a top menu and such). In the process, I tried to strip down the page.tag to get a barePage.tag without menus and just displaying a view. Within this .tag, there is a test that reads
<c:if test="${!simple}">
Now this might do what I need, i.e. get a simpler version of the .tag skeleton. My first question is how to specify that simple variable? And then does this help me at all, because when I delete these lines, the view is not correctly loaded because a style gets not set correctly then. I assume it is the one in
<span id="__header__alarmLevelDiv" style="display:none;">
Does my approach (and my explanations) make sense? Could you give me a hint on how to proceed?
Best Regards