Jump to main content
HCL Logo Product Documentation
  • Customer Support
HCL Domino Designer
  • HCL Domino Designer Basic User Guide and Reference
  • XPages User Guide and Reference
  • JavaScript and XPages reference
  1. Home
  2. HCL Domino Designer Basic User Guide and Reference

    Basic product usage information and programming language reference information.

  3. Programming Overview and User Interface

    This section contains general guidelines and examples that show where to use Java, LotusScript, and the formula language.

  4. User Interface
  5. Using the Script area

    The Script area formats LotusScript automatically by indenting and adjusting the case of keywords as needed. There is no automatic formatting for other programming languages in Lotus Domino Designer.

  • HCL Domino Designer Basic User Guide and Reference

    Basic product usage information and programming language reference information.

    • What's new in HCL Domino Designer 11 for developers?

      The following features are new for developers in HCL Domino® Designer 11.

    • Accessibility and keyboard shortcuts

      Accessibility features assist users who have a disability, such as restricted mobility or limited vision, to use information technology content successfully.

    • Application Design

      Welcome to the Application Design section of Domino® Designer Help.

    • Application Management

      Welcome to the Application Management section of Domino® Designer Help.

    • Domino® Query Language

      Domino® Query Language (DQL) is a facility running on a Domino server that provides a terse, shorthand syntax for finding documents. It supports a wide variety and complexity of search terms. It leverages existing design elements, avoiding the need to write detailed code to access them. DQL consolidates all methods in Domino for searching document contents.

    • Composite Applications - Design and Management

      Composite applications are a key element in a service-oriented architecture (SOA) and contextual collaboration strategy. The ability to create and edit composite applications lets you easily integrate different types of components and technologies.

    • DB2® Access views

      Domino® Designer includes two types of design elements to assist you in managing data contained in DB2® enabled Notes® databases:

    • Programming Overview and User Interface

      This section contains general guidelines and examples that show where to use Java, LotusScript, and the formula language.

      • Programming Overview

        This documentation describes how to attach Java, JavaScript, LotusScript, and formula code to Domino design elements. Here are some overview topics:

      • User Interface
        • Accessing the Programmer's pane
        • Exploring the Programmer's pane

          The Programmer's pane is located in Domino Designer following the Work pane, or by itself in some design elements and resources such as agents and shared fields. The Programmer's pane is context-sensitive and may change slightly depending on the programming language you select.

        • Exploring the Java interface in the Programmer's pane

          Java programming can be done in the Programmer's pane of an agent or a script library.

        • Using the Info List

          The Info List appears on the left side of the Programmer's pane and contains the following context-sensitive tabs:

        • Using the Objects tab

          The Objects tab is located in the Info List. It contains a context-sensitive list of objects and events available for the selected programming language. The Objects tab allows you to:

        • Using the Reference tab

          The Reference tab provides you with context-sensitive information for each programming language recognized in the Programmer's pane. You can view this information by clicking the Reference tab and selecting the desired topic from the Reference list.

        • Using the Errors box

          The Errors box is present for Java and LotusScript. Use the Errors box to view error messages that occur during script entry and compilation. The Errors box displays only one error at a time. To view other errors, click on the box and select the error from the list. When you select an error from the list, the line containing the error is highlighted in the Script area.

        • Using the Script area

          The Script area formats LotusScript automatically by indenting and adjusting the case of keywords as needed. There is no automatic formatting for other programming languages in Lotus Domino Designer.

          • Setting Script area properties

            The Programmer's Pane Properties box allows you to:

          • Setting text properties

            These selections, located on the Font tab, apply to all text in the Programmer's pane for all design elements.

          • Setting format properties

            The Format tab selections apply to specific languages.

          • Moving the insertion point while editing text in the Script area

            The following table lists keys that move the insertion point in the Programmer's pane.

          • Selecting text

            You can select text with key combinations and the mouse.

          • Editing text with key combinations
          • Editing text with menu commands
          • Saving and deleting text in the Script area
          • Renaming an object, subprogram, or class

            For Formula, JavaScript, LotusScript, and Simple action(s) you can rename an object by changing its name in its Properties box. The programming attached to that object will automatically be associated with its new name. An agent may be renamed without affecting the Java in it. You must change any references to the object; for example, calls to methods that reference the name of the object.

          • Automatically completing statements

            Use auto completion to look up and paste syntax elements right into the Programmer's pane as you enter code. Auto completion uses type-ahead functionality to let you quickly find and select the options you want, and also provides parameter prompting to show you how to complete a statement.

        • Writing Java in an agent
        • Writing JavaScript in the Programmer's pane

          JavaScript allows you to write scripts that function on the Web as well as in the Domino client. The Objects tab provides a list of JavaScript events supported in Lotus Domino Designer. JavaScript is not available for agents. For LotusScript Web agents, you can use Print statements to output HTML to the browser, including script statements. For example, Print "<script>function changeLocation(){...}</script>."

        • Writing LotusScript in the Programmer's pane

          The Programmer's pane allows you to:

        • Exploring the LotusScript Debugger

          The debugger allows you to:

        • Using the Remote Debugger
        • Debugging Java code remotely
        • Using Script Libraries
        • Recompiling all LotusScript
        • Writing formulas in the Programmer's pane
        • Using the Programmer's pane for Simple action(s)
      • XML for Domino

        The following topics cover some general guidelines for using XML in Domino applications and list all the elements, attributes, and entities in the Domino Document Type Definition (DTD):

      • JSP Custom Tag Libraries

        A JavaServer Page (JSP) is a HTML Web page that contains code which executes application logic to generate dynamic content. The page is created at the time it is requested. JSP pages are compiled into servlets; the code they contain is executed by the server. For more information on JSPs, see the Sun Microsystems Web site: http://java.sun.com/products/jsp/.

      • Programming Domino for Web Applications

        You should be aware of certain procedures, restrictions, and enhancements available to you when using Domino Designer to program Web applications. This section describes the following areas:

    • Formula Language

      This section documents the formula language.

    • LotusScript® Language

      Welcome to the LotusScript® Language section of Domino® Designer Help.

    • LotusScript/COM/OLE Classes
    • Java/CORBA Classes

      This section documents the Java/CORBA classes.

    • Connectors

      Connectors provide native access to a wide variety of DBMS products, ODBC, the platform File system, Enterprise Resource Planning systems, and Transaction Processing systems.

    • Javadoc™ for Domino® Designer related APIs

      As part of providing additional Java™ reference documentation, Domino® Designer ships with a help plugin that contains Javadoc™ for additional Domino Designer related APIs.

Using the Script area

The Script area formats LotusScript automatically by indenting and adjusting the case of keywords as needed. There is no automatic formatting for other programming languages in Lotus Domino Designer.

Use the Script area to:

  • Set Script area properties
  • Move the insertion point while editing code
  • Select text
  • Edit text with menu commands or with key combinations
  • Save and delete code
  • Rename an object, subprogram, or class
  • Automatically complete statements
Related information
  • Exploring the Programmer's pane
  • Share: Email
  • Twitter
  • Disclaimer
  • Privacy
  • Terms of use
  • Cookie Preferences