Portlet Factory, Version 6.1.2
Dojo Enable builder inputs
This topic describes the inputs for the Dojo Enable builder.
Table 1. Dojo Enable builder inputs Input name Description Name Name for this builder call. The WebSphere Portlet Factory Designer displays this name in the builder call list. Select Page (Required) Select the page in your model to enable for Dojo. For example: page1. Requires Package List Specify additional Dojo required packages to add to the generated JavaScript. For example, if you specify dojo.widget.ComboBox in this list input, the following JavaScript statement is added to the generated JavaScript on the target page: dojo.require("dojo.widget.ComboBox");JavaScript (optional) Specify any JavaScript code to add to the target page. The code is placed in the same <script/> tag containing the Dojo requires statements. It is more efficient to place larger amounts of JavaScript in a separate .js file. For example: dojo.addOnLoad(function() { dojo.lfx.html.fadeOut('fadeElm', 1000).play(); });JavaScript Files (optional) Specify additional JavaScript files needed for the target page. Each file specified adds a new <script/> tag to the target page where the src attribute refers to the specified .js file. For example: /factory/dojo/src/fx/html.js Parent topic: Dojo Enable builder
Library | Support |