Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

binding of a var series to array members  RSS feed

John Applecorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sometimes you want a user to have the possibility of adding fields dynamically to a form, e.g. for a gallery or sth else. With Javascript it is no problem to create new input fields dynamically.

If using PHP I would create entries like:

You see the [] after the myvar. This would cause PHP to create an array of all the myvar[] variables.

Is there a possibility to achieve that in JSF/Seam? also for multiple file upload?

best regards and thank you for any advice
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!