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

Dynamic arrays of beans in ActionForms

 
Vladimir Miguro
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi boys & girls.... I have a problem now :-)

Imagine that we have some table showing list of our products... And we want dynamically add another products...
with the help of js we add a for example 5 row to the talbe...
but how we can save the values of this ?
One solution :


and in the jsp we can add any textfields with the @name=productName and @name=productModel
and all of this Strings will be populate to the productName & productModel arrays...
but I want to define a beans


and in jsp smth like:


and in Action I want to get an array of products

But I have:
java.lang.IllegalArgumentException: No bean specified
 
Vladimir Miguro
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ну еб тваю мать, че ж все молчат...?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
30 minutes isn't very long to wait for an answer.

Without seeing what you're *actually* doing it's difficult to help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic