Web Connection User's Guide
Use the Entry Field part to add a field into which users can enter
information. The Entry Field part generates the HTML element
input with the type attribute set
to text.
To add an Entry Field part, select the Web Form Parts Category (
), then the Entry Field part (
). You can also add the part using the Add Part dialog and specifying
the class name, AbtHtmlEntryField.
The Entry Field part has the following properties:
- converter
- Use the converter property to specify the converter to use for
the part. A converter is an object that manages the conversion of other
objects to and from their display format for certain visual parts, such as a
Text part.
- eventHandlers
- Use the eventHandlers property to define any event handlers for
this part. Event handlers provide the ability to detect and react to
events that occur while an HtmlPage is loaded in a Web browser. An
example of an event handler is mouse over, where you can specify
when the mouse moves over an HTML element, something happens, usually a
JavaScript is executed..
- extraAttributes
- Use the extraAttributes property to specify any additional HTML
attributes that you want included in the HTML tagging generated by the
part. You can use this property to include HTML attributes that are not
directly supported by VisualAge.
- maxLength
- Use the maxLength property to specify the maximum number of
characters the field can contain. The default is no limit.
- object
- Use the object property to specify the initial contents of the
entry field.
- partName
- In the Part name field, type the name you want to use to
describe the part. For non-visual parts, this text appears under the
icon for the part on the free-form surface.
The name of the part can consist of alphanumeric characters, and must be
unique from all other parts on the layout surface.
This field is optional. If you do not specify a part name, VisualAge
generates a unique name based on the class name of the part.
- passwordProtect
- Use the passwordProtect property to specify whether the entry
field is used to contain a password.
This attribute is equivalent to the password values
of the type attribute of the HTML
input element.
- size
- Use the size property to specify the width, in characters, of
the entry field. This setting is equivalent to the
size attribute of the HTML input
element.
If the value you specify in this field is less than the value you specify
in the maxLength field, then the entry field is scrollable.
- string
- Use the string property to specify a script. Use this
property when your script is small and you want it generated in line with the
HTML.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]