| May 2000
| Magic Web Online Version 8.3-5
| Dear Developer, We are happy to introduce Magic Web Online Version 8.3-5. Magic Web Online Version 8.3-5 is an update to the Web Online that was released in Magic 8.30. This new module replaces the Magic Version 8.30 files. We hope that you will enjoy working with our product.
| General Information Review the following sections to update the Magic Web Online version. New Files in the Updated Version Installing the Updated Version QCRs Fixed in Magic Web Online Version 8.30-5 New Features and modifications in Magic Web Online Version 8.30-5 QCRs Fixed in Magic Web Online Version 8.30-4 QCRs Fixed in Magic Web Online Version 8.30-3 QCRs Fixed in Magic Web Online Version 8.30-2 New and Enhanced Features in Magic Web Online Version 8.30-2
| New Files in the Updated Version (Top) The new files are:
#### MGWebOnLine.jar | The Magic Web Online Java applet module. This file replaces the previous version that is located in the directory of the executables files of your Web server.
MGJavaScript.js | The Magic Web Online Java script module. This file replaces the previous version that is located in the directory of the executables files of your Web server.
Installing the Updated Version (Top) To install the updated Magic Web Online feature:
Executables directory of your Web server | Update the MGWebOnLine.jar and MGJavaScript.js files in the directory of the executable files of your Web server (where the Magic Internet requester is located).
| QCRs Fixed in Magic Web Online Version 8.30-5 (Top) QCR 755766 - A web online page got stuck when Magic returned a new Web Online page on top of the previous one. QCR 936314 - It took a very long time for a Web online page to open a new page.
| New Features and Modifications in Magic Web Online Version 8.30-5 (Top) Calling Magic in onChane and OnBlur handlers Performing a hyperlink of 'Magic program' type does not allow opening the new page on the current page. However performing a hyperlink of a 'URL' type will allow opening a new page on top the current page under onChange and onBlur handlers. The 'URL' type of hyperlink may call a magic program if needed. SetWindow Function A new function has been added to the Web Online feature. This function allows you to set the size and attributes of any new browser window opened by the Web Online commands. This function changes the default settings for a new window until a new SetWindow function is executed or until the page is closed. In order to enable the new function the following should be entered in the MAGIC.INI file: [MAGIC_WEBONLINE] SetWindow=SetWindow,V The SetWindow function expects single string parameter. This string may contain any defined attribute with its value. The attributes are separated by comas. List of supported attributes: Numeric attributes These attributes accept numeric values: Height - The height of the new window in pixels. Default - height=200. Width - The width of the new window in pixels. Default - width = 200. Boolean attributes These attributes accepts Boolean value. True - may be set by the values -' 1' or 'y' or 'yes'. False - may be set by the values - '0' or 'n' or 'no'. Toolbar - Determines toolbat visibility. Default - toolbar=no. Menubar - Determines menubar visibility. Default - menubar=no. Status - Determines status bar visibility. Default - status=no. Scrollbars - Determines Scrollbars visibility. Default - scrollars=yes. Directories - Determines directories\links bar visibility. Default - directories=no. Resizable - Determines resizable option. Default - resizable=yes. Location - Determines location\URL visibility. Default - location=no. All the attributes are optional. The order of the attributes is not important. The attributes’ names are not case sensitive. An example for a string of attributes to pass along this function: 'Height=800,Width=400,scroolbars=no,menubar=yes' INIT () Function The initialization function of the JS module used to be called INIT(). In cases where the Web online page was added with a third party Java script module that also had in INIT() function the Web Online failed to work. The INIT() function of the Web Online JS module has been change to MG_INIT() to eliminate any conflict. Boolean Function recognizes 'F' as 'False' The Web Online functions that accept Boolean parameter now treats the 'F' string as 'False'.
| QCRs Fixed in Magic Web Online Version 8.30-4 (Top) QCR 754638 - Web Online failed to connect back to the application server when working through a secured http. QCR 136339 - Web online failed to connect back to the application server when working through a different web server port than the default 80. .
| QCRs Fixed in Magic Web Online Version 8.30-3 (Top) QCR 916029 - Foreign characters were not passed correctly from a Web online page back to the Magic application server.
| QCRs Fixed in Magic Web Online Version 8.30-2 (Top) QCR 427366 – Special characters where not transmitted correctly from the Web Online page to the Magic application server. QCR 748390 – The Web Online feature did not handle the Combo box and List box tags correctly for the Netscape browser. QCR 754589 – The length of passed strings was limited to 500. Now it has been extended to 1000. The limit of 1000 includes the size of the command elements. QCR 768909 – Spaces were not passed correctly for the Netscape browser. QCR 914575 – The OnLoad event could not be set and handled for a document. The new Magic Toolkit and runtime engines now allow for the defining of OnLoad and Unload event handlers for the entire HTML document. To implement this new feature: 1. Zoom from the Field Name column. The Input Fields table displays the Input Field Name first for an object that is an HTML document. 2. The object can be selected or written manually. 3. A list of commands can also be set for OnLoad and Unload. QCR 982437 - The arithmetic operations in the Web Online feature handled numeric values lexicographically (for example. 05 was smaller than 11, but 5 was greater than 11). The command condition syntax has been modified to permit either lexicographic comparisons or numeric comparisons. For more information about the new syntax please refer to the enhanced when condition section. QCR 987960 - An HTML document that was returned to a Web Online page without line breaks. This resulted in a long sequence of HTML script. QCR 990781 – New line characters were not passed back from the multi-line TEXTAREA element.
| New and Enhanced Features in the Magic Web Online 8.30-2 (Top) When Condition The condition of a Web online command has been enhanced to allow the Magic developer to differentiate between numeric values, and to allow the use of external Java script functions to be evaluated as a part of the condition. Important: The syntax of the condition has been updated! The existing conditions used in the Web Online applications must be changed to comply to the following syntax. Previous syntax is not supported! The JavaScript expression for the syntax of the condition now complies to JavaScript rules. (For example: the and of Magic is now written as &&, or is written as II, equal sign = is written as ==). The Magic Web Online feature recognizes the content of an element by placing percentage signs immediately before and after the element name (for example, %amount%). The content of an element with percentage signs is identified as a numeric value. (Note that a string value entered with percentage signs will invoke an error). The content of an element with an apostrophe sign before and after the percentage signs is identified as a string (for example, '%name%'). Every valid JavaScript expression can be evaluated in the condition. For example, the following condition can be created for an external JavaScript function named IsFieldValid that returns a Boolean value: IsFieldValid() && %amount%>50 || '%name%'=='supervisor' Functions or elements that a NULL value are evaluated as True. Non-Boolean values are evaluated as False and a message appears on the JS console. Multi-selected List box When a Multi-selected list box is passed as a parameter through the Web Online page, the selected values are passed as one concatenated string with the comma character (default) as the delimiter. If the Magic developer decides to set a different delimiter, the following hidden input can be placed in the form: <input type=hidded name=magicDelimeter value=";">.
| Thank you, The Magic Version 8 Team