This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes Adding properties to LazyValidatorForm at Runtime 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 » Frameworks » Struts
Reply Bookmark "Adding properties to LazyValidatorForm at Runtime" Watch "Adding properties to LazyValidatorForm at Runtime" New topic
Author

Adding properties to LazyValidatorForm at Runtime

Michael Petrovich
Greenhorn

Joined: Sep 06, 2011
Posts: 16

I have following form bean in my struts config file:


Next in my JSP I try to create table that values will be an input for above form:

The problem is I can have 100 or 500 items but how can I put all of them to form-bean? I mean is there any programmatic approach when I can add properties to my org.apache.struts.validator.LazyValidatorForm at Runtime?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Adding properties to LazyValidatorForm at Runtime
 
Similar Threads
Fusion Charts: How to put data into xml file ?
Intermittent Error 500: jsp.JspException: Cannot find bean: "msg" in scope: "request" 1.3
page keep on refreshing
form bean value not getting
Unable to display the Data from SQL SERVER 2005 on a JSP through <c:forEach> tags