Script Portlet Editor in Script Portlet V 1.3

You can take any existing web page, pick out individual parts, and enter them into corresponding tabs in Script Portlet Editor. The Preview window displays the results as you edit.

Using the editor

Open the Script Portlet page that you created when you installed the portlet. Turn on Edit mode. Click Edit in the portlet.

Each of the panes can be maximized and the Preview pane can be popped out into a separate window.

In the CSS pane, the <style> tags are added automatically by the editor. Do not add your own. In the JavaScript tab, do not add the surrounding <script> tags either.

If you modify Script Portlet when in a project, your changes are tracked in that project. Your changes are saved as a draft instead of published as site content. Approval processes, syndication, versions, and unpublish features are all applicable to your application logic. A user with the access control role of a normal author can add items to the Script Portlet editor.

When you add a Script Portlet to a page, a content item is created in the Portal Site library. The default content item name is Script Portlet Content Item. You can edit the item name from the Script Portlet Editor by clicking the Edit link in the portlet. The item is created under the page where you added the Script Portlet.

Because the Script Portlet is stored as a content item, you can apply a workflow process to govern the deployment of the application to the live site. As a developer, you do not have to bundle the application and pass it to an administrator to deploy on the live site.

Workflow in IBM® Web Content Manager is customizable. Your organization can create a unique workflow for script-based applications. One of the stages in the workflow can be checking the JavaScript for security vulnerabilities. After the item is approved, it is syndicated to the live site.

You can build applications with the help of the following tools.