IT Mill Toolkit Release Notes

Version 4.0.3

General

Version 4.0.3 is an maintenance release for IT Mill Toolkit 4.0 branch. It contains major update for Toolkit manual and small bugfixes.

Following changes may be considered as enhancements even though this is a maintenance release.

  • Added product manual
  • Added set of icons for corporate theme
  • Few enhancements for keyboard shortcuts

Client-side API (i.e. JavaScript and CSS files) are subject to change during 2007. These changes are required for better client-side compatibility, and they will not affect on the server-side Java APIs and components. IT Mill Toolkit 4.0 branch is not involved with these changes. Contact support@itmill.com for more information about client-side API changes.

Note that executing demos locally may provide security warning from your firewall software. This is due to started Web service which is required to run demos. You have to ignore warnings or temporarily accept connections to port 8888 on your firewall software.

Previously IT Mill Toolkit was called Millstone UI Library. The last publicly available version of Millstone UI Library is 3.1.1. This new generation 4.0.3 version of the library is still API-level compatible with the previous generation. A simple Millstone migration example is included in demos.

See index.html for more information.

Requirements

Supported server-side environments are

  • Sun JDK, version 1.4, 5 and 6
  • Servlet Container, version 2.3 and 2.4
  • Application Servers / Servlet Containers
    • Apache Tomcat, since version 4.1
    • BEA WebLogic Server, since version 8.1
    • IBM WebSphere Application Server, since version 5.1
    • JBoss Application Server, since version 3.2.7
    • Jetty, since version 5
    • Oracle Application Server, since version 9i
    • Sun Java Systems Application Server, since version 7

Supported client-side environments are

  • Browsers on AJAX-mode
    • Internet Explorer, version 6 and 7.0
    • Firefox, version 1.5 and 2.0
    • Safari, version 2.0
    • Opera, version 9.0 and 9.1
    • Konqueror, version 3.5
    • Camino version 1.0
    • Series60 version 3.1 fp1
    • WebKit since version 400
  • Browsers on HTML-mode
    • Other browsers (non-AJAX capable) use HTML-mode automatically
  • Operating systems
    • Windows 2000 Pro/2000 Server 2003/XP Server/XP Pro/XP Home/Vista
    • Mac OS X 10.3 / 10.4 / 10.5
    • Linux Red Hat / CentOS / Suse / Debian / Ubuntu

How to start

See index.html for more information or go to Developers' Area at www.itmill.com.

Changes in this Release (4.0.3)

Compatibility

Previous IT Mill Toolkit versions (4.0.x) are API level compatible with version 4.0.3.

Following steps are required to upgrade from Millstone UI Library version 3.1.1 to Toolkit version 4.0.3:

  • 1. update your application's imports
    • search for import org.millstone.base.*
    • and replace to com.itmill.toolkit.*
  • 2. update application's Deployment Description, rename WebAdapter class into ApplicationServlet class
    • search for <servlet-class>org.millstone.webadapter.WebAdapterServlet</servlet-class>
    • and replace to <servlet-class>com.itmill.toolkit.terminal.web.ApplicationServlet</servlet-class>

Fixed issues in this Release (4.0.3)

Since versionIssueDescriptionWorkaround
4.0.0DateField en-us locale issueDateField component renders based on en-en locale even if client browser asks for en-us locale.
4.0.1Select component filtering feature issueSelect component with LazyLoading activated does not always display correct items based on user filter selection.
4.0.0Table component width issueTable component's width may grow after selection is done if it has only few items.
4.0.0Table containing other components has a state change side effectTable component which has other components embedded, e.g. buttons, has a side effect of selecting the row if embedded component such as button is clicked.
4.0.0Embedded does not work with Java AppletsEmbedded component not rendering Applet correctly.
4.0.2Select component NPE issue on initSelect component with LazyLoading activated throws NullPointerException if created on Application.init.
4.0.0Classloader limitationClassloader used to load Application class should be configurable. You can now use a custom class loader to load your application class by giving ClassLoader=my.custom.classloader parameter in web.xml
4.0.0Select component with twincol style issueSelect component with twincol style produces "XX" as the single option on cases where Select has no items at all. Affects Firefox browsers only.
4.0.0Upload component focus has no effectUpload component focus() and setTabIndex() have no effect.

Known issues in this Release (4.0.3)

Since versionIssueDescriptionWorkaround
4.0.1TabSheet issue (Safari)If user changes any component (e.g. TextField or Select) which is located in Tab A and then moves to Tab B, component state change is lost. Affects Safari browsers.Add e.g. Button component that is used to save changes before moving from one Tab to another.
4.0.0Closing Application session not possible.AjaxApplicationContext class does not include any method for closing sessions.Register TransactionListener where HttpServletRequest class is available. HttpServletRequest provides you access to session.
4.0.0Table with certain configuration does not sortWhen "List" or "Paging" styles are used, Table component sorts only to one direction.Use "Default" style.
4.0.0Select NullPointerExceptionIt is not possible to select null item for Select component after some other item has been selected, doing this results in NullPointerException.
4.0.1Table column size modifications broken (Opera 9)Dragging table column size larger or smaller does not align headers correctly. Affects Opera 9 browser.
4.0.1Table setVisible state issueSetting Table visibility to false and then back to true does not always bring Table back to UI.Put your Table into component container such as Panel and use Panel's setVisible methods instead.
Table column selector issue (Konqueror)Table column hide or show selector makes screen area black while doing selection. Affects Konqueror browser.
4.0.0Table row header icon limitationTable does not properly support icons in row headers in AJAX rendering mode
4.0.0DateField does not support Locale on AJAX-modeChanging locale for DateField component does not produce any visible changes when AJAX-mode is used. HTML mode is not affected by this bug.You can set locale by calling getApplication().setLocale(new Locale("en","US")), but change affects whole Application and not just DateField.
4.0.0Nokia Communicator 9300i may not work with ToolkitAutodetection of Nokia Communicator 9300i may fail. This results to empty application screen.
4.0.0Select may produce JavaScript errorsIf "lazyloading" feature is used for Select component, users that have JavaScript debugging in use see an error for each typed character that does not match. This mean cases where user is searching for values that do not exists.
4.0.0Embedded limitationMethod setVisible() provides no changes on the component.Put Embedded component inside some Container and use Container's setVisible() instead.
4.0.0Embedded limitationMethod setEnable() provides no changes on the component.
4.0.0Upload requires manual refresh (Safari / Konqueror)Upload component requires manual refresh from browser after file is sent from client to server. This issue is related to bug that exists in Safari and Konqueror browsers. Note, current WebKit has this issue resolved. Affects Safari and Konqueror browsers.Test Feature Browser Upload component demo using some other supported browser.
4.0.0Terminal class not usable until Application is initialized.Terminal class is null until Application.init() has been completed.Create CustomComponent and use it as your Application's first page. You can now override paint() method and access Terminal class before anything is rendered at client-side.
4.0.0Demo package does not work fully with Oracle ASWhen demo package itmill-toolkit.war is deployed to Oracle Application Server, non-AJAX (HTML) demos fail and you cannot browse javadocs or theme code.Configure Oracle AS to allow directory listing for docs and themes directories. To get HTML demos work you have to specify the used XSLT processor with JVM parameter like: -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl
4.0.1Setting focus to UI component limitationsAbstractField.setFocus() method works only for Button and Textfield components.
4.0.0Keyboard input feature in beta stage for AJAX-modeKeyboard input feature for UI components is supported, but considered as beta for AJAX-mode. API may change.
4.0.0Embedded does not work on HTML-mode (IE 6, 7)Embedded objects may not be seen on HTML-mode. Affects Internet Explorer 6 and 7 browsers.
Window with Modal style issue (Konqueror)Modal window makes other application screen area black. After modal window is closed, screen area is again normal. Affects Konqueror browser.
4.0.0Button usability (Safari)Selected Button component can only be clicked by pressing spacebar when using keyboard. Enter would be a more intuitive choice. Affects Safari browser.
4.0.1URIHandler, ParameterHandler broken (Safari)URIHandler and ParameterHandler does not work. Affects Safari browsers.