What should I specify in the "property" attribute in case of <nested:errors />? I have a nested bean whose "name" property I am using to store and retrieve errors.
In ActionForm bean i have: errors.add(parameter.getName(), error); where paramter is the ref to my nested bean and getName is the property getter method. In JSP i have: <nested:errors property="name" /> inside the <nested:iterate> for the nested bean. But this doesn't seem to work. Has anyone tried this before? Any help is appreciated in advance. Thanks Affan ----- Original Message ----- From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 9:28 AM Subject: Re: <html:errors/> > I don't use nested but I think it will work the same as html:errors. > > David > > > > >From: "Affan Qureshi" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >Subject: Re: <html:errors/> > >Date: Tue, 18 Feb 2003 09:16:00 +0500 > > > >Does this work for <nested:errors/> as well? Or do I have to do something > >different? > > > >Affan > > > >----- Original Message ----- > >From: "David Graham" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, February 18, 2003 8:31 AM > >Subject: Re: <html:errors/> > > > > > > > http://jakarta.apache.org/struts/userGuide/struts-html.html#errors > > > > > > See the property attribute. > > > > > > David > > > > > > > > > > > > >From: "varma dvk" <[EMAIL PROTECTED]> > > > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > > >To: [EMAIL PROTECTED] > > > >Subject: <html:errors/> > > > >Date: Mon, 17 Feb 2003 18:09:03 +0530 > > > > > > > >Hi frenz, > > > > > > > >Here goes my problem... > > > > > > > >How can i display action errors at different different places in jsp. > >For > > > >example > > > > i have username and password fields in a jsp.If the username is null > >then > > > >i want display the error right behind the username text box...n the > >same > > > >for password.. > > > > > > > >how can i do this... > > > >i appreciate any kind of help... > > > > > > > >Thanks > > > >Varma > > > > > > > > > > > > > > > >_________________________________________________________________ > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > _________________________________________________________________ > > > The new MSN 8: smart spam protection and 2 months FREE* > > > http://join.msn.com/?page=features/junkmail > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]