Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Creating a custom server component in EAServer – PB Docs 126 – PowerBuilder Library

Creating a custom server component in EAServer – PB Docs 126

Creating a custom server component in EAServer

You can install and configure a custom Web DataWindow server
component in EAServer Manager.
In this procedure, you create a custom version of the EAServer server component with custom
properties preset in EAServer Manager.

note.png Using the Web DataWindow Container Project wizard

The procedure in this section describes how to create a custom
component in EAServer Manager
that uses the generic DataWindow::HTMLGenerator126 interface. You
can also create a custom component with a Web DataWindow Container
project. For more information, see “The Web DataWindow Container
project wizard”
.

The procedures for creating a custom component depend on the
version of EAServer you are using.

proc.png To create a Web DataWindow custom component in EAServer 5.x:

  1. In the left pane of EAServer Manager,
    under the server name, right-click Packages and select New Package
    from the pop-up menu.

  2. In the New Package dialog box, type a package
    name (you cannot change it later) and click Create A New Package.

    For example, use EmpListPkg to identify a package for an application called
    EmpList.

  3. On the General tab of the Package Properties dialog
    box, enter a description of the package and click OK.

    For example, enter DataWindow Components for EmpList
    app
    to describe EmpListPkg in terms of the application
    that you are customizing it for.

  4. In the left pane of EAServer Manager,
    under the server name, right-click the new package and choose Install
    Component from the pop-up menu.

  5. In the wizard, choose the Define New Component
    radio button and click Next.

  6. Specify the name of your custom component (you
    cannot change it later) and click Finish.

    For example, use EmpListDW to identify a component that uses
    the d_emplist DataWindow object.

  7. In the Component Properties dialog on the General
    tab, specify:

    Module
    and interface

    DataWindow::HTMLGenerator126

    Component
    Type

    PowerBuilder NVO

    PowerBuilder
    Class Name

    nv_remote_datawindow

    PowerBuilder
    Library List

    pbdwr126.pbd

    PowerBuilder Application

    remote_datawindow_appl

  8. On the All Properties tab, add the properties
    for which you want preset values.

proc.png To create a Web DataWindow custom component in EAServer 6.x:

  1. In the left pane of Sybase Management Console,
    right-click CORBA Packages under EAServer Manager>Local
    Server and select Add from the pop-up menu.

  2. On the second page of the New Package wizard,
    type a package name (you cannot change it later) and click Finish.

    The package name displays under the CORBA Packages node in
    the left pane of the console.

  3. Right-click Components under the new package name
    in the left pane of the console, and select Add from the pop-up
    menu.

  4. Specify the name of your custom component on the
    second page of the wizard (you cannot change it later) and click
    Finish.

  5. On the General tab of the component properties
    sheet that displays in the right pane of the console, specify the
    following:

    Component
    Type

    PowerBuilder NVO

    PowerBuilder
    NVO Class

    nv_remote_datawindow

    PowerBuilder
    Library List

    pbdwr126.pbd

    PowerBuilder
    Version

    12.6

    IDL Remote Interface

    DataWindow::HTMLGenerator126

  6. On the Advanced tab of the component property
    sheet, add the properties for which you want preset values.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x