Thursday 30 January 2014

Custom Decorations

Rapide has always had the ability to place a mandatory decoration on a field that does not have a value. We have now added a new feature to allow the developer to add custom decorations to a control using action diagram methods.

Decorations can be used to flag the user's attention to a control, for example a recently changed value or a warning about some data.

Decorations can be placed to the left or right of the control and at the top, centre or bottom. Four different images are supported. Some examples are shown below.





There are action diagram methods to apply a decoration to a control (field, button, etc.) and to show or hide the decoration. Decorations are supported for desktop and browser applications.

Tuesday 14 January 2014

Global allocation of local views

Gen GUI C applications are able to take advantage of an environment variable IEFLOCALVIEWALLOCSCOPE which can be set to GLOBAL causing local view values to be shared across PSteps.  

Thus you can flow to another PStep, use non-initialised views in the PStep or in lower-level ABs, flow back (closing the called PStep), then flow to the same PStep again, or use the same AB, and those non-initialised views are maintained with the same data values.

In CA Gen code this functionality is only available for C clients and not for Java clients.


Rapide has been enhanced to provide similar functionality. However whilst the Gen GUI clients implement this as an environment variable that affects all action blocks and procedure steps, for Rapide to make more efficient use of memory, you explicitly specify which PSteps and ABs should have their local views managed globally for the session.  


Wednesday 8 January 2014

More JavaScript Controls

The Rapide Controls demo has been updated to include some more examples of JavaScript controls embedded in a Gen window. Rapide makes it very easy to implement a JavaScript control into a Gen window, and they are then available on all platforms - desktop, browser and mobile, unlike OCX controls which have limited portability.

1) Example of a rich text editor control. Data is passed to/from the control in a view containing html markup.


2) Use of Google Maps with a simple input of latitude and longitude:



3) Use of the JSCharts control.


You can try out these controls live on the Rapide Demo here: