Re: validation error in FormBean, where to redirect next?

2004-02-25 Thread Niall Pemberton
Yes - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, February 25, 2004 10:51 AM Subject: validation error in FormBean, where to redirect next? > Hi all, >

validation error in FormBean, where to redirect next?

2004-02-25 Thread Marco Mistroni
Hi all, Assume that I have following struts-config.xml Now, I have ALWAYS assumed that if validation fails in the Receive

Validation Error messages.

2004-02-11 Thread Vijay . Kukreja
Hello All, I am using validation framework for the validations on the page. When i click on submit button, it shows me the validations(required messages) which are required, That's what it is suppose to do. But unfortunately after clicking on the ok button on the javascript popup window. The c

RE: Validation error messages

2004-02-02 Thread Glenn, Scott
> As long as the error message is set up as I said the validation framework > should put the field name at the start of the message... But not the > value in the field. > > so in your example below you might get an error message like; > > Email address is a required field > [[SMG]] Yeah, that

RE: Validation error messages

2004-02-02 Thread Hunt, Steve
iling List' Subject: RE: Validation error messages Thanks Steve, That's what I'm doing when I implement my own custom validation routines, but what about the standard Struts validation rules (which are implemented declaratively), so you don't explicitly create any ActionErr

RE: Validation error messages

2004-02-02 Thread Glenn, Scott
Sent: 02 February 2004 15:49 To: 'Struts Users Mailing List' Subject: RE: Validation error messages in the resource file where the error message is defined use {0} to parametize it. eg address.invalid=Address {0} is not a valid email address. When you construct the actionError add the

RE: Validation error messages

2004-02-02 Thread Hunt, Steve
--Original Message- From: Glenn, Scott [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 14:45 To: 'Struts Users Mailing List' Subject: Validation error messages I might be missing something obvious here, but is there an easy way to get the submitted value to become part of the your err

Validation error messages

2004-02-02 Thread Glenn, Scott
I might be missing something obvious here, but is there an easy way to get the submitted value to become part of the your error message? So, for example, if the user enters "abc" in an email field, I'd like a message saying :- Address "abc" is not a valid email address. I can get this

AW: Input fields are empty after validation error

2003-12-16 Thread Stefan Berger
validation error how are you writing your jsp? for example,for any text field you should write : "> are you doing like this? -Original Message- From: Stefan Berger [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 2:06 PM To: [EMAIL PROTECTED] Subject: Input fields are emp

RE: Input fields are empty after validation error

2003-12-16 Thread Aswathy R
how are you writing your jsp? are you doing like this? -Original Message- From: Stefan Berger [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 2:06 PM To: [EMAIL PROTECTED] Subject: Input fields are empty after validation error Hi. I have a very strange situation and no

RE: Input fields are empty after validation error

2003-12-16 Thread Jitesh Sinha
how are you writing your jsp? for example,for any text field you should write : "> are you doing like this? -Original Message- From: Stefan Berger [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 2:06 PM To: [EMAIL PROTECTED] Subject: Input fields are empty after va

Input fields are empty after validation error

2003-12-16 Thread Stefan Berger
Hi. I have a very strange situation and no idea what happend and how to fix it. At the login.jsp page i have 3 fields to fill in. When the user makes an error, i want to redisplay the same page with the errors. But i display the same page with the errors but the input fields are empty. I do not

Validation error: bean not found in any scope

2003-12-10 Thread Ciaran Hanley
Hey can anybody help me with this validation problem please: I have in my JSP page for printing error messages I have in my ActionForm class: public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors error

Re: Show validation error messages next to the corresponding input fields

2003-11-13 Thread Caroline Lauferon
rsday, November 13, 2003 3:22 AM Subject: Show validation error messages next to the corresponding input fields > > > > > Does anybody know how to do this? I know I can get ActionErrors which is an > array of messages.. but is there a way I can

RE: Show validation error messages next to the corresponding inpu t fields

2003-11-12 Thread David Liles
Try this... : -Original Message- From: Kevin Wang [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 8:39 PM To: Struts Users Mailing List Subject: RE: Show validation error messages next to the corresponding inpu t fields Thanks Vishu, But

RE: Show validation error messages next to the corresponding inpu t fields

2003-11-12 Thread Kevin Wang
<[EMAIL PROTECTED]cc: stam.com>Subject: RE: Show validation error m

RE: Show validation error messages next to the corresponding inpu t fields

2003-11-12 Thread Ghanakota, Vishu
e, so it can go with rest of your formatting. -Original Message- From: Kevin Wang [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 6:23 PM To: Struts Users Mailing List Subject: Show validation error messages next to the corresponding input fields Does anybody know how to d

Show validation error messages next to the corresponding input fields

2003-11-12 Thread Kevin Wang
Does anybody know how to do this? I know I can get ActionErrors which is an array of messages.. but is there a way I can put the messages in place with their input fields? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Struts-Validation Error

2003-11-11 Thread Ramadoss Chinnakuzhandai
[0-9a-zA-Z-\.]*$ Guide me where I'm doing wrong or how to resolve this. Tnx in advance, -Ram -Original Message- From: Ramadoss Chinnakuzhandai Sent: Tuesday, November 11, 2003 3:18 PM To: [EMAIL PROTECTED] Subject: Struts-Valida

Struts-Validation Error

2003-11-11 Thread Ramadoss Chinnakuzhandai
Hi, I need to accept "."(dot) as part of input value. While trying to test it does not accept "." in the input entry. Any idea how to make it accept "." character in the validation pattern. following is the validation pattern for that field in validation.xml form name="AvailabilityForm

validation error

2003-07-22 Thread bacco77
I have the following problem I've implemented a Dynamic form with validation (required,mask etc..) The standard validation works correctly. Then i wrote my own validator. The validator works but when he send me to the form after the error occurs, an exception occurs in my page: "Cannot find bea

Validation Error

2003-07-22 Thread bacco77
I have the following problem I've implemented a Dynamic form with validation (required,mask etc..) The standard validation works correctly. Then i wrote my own validator. The validator works but when he send me to the form after the error occurs, an exception occurs in my page: "Cannot find bea

Re: Struts validation error not returning to action's input?

2003-02-25 Thread Dave Newton
On 25 Feb 2003 Dave "The Dope" Newton wrote: > [ Wh, it doesn't go back to the action's input param page ] > [ when the DynaValidatorActionForm has a validation issue ] Well, that would be because I had the following in my struts-config.xml: I guess that'd do it. Man, I tell ya', t

Struts validation error not returning to action's input?

2003-02-25 Thread Dave Newton
Hola, I must be a dope (I hope, at least, otherwise I'm screwed! :) The validation is, in fact, working (log statements in action class), but on a validation error I don't see the input page. When there are no validation issues the Action properly forwards to the "success"

forward to page fails after validation error

2003-02-18 Thread Michal Maczka
eing blank page. ( ) My action definition is: And when there is no validation error my request is correctly dispatched to the same page which is not accesible for validation errror forward. (forward named "success"). What am I doing wrong? regards Michal

constom the "validation error" mesg

2003-02-07 Thread david chan
Hi, I am using Struts 1.1b3 and Tomcat 4.1.12 and wondering how can I constomize the mesg "Validation Error You must correct the following error(s) before proceeding:" When I use tag in my jsp. This mesg comes up whenever I use the then followed by my own mesg. 1) How can I r

Date validation error

2003-01-23 Thread Carlos Olmos
Hello all: I'm having problems using the Validator to check a date field. In the form i have a simple textbox and I'm using the following validation: datePattern dd/MM/ to insert the javascript code I use: http://localh

Re: xml validation error on Tiles plugin entry

2003-01-15 Thread Cedric Dumoulin
Hi, I don't now why there is a validation problem due to the "-". But there is a workaround: use the following names instead: "DefinitionConfigFiles" and "ParserValidate". This should work. Hope this help, Cedric Tim T. Young wrote: I am using WSAD 5 and am having a problem enabling

xml validation error on Tiles plugin entry

2003-01-14 Thread Tim T. Young
I am using WSAD 5 and am having a problem enabling the Tiles plugin in the struts-config.xml file. I put this entry into the file: and I get validation errors on the first 2 set-property lines The error messages are: "Invalid data for attribute "property" in part defi

RE: SOLVED common validation error page

2002-12-11 Thread David Mulligan
IFIED CODE -Original Message- From: David Mulligan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 9:57 AM To: Struts-User (E-mail) Subject: common validation error page Got a quick validation question. All validation errors that occur from action forms are to be displayed on a co

common validation error page

2002-12-11 Thread David Mulligan
Got a quick validation question. All validation errors that occur from action forms are to be displayed on a common error page. Not the input page of the action! How do I setup the validator to forward to this common error page when there are problems? e.g. Something like the below will work

Re: Reset doesn't work when the page contains a validation error ?

2002-12-05 Thread David Graham
ers Mailing List" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: Reset doesn't work when the page contains a validation error ? Date: Thu, 5 Dec 2002 11:25:52 +0100 Hi, I am testing the struts-example application. Can someone

Re: Reset doesn't work when the page contains a validation error ?

2002-12-05 Thread Gemes Tibor
2002. december 5. 11:25 dátummal Frank Renaers ezt írtad: > Hi, > > I am testing the struts-example application. > Can someone explain me why the reset-button doesn't work when the page > contains a validation-error ? > > scenario > > 1) Try to lo

Reset doesn't work when the page contains a validation error ?

2002-12-05 Thread Frank Renaers
Hi, I am testing the struts-example application. Can someone explain me why the reset-button doesn't work when the page contains a validation-error ? scenario 1) Try to login with a wrong username and/or password. 2) The login page is returned with the message : Validation

Problem populating a select and maintain it after a validation Error

2002-07-24 Thread JuanPedro . DeAndres
I prepopulate a DynaValidatorForm whith an String[] to populate the options of a select. How can I maintain the values of the options after a validation Error. Thanks Juan Pedro. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For addi

Validation Error Messages and Formatting was [Memory consumption of tags]

2002-02-28 Thread David Winterfeldt
--- "Yu, Yanhui" <[EMAIL PROTECTED]> wrote: > This is posted a couple of times, hope someone can > help me out: > > > > What I need to do is this: I would like to > display an error message to > the > > user in a little more customized way, such as, if > some special characters > > are not all

Re: changing Built in Validation Error Message

2002-02-14 Thread Keith
trol theheader/footer. --- "Mattos, John" <[EMAIL PROTECTED]> wrote: > I seem to have got it working, except that the error message reads... > > VALIDATION ERROR >you must check the following. > > I see that it's getting it from errors.footer and errors

On validation error, images go away ?

2002-02-13 Thread Mark Conlin
server log states. 2002-02-13 22:44:35 action: Validation error(s), redirecting to: /ui/Login.jsp Why is it when I get here my image is broken ? Document Structure: /images /ui/ Image Tag in HTML: Thanks Mark _ Do You Yahoo!? Get

changing Built in Validation Error Message

2002-02-13 Thread Mattos, John
I seem to have got it working, except that the error message reads... VALIDATION ERROR you must check the following. I see that it's getting it from errors.footer and errors.header in the resource file. I'd like to override that behavior temporarily, and just display the message

RE: How to customize the way Validation Error is display

2001-10-05 Thread McClung, Brian
[mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2001 12:47 PM To: '[EMAIL PROTECTED]' Subject: RE: How to customize the way Validation Error is display Well.. I think what I was looking for and what might help Brian is: This queues two error messages, one for the "username&quo

RE: How to customize the way Validation Error is display

2001-10-05 Thread Minh Tran
place specific error messages at different locations > -Original Message- > From: Christophe Marchand [SMTP:[EMAIL PROTECTED]] > Sent: Friday, October 05, 2001 10:03 AM > To: [EMAIL PROTECTED] > Subject: Re: How to customize the way Valid

Re: How to customize the way Validation Error is display

2001-10-05 Thread Christophe Marchand
01 5:52 PM Subject: RE: How to customize the way Validation Error is display > Where do I get hold of the messages tag? I've looked in my struts-html.tld > file but it isn't there? Which version is it located in? > > Thanks > Brian McClung > > -Original Message---

RE: How to customize the way Validation Error is display

2001-10-05 Thread McClung, Brian
PROTECTED] Subject: Re: How to customize the way Validation Error is display I'm not sure if this is what you were asking about, but you can use html:messages instead of html:errors to give a little more control over displaying errors. The html:messages tag iterates over the errors so you ca

Re: How to customize the way Validation Error is display

2001-10-04 Thread David Winterfeldt
7;ve put > together at www.leanonme.org. Hope this helps. > Thanks, > Adam S. Grohs > [EMAIL PROTECTED] > > - Original Message - > From: "Minh Tran" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, October 03, 2001 3:

Re: How to customize the way Validation Error is display

2001-10-03 Thread Adam Grohs
y, October 03, 2001 3:40 PM Subject: How to customize the way Validation Error is display > Does anyone know how to control and customize the way the validation error > is display when when fills out incorrect form information? > > Thanks, > Minh >

How to customize the way Validation Error is display

2001-10-03 Thread Minh Tran
Does anyone know how to control and customize the way the validation error is display when when fills out incorrect form information? Thanks, Minh

RE: dropdown values gone after validation error

2001-03-29 Thread Young, Wayne
developers? Wayne [EMAIL PROTECTED] -Original Message- From: Incze Lajos [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 1:43 PM To: [EMAIL PROTECTED] Subject: Re: dropdown values gone after validation error On Thu, Mar 29, 2001 at 10:49:24AM -0600, Young, Wayne wrote: >

Re: dropdown values gone after validation error

2001-03-29 Thread Incze Lajos
ion that > displays this page. The page displays correctly initially. But if I have a > validation error & the page reloads, the networkTypes variable is empty & I > end up with an empty dropdown. > validation error? Is there any way to re-invoke the "getNetworkTypes"

dropdown values gone after validation error

2001-03-29 Thread Young, Wayne
I have the following struts/JSP fragment that creates a dropdown with values from the networkTypes attribute. The networkTypes attribute is created in the "getNetworkTypes" action that displays this page. The page displays correctly initially. But if I have a validation error