my dog learned polymorphism
The moose likes JSF and the fly likes binding of a var series to array members Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "binding of a var series to array members" Watch "binding of a var series to array members" New topic
Author

binding of a var series to array members

John Applecorn
Greenhorn

Joined: Apr 24, 2009
Posts: 1
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: binding of a var series to array members
 
Similar Threads
Need explanation with javascript functions
Is there a way to put data form a jsp to a form field?
proper access to session attributes
converting algorithm to Java code
Space