Announcement Announcement Module
Collapse
No announcement yet.
How to bring interation and form context together? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to bring interation and form context together?

    Hi,

    I am facing the following:

    I have a list list1 of items I would like to iterate with a forEach loop.
    Code:
    <c:forEach items="${list1}" var="item">
    This list item contains a property item.prob1 which I want to access within a form select- or checkbox for update reasons.

    Therefore my question is, how can I connect the form commandObject or modelAttribute to the context of an interation?

    The problem is, usually I specify the <form:form /> on the item and this item must refer on the shipped item between jsp and controller ...


    Big thx in advice!
    Last edited by nOiDStaRr; Sep 26th, 2008, 08:05 AM. Reason: typo
Working...
X