Twitter Logo Follow us on Twitter
Project Information About this project

RAP 2.3 M3 - New and Noteworthy

Here's a list of the most noteworthy things in the RAP 2.3 M3 milestone build which is available for download since May 09, 2014.

Support for Firefox 29+ and Chrome 33+

Recent changes in Firefox and Chrome required some adjustments in the WebClient.

Due to changes in the Firefox API, RAP was no longer able to correctly identify Firefox 29. As a result, existing RAP application may not start (RAP <= 2.1) or may work only with glitches and errors (RAP 2.2). See bug 433179. This issue is fixed in M3. For older versions of RAP, please visit the FAQ for workarounds that you can apply yourself.

Recently, a bug has been introduced in the WebKit engine, which is the basis for Chrome, Safari and Opera. This bug led to RAP UIs becoming partly invisible when a Canvas widget is used. See bug 428717. From this milestone on RAP works around this issue by using a different way to apply widget backgrounds. For older versions of RAP, please visit the FAQ for workarounds that you can apply yourself.

Migrated DropDown widget to RAP Core

The DropDown widget has been graduated from the RAP Incubator and is now included in the RAP core. It is basically a popup-list that can be attached to a Text widget. It simplifies implementing components similar to the JFace FieldAssist, but is significantly better suited for the RAP framework than FieldAssist.

Note that the AutoSuggest component that builds on the DropDown widget is still in the same Incubator repository, but has been adjusted in the master branch/nightly builds to work with RAP 2.3. Take care not to include the old Incubator version of DropDown in your RAP 2.3 target, it may break the application.

Client-side (C)Combo rework

The JavaScript part of the Combo widget implementation has been completely rewritten. It now uses client-side DropDown implementation for it's list, allowing it to handle a much larger amount of items without performance degradation.

As a result it's now also possible to theme Combo list items independently. The Combo-List-Item CSS element supports color, background-color, background-image, text-decoration, text-shadow and padding.

JavaScript API for Widget HTML manipulation

JavaScript widget objects obtained via rap.getObject( id ) now have an field "$el" that allows manipulating their HTML element. Currently it can only be used to set HTML attributes, but this already makes it possible to assign test-id's for easier UI-Testing. It could also be used to add ARIA attributes that can be evaluated by screen reader software.

New Incubator Project: e4 on RAP

Tom Schindl is working on e4 support for RAP, and the necessary additional components will (for now) live in this RAP Incubator repository.

Heads up: Deprecation in lifecycle package

In an effort to remove the internals of the request processing (lifecycle and phases) from our public API, we are currently marking all API in the package org.eclipse.rap.rwt.lifecycle as deprecated. This includes lifecycle adapters (LCAs), phase listeners, and the class WidgetUtil. Most of this API is only relevant for custom widgets, and is replaced by the new API in the org.eclipse.rap.rwt.remote package (RemoteObject, OperationHandler etc.).

All deprecated API is still supported in 2.3 and will be removed in 3.0. We'll provide a migration guide that explains alternatives.

Bugfixes

This list shows all bugs that have been fixed for this milestone build.

Previous Builds

The above features are just the ones that are new since the last milestone build. Summaries for earlier builds:

RAP 2.0 Migration Guide

After 6+ years of development in the 1.x stream, we're cleaned up some API in RAP 2.0. To assist you with the migration from 1.x to 2.0, we maintain a migration guide.