Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
    languagejava
    themeConfluence
    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
    languagejava
    themeConfluence
    Integer value = 100;
    String content = Integer.toString(value);
     
    textArea.setValue(content);