permaculture playing cards*
The moose likes Struts and the fly likes Empty list after validation error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Empty list after validation error" Watch "Empty list after validation error" New topic
Author

Empty list after validation error

Carlos Ribeiro
Greenhorn

Joined: Mar 14, 2012
Posts: 2
Hi,
i'm having problems with struts 1.2.7..

In my form, i have a list.



i pupulate this list in a Action.



but, when a validation error occurs and a JSP will be rendered.. the list comes empty..

any suggestion??

Thanks
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Hi Carlos, Does it work fine for the first time i.e. before validation error? Or did i get the scenario wrong?


Have Fun with Java
little,little.. little by little makes a lot..
Carlos Ribeiro
Greenhorn

Joined: Mar 14, 2012
Posts: 2
yes..before the validation it work..

i think the way i prepopulate the list it's wrong...
 
 
subject: Empty list after validation error
 
Similar Threads
Reset button & Validation Error
MyFaces Tomahawk ignores checkbox in dataList on first submission
Custom Validator
Component value Not getting updated - Strange Problem
How to use struts validation