Struts 2: updating a list of objects from a form with model driven architecture

后端 未结 5 2134
一个人的身影
一个人的身影 2020-12-19 11:58

I already searched and found several approaches here, but I can\'t get them working for my project.

I want to show an edit page for a list of objects, which should

5条回答
  •  太阳男子
    2020-12-19 12:50

    Assuming you've got the configuration correct - the problem is probably due to the way you're defining the indexing. Try changing the name attribute on the textfield to use

    model[%{#rowStatus.index}].datumBis
    

    and let OGNL sort out the access methods. (I'd also use Firebug in Firefox to see what is actually being sent when you submit the form)

提交回复
热议问题