Defining Control Properties

You must define the properties of a control that you add to a Web page.

  1. Select the control in the Web Page editor. The Properties view displays the properties that are applicable to the control you select. Define properties using the Properties Quick Edit tab.
    Note:

    You can also use the Attributes tab to define properties.

  2. To bind the control to an existing managed bean property or method:
    1. Click Bind
      Binding button

      which is adjacent to the field of the property that you want to bind.
      Note:

      If the property cannot be bound to a managed bean, Bind is disabled.

    2. Enter or select the managed bean property or method to bind to.
    3. Click OK.
    4. Repeat this procedure for each property that you want to bind to a managed bean property or method.
  3. To edit the style of the control:
    1. Click Edit which is adjacent to the Style field. The CSS Style Definition dialog box opens.
    2. To change:
      • Text
      • Background
      • Block
      • Box
      • Border
      • List
      • Positioning
      • Extensions
      Do the following:
      1. Select the item you want to change in the left pane.

        The associated dialog box appears in the right pane.

      2. Change the properties to have the control appear as you want to see it.
      3. Click OK.
      4. Repeat this procedure for each style in the left pane that you want to change.
  4. If the control properties contain the ActionListener field:
    Option Goal
    Click Browse To select a method to bind to the Action Listener.

    You can select a method of one class. The fields are filtered.

    Click Bind
    Binding button

    To select a property or method to bind to the Action Listener.

    The ActionListener uses the value of the property as an action listener method at runtime.

Related tasks
Designing a Web Page
Creating a Web Page
Binding a Resource Bundle to a Web Page Component
Adding a Control to a Web Page
Changing the Appearance of a Control
Adding an Object to a Web Page
Editing Object Properties
Binding a Managed Bean to a Control
Linking Web Pages

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.