Portlet Factory, Version 6.1.2
Dojo Enable builder
The Dojo Enable builder allows you to add Dojo capabilities to a page in your model.
This builder provides the low level functionality of adding the proper JavaScript to bring in the dojo.js, and any specified dojo.require(...) packages on the target page. This builder is useful if you plan on manually adding Dojo functionality (for example, widgets, I/O, or events) to a page in your model, or if you are creating your own Dojo builder.
The following is an example of the JavaScript code that this builder adds to the page.
<script name="DojoEnable_script" language="JavaScript" src='<%= webAppAccess.getURLMapper().getStaticContentURL("/factory/dojo/dojo.js", request.getScheme()) %>'></script> <script name="DojoEnable_requires" language="JavaScript"> dojo.require("dojo.event.*"); dojo.require("dojo.io.*"); dojo.require("dojo.widget.*"); </script>
Parent topic: Builder help
- About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
- Dojo Enable builder inputs
This topic describes the inputs for the Dojo Enable builder.
- http://dojotoolkit.org
Library | Support |