Creating a page that has a Web DataWindow DTC

StepsTo create a new page with a Web DataWindow DTC:

  1. In an open Web Target workspace, select File>New from the menu bar.

  2. Click the Web tab of the New dialog box.

  3. Double-click the Web/JSP DataWindow Page wizard icon.

  4. Follow the instructions in the wizard to complete the entries required.

    NoteThe new page is not 4GL-enabled If you want to enable 4GL processing for a new JSP page, you need to select the Enable 4GL Web Server Side Event Model check box in the Page Properties dialog box for the page after you create it.

StepsTo insert a new Web DataWindow DTC in an existing HTML page:

  1. In Page view or Source view of the HTML editor, put the insertion point where you want the control to appear.

  2. Select Insert>Form Field>DataWindow from the menu bar

    or Click the DataWindow button on the Insert toolbar.

    NoteDrag and drop You can also drag the Sybase Web DataWindow DTC control from the Components tab of the System Tree to an open page in the HTML editor Page view or Source view. You can find the control under the ActiveX Controls>Web Design-Time Controls branch on the Components tab.

    The Sybase Web DataWindow DTC Properties dialog box displays.

  3. Specify Web DataWindow DTC properties by making the following selections:

    Property selection

    For information

    Source for the DataWindow object

    See “Selecting the source for a DataWindow object”

    Database profile

    See “Selecting a database profile” on page §

    Web DataWindow generator

    See “Selecting a Web DataWindow generator”

    Specifying properties also typically involves taking these actions:

    Typical actions

    For information

    Binding data to DataWindow retrieval arguments

    See “Binding data to DataWindow retrieval arguments”

    Defining hyperlinks on objects in a DataWindow

    See “Defining hyperlinks on objects in a DataWindow”

    Changing presentation details stored in the DataWindow definition

    See “DataWindow presentation styles and data sources”

    Scripting client or server-side events on the DataWindow

    See “Choosing an object or event for scripting”on page §

  4. Do one of the following: