html:errors tag..

2003-09-15 Thread Ritvik
Hi There, I am using 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 logic in valid

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 labels

html:errors tag

2001-01-29 Thread nic.hobbs
Memo from Nic Hobbs of PricewaterhouseCoopers Start of message text I am using the nightly build from about Wednesday last week so let me know if I should just get the latest one (which I intend to do tomorrow anyway) but... Using the seems to be ex

Re: html:errors tag..

2003-09-15 Thread koen boutsen
This is some code that I used in an actionForm. public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if ((userId == null) || (userId.length() < 1)) { errors.add("noUser", new ActionError ("adresses.insertUser.noUser")); } retur

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 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 not getting a

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

RE: html:errors tag?

2001-07-18 Thread Gogineni, Pratima
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

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. red label1 blue lable2 If you want to display the error message next to a field, you can do this. This will display all error messages that have

RE: html:errors tag?

2001-07-18 Thread David Winterfeldt
what i do is check if the error object exists and if > the row and column > indices match one of the fields being displayed - > the cell is colored red. > > Pratima > > > > -Original Message- > From: Matthias Brahm [mailto:[EMAIL PROTECTED]] > Sent: Wednesd

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 > &g

RE: html:errors tag

2001-01-30 Thread nic.hobbs
[EMAIL PROTECTED]'" <[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

RE: html:errors tag lost?

2003-06-10 Thread Josh Rayls
butes 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= val

html:errors tag behaves strangely.

2002-07-28 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 wor

RT expression in html:errors tag

2002-03-08 Thread Jonathan Fuerth
Hi. I'm trying to do this on a JSP page: And my form's validate method adds to the ActionErrors using: errors.add("foo"+i, new ActionError("errors.badFoo")); The problem is, I can get all the error messages back with a simple tag, but the above construct doesn't show the error messa

html:errors tag funny null strings

2002-06-20 Thread Jan Fetyko
Hi, I'm using the 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 this fix-able ? Jf -

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: > I figured it out. I changed the above line to: And now it works just as I wanted it to! Does anyone know why this is? Something to do with the way RTExpr attributes are supposed to work in JSP? Or maybe it's a quirk with

RE: html:errors tag funny null strings

2002-06-20 Thread Celestino Pena
To: Struts Users Mailing List Subject: html:errors tag funny null strings Hi, I'm using the 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 mes

Re: html:errors tag funny null strings

2002-06-20 Thread Jan Fetyko
before proceeding: > errors.footer= > > > -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

2002-06-20 Thread Tim T. Young
List" Subject: Re: html

AW: html:errors tag funny null strings

2002-06-21 Thread Kölbl Norbert
are missing entries for > "errors" as in... > > > > errors.header=Validation > ErrorYou must > > correct the following error(s) before proceeding: > > errors.footer= > > > > > > -Original Message- > > From: Jan Fetyko [mailto:[EMA

Re: html:errors tag funny null strings -SOLVED

2002-06-21 Thread Jan Fetyko
> > List" >

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