Category Archives: JavaScript

Prompting for variable values

We designed the RPE Launcher User Interface to be a generic, good for all UI that would be easily used by any RPE user. And while we met the first goal, the UI is indeed very generic, we haven’t really … Continue reading

Posted in JavaScript, Rational Publishing Engine, Tips&Tricks | 1 Comment

Another JavaScript tool

http://repl.it/2w# is a nice web tool that can help improve your JavaScript skills.

Posted in JavaScript, Tips&Tricks | Tagged , | 1 Comment

JavaScript in RPE

Simple templates can be created in RPE by doing drag&drop mainly. However for some of the more interesting templates you need to write some code: process the data that is being rendered, conditions for exclusion of elements or formatting etc.For … Continue reading

Posted in JavaScript, Rational Publishing Engine, Tips&Tricks, Troubleshooting | 7 Comments

Debug messages in RPE

In many occasions it is useful to output debug messages at run-time. The debug messages can range from simple “I am here” to data dumps.

Posted in JavaScript, Rational Publishing Engine, RRDG, Troubleshooting | 5 Comments

Parsing dates with Java Script

RPE automatically parses dates and renders them as instructed ( date formatting property in the docspec or date pattern property in the template) but it can only do so if the element’s type in the schema is a date/time type.

Posted in JavaScript, Rational Publishing Engine | 2 Comments