Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting value in logic iterate

 
priya jain
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
priya
[ December 03, 2003: Message edited by: priya jain ]
 
P. Udaya Shankar
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
<html:hidden name="xyz" property="project_id" />
<html:hidden name="xyz" property="project_name" />
i hope this will work for u
 
priya jain
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I tried this help too ... added put two lines like this

but now i am getting error

Now wat should i do?
priya
 
Jimmy Soh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jimmy's recommendation is the ideal solution, but you can also do this:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic