PATH  WebObjects 4.5 Documentation > Applet Controls


Previous Section


ScrollingTextApplet



Synopsis

WOApplet { code = "next.wo.client.controls.ScrollingTextApplet.class";
stringValue=text;...};

Description

A ScrollingTextApplet is a bordered area on the page that allows viewing and editing of one or more lines of text. If the amount of text exceeds the display area, scrollbars enable the user to move text up and down within the display area. Pressing the Return key inserts a carriage return instead of (like TextFieldApplet) triggering an action method. The ScrollingTextApplet class "wraps" the java.awt.TextArea class.

Note: A ScrollingTextApplet does not wrap text as it approaches the right side of the display area. Instead, it scrolls text to the left. This is a limitation of java.awt.TextArea.

stringValue
During page generation, stringvalue contains the initialized value. In each subsequent synchronization point, it contains any modification to the text the user makes and the text the action method assigns to it.

Next Section