Re: Left justified field error messages in 2.5.10.1

2017-04-04 Thread Lukasz Lenart
Hi, Cool :) Also please be aware that Struts 2.5.x is targeting html5, please use a proper doctype. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2017-04-05 4:41 GMT+02:00 Patrick Kelly : > Please ignore. After clearing Firefox browser cache the issue disappeared. > > Patrick Ke

Re: Left justified field error messages in 2.5.10.1

2017-04-04 Thread Patrick Kelly
Please ignore. After clearing Firefox browser cache the issue disappeared. Patrick Kelly PatrickKelly PrincipalConsultant *River**Dynamics* E: patrick.ke...@riverdynamics.com W: www.riverdynamics.com On 5/04/2017 12:15 PM

Left justified field error messages in 2.5.10.1

2017-04-04 Thread Patrick Kelly
I am testing an upgrade from 2.3.32 to 2.5.10.1. In 2.3.32 in Firefox/Chrome/MS-IE/MS-Edge under the xhtml theme when you get an field level error message it displays in center of the page just above the field with the error. In 2.3.32 in Firefox under the xhtml theme when you get an field le

Re: json validation with utf-8 error messages

2013-07-16 Thread Lukasz Lenart
2013/7/15 Alireza Fattahi : > Hi, > > I used to save the messages.resources with UTF-8 encoding > and the showed correctly but the json validation > messages not! > > I saved mesages.resource with ansi encoding and chaned all strings from > native to ascii ( by http://native2ascii.net/ ) > the j

Re: json validation with utf-8 error messages

2013-07-15 Thread Alireza Fattahi
ds, ~~Alireza Fattahi From: Lukasz Lenart To: Struts Users Mailing List Sent: Monday, 15 July 2013, 13:30 Subject: Re: json validation with utf-8 error messages 2013/7/15 Alireza Fattahi : > Any comments?! Any example?!?!?!?!?!?! Regards -- Łukasz + 48 606 323 122

Re: json validation with utf-8 error messages

2013-07-15 Thread Lukasz Lenart
2013/7/15 Alireza Fattahi : > Any comments?! Any example?!?!?!?!?!?! Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: us

json validation with utf-8 error messages

2013-07-15 Thread Alireza Fattahi
Hi, The characters of error messages with json validation and a utf-8 error message is not displayed correctly. I added              SetEncoding         org.apache.catalina.filters.SetCharacterEncodingFilter                     encoding             UTF-8             and

Re: getText in error messages: resource bundle or bean value?

2012-10-19 Thread J. Garcia
nal Message- > From: J. Garcia [mailto:jogaco...@gmail.com] > Sent: Friday, October 19, 2012 8:10 AM > To: Struts Users Mailing List > Subject: getText in error messages: resource bundle or bean value? &

RE: getText in error messages: resource bundle or bean value?

2012-10-19 Thread Hoying, Ken
234" and cannot find one so it is just return "1234". It might work if you try ${getText('user.password')}. Otherwise, you may need to rename it. -Original Message- From: J. Garcia [mailto:jogaco...@gmail.com] Sent: Friday, October 19, 2012 8:10 AM To: Struts User

Re: getText in error messages: resource bundle or bean value?

2012-10-19 Thread J. Garcia
Mi mistake. Sorry. The resource error message I was using is in fact: errors.confirmPassSame=The ${user.confirmPassword} field has to have the same value as the ${user.password} field. whereas it should be: errors.confirmPassSame=The ${getText("user.confirmPassword")} field has to have the same

getText in error messages: resource bundle or bean value?

2012-10-19 Thread J. Garcia
Hi, I'm having a problem with getText(). I have the following xml validator: (user.confirmPassword.equals(user.password)) And the error message is defined in a bundle like this: error

Re: duplicate error messages

2012-05-10 Thread Łukasz Lenart
Check Login-validation.xml which defines the validation Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail

duplicate error messages

2012-05-10 Thread Miten
t:8080/tutorial/example/Login.action Regards, Miten. -- View this message in context: http://struts.1045723.n5.nabble.com/duplicate-error-messages-tp5700112.html Sent from the Struts - User mailing list archive at Nabble.com. --

How to implement alternate error messages in the Struts validation framework. (Struts 2.0.1.4)

2012-02-28 Thread joann luo
not valid NEW. My validation.xml file looks like this: maxbytelength 32 form Info mask ^[0-9\-() ]*$ When I ran my test I still see the standard error messages such as the ones listed below displayed on the UI. It appears that the validation framework still re

Re: How to i18n post validation error messages?

2011-04-13 Thread Dave Newton
On Wed, Apr 13, 2011 at 9:52 AM, alex zaim wrote: > When you said getText() i thought you meant value="getText('some.key')" /> > > It works all good now when i use it from validate(). > > Thanks a lot! No problem! Dave - To uns

Re: How to i18n post validation error messages?

2011-04-13 Thread alex zaim
When you said getText() i thought you meant It works all good now when i use it from validate(). Thanks a lot!

Re: How to i18n post validation error messages?

2011-04-13 Thread Dave Newton
On Wed, Apr 13, 2011 at 9:01 AM, alex zaim wrote: >>No. Use existing getText(...) methods. > > That will be parsed right before validation. I want to show the fielderror > results... > in another language. I don't understand what you're saying. If you're doing validation in validate(). getText(

Re: How to i18n post validation error messages?

2011-04-13 Thread alex zaim
>No. Use existing getText(...) methods. That will be parsed right before validation. I want to show the fielderror results... in another language.

Re: How to i18n post validation error messages?

2011-04-13 Thread Dave Newton
On Wed, Apr 13, 2011 at 8:38 AM, alex zaim wrote: > Please suggest the best method, if possible. (perhaps from right within > validate() method? > should i make my own resource parser in this case?) No. Use existing getText(...) methods. Dave ---

How to i18n post validation error messages?

2011-04-13 Thread alex zaim
Please suggest the best method, if possible. (perhaps from right within validate() method? should i make my own resource parser in this case?)

Re: Struts 2 - Parameterized error messages

2011-01-26 Thread kamlesh sharma
e {1} for Sequence {2}. >> >> addActionError(getText("field.amount", new String[] { "Amount", "$0.00", >> "987654"})); >> >> Jose Luis >> Sent via BlackBerry from T-Mobile >> >> -Original Message----- >> Fr

Re: Struts 2 - Parameterized error messages

2011-01-24 Thread Chris Pratt
"987654"})); > > Jose Luis > Sent via BlackBerry from T-Mobile > > -Original Message- > From: kamlesh sharma > Date: Mon, 24 Jan 2011 20:33:20 > To: > Reply-To: "Struts Users Mailing List" > Subject: Re: Struts 2 - Parameterized error messages

Re: Struts 2 - Parameterized error messages

2011-01-24 Thread jlmagc
-Original Message- From: kamlesh sharma Date: Mon, 24 Jan 2011 20:33:20 To: Reply-To: "Struts Users Mailing List" Subject: Re: Struts 2 - Parameterized error messages Hi, i am facing same problem with other message. i.e field.amount= {0} can not be ${1} for Sequence {2

Re: Struts 2 - Parameterized error messages

2011-01-24 Thread kamlesh sharma
12:27 PM, cm132005 wrote: > >> >> Hi, >> >> We are migrating our Struts 1.x application to Struts 2.1.6 and currently >> we >> are using Struts Validation framework where the parameterized error >> messages >> are picked up from the resource bundle. &

Re: Issue regarding error messages

2010-11-24 Thread Maurizio Cucchiara
Sorry, I said something stupid. Forget it. Anyway in that page you can see how define css position of error messages .errorLabel {font-style:italic; color:red; } .errorMessage {font-weight:bold; text-align: center; color:red; } .checkboxLabel {} .checkboxErrorLabel {color:red; } .required

Re: Issue regarding error messages

2010-11-24 Thread Maurizio Cucchiara
You can define *labelposition*="top" on css_xhtml theme. take a look at http://struts.apache.org/2.1.8/docs/cssxhtml-theme.html 2010/11/24 Prabhubalaji Ragavan > Hi > I am using , where the messages will pulled from the > resource bundle. > I want my messages to be on the bottom of the fields ra

Issue regarding error messages

2010-11-24 Thread Prabhubalaji Ragavan
Hi I am using , where the messages will pulled from the resource bundle. I want my messages to be on the bottom of the fields rather than top of the field. Thanks Prabhu

Type-specific application-scoped error messages for standard conversion

2010-07-07 Thread Antonio S.
Hello all. Can I declare application-scoped error messages for standard conversion that are specific to the type being converted? Something like: "For all int conversion erros in the whole application use message 'foo'; for all date conversion errors in the whole application u

Two error messages for validation on same attribute

2010-01-31 Thread Mittal, Nitin (US - Mumbai)
Hello, Is there a way to disable conversion failure error messages in struts 2 ? My Problem :- If the data is entered in the wrong format for a numeric field, the user sees two error messages on the page. For example:- '7032A' is entered for 'ZIP Code', following error m

Two error messages for validation on same attribute

2010-01-31 Thread Mittal, Nitin (US - Mumbai)
Hello, Is there a way to disable conversion failure error messages in struts 2 ? My Problem :- If the data is entered in the wrong format for a numeric field, the user sees two error messages on the page. For example:- '7032A' is entered for 'ZIP Code', following error m

Re: Struts 2 - Parameterized error messages

2009-05-05 Thread cm132005
tween apostrophe's to be a literal > value, > you have to use double apostrophe's to represent a single apostrophe in > the > output. > (*Chris*) > > On Mon, May 4, 2009 at 12:27 PM, cm132005 wrote: > >> >> Hi, >> >> We are migrating our S

Re: Struts 2 - Parameterized error messages

2009-05-04 Thread Chris Pratt
gt; > We are migrating our Struts 1.x application to Struts 2.1.6 and currently > we > are using Struts Validation framework where the parameterized error > messages > are picked up from the resource bundle. > > field.required=Field '{0}' is required. > field.numeric=Fiel

Struts 2 - Parameterized error messages

2009-05-04 Thread cm132005
Hi, We are migrating our Struts 1.x application to Struts 2.1.6 and currently we are using Struts Validation framework where the parameterized error messages are picked up from the resource bundle. field.required=Field '{0}' is required. field.numeric=Field '{0}' must be

displaying error messages in proper order as in form field set

2009-01-26 Thread Naaag
in my project. Thanking you, Nageswara Rao Mothukuri -- View this message in context: http://www.nabble.com/displaying-error-messages-in-proper-order-as-in-form-field-set-tp21680383p21680383.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Display validation error messages when using simple theme?

2008-10-13 Thread Wes Wannemacher
On Mon, 2008-10-13 at 16:55 -0700, col_chappy wrote: > Is there any way to display validation error messages when using the struts2 > simple theme? -Wes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Display validation error messages when using simple theme?

2008-10-13 Thread col_chappy
Is there any way to display validation error messages when using the struts2 simple theme? -- View this message in context: http://www.nabble.com/Display-validation-error-messages-when-using-simple-theme--tp19964986p19964986.html Sent from the Struts - User mailing list archive at Nabble.com

RE: Different error messages for client and server side validation

2008-09-30 Thread Kawczynski, David
What I spoke of doesn't really address your immediate issue, which was how could you use different error messages for client-sided and server-sided validation. It's more of a workaround as it eliminates the need to have your error messages contain links to the fields. Have you ever

Re: Different error messages for client and server side validation

2008-09-30 Thread Dimitris Mouchritsas
Subject: Re: Different error messages for client and server side validation Dimitris Mouchritsas wrote: Hi all, we are using elements in our error messages to allow the user to go to the form field when the error message shows up. Obviously this messes up the client side javascript popup message

Re: Different error messages for client and server side validation

2008-09-30 Thread Manos Batsis
Geia sou wre Dimitri. Dimitris Mouchritsas wrote: we are using elements in our error messages to allow the user to go to the form field when the error message shows up. Obviously this messes up the client side javascript popup message which shows like: Username is missing. Is there a way to

RE: Different error messages for client and server side validation

2008-09-30 Thread Kawczynski, David
messages for client and server side validation Dimitris Mouchritsas wrote: > Hi all, > we are using elements in our error messages to allow the user to > go to the form field when the error message shows up. > Obviously this messes up the client side javascript popup message > w

Re: Different error messages for client and server side validation

2008-09-30 Thread Dimitris Mouchritsas
Dimitris Mouchritsas wrote: Hi all, we are using elements in our error messages to allow the user to go to the form field when the error message shows up. Obviously this messes up the client side javascript popup message which shows like: Username is missing. Is there a way to use a different

Different error messages for client and server side validation

2008-09-30 Thread Dimitris Mouchritsas
Hi all, we are using elements in our error messages to allow the user to go to the form field when the error message shows up. Obviously this messes up the client side javascript popup message which shows like: Username is missing. Is there a way to use a different error message or should we

Re: [S2] Proper way to clear error messages in session scope

2008-09-13 Thread Charles Wiese
For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message i

RE: Error messages

2008-09-10 Thread Martin Gainty
; From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Error messages > > Hello everyone, > > I am trying to provide some custom validation error handling in a JSP. > For this I would like to perform some logic in the JSP when a validation > fails, instead (or

Re: Error messages

2008-09-10 Thread Dave Newton
--- On Wed, 9/10/08, Cosmin Marginean wrote: > Sorry for the misunderstanding - might not have been so > clear. I meant performing some logic in the JSP. I would > like to be able to do something like: > > class="someErrorClass" > ... In that case, use ValidationAware's getFie

Re: Error messages

2008-09-10 Thread Cosmin Marginean
Sorry for the misunderstanding - might not have been so clear. I meant performing some logic in the JSP. I would like to be able to do something like: class="someErrorClass" > --- On Wed, 9/10/08, Cosmin Marginean wrote: Is there a way to check if a certain field error has been

Re: Error messages

2008-09-10 Thread Dave Newton
--- On Wed, 9/10/08, Cosmin Marginean wrote: > Is there a way to check if a certain field error has been set? In S2 use ValidationAware's getFieldErrors(...) method. http://struts.apache.org/2.0.11.2/struts2-core/apidocs/com/opensymphony/xwork2/ValidationAware.html#getFieldErrors() Dave --

Error messages

2008-09-10 Thread Cosmin Marginean
Hello everyone, I am trying to provide some custom validation error handling in a JSP. For this I would like to perform some logic in the JSP when a validation fails, instead (or in addition) of displaying the actual error message. Is there a way to check if a certain field error has been set?

Re: [S2]How can I get red error messages?

2008-09-09 Thread Dave Newton
--- On Tue, 9/9/08, Pascal Lalonde wrote: > Didn't I read somewhere that one of the good practices > was to copy the template folder in the project WEB-INF > folder? If this is true, then just directly edit the > style sheet of the theme? Overwriting the styles is still easier. The template issu

Re: [S2]How can I get red error messages?

2008-09-09 Thread Ylva Degerfeldt
> It'd be easier to just include your own stylesheet after the tag and > overwrite the styles. Alright. Good to know. But that's for "some time in the future when I have more time - investigation". Thanks! /Ylva - To unsubscr

Re: [S2]How can I get red error messages?

2008-09-09 Thread Pascal Lalonde
Didn't I read somewhere that one of the good practices was to copy the template folder in the project WEB-INF folder ? If this is true, then just directly edit the style sheet of the theme ? - Pascal Dave Newton wrote: --- On Tue, 9/9/08, Ylva Degerfeldt wrote: Just out of curiosity.. If

Re: [S2]How can I get red error messages?

2008-09-09 Thread Dave Newton
--- On Tue, 9/9/08, Ylva Degerfeldt wrote: > Just out of curiosity.. If I would want to change these > default style settings, where could I find the file that > I need to edit? It'd be easier to just include your own stylesheet after the tag and overwrite the styles. Dave ---

Re: [S2]How can I get red error messages?

2008-09-09 Thread Ylva Degerfeldt
e: > --- On Tue, 9/9/08, Ylva Degerfeldt wrote: >> I'm just wondering how to make my error messages (specifically the >> ones that Struts 2 generates) red, because currently they're not. > > Are you using the tag tat

Re: [S2]How can I get red error messages?

2008-09-09 Thread Dave Newton
--- On Tue, 9/9/08, Ylva Degerfeldt wrote: > I'm just wondering how to make my error messages (specifically the > ones that Struts 2 generates) red, because currently they're not. Are you using the tag tat includes the default S

[S2]How can I get red error messages?

2008-09-09 Thread Ylva Degerfeldt
Hello, Struts users! I'm just wondering how to make my error messages (specifically the ones that Struts 2 generates) red, because currently they're not. Isn't there some default css file I can use or do I have to create one? And how do I use it in my jsp:s? (I know nothing

Re: [S2] Proper way to clear error messages in session scope

2008-08-13 Thread Diego Manilla Suárez
Well, I've put this line just below the tags and : <%((ActionSupport) ActionContext.getContext().getActionInvocation().getAction()).clearErrorsAndMessages();%> I don't like putting Java code on JSPs and I'm sure there is a better way to do it, but so far it's working. Regards, Diego. Die

Re: [S2] Proper way to clear error messages in session scope

2008-08-12 Thread Laurie Harper
Diego Manilla Suárez wrote: Hi. I have an action in session scope. The problem is that action errors are never cleared and thus are shown repeatedly whenever the user sends the form with validation errors. At first I put a call to clearErrors() at the beginning of mi validate() method, but no

[S2] Proper way to clear error messages in session scope

2008-08-12 Thread Diego Manilla Suárez
Hi. I have an action in session scope. The problem is that action errors are never cleared and thus are shown repeatedly whenever the user sends the form with validation errors. At first I put a call to clearErrors() at the beginning of mi validate() method, but now I'm using also the validati

Re: Issue in Validation value Stack - Duplicate error messages

2008-07-14 Thread MaheshK
- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Issue-in-Validation-value-Stack---Duplicate-error-messages-tp18450806p18451791.html Sent from

Re: Issue in Validation value Stack - Duplicate error messages

2008-07-14 Thread Lukasz Lenart
Did you put singleton=false or scope=prototype for action's beans in spring config? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Issue in Validation value Stack - Duplicate error messages

2008-07-14 Thread MaheshK
Hi All, I am using Strut 2.0 and tiles with Spring and I am having the following issue in the validation framework. When ever I submit a form with error in a field, subsequent submission of the same form (without valid value), generates duplicate error messages. i.e If i leave the first name

Error Messages In ApplicationResources.properties

2008-06-04 Thread StrutsUser
message, but I am unable to pass the field name. Could any one please help me with this issue? As a related issue, is there a way to specify the style for the error message in ApplicationResource.properties. Thanks Ajay -- View this message in context: http://www.nabble.com/Error-Messages-In

Re: Error messages is repeated Using Struts 2 Annotation validation

2008-01-30 Thread Randy Burgess
son nickel <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 29 Jan 2008 23:28:42 -0800 (PST) > To: > Subject: Re: Error messages is repeated Using Struts 2 Annotation validation > > > Thanks for your quick response, > > In my Login.jsp, >

Re: Error messages is repeated Using Struts 2 Annotation validation

2008-01-29 Thread Johnson nickel
m blank-ness). > >> Same as For password also , > > *Exactly* the same? (You put the right "fieldName" for the password field, > right?) > >> When i have submit the Login button, the Error messages is displaying > Repeated. > > You'll need t

Re: Error messages is repeated Using Struts 2 Annotation validation

2008-01-29 Thread David Tercero
Hi, Something simillar happens to me when i started with Struts 2. I use appfuse and I realized that a message displays just above the field I'd validated, and where I included a messages.jsp (this jsp displays the action and error messages), usually at the top of the html page. To

Re: Error messages is repeated Using Struts 2 Annotation validation

2008-01-29 Thread Dave Newton
will return an empty string, whereas @RequiredFieldValidator only checks for null-ness (different from blank-ness). > Same as For password also , *Exactly* the same? (You put the right "fieldName" for the password field, right?) > When i have submit the Login button, the Error messages is disp

Error messages is repeated Using Struts 2 Annotation validation

2008-01-29 Thread Johnson nickel
: @RequiredFieldValidator(type=ValidatorType.SIMPLE,fieldName="username",message="UserName is required") public String getUsername() { return username; } Same as For password also , When i have submit the Login button, the Error messages is displaying Repeated. I have

Re: Struts 2: duplicated error messages occur when nest another table within tag

2008-01-09 Thread Cheng Wei Lee
I read from the documentation that pure Javascript client side validation is only applicable for xhtml and css_xhtml themes, so other themes are out. I took a look at the validation.js and found that the Javascript function to clear the error messages actually only consider that there're 1

Re: Struts 2: duplicated error messages occur when nest another table within tag

2008-01-09 Thread Laurie Harper
Cheng Wei Lee wrote: I'd difficulties in clearing the client side validation error messages. So I followed the guide at http://struts.apache.org/2.x/docs/client-validation.html and try from scratch and found that if I nest a table within the tag, the message cannot be cleared and it will

Re: Struts2 Validation formating error messages

2007-08-12 Thread Laurie Harper
WiltOnTilt wrote: Hi, I've searched around here and googling to try to find a good answer but I haven't found one. I'm using the basic struts2 validation with the validate="true" on my so the validation is done client side. I'd like to change the error messages s

Struts2 Validation formating error messages

2007-08-10 Thread WiltOnTilt
Hi, I've searched around here and googling to try to find a good answer but I haven't found one. I'm using the basic struts2 validation with the validate="true" on my so the validation is done client side. I'd like to change the error messages so they do not show

S2 : Parameterized error messages

2007-08-08 Thread j alex
Hi, Is there a way to customize the error message with multiple keys provided from the resource bundle, using the XML/annotation approach ? In S1, we could do : In S2 ; we use to denote the error message ; but to what level can we cus

Re: [S2] Validation error messages pile up

2007-07-25 Thread Grish
I have the same problem. Error messages on one form are piling up. Were you able to resolve this probelm? It only occurs in Firefox as well. I notice it occurs when you have multiple forms. Rafael Dittberner wrote: > > The first one. > > Rafael Dittberner > > > Mus

Re: Struts 2 validation error messages

2007-07-10 Thread Don Brown
class. I want to render the validation error messages from a property file and not hard coding it into the code. What i understand is the struts ActionSupport class has addActionError(String msg) which takes a error messages, Can anyone help me how can I set the error key in the validation class? Mano

Struts 2 validation error messages

2007-07-10 Thread Manoj . Gupta
Hi, I have written my customised java class to do the form validation within the action class. I want to render the validation error messages from a property file and not hard coding it into the code. What i understand is the struts ActionSupport class has addActionError(String msg) which takes

Re: [S2] Validation error messages pile up

2007-06-14 Thread Rafael Dittberner
form works and the other don't. Rafael Dittberner Rafael Dittberner escreveu: > In one of my forms the validation error messages are piling up every > time the submit button is pressed. This only occurs in Firefox and only > with this form. I have other form working well bo

Re: [S2] Validation error messages pile up

2007-06-14 Thread Rafael Dittberner
The first one. Rafael Dittberner Musachy Barroso escreveu: On which field are they piling up? musachy On 6/14/07, Rafael Dittberner <[EMAIL PROTECTED]> wrote: In one of my forms the validation error messages are piling up every time the submit button is pressed. This only occ

Re: [S2] Validation error messages pile up

2007-06-14 Thread Musachy Barroso
it works ok. But it does not answer the question why one form works and the other don't. Rafael Dittberner Rafael Dittberner escreveu: > In one of my forms the validation error messages are piling up every > time the submit button is pressed. This only occurs in Firefox and only >

Re: [S2] Validation error messages pile up

2007-06-14 Thread Rafael Dittberner
If I uncheck the Tools|Options|Content|Enable Javascript option in FF it works ok. But it does not answer the question why one form works and the other don't. Rafael Dittberner Rafael Dittberner escreveu: In one of my forms the validation error messages are piling up every time the s

Re: [S2] Validation error messages pile up

2007-06-14 Thread Musachy Barroso
On which field are they piling up? musachy On 6/14/07, Rafael Dittberner <[EMAIL PROTECTED]> wrote: In one of my forms the validation error messages are piling up every time the submit button is pressed. This only occurs in Firefox and only with this form. I have other form working wel

[S2] Validation error messages pile up

2007-06-14 Thread Rafael Dittberner
In one of my forms the validation error messages are piling up every time the submit button is pressed. This only occurs in Firefox and only with this form. I have other form working well both in IE and FF. Anyone can help me? The form: <%@ page language="java" contentType="

Re: [S2] Validation error messages are not being cleared

2007-03-25 Thread Célio Cidral Junior
2007/3/25, Dave Newton <[EMAIL PROTECTED]>: --- Célio Cidral Junior wrote: Is it declared with scope="prototype"? Oh noes! I fotgot about the scope! :-( MY APOLOGIES! MY APOLOGIES! Célio. - To unsubscribe, e-mail: [EMAIL PRO

Re: [S2] Validation error messages are not being cleared

2007-03-25 Thread Dave Newton
--- Célio Cidral Junior wrote: > [S2 validation messages not being cleared] You didn't include your Spring config for the action, which is a lot more important than the getters and setters. Is it declared with scope="prototype"? d. ___

[S2] Validation error messages are not being cleared

2007-03-25 Thread Célio Cidral Junior
]+ Digite apenas letras minúsculas. Não são permitidos espaços, números, nem caracteres acentuados. The validation works fine, except that the field error messages are not getting cleared when the user fills the fields

Can Validator Error Messages use the Field's Properties?

2007-02-05 Thread Oren Livne
Dear All: I haven't received feedback for this, I apologize for sending it again but hopefully someone can give me an advice. Thanks so much! I'm using Struts 1.3.5 in my content management web application. I have a form with a dynamic list. To validate it, I used the following in my validato

Can Validator error messages use the field's properties?

2007-02-02 Thread Oren Livne
Dear All: I'm using Struts 1.3.5 in my content management web application. I have a form with a dynamic list. To validate it, I used the following in my validator.xml to loop over all elements of the list "childrenForm" of my main form: key="error.ca

Re: [S2] Redirecting to another action with preserving error messages

2006-12-31 Thread Nick Tucker
play with the result of type 'chain' but I only got exceptions. > I am not sure if I understand 'chain' as it did not work for me. > > > -- View this message in context: http://www.nabble.com/-S2--Redirecting-to-another-action-with-preserving-error-messages-tf2

Re: [S2] Redirecting to another action with preserving error messages

2006-12-30 Thread Dariusz Wojtas
ok, this is the obvious candidate if I want to make it 'by hand'. Some little method in the base action or filter that takes care for it as I would do it in Struts 1. But I thought about something ... out of the box. I do not need to make extra redirect through the browser, I want to switch to an

Re: [S2] Redirecting to another action with preserving error messages

2006-12-30 Thread Nick Tucker
t;> > c) I tried 'dispatcher' to a fully qualified action URL >> > > > type="dispatcher">/package/index.action >> > but then I get exception from Tomcat: >> > >> > HTTP Status 404 - //package/index.action >

Re: [S2] Redirecting to another action with preserving error messages

2006-12-29 Thread Dariusz Wojtas
Excellent hint, thanks. I forgot I may jump between various methods this way in the struts config. This will perfectly work in the case I described. Any idea how to solve the problem with various messages or errors to be displayed, when I have no control on the messages/errors being added? Dariu

Re: [S2] Redirecting to another action with preserving error messages

2006-12-29 Thread Nick Tucker
my error message > > c) I tried 'dispatcher' to a fully qualified action URL > type="dispatcher">/package/index.action > but then I get exception from Tomcat: > > HTTP Status 404 - //package/index.action > The requested resour

error messages

2006-12-28 Thread Tom Jerry
Hello, Consider for eg, I have 5 fields. For the first 2 fields, the errors will be displayed by mentioning their property in the html:error tag. And I want to display the remaining errors at the end of the page. So, for this I use . But I dont want to display all 5 error messages. Only the

[S2] Redirecting to another action with preserving error messages

2006-12-28 Thread Dariusz Wojtas
ion) is not available. Any suggestion how to call another action that does not need any params and still have the error messages displayable? Solution b) successfully redirects but issues another requests from the browser and that way I lose my error message. I am using struts

Re: Validator framework javascript error messages

2006-10-16 Thread Laurie Harper
Puneet Lakhina wrote: Hi, I have the following key value pair in ApplicationResource.properties required = {0} is required. I used this when I was doing only server side validation, to display a list of error messages when some validation failed. Now Im using the to do the same thing on

Validator framework javascript error messages

2006-10-10 Thread Puneet Lakhina
Hi, I have the following key value pair in ApplicationResource.properties required = {0} is required. I used this when I was doing only server side validation, to display a list of error messages when some validation failed. Now Im using the to do the same thing on client side also. But my

Re: Need help in how to display error messages

2006-08-04 Thread Niniva Ray
Hi Niall, Thank you for the suggestion and explanation. It worked. Thanks, Niniva Niall Pemberton <[EMAIL PROTECTED]> wrote: The reason this is happening is because (normally) your ActionMessage contains the key - and then the tag looks up the actual message (i.e. "resolves the m

Re: Need help in how to display error messages

2006-08-04 Thread Niall Pemberton
The reason this is happening is because (normally) your ActionMessage contains the key - and then the tag looks up the actual message (i.e. "resolves the message") - but you're actually resolving the message yourself in the Action. Try just creating the ActionMessage with the key: ActionMessage

Need help in how to display error messages

2006-08-04 Thread Niniva Ray
Hi, I am working on a web application where I am using struts 1.2.9. The problem I am encountering is whenever I want to show any messages on the browser, suppose if I want to show the message "Error saving configuration", it is displaying ???en_US.Error saving configuration???

Re: error messages doesn't appear if validate is called programatically

2006-01-21 Thread Hakan . Barisik
Thank you very much Paul. It was a big time save for me. Regards Hakan Paul Benedict <[EMAIL PROTECTED]> 20/01/2006 04:07 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: error messages doesn't appear i

Re: error messages doesn't appear if validate is called programatically

2006-01-19 Thread Paul Benedict
Hakan, You need to store the error messages in the request or session after you retrieve them: ActionErrors errors = form.validate(); if ((errors != null) && !errors.isEmpty()) { saveErrors(request, errors); return mapping.getInputForward();

  1   2   3   >