Re: html:errors/ don't display anything

2012-08-04 Thread Mihir
Hello friend, i have the same error. but i found the solution. there is an error in your ApplicationResources file.check every key and formation of key very well. have you mapped the key name correctly while mapping it to action message in your action ?? Thank You Mihir Parekh

Re: html:errors/ don't display anything

2012-04-16 Thread Javier Moreno
El 14 de abril de 2012 20:37, Oussama Jlassi oussa...@live.fr escribió: ApplicationResource.properties error.userName.required = User Name is required.error.password.required = Password is required. Try to enter each key on a separate line as follows: error.userName.required = User Name is

Re: html:errors/ don't display anything

2012-04-14 Thread Anjib
I didn't see any error in you code. I ran in my machine it works fine. You can test just a Login action and debug from there. On 4/14/2012 2:37 PM, Oussama Jlassi wrote: i use struts 1.3 in tomcat 6 every thing work fine but the html error do not display my error messages how to fix it

RE: html:errors/ don't display anything

2012-04-14 Thread Oussama Jlassi
Apr 2012 17:32:18 -0400 From: anji...@hotmail.com To: user@struts.apache.org Subject: Re: html:errors/ don't display anything I didn't see any error in you code. I ran in my machine it works fine. You can test just a Login action and debug from there. On 4/14/2012 2:37 PM, Oussama

Re: html:errors/ error validation error

2009-05-31 Thread Dave Newton
coolsayan wrote: html:errors property=error.name.required / From the docs: Name of the property for which error messages should be displayed. If not specified, all error messages (regardless of property) are displayed. You don't have a property named error.name.required--that sounds like

Re: html:errors/ error validation error

2009-05-30 Thread coolsayan
please specify the taglib syntax. newton.dave wrote: coolsayan wrote: what to change please be specific The taglib URIs. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

RE: html:errors/ error validation error

2009-05-30 Thread Martin Gainty
fourni. Date: Sat, 30 May 2009 01:47:39 -0700 From: coolsayan.2...@gmail.com To: user@struts.apache.org Subject: Re: html:errors/ error validation error please specify the taglib syntax. newton.dave wrote: coolsayan wrote: what to change please be specific The taglib URIs

Re: html:errors/ error validation error

2009-05-30 Thread Paul Benedict
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: html:errors/ error validation error

2009-05-30 Thread Dave Newton
Martin Gainty wrote: please view this comprehensive explanation of dojo mapped functions by Ted http://struts.apache.org/2.1.6/docs/developing-ajax-widgets.html Wrong thread. Dave - To unsubscribe, e-mail:

Re: html:errors/ error validation error

2009-05-30 Thread coolsayan
%...@page contentType=text/html% %...@page pageEncoding=UTF-8% %@ taglib uri=http://struts.apache.org/tags-html; prefix=bean % %@ taglib uri=http://struts.apache.org/tags-html; prefix=html % !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd;

RE: html:errors/ error validation error

2009-05-30 Thread Martin Gainty
aucune responsabilité pour le contenu fourni. Date: Sat, 30 May 2009 12:10:12 -0700 From: coolsayan.2...@gmail.com To: user@struts.apache.org Subject: Re: html:errors/ error validation error %...@page contentType=text/html% %...@page pageEncoding=UTF-8% %@ taglib uri=http

Re: html:errors/ error validation error

2009-05-29 Thread coolsayan
what to change please be specific coolsayan wrote: how to solve??why this html:errors / not working?? code in login.jsp %...@page contentType=text/html% %...@page pageEncoding=UTF-8% %@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean % %@ taglib

Re: html:errors/ error validation error

2009-05-29 Thread Dave Newton
coolsayan wrote: what to change please be specific The taglib URIs. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: html:errors/ error validation error

2009-05-28 Thread Paul Benedict
Update your taglib uris. Struts is no longer a jakarta project, unless you're using 1.0 or 1.1 On Thu, May 28, 2009 at 11:19 AM, coolsayan coolsayan.2...@gmail.com wrote: how to solve??why this  not working?? code in login.jsp %...@page contentType=text/html% %...@page

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 variable ERROR_KEY

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:errors 2009/4/23

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

Re: HTML:errors

2009-04-23 Thread Lukasz Lenart
2009/4/23 McDowell, Paula paula.mcdow...@sug.com: Is there a way to check the html:errors/ 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: logic:messagesPresent

RE: html:errors

2006-03-10 Thread Kalcevich, Daniel
Try using the logic:messagesPresent 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,

RE: html:errors

2006-03-10 Thread fea jabi
one. is there way to do this? From: Kalcevich, Daniel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: RE: html:errors Date: Fri, 10 Mar 2006 09:54:33 -0800 Try using the logic:messagesPresent tag if you

Re: html:errors question

2006-02-24 Thread Niall Pemberton
Niall - Original Message - From: red phoenix [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, February 24, 2006 2:30 AM Subject: Re: html:errors question Thanks Niall,html:errors property=logstime/ works well. But I find another question,first

RE: html:errors question

2006-02-23 Thread Chandra.Ravinithala
Which version of Struts are you using? From Struts 1.0: DEPRECATIONS - The entire custom tag library that is documented in struts-form.tld has been deprecated because this library has been renamed struts-html.tld instead; for ref:

Re: html:errors question

2006-02-23 Thread red phoenix
I modify my code,like follows,this time it don't show any error,but when the content of text abc is '123',it's length isn't equals 10,so it should raise error,but it don't show any error! Why? %@ taglib uri=/WEB-INF/struts-form.tld prefix=html % html head link rel=stylesheet href=style.css

Re: html:errors question

2006-02-23 Thread Dave Newton
red phoenix wrote: I modify my code,like follows,this time it don't show any error,but when the content of text abc is '123',it's length isn't equals 10,so it should raise error,but it don't show any error! Why? Most likely because in your code you check to see if its length is greater than

Re: html:errors question

2006-02-23 Thread red phoenix
I changed following code if ((abc != null) (abc.length() 10)) but when the content of text abc is '123',it's length isn't equals 10,so it should raise error,but it don't show any error! If I use html:errors/ instead of html:errors name=abc/,I can get right value. Why html:errors works

Re: html:errors question

2006-02-23 Thread Niall Pemberton
You should be using the property attribute (as you had in your first post) to do what you want... http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section5 ...not the name attribute - that does a different job...

Re: html:errors question

2006-02-23 Thread red phoenix
Thanks Niall,html:errors property=logstime/ works well. But I find another question,first look at my application.properties file: errors.footer=nbsp; errors.header=nbsp; errors.abc.required=This is a test In my jsp,use follows statement html:text property=abc /html:errors name=abc/ If errors is

Re: html:errors question

2006-02-23 Thread Niall Pemberton
] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, February 24, 2006 2:30 AM Subject: Re: html:errors question Thanks Niall,html:errors property=logstime/ works well. But I find another question,first look at my application.properties file: errors.footer=nbsp; errors.header=nbsp

Re: html:errors question

2006-02-23 Thread red phoenix
See: http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html Niall - Original Message - From: red phoenix [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, February 24, 2006 2:30 AM Subject: Re: html:errors question Thanks Niall

Re: html:errors not working when sending a file to client with struts.

2005-10-13 Thread Kishore Senji
file along with any errors in creating the csv files. I'm finding that my ActionErrors do not get returned to my .jsp file after calling the setHeader method and changing the header. Does anyone have any suggests on how to best to return errors to the user keeping in mind I already have a

Re: html:errors not working when sending a file to client with struts.

2005-10-13 Thread Kishore Senji
response.setContentType(application/zip); response.setHeader(Content-Disposition, attachment; filename= + zipFileName); response.setContentLength((int)tempCSVFile.length()); BufferedInputStream bufferedInput = new BufferedInputStream(new FileInputStream(tempCSVFile)); BufferedOutputStream

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

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

Re: html:errors does not display

2005-06-13 Thread Vincent
Hi, Does simple html:errors/ 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 html:errors/ does nothing. Thanks. Vincent. Song Wang wrote: Hello everyone, I cannot display html:errors property=blah/,

Re: html:errors and manual iterate

2004-12-12 Thread Sunny
You might need to pass one more argument namely message to the html:messages 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

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 and manual iterate

2004-12-11 Thread Erik Weber
, 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 looking for? Martin- - Original

Re: html:errors and manual iterate

2004-12-11 Thread StrutsUser
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 looking for? Martin- - Original Message

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 -- logic:iterate name=IndexedListForm property=orders id=orders indexId=ndx tr td html:text name=orders

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 Lynn Stevens
] Subject: Re: html:errors for indexed properties Date: Tue, 31 Aug 2004 08:01:15 -0400 You have to use the html:messages tag in a loop to generate the property values in a loop. Here's an example -- logic:iterate name=IndexedListForm property=orders id=orders

Re: html:errors for indexed properties

2004-08-31 Thread dhay
] | | cc: | | Subject: Re: html:errors for indexed properties

RE: html:errors /

2004-08-11 Thread Jim Barrows
-Original Message- From: Laran Evans [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 10:08 AM To: Struts User Mailing List Subject: html:errors / When I use html:errors / I get a ClassCastException. So I used html:messages id=x / which displayed nothing, but

RE: html:errors /

2004-08-11 Thread Tom Kane
-Original Message- From: Laran Evans [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 10:08 AM To: Struts User Mailing List Subject: html:errors / When I use html:errors / I get a ClassCastException. So I used html:messages id=x / which displayed nothing, but worked.

RE: html:errors /

2004-08-11 Thread Hubert Rabago
--- Tom Kane [EMAIL PROTECTED] wrote: My questions are: 1) Do I need to put errors in the session so that it survives the redirection long enough to be displayed? That's one way to do it. In support of this, Struts 1.2.x has what's called Session-scoped ActionMessages. See the release

RE: html:errors /

2004-08-11 Thread Jim Barrows
-Original Message- From: Tom Kane [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 11:38 AM To: [EMAIL PROTECTED] Subject: RE: html:errors / -Original Message- From: Laran Evans [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 10:08 AM

Re: html:errors /

2004-08-11 Thread Niall Pemberton
Since ActionError extends ActionMessage then I don't think this is true. When I converted a current app to Struts 1.2.x I'm sure it all still worked with ActionError - I have now changed all ActionError to ActionMessage so that I don't get all the deprecated warnings. Can you post your stack trace

Re: html:errors /

2004-08-11 Thread Laran Evans
So would it be my best bet to follow http://husted.com/struts/tips/017.html? Jim Barrows wrote: -Original Message- From: Tom Kane [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 11:38 AM To: [EMAIL PROTECTED] Subject: RE: html:errors / -Original Message- From: Laran

RE: html:errors /

2004-08-11 Thread Jim Barrows
-Original Message- From: Laran Evans [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 12:15 PM To: Struts Users Mailing List Subject: Re: html:errors / So would it be my best bet to follow http://husted.com/struts/tips/017.html? More then likely. If you look

Re: html:errors /

2004-08-11 Thread Kishore Senji
You might be getting a ClassCastException, because, you might be using Struts 1.1, and adding a ActionMessage to ActionErrors and using the html:errors/ tag. The tag assumes ActionError object, so, when it tries to cast your ActionMessage to ActionError, that's where you run in to