Author: Tim Buschtöns

The RAP team started working on a new feature called ClientScripting. It's still in it's infancy and will not (yet) be part of the core framework , but its already very useable. The goal is to allow adding pieces of behavior to the client-components of RAP widgets. This makes it possible to have swift, dynamic user feedback in situations that require a certain amout of...

Read More

If you ever need a WYSIWYG editor in your RAP application, look no further. I originally implemented this as an example of how JavaScript applications can be embedded in RAP as custom widgets. So if you have a similar scenario, you could also use this project as a template. The editor is fairly customizable, read the README for details. You can get the code on GitHub. Update:...

Read More

Good keyboard controls have become a staple of modern web applications, such as Google Mail, Github (press „?“) and Flickr. However, almost every browser implements key events slightly differently, all with some quirks, and none of them like in SWT. For this reason, key events in RAP had, until recently, several issues and limitations. That is a thing of the past now, as the key events implementation has been largely rewritten in RAP 1.5M5, and now finally works reliably. This also brings some general changes to RAP key event handling.

  • Some keys that didn’t work at all (like arrow-keys in Firefox), work fine now. This also fixes the JFace Content Proposal.
  • Several non-alphanumeric keys had the wrong keycode,  those are fixed.
  • Key events are no longer blocking the UI when sending the Ajax request to the server.
  • There is now a feature called “active keys”, which makes it possible to drastically reduce traffic traffic.  It was already present in RAP 1.4, but has been greatly improved.
  • Another new feature is called „cancel keys“. It allows to suppress the browsers and widgets default operations associated with any given key.
  • The „cancel keys“ replace the now-defunct support for the doit flag on key events.
Read More

Consider this:   I measured the time needed to create 200 Buttons in RAP 1.4 and RAP 1.5M3, and it shows a considerable performance boost (at least for the browsers i tested). One reason for this is that we changed from quirksmode to standard rendering in IE9, which among other things, finally allowes us to use its new HTML5-features (in this case SVG and CSS3). I expect...

Read More

RAP already offers advanced styling features including customizable cross-browser gradients, rounded borders and animations. We now complete this feature set by introducing advanced, configurable shadows, giving your RAP application a modern, subtle 3D-look. Unlike other frameworks, RAP does not rely on pre-rendered images to create those effects. Instead it does all the rendering itself based on CSS declarations, using multiple browser-native technologies for drawing. Up until...

Read More

Animations are an integral part of most modern UIs, including many "web 2.0"-applications and websites. (Just watch carefully when opening google.com.) They have become so common that we even subconsciously miss them if they aren't there. The transition between two states of an UI should never be sudden, but gradually (albeit quickly), as we are used from real life. If done right, this increases usability...

Read More