RE: Struts 1.3 errorStyleClass Not Working (Error Field Highlighting)

2015-09-02 Thread Givler, Eric
lar to use and see how it behaves. What do you use for the validation that is creating these keys? Struts Validator? Eric -Original Message- From: eugenebalt [mailto:eugeneb...@yahoo.com] Sent: Tuesday, July 07, 2015 3:45 PM To: user@struts.apache.org Subject: Re: Struts 1.3 errorStyleC

Re: Struts 1.3 errorStyleClass Not Working (Error Field Highlighting)

2015-07-07 Thread eugenebalt
7;t happen, and the style isn't applied. Any thoughts on this? -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-3-errorStyleClass-Not-Working-Error-Field-Highlighting-tp5717942p5717943.html Sent from the Struts - User mailing list archive at Nabble.com. -

Struts 1.3 errorStyleClass Not Working (Error Field Highlighting)

2015-07-07 Thread eugenebalt
The errorStyleClass attribute on the Struts 1.3 tag is not working for me. It's supposed to highlight the error fields accumulated correctly in the ActionErrors collection. In the output HTML I see the error style isn't included. It only has the original class that came from style

Re: Attribute errorStyleClass invalid for tag text according to TLD

2012-09-13 Thread hkumarsingh2009
s, Hemant Singh -- View this message in context: http://struts.1045723.n5.nabble.com/Attribute-errorStyleClass-invalid-for-tag-text-according-to-TLD-tp5710620p5710622.html Sent from the Struts - User mailing list archive at Nabble.com. -

Re: Attribute errorStyleClass invalid for tag text according to TLD

2012-09-12 Thread Dave Newton
On Wed, Sep 12, 2012 at 1:35 PM, wrote: > User Name : errorStyleClass="error" errorKey="org.apache.struts.action.Error" /> > I'll assume the question is "why is it telling me this attribute isn't in the TLD?" What version of Struts are you using? Dave

Attribute errorStyleClass invalid for tag text according to TLD

2012-09-12 Thread hkumarsingh2...@gmail.com
User Name : Password : Login -- View this message in context: http://struts.1045723.n5.nabble.com/Attribute-errorStyleClass-invalid-for-tag-text-according-to-TLD-tp5710620.html Sent from the Struts

Re: [s2] errorStyleClass equivalent in Struts 2

2009-04-27 Thread Burton Rhodes
ton wrote: >> Cristian Peraferrer wrote: >>> Is there a way in struts2 to point out that there was validation >>> errors in each input field, like putting an error style using >>> errorStyleClass (of struts1)? >>> >>> struts1 example: >>&

Re: [s2] errorStyleClass equivalent in Struts 2

2009-04-27 Thread Burton Rhodes
>> errors in each input field, like putting an error style using >> errorStyleClass (of struts1)? >> >> struts1 example: >> >> > errorStyleClass="frmError"/> > > The xhtml theme does this by default. The style can

Re: [s2] errorStyleClass equivalent in Struts 2

2009-04-27 Thread Dave Newton
Cristian Peraferrer wrote: Is there a way in struts2 to point out that there was validation errors in each input field, like putting an error style using errorStyleClass (of struts1)? struts1 example: The xhtml theme does this by default. The style can be overridden by including your own

[s2] errorStyleClass equivalent in Struts 2

2009-04-27 Thread Cristian Peraferrer
Hi, Is there a way in struts2 to point out that there was validation errors in each input field, like putting an error style using errorStyleClass (of struts1)? struts1 example: Thanks, Cris. -- GPG Key-ID: 0x564903FA - JID: corell...@swissjabber.ch

Re: errorStyleClass not working

2006-07-24 Thread fea jabi
got this working too. bundle="${appbundle}"/> Thanks a lot David and Niall. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: errorStyleClass not workin

Re: errorStyleClass not working

2006-07-24 Thread fea jabi
Thanks. From: "Niall Pemberton" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Re: errorStyleClass not working Date: Fri, 21 Jul 2006 23:29:47 +0100 On 7/21/06, David Friedman <[EMAIL PROTECT

Re: errorStyleClass not working

2006-07-21 Thread Niall Pemberton
(Unles Niall has any ideas). Regards, David -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 9:13 AM To: user@struts.apache.org Subject: RE: errorStyleClass not working I think the problem is on server side. As in the dispatch aciton

RE: errorStyleClass not working

2006-07-21 Thread fea jabi
Thanks a lot, David for your help. From: "David Friedman" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: RE: errorStyleClass not working Date: Fri, 21 Jul 2006 13:16:21 -0400 You should find out what

RE: errorStyleClass not working

2006-07-21 Thread David Friedman
works right with your indexed properties. I'm out of ideas at this point so good luck (Unles Niall has any ideas). Regards, David -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 9:13 AM To: user@struts.apache.org Subject: RE: errorStyleClass n

RE: errorStyleClass not working

2006-07-21 Thread fea jabi
uts Users Mailing List" To: "Struts Users Mailing List" Subject: RE: errorStyleClass not working Date: Thu, 20 Jul 2006 17:23:48 -0400 Is your problem server side or client side? If you problem is client side then you should read the struts javadocs: http://struts.apache.org/1.2.7/api/

RE: errorStyleClass not working

2006-07-20 Thread David Friedman
plugin property "stopOnFirstError": * Also, if you want to use the errorStyleClass with your validation I think I understand your problem now. At the very bottom of this letter I left in a copy of the code you described using in your dispatch action. You save errors with &#x

Re: errorStyleClass not working

2006-07-20 Thread fea jabi
index properties? how can this be done? Thanks. From: "Niall Pemberton" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Re: errorStyleClass not working Date: Thu, 20 Jul 2006 00:45:41 +0100 See "1. W

Re: errorStyleClass not working

2006-07-19 Thread Niall Pemberton
bi <[EMAIL PROTECTED]> wrote: Yah, in the JSP where the errorStyleClass is working I am using So, do I have to use html:errors? not html:messages? yes, I am using DynaValidatorForm but calling validate from action class. The validation is done in validator.xml In dispath action class I hav

RE: errorStyleClass not working

2006-07-19 Thread fea jabi
right. When to use the ActionMessages and when to use ActionErrors. Thanks a lot for your help. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: RE: errorStyleClass not working Date: Wed, 19 Jul 2006 15

RE: errorStyleClass not working

2006-07-19 Thread fea jabi
Yah, in the JSP where the errorStyleClass is working I am using property="name"/> So, do I have to use html:errors? not html:messages? yes, I am using DynaValidatorForm but calling validate from action class. The validation is done in validator.xml In dispath action

RE: errorStyleClass not working

2006-07-19 Thread David Friedman
There is something odd going on here. In the JSP's where the html:messages and errorStyleClass are working, do you have html:messages setting 'message="true"'? This is odd because that changes the key from Globals.MESSAGE_KEY to Global.ERROR_KEY. Action1 Html tags perf

RE: errorStyleClass not working

2006-07-19 Thread fea jabi
yes, using 1.2.7 version of struts. This(errorStyleClass) does work in another page though whose property is in Form-bean. But here in this page, I have the arraylist in the form-bean, and the arraylist contains the list of objects whose one of the attribute is shown in the input field

RE: errorStyleClass not working

2006-07-19 Thread David Friedman
I see your final output does not list the class="..." attribute. What version of struts are you using? Accoring to the release notes, only versions 1.2.7 and above have the errorStyleClass attributes in them. Are you sure your version supports errorStyleClass? And we ARE talking the

RE: errorStyleClass not working

2006-07-19 Thread fea jabi
lidate the user entered values, here the 2nd one i.e name="hrs[1].adHrs" checking if user entered numeric value. I am getting the error msg back too. But only the errorStyleClass is not working. Thanks. From: "David Friedman" <[EMAIL PROTECTED]> Reply-To: "Struts

RE: errorStyleClass not working

2006-07-19 Thread David Friedman
ache.org Subject: RE: errorStyleClass not working Thanks for your response. >a) Have you checked your output to make sure the class is set in the html >when an error occurs? what class are you talking about here? yes, the css is embeded and the errormsg is also in there. It works fine in other pages. e

RE: errorStyleClass not working

2006-07-19 Thread fea jabi
{ color: red; background: inherit; font-size: 11px; border: 1px solid red; padding: 3px; } Hoping to get an answer for this. Thanks. From: "David Friedman" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject:

RE: errorStyleClass not working

2006-07-19 Thread David Friedman
Users Mailing List" >To: user@struts.apache.org >Subject: errorStyleClass not working >Date: Mon, 17 Jul 2006 11:44:49 -0400 > >... > > > > > " >errorStyleClass="errormsg"/> > > > &

RE: errorStyleClass not working

2006-07-19 Thread fea jabi
can someone help me with this please. Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: errorStyleClass not working Date: Mon, 17 Jul 2006 11:44:49 -0400 s

errorStyleClass not working

2006-07-17 Thread fea jabi
t;PrepareAction.do" > ... " errorStyleClass="errormsg"/> validation.xml depends="integer,validwhen">

Re: Apply errorStyleClass to multiple fields using Validator

2006-04-06 Thread Angelo zerr
is is being validated by a > validwhen-statement placed in the validation setup for the last > input field looking something like > > (((field3 > 0) or (field2 > 0)) or (field1 > 0)) > > As the validation itself is concerned this works perfectly, but > as a user of the styleCl

Apply errorStyleClass to multiple fields using Validator

2006-04-06 Thread Christoph Olszowka
t as a user of the styleClass and errorStyleClass-attributes possible with the html:text tag, I would like to tell struts to tag all the fields as incorrect, because the user does not have to neccessarily fill out field3, even if the applied errorStyleClass suggests this. Is there any way to solve th

Re: errorStyleClass

2006-03-16 Thread fea jabi
thankyou, for detail explanation. From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" CC: user@struts.apache.org Subject: Re: errorStyleClass Date: Thu, 16 Mar 2006 11:03:51 -0500 (EST)

Re: errorStyleClass

2006-03-16 Thread Frank W. Zammetti
fea jabi said: > This might not be Struts related issue. More of CSS stuff I guess. > > I am using this errorStyleClass and works great for text fields, where I > am > highlighting the border with different color when there is an error. > > If it is a dropdown when there is an e

errorStyleClass

2006-03-16 Thread fea jabi
This might not be Struts related issue. More of CSS stuff I guess. I am using this errorStyleClass and works great for text fields, where I am highlighting the border with different color when there is an error. If it is a dropdown when there is an error(when the user did not select any

Re: ErrorStyleClass

2006-01-05 Thread Niall Pemberton
Message - From: "RathinaGanesh MeenakshiSundaram" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 04, 2006 7:23 PM Subject: Re: ErrorStyleClass Thanks a lot Niall. I does work..We were displaying our errors in the jsp with

Re: ErrorStyleClass

2006-01-04 Thread RathinaGanesh MeenakshiSundaram
t; property." > This is what, I have for the lastName in Application Resources.properties > > error.login.nolastname= style="width:220px;"> for="lastname" class="errorlabels">Last name is required. > > Thanks, > Ganesh. > > >

Re: ErrorStyleClass

2006-01-04 Thread Niall Pemberton
y Idea..?? Also, what do you mean by "message associated with the "lastName" property." This is what, I have for the lastName in Application Resources.properties error.login.nolastname=Last name is required. Thanks, Ganesh. On 1/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote

Re: ErrorStyleClass

2006-01-04 Thread RathinaGanesh MeenakshiSundaram
urces.properties error.login.nolastname=Last name is required. Thanks, Ganesh. On 1/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > For the errorStyleClass to be used there need to be a set of > "ActionMessages" stored under the appropriate key (i.e. Globals.ERROR_K

Re: ErrorStyleClass

2006-01-03 Thread Niall Pemberton
For the errorStyleClass to be used there need to be a set of "ActionMessages" stored under the appropriate key (i.e. Globals.ERROR_KEY) and there needs to be a message for the field in error - i.e. in your case a message associated with the "lastName" property. If your retu

Re: ErrorStyleClass

2006-01-03 Thread RathinaGanesh MeenakshiSundaram
Thanks. I figured out the issue. I had a different version of struts in another app, and somehow that was classloader was picking up that older version.. But, still after I get them right, the text field is not picking up the errorStyleClass and just has the styleClass, even incase of error

Re: ErrorStyleClass

2006-01-03 Thread Niall Pemberton
, January 03, 2006 2:07 PM > > > Thanks Laurie > > I was going thru' over the versions of struts all thru' my application. I > was previously using 1.2.7. But did'nt help. > Then, again, changed to 1.2.8 version..But, still it throws me the same > e

Re: ErrorStyleClass

2006-01-03 Thread RathinaGanesh MeenakshiSundaram
ay, January 03, 2006 2:07 PM > > > Thanks Laurie > > I was going thru' over the versions of struts all thru' my application. I > was previously using 1.2.7. But did'nt help. > Then, again, changed to 1.2.8 version..But, still it throws me the same >

Re: ErrorStyleClass

2006-01-03 Thread Niall Pemberton
Sent: Tuesday, January 03, 2006 2:07 PM Thanks Laurie I was going thru' over the versions of struts all thru' my application. I was previously using 1.2.7. But did'nt help. Then, again, changed to 1.2.8 version..But, still it throws me the same error message. I'm sure, Iam u

Re: ErrorStyleClass

2006-01-03 Thread RathinaGanesh MeenakshiSundaram
Thanks Laurie I was going thru' over the versions of struts all thru' my application. I was previously using 1.2.7. But did'nt help. Then, again, changed to 1.2.8 version..But, still it throws me the same error message. I'm sure, Iam using the errorStyleClass in only one

Re: ErrorStyleClass

2005-12-31 Thread Laurie Harper
Are you sure that html:text tag is the only place you have specified errorStyleClass? The exception could be coming from another tag you've used that attribute on. Failing that, check what version of Struts you really have deployed (and check of extra, out-of-date, copies of struts.j

Re: ErrorStyleClass

2005-12-30 Thread RathinaGanesh MeenakshiSundaram
to find setter method for attribute: errorStyleClass at org.apache.jasper.compiler.DefaultErrorHandler.jspError( DefaultErrorHandler.java:39) at org.apache.jasper.compiler.ErrorDispatcher.dispatch( ErrorDispatcher.java:409) at org.apache.jasper.compiler.ErrorDispatcher.jspError

Re: ErrorStyleClass

2005-12-20 Thread Laurie Harper
RathinaGanesh MeenakshiSundaram wrote: Hi All, I was trying to style an text field, when an error occurs for that text field. I thought, errorStyleClass would help..But, It was just throwing me the following error message.. "Unable to find setter method for attribute: errorStyleClass&qu

ErrorStyleClass

2005-12-20 Thread RathinaGanesh MeenakshiSundaram
Hi All, I was trying to style an text field, when an error occurs for that text field. I thought, errorStyleClass would help..But, It was just throwing me the following error message.. "Unable to find setter method for attribute: errorStyleClass" I was wondering, if this has anything

Re: errorStyleClass with ActionMessages

2005-10-17 Thread Niall Pemberton
hen you need to add the error message to ActionMessages using the same property name: ActionMessages errors = new ActionMessages(); if (myForm.getCustno() == null) { errors.add("custno", new ActionMessage("custno.missing")); } Obviously you also need to set up you

Re: errorStyleClass with ActionMessages

2005-10-17 Thread Joe Germuska
At 3:26 PM +0100 10/17/05, [EMAIL PROTECTED] wrote: Hi there, I would like to make use of the errorStyleClass functionality with validation errors that I create in my action class using ActionMessages. I guess there must be a way of letting the ActionMessage object know which UI field it is

errorStyleClass with ActionMessages

2005-10-17 Thread paul
Hi there, I would like to make use of the errorStyleClass functionality with validation errors that I create in my action class using ActionMessages. I guess there must be a way of letting the ActionMessage object know which UI field it is relating to. Has anyone managed to do this without

Re: errorStyleClass and lists

2005-01-27 Thread Niall Pemberton
our validation.xml Niall - Original Message - From: "BLOOMFIELD, TOM F [AG-Contractor/1000]" <[EMAIL PROTECTED]> To: Sent: Thursday, January 27, 2005 7:07 PM Subject: errorStyleClass and lists > > Per suggestion, I'm posting a follow up to see if an

errorStyleClass and lists

2005-01-27 Thread BLOOMFIELD, TOM F [AG-Contractor/1000]
ot; is different than the name of my html:text, "foo[xxx].day", the errorStyleClass is never used - the two don't match. As pointed out by Niall (see bug link above), I could use a different method name to get/set the list in my actionform. However, doing this causes a BeanUtils

unspecified and errorStyleClass in Struts 1.2.6

2004-12-30 Thread Paulo Alvim
re. 2. And I couldn't make the new errorStyleClass feature work using "struts-html-el" Anyone could tell if there's any workaround or fix here? Thanks in advance! Alvim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]