IBM i Web components (Deprecated)

Note: The Web Interaction wizard and IBM® i Web Components are deprecated; use JavaServer Faces technology instead.

Each IBM i Web component has a specific set of attributes associated with it. When you click on an i Web component that is on the JSP page, the Properties view displays the attributes for that i Web component. (If the Properties view is not open when you click on an i Web component, right-click the i Web component on the JSP page and select Properties.) The attributes for the i Web components are grouped under tabs that represent the major attribute categories.

The attributes allow you to define the display characteristics of the i Web component on the Web page. (Use the Web Interaction wizard to specify whether the i Web component is used for input or output.)
Restriction: i Web component naming:
  • You can copy and paste to duplicate an i Web component on your JSP page. However, you must ensure that you change the name (in the Name field for the component in the Properties view) for the copied i Web component.
  • The first character in the name of your i Web component cannot be uppercase. However, a character in the middle of the name can be uppercase, for example: myComp.
  • If the first character must be uppercase, then the second character has to be uppercase as well for the i Web component to function properly, for example: MYcomp.
  • i Web component names must be valid Java™ variable names. For example, you cannot name a component my.comp. Instead, you need to use something like mycomp.
  • You cannot name an i Web component the same name as a Java reserved word.

In addition to i Web components, you can use the standard HTML components on your Web pages. These standard HTML components are included in the base product and are available under Form Tags in the Palette. See Standard HTML components for a description of these components.

The following table indicates the tabs that appear in the Properties view for each i Web component. Although several of the i Web components have the same tabs in the view, the attributes on that tab may differ.

Note: The General tab will have a different label, depending on the component selected.
Table 1. IBM i Web component attribute tabs
i Web component Tab title
General Data Events Styles Parameters Features Columns
Button x - x x - - -
Check Box x - x x - - -
Combo Box x x x x - - -
Hyperlink x - x x - - -
Image x - - - - - -
Image Button x - x - - - -
Label x x - x - - -
Radio Button Group x x x x - - -
Selection Box x x x x - - -
Table x - - x x x x
Text Area x - x x - - -
Text Entry x x x x - - -

Feedback