Did you look at this FAQ entry? http://struts.apache.org/2.1.6/docs/how-do-we-repopulate-controls-when-validation-fails.html
On Fri, Jun 19, 2009 at 10:43 AM, Girish Naik <girish.n...@gmail.com> wrote: > One of my colleague had done it in some project. But dont know if its the > correct way. :( > > > Regards, > --------------------------------------------------------- > Girish Naik > Mobile:-+91-09740091638 > girish.n...@gmail.com > Samuel Goldwyn< > http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> > - "I'm willing to admit that I may not always be right, but I am never > wrong." > > On Fri, Jun 19, 2009 at 5:24 PM, Yanto <yantob...@gmail.com> wrote: > > > Hi Girish, > > > > Is this mean we can load the list again in Action's Preparable method ? > > currently, we are trying looking at the sample in internet. > > > > Thanks & Regards > > Yanto > > > > On Thu, Jun 18, 2009 at 10:23 PM, Girish Naik <girish.n...@gmail.com> > > wrote: > > > > > After validation, Action's Preparable method is called, you can load > the > > > required list in request again. > > > > > > > > > Regards, > > > --------------------------------------------------------- > > > Girish Naik > > > Mobile:-+91-09740091638 > > > girish.n...@gmail.com > > > Samuel Goldwyn< > > > http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> > > > - "I'm willing to admit that I may not always be right, but I am never > > > wrong." > > > > > > On Thu, Jun 18, 2009 at 5:08 PM, Dave Newton <newton.d...@yahoo.com> > > > wrote: > > > > > > > Please consider copying your code snippets into a plain-text editor > > > before > > > > including them in an email message: we're getting a blank line > between > > > each > > > > line and a lot of spurious asterisks. > > > > > > > > Yanto wrote: > > > > > > > >> *org.apache.jasper.JasperException: tag 'select', field 'list', name > > > >> 'entityInternalId': The requested list key 'entities' could not be > > > >> resolved > > > >> as a collection/array/map/enumeration/iterator type. Example: people > > or > > > >> people.{name} - [unknown location]* > > > >> > > > >> without validation xml and application page showing dropdown coming > > > >> properly. > > > >> > > > >> <s:select id=*"entityInternalId"* > > > >> name=*"entityInternalId"* > > > >> list=*"entities"* > > > >> headerKey=*""* > > > >> headerValue=*""* > > > >> listKey=*"internalId"* > > > >> listValue=*"entityName"* > > > >> /> > > > >> > > > >> Any one help on this ? > > > >> > > > > > > > > Do you load the "entities" list? Recall that actions are instantiated > > > > per-request. > > > > > > > > Dave > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > > > > > > >