As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I've got a Maintain app (or rather 25) developed in 4.3. Now we're taking them to 7.6 and the app loads fine using the servlet, but, when clicking on the Exit button which triggers the command self.winexit(), Tomcat returns a HTTP 404 page, saying that /ibi_cgi/ibiweb.exe is not available. Do I have to set up a 4.3 environment again and migrate all the apps?
Tia HåkanThis message has been edited. Last edited by: Kerry,
You do not need V4 in order to migrate your Maintain applications to V7. When you open V7 it should detect the old CTA files and ask you if you wish to migrate the application. If for some reason this didn't happen, you can trigger it from: Programs -> Information Builders -> WebFOCUS Developer Studio -> WebFOCUS Developer Studio Utilities -> Project Migration tool.
You MAY need to check to make sure you don't have any hard coded CGI commands in the applications though.
Mark
Posts: 663 | Location: New York | Registered: May 08, 2003
Finally I've got the migration to work. I had to find a 4.3.6 installation in order to generate the .GFA file. Now, I've got a problem closing the app. I've opened the maintain app in a new window, and when clicking the exit button the browser just sits there. I can close the window by clicking on the 'X'. The code executed is:
function OnButton2_Click ( ) { IWCTrigger("WINEXIT"); window.close }
The actual correct syntax should be: window.close(); It really needs the opening and closing brackets, and I'd put in the ; too. Most probably, you now see a little warning sign at the left hand side of the browser status line, indicating a javascript error. That is because the () is missing, and thus the close command is not being exxecuted.
Hope this helps ...
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
thanx. I was actually just pasting the code from the IB Tech Support Site. I did'nt get any error from the browser. Btw, is there a way of preventing IE from prompting when you're closing the window?
There are two possible warnings when closing a window with a maintain application active in it. The first one comes from maintain itself and says something like 'The application has been disconnected from the server' or words to that effect. This warning can be prevented by placing a statement in the edasprof: MNTCON EXIT_WARNING OFF. The other one is a warning from IE (something like asking if it is OK to close the window) and occurs when the window that is being closed is not opened by a parent window. This is the case for instance when running your maintain from within the cde environment. There is no way that I know of to circumvent this message. Which is why I always use a parent window to open up a maintain window. That way I never get the warning.
Hope this helps ...This message has been edited. Last edited by: GamP,
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Håkan Oner way to avoid the message from IE (prompting when closing the window is to change the opener of your window to itself. IE allows a window to be closed (without prompting) if a parent window had opened it, or if the window is trying to close itself. I use the following try...catch to achieve that.
and the code trying to close the mnt window without being prompted comes here:
function OnButton3_Click ( ) { window.opener=self; self.close(); }
I still get that annoying question from IE. I suppose I could get the users stick to clicking on the X in the top right corner, but it would be nice to be able to do it thru a button.