The XdevTextArea is a multi-row input field. The XdevTextArea is a form component and can be persisted via the XdevFieldGroup
Important properties:
Include Page Property Rows Property Rows Wordwrap - Automatically performs a word wrap. Without word wrap, a horizontal scrollbar is displayed.
Include Page Property TextChangeEventMode Property TextChangeEventMode Include Page Property TextChangeTimeout Property TextChangeTimeout
...
Go to XdevTextArea Javadoc
...
Tips:
Convert string to integer: If the content of the XdevTextArea is an integer, with which you want to calculate further, you must convert the string with the Integer.parseInt(String s) method into an integer. The method accepts only a string with characters. Only the characters + and - at the start of the value are permitted.
Code Block language java theme Confluence String content = textArea.getValue(); Integer value = Integer.parseInt(content);
Convert integer to string: When you want to assign an integer to an XdevTextArea, you must first convert it into a string.
Code Block language java theme Confluence Integer value = 100; String content = Integer.toString(value); textArea.setValue(content);