RE: HTML:errors

2009-04-27 Thread McDowell, Paula
Thanks, this works for my needs. Paula -Original Message- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Friday, April 24, 2009 2:57 PM To: Struts Users Mailing List Subject: Re: HTML:errors McDowell, Paula wrote: > So is "Globals" a session bean with constant varia

Re: HTML:errors

2009-04-24 Thread Dave Newton
McDowell, Paula wrote: So is "Globals" a session bean with constant variable ERROR_KEY? No, the value of Globals.ERROR_KEY names a session bean. http://struts.apache.org/1.2.x/userGuide/struts-html.html#messages Dave - To u

RE: HTML:errors

2009-04-24 Thread McDowell, Paula
Thanks, for your response. So is "Globals" a session bean with constant variable ERROR_KEY? Thanks, Paula -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Thursday, April 23, 2009 12:51 PM To: Struts Users Mailing List Subject: Re: HTML:erro

Re: HTML:errors

2009-04-23 Thread Lukasz Lenart
2009/4/23 McDowell, Paula : > Is there a way to check the field in the jsp for not empty?  I > only want to display an html group if the errors field is empty.  I'm using > Struts 1.1. I've been using such structure: Regards -- Lukasz http:/

RE: html:errors

2006-03-10 Thread fea jabi
to do this? From: "Kalcevich, Daniel" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: RE: html:errors Date: Fri, 10 Mar 2006 09:54:33 -0800 Try using the tag if you wish to check for the existence of errors o

RE: html:errors

2006-03-10 Thread Kalcevich, Daniel
Try using the tag if you wish to check for the existence of errors on a JSP page. Or this link provides some help info regarding the errors object. http://husted.com/struts/tips/017.html -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 9:48 AM T

Re: html:errors tag

2005-08-01 Thread Laurie Harper
Kalra, Ashwani wrote: I have a message defined like this in .properties file 2001={0} is required I am passing for eg "status" for the {0} Errors tag is printing it like this [status] is required Why its printing [] in the actual message ? Because that's what you've told it to ;-) Check w

Re: html:errors does not display

2005-06-13 Thread Vincent
Hi, Does simple with no property specified works for you ? Cause I get a similar problem - using same Java code in JSP display the fields with errors, but does nothing. Thanks. Vincent. Song Wang wrote: Hello everyone, I cannot display , but if I add <% ActionErrors ae = ( ActionErrors)

Re: html:errors does not display

2005-06-13 Thread Andrew Tomaka
Song, I was having a similar problem using WSAD 5.0.0. Client side validation using the Validator component worked, but server side validation did not. Since WSAD included Struts 1.1(beta 2), I decided to update struts to the newest version. This seemed to correct the problem. If you need furt

Re: html:errors and manual iterate

2004-12-12 Thread Sunny
You might need to pass one more argument namely "message" to the tag . If you've saved a message in struts scode with your OWN key, you should pass message='true' if this message has been saved into struts scope using ExceptionHandler.saveException() method, you can pass message = 'false' r

Re: html:errors and manual iterate

2004-12-11 Thread Erik Weber
essages to find out if the message is empty or not in the JSP. Thanks, Leonard - Original Message ----- From: "Laconia Data Systems" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, December 11, 2004 5:37 AM Subject: Re:

Re: html:errors and manual iterate

2004-12-11 Thread StrutsUser
Saturday, December 11, 2004 5:37 AM Subject: Re: html:errors and manual iterate Leonard- The Action class getErrors() method returns the contents of ActionErrors or creates new ActionMessages object http://struts.apache.org/api/org/apache/struts/action/Action.html Is this what you're lookin

Re: html:errors and manual iterate

2004-12-11 Thread Laconia Data Systems
Leonard- The Action class getErrors() method returns the contents of ActionErrors or creates new ActionMessages object http://struts.apache.org/api/org/apache/struts/action/Action.html Is this what you're looking for? Martin- - Original Message - From: "StrutsUser" <[EMAIL PROTECTED]> To:

Re: html:errors for indexed properties

2004-08-31 Thread dhay
ng List <[EMAIL PROTECTED]> | | cc: | | Subject: Re: htm

Re: html:errors for indexed properties

2004-08-31 Thread Lynn Stevens
instead of the scriptlet, I think you could use html-el and do the following: The el notation forces the ndx to evaluate From: Bill Siggelkow <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: html:errors for i

Re: html:errors for indexed properties

2004-08-31 Thread Milind Rao
Worked well. Thanks. Used html:errors instead of the message for brevity. It would have been nice if html:errors could have been set with indexed="true". Would have prevented the scriplet and been more consistent. Regards Milind --

Re: html:errors for indexed properties

2004-08-31 Thread Bill Siggelkow
You have to use the html:messages tag in a loop to generate the property values in a loop. Here's an example -- id="orders" indexId="ndx">