html:errors Tag Deprecated?

2003-12-08 Thread John Topley
I read somewhere that the html:errors tag is going to be deprecated and that html:messages should be used instead. What's the correct syntax for using it to display errors? Any code examples appreciated. Thanks, John

Re: html:errors Tag Deprecated?

2003-12-08 Thread Manish Singla
It is explained well here http://jakarta.apache.org/struts/userGuide/struts-html.html#messages HTH Manish Singla John Topley wrote: I read somewhere that the html:errors tag is going to be deprecated and that html:messages should be used instead. What's the correct syntax for using it to display

html:errors tag..

2003-09-15 Thread Ritvik
Hi There, I am using html:errors\ tag at top of my page to display any validation errors when a form is submitted, but for some reason, I couldn't see any errors message even I have left some mandatory fields blank. I am not getting any errors in server log as well. I have added the validation

Re: html:errors tag..

2003-09-15 Thread koen boutsen
Message - DATE: Mon, 15 Sep 2003 10:22:27 From: Ritvik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Hi There, I am using html:errors\ tag at top of my page to display any validation errors when a form is submitted, but for some reason, I couldn't see any errors message even I have left some

Re: html:errors tag..

2003-09-15 Thread Louise Pryor
On Monday, September 15, 2003 at 3:22:27 PM, Ritvik wrote: R Hi There, R I am using html:errors\ tag at top of my page to display any R validation errors when a form is submitted, but for some reason, I R couldn't see any errors message even I have left some mandatory fields R blank. I am

Re: html:errors/ tag

2003-07-31 Thread Andrew Geery
is in request scope. If such a bean is not found, nothing will be rendered. You could also modify your message resource properties to display your errors in a table and let Struts do all of the work for you. From the description of the html:errors tag (http://jakarta.apache.org/struts/userGuide

html:errors / tag causing 500 error under OC4J

2003-06-20 Thread frankgriffithiii
When I use the html:errors / tag under OC4J, I get a 500 error. All other html tags work fine. Has anyone had this type of problem before? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: html:errors / tag causing 500 error under OC4J

2003-06-20 Thread Frank Griffith
Nothing in any of the logs. I'm using the standard struts-html.tld. Karr, David [EMAIL PROTECTED] wrote:If you're getting a 500 error, that means your server had an error. Check the server log to see what broke. You aren't by any chance mapping html to the html-el tag library, are you?

Re: html:errors / tag in javascript alert

2003-06-13 Thread Martin Fekete
you need to hack org.apache.struts.taglib.html.ErrorsTag Feky - Original Message - From: Anurag Garg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, June 13, 2003 7:27 AM Subject: html:errors / tag in javascript alert Hi, I want to display the validation

html:errors / tag in javascript alert

2003-06-12 Thread Anurag Garg
Hi, I want to display the validation error message from ActionForm in javascript alert box, ragther than displaying on my jsp page. I am doing it in a javascript function at page load time like this, alert(html:errors /) But i am getting the java script error saying Object expected. Any

html:errors tag lost?

2003-06-10 Thread Gregory F. March
While playing with Kevin's action input= suggestion, I found I needed to mess with the redirect= values. If I set redirect=true, my relative paths work fine. However, I am using the html:errors tag and it seems that it has gotten lost, i.e. I do not get my validation errors displayed. I'm

RE: html:errors tag lost?

2003-06-10 Thread Josh Rayls
intact. -Josh -Original Message- From: Gregory F. March [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:08 PM To: Struts Users Mailing List Subject: html:errors tag lost? While playing with Kevin's action input= suggestion, I found I needed to mess with the redirect= values. If I

How to pass paramaeters to display dynamic text using html:errors tag?

2002-07-30 Thread Ravi Kora
Hi, I am a newbie to struts. Right now, I am able to display server side errors using the html:errors tag. But, I want to extend the functionality of this to display some dynamic text. I want to pass a parameter to the tag in Application.properties file which adds the parameter to the text

html:errors tag behaves strangely.

2002-07-29 Thread dave sag
hi people using struts1.1beta i want to display my errors such that i get any major errors at the top of the page and then any form specific validation errors down with my form. doing this simply was in fact my main motivation for migrating to struts. so i have set up my page and it all

AW: html:errors tag funny null strings

2002-06-21 Thread Kölbl Norbert
correct the following error(s) before proceeding:ul errors.footer=/ulhr -Original Message- From: Jan Fetyko [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 1:51 PM To: Struts Users Mailing List Subject: html:errors tag funny null strings Hi, I'm using

Re: html:errors tag funny null strings -SOLVED

2002-06-21 Thread Jan Fetyko
Subject: Re: html:errors tag funny null strings

html:errors tag funny null strings

2002-06-20 Thread Jan Fetyko
Hi, I'm using the html:errors property=.../ tag to display errors after the form validation fails. The problem is that when the error is displayed it contains a null string at the begining and at the end on the actual error message. Ex.: null Password is required null. What's going on ? Is

RE: html:errors tag funny null strings

2002-06-20 Thread Celestino Pena
20, 2002 1:51 PM To: Struts Users Mailing List Subject: html:errors tag funny null strings Hi, I'm using the html:errors property=.../ tag to display errors after the form validation fails. The problem is that when the error is displayed it contains a null string at the begining and at the end

Re: html:errors tag funny null strings

2002-06-20 Thread Jan Fetyko
errors.footer=/ulhr -Original Message- From: Jan Fetyko [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 1:51 PM To: Struts Users Mailing List Subject: html:errors tag funny null strings Hi, I'm using the html:errors property=.../ tag to display errors after

Re: html:errors tag funny null strings

2002-06-20 Thread Tim T. Young
List Subject: Re: html:errors tag funny null strings

How to use html:errors / tag

2002-04-14 Thread bluetooth
Hi all...I'm trying to use a html:errrors/ tag to display errors in my jsp page. I have defined an action error variable and saved the error in my Action class as appear in the following: if (!errors.empty()) { saveErrors(req, errors); String error=mapping.findForward

RT expression in html:errors tag

2002-03-08 Thread Jonathan Fuerth
(errors.badFoo)); The problem is, I can get all the error messages back with a simple html:errors/ tag, but the above construct doesn't show the error messages at all. I have double-checked that I'm using the same error names in the form validtor and on the jsp. -- Jonathan Fuerth - SQL Power Group

Re: RT expression in html:errors tag

2002-03-08 Thread Jonathan Fuerth
On Fri, Mar 08, 2002 at 06:05:42PM -0500, Jonathan Fuerth wrote: html:errors property=foo%= i %/ I figured it out. I changed the above line to: html:errors property='%= foo+i %'/ And now it works just as I wanted it to! Does anyone know why this is? Something to do with the way RTExpr

RE: Problem with html:errors tag

2001-11-30 Thread Jon.Ridgway
Hi, Are you getting any errors/stack traces from your web container? Jon. -Original Message- From: BinhMinh Nguyen [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 00:36 To: Struts Users Mailing List Subject: Problem with html:errors tag For some reasons, this html:errors

Re: Problem with html:errors tag - still not working

2001-11-29 Thread BinhMinh Nguyen
Ted, thanks for reply, I did what you suggested, but it still does not work, I also double check the tld import statement. Do you have any idea why? thanks Binh --- Ted Husted [EMAIL PROTECTED] wrote: Double check that the taglib is imported at the top of the JSP. You can also set

RE: Problem with html:errors tag - still not working

2001-11-29 Thread Miroslav Stojanovic
-Original Message- From: BinhMinh Nguyen [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 5:42 PM To: Struts Users Mailing List Subject: Re: Problem with html:errors tag - still not working Ted, thanks for reply, I did what you suggested, but it still does

problem with html:errors tag

2001-10-23 Thread Scriven, Marcos
When I get errors with my form validation, I cannot seem to place them where I want them. I have tried html:errors / and html:errors property=firstName/ 1) In both cases (and even when there is no errors tag at all), I get all of the errors at the top of my page... any ideas why? 2) Once I get

Re: problem with html:errors tag

2001-10-23 Thread Rob Breeds
with html:errors tag 23/10/2001

RE: problem with html:errors tag

2001-10-23 Thread Scriven, Marcos
-Original Message- From: Rob Breeds [mailto:[EMAIL PROTECTED]] Sent: 23 October 2001 12:07 To: [EMAIL PROTECTED] Subject: Re: problem with html:errors tag 1. You need to put the html:errors property=whatever/ where you want them to appear. If you have several input fields, put

RE: problem with html:errors tag

2001-10-23 Thread Rob Breeds
you still get error messages even without the html:errors/ tag? Sounds like a restart web app required? in the ActionForm validation() method, how do you populate Errors? Rob

RE: problem with html:errors tag

2001-10-23 Thread Scriven, Marcos
styleClass=form1/ /td /tr /table /html:form /body /html:html Any help gratefully received! Marcos -Original Message- From: Rob Breeds [mailto:[EMAIL PROTECTED]] Sent: 23 October 2001 12:46 To: [EMAIL PROTECTED] Subject: RE: problem with html:errors tag you still get error

RE: problem with html:errors tag

2001-10-23 Thread Rob Breeds
] Marcos.Scrive cc: [EMAIL PROTECTED]Subject: RE: problem with html:errors tag

html:errors tag?

2001-07-18 Thread Matthias Brahm
Hi, is it possible to do something like this with struts: I have a form with labels for the input fields. These labels have the font color blue. The Form is validated by the FormBean. When one or more fields of the form are invalid and the control is forwarded back to the input form, the

RE: html:errors tag?

2001-07-18 Thread Gogineni, Pratima
- the cell is colored red. Pratima -Original Message- From: Matthias Brahm [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 9:25 AM To: '[EMAIL PROTECTED]' Subject: html:errors tag? Hi, is it possible to do something like this with struts: I have a form with labels for the input

Re: html:errors tag?

2001-07-18 Thread David Winterfeldt
You can check if there is an errors object in scope using the logic tags to change the color of a label. logic:present name=%= org.apache.struts.action.Action.ERROR_KEY % scope=request red label1 /logic:present logic:notPresent name=%=

RE: html:errors tag?

2001-07-18 Thread David Winterfeldt
PROTECTED]' Subject: html:errors tag? Hi, is it possible to do something like this with struts: I have a form with labels for the input fields. These labels have the font color blue. The Form is validated by the FormBean. When one or more fields of the form are invalid and the control

html:errors tag

2001-04-28 Thread jsmith
I am trying to figure out how the html:errors are ordered when they are redisplayed and if there is a way to control it. I have a page that can have several errors and I would like to control the order they are displayed but I can't figure out how to do this. Thanks, --

Getting the html:errors tag to display on multiple lines

2001-03-13 Thread Justin Forys
Hello, I guess this is kind of a trivial question, but I'm having a problem getting the "html:errors" tag to display on multiple lines for multiple errors. Am I overlooking something obvious, or do I have to use the iterator tag and parse the errors myself if I want them on sepa

Re: Getting the html:errors tag to display on multiple lines

2001-03-13 Thread Michael McCallister
Just specify the property attribute of the html:errors tag. So, for example, in your validate function you might have something like: errors.add("roles", new ActionError("error.reqaccess.role.invalid")); to indicate an error in the "roles" field.

RE: html:errors tag

2001-01-30 Thread Howard Moore
The property attribute was only implemented recently. You need the 20010128 build or later for it to work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 29 January 2001 18:59 To: [EMAIL PROTECTED] Subject: html:errors tag Memo from Nic Hobbs

RE: html:errors tag

2001-01-30 Thread nic.hobbs
ot; [EMAIL PROTECTED] cc: Subject: RE: html:errors tag The property attribute was only implemented recently. You need the 20010128 build or later for it to work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 29 January 2001 18:59 To: [EMAIL PROTECTED