Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

From an input-field into a form

 
hal arres
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I got an ArrayList of Forms and want to print them on the screen, but each Row has one Input-Field. When pushing the submit-button I want to add the entry to the correct Form.

But I don't know, how to get it run

This is my code:



I try to get it by using this code, but I got the following exception:
"Property 'menge' is not indexed'"


Can anyone tell me, how to write the Strings into earch Form of ArrayList?
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And how is menge defined?
 
hal arres
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my Code:
But it doesn't work and I don't know why.
I think it has something to do with this part: "<%= "entityResult[" + index+
"].resultList[" + idx + "].menge" %>"
The method "getEntityResult" is invoked but not the other part.


I am using two 3 forms, which are nested, they look like this:










I want to get values of the Forms by using the "iterator" tag:

[ November 10, 2004: Message edited by: hal arres ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic