Home > CICSPlex SM, WUI > CICSPlex SM Web User Interface and Browser Tabs

CICSPlex SM Web User Interface and Browser Tabs

Over on CICS-L is a recent post about the CICSPlex SM Web User Interface (WUI) and how confusing it is with its multiple windows and the experience you get trying to use it within a tabbed browser.

What I’m going to try and do in this post is to (hopefully) explain some of the reasons why the WUI behaves as it does.

History

Originally CICSPlex SM was never going to have a WUI at all. Circa CICSPlex SM 1.3 a GUI was being looked at. As this was the mid to late 1990’s the platform for this GUI was OS/2! Yes O.K. I’ll admit it, I am an OS/2 fanboy err old-bloke – I still use it every day (please don’t tell my manager), but this decision was nothing to do with me. Due to various issues, the OS/2 based GUI was never shipped and instead a Web Based Interface aka WUI was developed.

By the time the WUI was ready, it was shipped as a no-charge feature on CICSPlex SM 1.4 – An exclusive element of CICS TS 1.3.

The prereqs for the web browser were kept very low, e.g. HTML 3.2 with frames, tables and cookies. Talk to some web designers (or Chris) and they will probably give you a stern look for mentioning the frame or table words.

Questions

Why does the WUI open a new window on signon?

The WUI relies on every request from the web browser being sent back to the server. The WUI checks for this by using a sequence number in it’s interactions with the browser. If the sequence number is not what the WUI expects, you will receive a ‘Navigation error’ response in the WUI.

The easiest way to get one of these errors is to use a browser forward or back button. To discourage users from using these buttons, the signon process causes a new window to open, and on this request the WUI asks the browser not to include the browser navigation controls. Although this decision might be considered heresy today, and it does not stop users from using keyboard shortcuts, mouse operations, or putting the browser controls back, it was done to try and discourage users from using these controls.

So the reason the ‘Begin signon’ button opens a new window, is simply to get a window without browser navigation buttons. As this response to the original CICS-L question indicates, you can bypass the ‘Begin signon’ by tweaking the URL that you use. Note however although this works, it is not an intended ‘interface’, so it potentially could change in the future (not that I know of any plans to do so).

Why the strange tab behavior?

The WUI knows absolutely nothing about tabs. They weren’t around when the WUI was developed originally and no explicit support for tabs has ever been added to the WUI.

The only thing the WUI does when it opens a new window for Help or the InfoCenter is to use the target=’_blank’ HTML option on the anchor tag. How the browser interprets this in conjunction with the ‘Open in new Tab’ options you use to get it to go to a tab is completely up to the web browser.

Why do I get another ‘Begin Signon’ window?

So you already have a ‘Begin signon’ tab, why do you get another one if you refresh a WUI window after you have signed off? Well it is simply because you no longer have any valid credentials on the WUI server, so the WUI starts the signon dialog. The WUI has no idea of what windows/tabs your browser has open (once you have signed off).

Requirements are important

So none of this ‘fixes’ the weirdness, but I wasn’t trying to provide a fix, just explain why some of these things happen. Could the experience be better? Sure. If there are things that really bug you, get in those requirements, either via organisations such as SHARE, or talk to your IBM account team, who should be able to submit requirements on your behalf. Although it might be frustrating waiting for those requirements, if they aren’t on the potential ‘To-Do’ list within the Lab, that dramatically lowers the chances of getting things changed.

Advertisements
Categories: CICSPlex SM, WUI
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: