TextBoxAttribute class

Input attribute of textbox type.

Syntax

public class TextBoxAttribute

Remarks

The State Editor will display this input field using a textbox component, allowing user to enter value.

By default, this TextBoxAttribute is of InputAttribute.InputType#SESSION (so the checkbox will be checked), and the input field will be populated with the string ID of this input attribute. So during state processing, the input attribute value will be retrieved from the session variable of the input attribute ID.

Change the value of the input field, to retrieve the input attribute value from a different session variable name.

The textbox attribute type can be changed to InputAttribute.InputType#ATTRIBUTE so that the value in the input field is used as a static value.