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
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
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
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:/
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
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
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
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)
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
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
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:
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
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:
ng List <[EMAIL PROTECTED]>
|
| cc:
|
| Subject: Re: htm
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
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
--
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">
17 matches
Mail list logo