Login Register

Using Dojo .9 or 1.0 with RAD 7.0

Has anybody successfully incorporated Dojo into RAD 7.0. I have tried but get a multitude of warnings which include attribute issues, missing tags, etc.

What are the steps to put dojo into rad 7.0

Hi,
I'm trying to get started on using dojo with RAD 7.0 HAs anyone been through this that can help?
R

Ignore the warnings

The Dojo widgets when used declaratively make use of HTML attributes which aren't defined in the HTML specification. For example, dojoType is an attribute used to describe the widget class. RAD will give you warning messages telling you that these are undefined attributes. Most strict HTML editors will also do the same thing.

However, you can just ignore these messages. Dojo runs in the browser so the attributes will be parsed properly there. So although it might be a bit irritating to constantly see the warning messages, they shouldn't cause any problems and you can just deploy your application as normal.

I have RAD 7.0.0.6 and a

I have RAD 7.0.0.6 and a working app using Dojo. It is successfully deployed.

For an example download the web 2.0 refresh pack. It has an example app that uses DOJO that you can import into RAD 7.0.0.6.

The only problem you will face is when trying to check-in all the code into ClearCase. Some of the DOJO files are single lines. ClearCase has a limitation on that. In those cases you need to re-build using a different option so that DOJO files are not created in a single line.

I hope this helps.