Announcement Announcement Module
Collapse
No announcement yet.
Form to add item to a list Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Form to add item to a list

    Hello,

    I have an object "user". A user has a list of appointments. Now I want to have an input field (string) for a new appointment, which then should be added to his list.

    What is the form backing object? The user or the List? Which tags should I use? Can I just 'catch' the input value and handle it inside my form backing controller?

  • #2
    OK, I think I should use a SimpleFormController. Perhaps I define the list as the formBackingObject. With onSubmitDo I want to grab the text string entered in the form and simply add this to the list of strings (the command aka formBackingObject).

    Any ideas?

    Comment

    Working...
    X