wood burning stoves 2.0
The moose likes Struts and the fly likes getting value in logic iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "getting value in logic iterate" Watch "getting value in logic iterate" New topic

getting value in logic iterate

priya jain

Joined: Apr 23, 2003
Posts: 10
Dear Friends,
I have problem in getting the dynamic value of a variable in logic iterate.
I want to do it like this ...
projects is the arraylist return by a ActionForm.

Now it will create dynamic rows but i want to send the value of project_id and project name with submit button for that row .These values are used by next form.
Any idea how can i proceed.
[ December 03, 2003: Message edited by: priya jain ]
P. Udaya Shankar

Joined: Nov 18, 2003
Posts: 21
<html:hidden name="xyz" property="project_id" />
<html:hidden name="xyz" property="project_name" />
i hope this will work for u
priya jain

Joined: Apr 23, 2003
Posts: 10
I tried this help too ... added put two lines like this

but now i am getting error

Now wat should i do?
Jimmy Soh

Joined: Dec 04, 2003
Posts: 5
You don't have a bean named project_id on that page, so it is giving you an error. Instead of name="project_id", use name="project".
David Yutzy
tumbleweed and gunslinger
Ranch Hand

Joined: Jun 29, 2001
Posts: 192
Jimmy's recommendation is the ideal solution, but you can also do this:
I agree. Here's the link: http://aspose.com/file-tools
subject: getting value in logic iterate
It's not a secret anymore!