...
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);