aspose file tools*
The moose likes Struts and the fly likes From an input-field into a form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "From an input-field into a form" Watch "From an input-field into a form" New topic
Author

From an input-field into a form

hal arres
Ranch Hand

Joined: Jan 10, 2003
Posts: 30
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

Joined: Aug 04, 2004
Posts: 724
And how is menge defined?


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
hal arres
Ranch Hand

Joined: Jan 10, 2003
Posts: 30
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: From an input-field into a form