Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    setMultipleValueSeparator?

    Has somebody figured out how to use this?
    My impression was it could be used to store multiple distinct values (e.g. email strings) in a single object (e.g. comma separated list of email strings) but I couldn't get it working.
    Tried this
    Code:
    final TextAreaItem emailListArea = new TextAreaItem("emailList");
    emailListArea.setMultipleValueSeparator(",");
    and filled the TextAreaItem form widget with one mail address per line:
    Code:
    test1@test.test
    test2@test.test
    which gave
    Code:
    test1@test.test\ntest2@test.test
    so not the desired result. Is it the right method at all?

    Thanks
    fatzopilot
Working...
X