Re: validation problem

2014-12-26 Thread Lukasz Lenart
2014-12-26 18:25 GMT+01:00 Yaragalla Muralidhar : > Thank you Lukasz. I have rectified all the mistakes that u listed. > Validations are working. I also have done some simple mistakes. I have > rectified all the mistakes. Everything is working fine now. Thanks to all > of you. Great to hear that!

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
Thank you Lukasz. I have rectified all the mistakes that u listed. Validations are working. I also have done some simple mistakes. I have rectified all the mistakes. Everything is working fine now. Thanks to all of you. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: validation problem

2014-12-26 Thread Lukasz Lenart
2014-12-26 15:19 GMT+01:00 Lukasz Lenart : > 2014-12-26 6:56 GMT+01:00 Yaragalla Muralidhar : >> Hi Sreekanth, >> I think i cannot send attachements to the mailing list so i have >> uploaded the project to my drive and sharing the link >> >> https://drive.google.com/file/d/0B59LVhKQaKQYamZqbn

Re: validation problem

2014-12-26 Thread Lukasz Lenart
2014-12-26 15:19 GMT+01:00 Lukasz Lenart : > 2014-12-26 6:56 GMT+01:00 Yaragalla Muralidhar : >> Hi Sreekanth, >> I think i cannot send attachements to the mailing list so i have >> uploaded the project to my drive and sharing the link >> >> https://drive.google.com/file/d/0B59LVhKQaKQYamZqbn

Re: validation problem

2014-12-26 Thread Lukasz Lenart
2014-12-26 6:56 GMT+01:00 Yaragalla Muralidhar : > Hi Sreekanth, > I think i cannot send attachements to the mailing list so i have > uploaded the project to my drive and sharing the link > > https://drive.google.com/file/d/0B59LVhKQaKQYamZqbnc4NGtOQm8/view?usp=sharing Can you pack all the f

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
I will do that. Thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Fri, Dec 26, 2014 at 3:14 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > There is nothing about sorry, i guess your action package

Re: validation problem

2014-12-26 Thread Sreekanth S. Nair
There is nothing about sorry, i guess your action package structure or something is wrong, i recommend you to run the sample war i have attached in tomcat 7 and see the result (make sure to include strust2 latest lib to its WEB-INF/lib). Try adding your action class one by one to that sample and tr

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
Hi Sreekanth, sorry to say this. I tried everything stated in the example that u gave. but it did not work for me. I am doing something wrong but could not find out what. Thank u for all your help. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: validation problem

2014-12-25 Thread Sreekanth S. Nair
Ok let me try and will get back to you... On Fri, Dec 26, 2014 at 11:26 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi Sreekanth, > I think i cannot send attachements to the mailing list so i have > uploaded the project to my drive and sharing the link > > > https://drive

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
Hi Sreekanth, I think i cannot send attachements to the mailing list so i have uploaded the project to my drive and sharing the link https://drive.google.com/file/d/0B59LVhKQaKQYamZqbnc4NGtOQm8/view?usp=sharing i am using tomcat 7. *Thanks and Regards,* Muralidhar Yaragalla. *http://yara

Re: validation problem

2014-12-25 Thread Sreekanth S. Nair
Can you share a sample project which is not working, and just let me know which server you are trying..? -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation Ph : 9980078913 -

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
Hi sreekanth, I have changed the names as u suggested but it did not work. i have read the link u posted and i did everything that the link says. i have debugged as well. it is not throwing any error. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: validation problem

2014-12-25 Thread Sreekanth S. Nair
As Dave said, kindly show some patience. First of validation is nothing to do with theme so just leave the theme alone. 1) Can you try renaming the action class name from SampleRegOne to SampleRegOneAction and same in struts.xml 2) If you give action alias name like below, as far as i underst

Re: validation problem

2014-12-25 Thread Dave Newton
Unrelated to the technical issue: bear in mind the mailing list is a volunteer-"staffed" resource. Nobody is deliberately delaying a response. We already know you need help. In the US, at least, it's a fairly major holiday, and people are doing things besides trying to reproduce your environment an

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
kindly help me solve this issue *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Thu, Dec 25, 2014 at 8:02 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > my struts config.xml is as below.kindly help me in solving this

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
my struts config.xml is as below.kindly help me in solving this. http://struts.apache.org/dtds/struts-2.3.dtd";> /error.jsp /sampleReg/jsp/sampleRegTemplate.j

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
The following is my action class package com.zedlabs.samplereg.action; import java.util.HashMap; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.zedlabs.action.ZedActionSupport; import com.zedlabs.samplereg.dto.PDDto; import

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
I have changed the theme to css_xhtml so it should display right? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Thu, Dec 25, 2014 at 6:28 PM, Dave Newton wrote: > Then you're doing something else wrong; never mind. > > You stil

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
if the validation works then i can think about messages *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Thu, Dec 25, 2014 at 6:30 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > I have changed the theme to css_xhtml

Re: validation problem

2014-12-25 Thread Dave Newton
Then you're doing something else wrong; never mind. You still won't see the messages unless you display them manually. On Thu, Dec 25, 2014 at 6:56 AM, Yaragalla Muralidhar wrote: > in my case validations are not happenening . Even though validation fails > it is moving to succeess rather than i

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
in my case validations are not happenening . Even though validation fails it is moving to succeess rather than input jsp. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Thu, Dec 25, 2014 at 6:15 PM, Dave Newton wrote: > Please rea

Re: validation problem

2014-12-25 Thread Dave Newton
Please read up on the themes. Nutshell: validation happens (this is trivially provable), validation message display does not. On Thu, Dec 25, 2014 at 6:41 AM, Yaragalla Muralidhar wrote: > is it because of the simple theam? In simple theam validations dont happen > is it? if i dont use simple th

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
is it because of the simple theam? In simple theam validations dont happen is it? if i dont use simple theme view components are generating their own decoration. Our custom alignment is going wrong. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: validation problem

2014-12-25 Thread Dave Newton
Simple theme is simpler than you think. On Dec 25, 2014 4:46 AM, "Yaragalla Muralidhar" wrote: > I am using struts2.3.20 and using simple theme. > > *Thanks and Regards,* > Muralidhar Yaragalla. > > *http://yaragalla.blogspot.in/ * > > On Thu, Dec 25, 2014 at 4:08 P

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
I am using struts2.3.20 and using simple theme. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Thu, Dec 25, 2014 at 4:08 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi i am having problem in turning on validation

validation problem

2014-12-25 Thread Yaragalla Muralidhar
Hi i am having problem in turning on validations. I have written "actionClass-validation.xml" file in the same package as action class. but the validations are not working. the following is my validation xml file. http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd";> Could no

1 page multiple form's fields validation problem

2013-06-14 Thread john lee
for struts 2,      1 html page have 2 forms at different panel, each form have its own textfield for input and submit button as well. the problem:     when 1 form's textfield validation trigger, but error message display at both form's texfield place.    in other words,                 can n

Re: Struts Validator Framework: client-side validation problem

2011-09-02 Thread Brian Thompson
I'm not familiar with the tag; does that auto-include the script defining the validateForm() function? If not, I'd suggest a missing

Re: Struts Validator Framework: client-side validation problem

2011-09-02 Thread Dave Newton
quot; uri="/WEB-INF/struts-bean.tld" %> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 > Transitional//EN"> > > > > LoginPage > > > > > > > > > > > > > > > > > > > > Click here to   href=

Struts Validator Framework: client-side validation problem

2011-09-02 Thread RajasekharReddy
/DTD HTML 4.01 Transitional//EN"> LoginPage > Click here to   SignUp > -- View this message in context: http://struts.1045723.n5

Validation Problem

2011-07-03 Thread log2akshat
the Error Messages. http://struts.1045723.n5.nabble.com/file/n4547986/Screenshot.png -- View this message in context: http://struts.1045723.n5.nabble.com/Validation-Problem-tp4547986p4547986.html Sent from the Struts - User mailing list archive at Nabble.com

Re: struts2.1 validation problem! with "fileUploadStack"

2010-11-19 Thread Mead Lai
---Maybe you can add a property in your action which return the current ---date. And reference this property in your validation configuration. You mean, I shall add a property in the request-Scope, then retrieve it by EL expression? I will have a try, Thank you. Regards, Mead On Fri, Nov 19, 20

RE: struts2.1 validation problem! with "fileUploadStack"

2010-11-19 Thread Martin Gainty
Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Date: Fri, 19 Nov 2010 22:55:42 +0900 > Subject: Re: struts2.1 validation problem! with "fileUploadStack" >

Re: struts2.1 validation problem! with "fileUploadStack"

2010-11-19 Thread Li Ying
Maybe you can add a property in your action which return the current date. And reference this property in your validation configuration. Or create a Static method in an Utility class, return return the current date, And reference this property in your validation configuration. If both of these do

Re: struts2.1 validation problem! with "fileUploadStack"

2010-11-19 Thread Maurizio Cucchiara
Did you try something like this http://struts.apache.org/2.2.1/docs/date-validator.html ? 2010/11/19 Mead Lai > Thank you, Dave. > Your explain is helpful for me to understand it. > > I want to validate the birthday in struts2 validation.xml, > The range of date is between 1900-01-01 and current

Re: struts2.1 validation problem! with "fileUploadStack"

2010-11-18 Thread Mead Lai
Thank you, Dave. Your explain is helpful for me to understand it. I want to validate the birthday in struts2 validation.xml, The range of date is between 1900-01-01 and current Date. How to get current date time in the struts2 validation.xml,? Thanks! 1900-01-01 ${current Date} your birthday s

Re: struts2.1 validation problem! with "fileUploadStack"

2010-11-18 Thread Dave Newton
Because ofnyou define an interceptor (stack) for an action it will be the *only* interceptor (stack) for that action. So it doesn't work until you add the defaultStack because it doesn't have the defaultStack until you add it. Dave On Thursday, November 18, 2010, Mead Lai wrote: > While, I add t

Re: struts2.1 validation problem! with "fileUploadStack"

2010-11-17 Thread Mead Lai
While, I add the default interceptor into that action, everything work fine. But I am also do not know why,Ha ha... Thank you, all... Regards, Mead On Thu, Nov 18, 2010 at 2:19 PM, Mead Lai wrote: > interceptor

struts2.1 validation problem! with "fileUploadStack"

2010-11-17 Thread Mead Lai
Hello all, I am now using struts2 "UserInfoAction-doModify-validation.xml" to validate my form input. It is work fine. but when I add a interceptor into this action, the validation not work anymore. /WEB-INF/pages/usermanage/modifyUser.jsp IndexAction_search Does anyone get th

Re: Validation Problem

2010-10-09 Thread Maurizio Cucchiara
It's a know bug. If your application doesn't run in a production environment you could download latest struts release from https://hudson.apache.org/hudson/view/Struts/job/struts2/ Maurizio Cucchiara 2010/10/9 Chris Miles : > Whenever the validation procedure returns to the "input" result, any >

Validation Problem

2010-10-08 Thread Chris Miles
Whenever the validation procedure returns to the "input" result, any

Re: Struts2 validation problem

2010-04-04 Thread zud
e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > thanks for the reply i am not using springs i am using struts 2.x can you please help me out -- View this message in context: http://old.nabble.com/Struts2--

Re: Struts2 validation problem

2010-04-04 Thread zud
>> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >> > > -- Vie

Re: Struts2 validation problem

2010-04-04 Thread zud
>> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >> > > -- Vie

Re: Struts2 validation problem

2010-04-04 Thread zud
be, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://old.nabble.com/Struts2--validation-problem-tp28042625p28137164.html Sent from the Struts - User mailing list archive at Na

Re: Struts2 validation problem

2010-04-03 Thread Dave Newton
zud wrote: 1) Is old errors is not getting cleared that means when the filed value is empty when i submit the form it shows required that is ok and agian when i submit with empty values again now it shows messages like filed is required filed is required Are you using Spring as your object fac

Struts2 validation problem

2010-03-26 Thread zud
--validation-problem-tp28042625p28042625.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: S2 Type conversion error and validation problem

2009-12-04 Thread Marsman
n context: http://old.nabble.com/S2-Type-conversion-error-and-validation-problem-tp26609676p26635934.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.or

Re: S2 Type conversion error and validation problem

2009-12-04 Thread Marsman
http://old.nabble.com/S2-Type-conversion-error-and-validation-problem-tp26609676p26635875.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.or

Re: S2 Type conversion error and validation problem

2009-12-03 Thread Wes Wannemacher
On Wed, Dec 2, 2009 at 9:22 AM, Marsman wrote: > > Hi! > > after a type conversion error, Struts goes on in the interceptor stack and > validates the empty action property with useless results. How can I avoid > this? (I'm using the default interceptor stack.) And how can I avoid the > NoSuchMetho

S2 Type conversion error and validation problem

2009-12-02 Thread Marsman
valid alphanumeric values in my numeric or date fields? Does anybody know a best practice validating numeric fields against numeric data? Thanks, Titus -- View this message in context: http://old.nabble.com/S2-Type-conversion-error-and-validation-problem-tp26609676p26609676.html Sent from the Struts -

Re: Struts2 Validation Problem - validation errors not being cleared when corrected!

2009-10-23 Thread Murray Furtado
Hehe, I've just resolved my own issue! The problem was my spring configuration. I needed to specify scope="prototype" on each of my Struts 2 Action declarations. Singleton actions were being created and thus previous field errors were being carried over between requests. I'm surprised this isn't a

Struts2 Validation Problem - validation errors not being cleared when corrected!

2009-10-23 Thread Murray Furtado
Hi, I'm using Struts 2.0.14 and validation annotations. I have a UpdateUserAction class which implements ModelDriven and declares the execute() method with the following : @Validations( visitorFields = { @VisitorFieldValidator(message="", fieldName="model")} ) My model is a User class which has

Re: ajax validation problem in IE8

2009-08-31 Thread Mitch Claborn
Some more info: The generated HTML is below. validation.js (in the css_xhtml theme) uses this line to find the element before which to insert the new error div. var firstCtrNode = findWWCtrlNode(enclosingDiv); // either wwctrl_ or wwlbl_ That function looks for a child div or span whose c

Re: ajax validation problem in IE8

2009-08-30 Thread Dave Newton
Martin Gainty wrote: you can take all your JS scripts and run it thru RhinoScript thats what i did for Dojo http://www.rhinoscript.org be sure to toss in plenty of alert statements! What in the name of Bumba's porcelain alter are you talking about? Unless IE8 runs RhinoScript I don't see how

RE: ajax validation problem in IE8

2009-08-29 Thread Martin Gainty
accepter aucune responsabilité pour le contenu fourni. > Date: Sat, 29 Aug 2009 18:34:38 -0500 > From: mi...@claborn.net > To: mgai...@hotmail.com; user@struts.apache.org > Subject: Re: ajax validation problem in IE8 > > I'll give that a try. I thought I remembered seein

Re: ajax validation problem in IE8

2009-08-29 Thread Mitch Claborn
privilégié. Si vous n'êtes pas le > destinataire prévu, nous te demandons avec bonté que pour satisfaire informez > l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci > est interdite. Ce message sert à l'information seulement et n'aura pas

ajax validation problem in IE8

2009-08-29 Thread Mitch Claborn
Struts 2.1.6 I have a form that uses ajax validation before a non-ajax POST. In IE8, if the ajax validation call returns a field error (like a missing field), I get the error in a pop up box in IE8: "An exception occurred: Error. Error message: Invalid argument." Only happens when there are field

Validation problem in Struts 2.1.6

2009-07-27 Thread Thaminda Karunanayake
Hi, I am migrating from struts 2.0.6 to 2.1.6. Using struts 2.1.6, I created a login page and included the and inside tags of an html table (shown below). But, when I activate client side validation, the error messages appear repeatedly; i.e. previous error messages are not cleared.

Re: Validation problem when navigating through pages

2009-02-10 Thread Srikanth Goud
d how to stop validations when page renders for first time? > > regards > Srikanth. > > > > -- View this message in context: http://www.nabble.com/Validation-problem-when-navigating-through-pages-tp21933765p21934405.html Sent from the Struts - User mailing list ar

Validation problem when navigating through pages

2009-02-10 Thread Srikanth Goud
how to stop validations when page renders for first time? regards Srikanth. -- View this message in context: http://www.nabble.com/Validation-problem-when-navigating-through-pages-tp21933765p21933765.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts 2 Validation Problem

2008-12-31 Thread Felipe Fraga
Hello, I don't see this happening in 2.0.14. Are you using any custom validators? Any custom stack? Felipe Fraga On Wed, Dec 31, 2008 at 5:42 AM, Windy Hung wrote: > Hi > I use action field validation for my form. > When I press "submit" button multiple times to test a field validation of >

Struts 2 Validation Problem

2008-12-30 Thread Windy Hung
Hi I use action field validation for my form. When I press "submit" button multiple times to test a field validation of "requiredstring", each invalid value message is printed and is stacked on each other. That means if I press "submit" button 5 times, the invalid warning message is printed out

Re: validation problem

2008-09-30 Thread Sébastien Domergue
Hi, if you use xml validation, you should use a validator like this one : mySelectBox 0 Please select a value As your default value is -1, the validator will only check if the value is not -1. For the rest of the values, there won't be any other check. If you use annotation va

validation problem

2008-09-30 Thread Naag
ass variable private List groupNames = new ArrayList(); please send me the clue for this one. i tried in all the ways,but i am helpless Thanking u -- View this message in context: http://www.nabble.com/validation-problem-tp19740630p19740630.html Sent from the Struts - User mailing l

Re: Struts 2 Annotation Validation Problem

2008-09-21 Thread mctdeveloper
Just see the below link for usage of Annotations in validation, Hope might be useful http://intricatetips.blogspot.com -- View this message in context: http://www.nabble.com/Struts-2-Annotation-Validation-Problem-tp16990235p19592822.html Sent from the Struts - User mailing list archive at

RE: [S2] solution - Action chaining and validation problem

2008-09-18 Thread Becky . L . O'Sullivan
[S2] Action chaining and "Struts Users validation problem Mailing List" <[EMAIL PROTECTED]

RE: [S2] Action chaining and validation problem

2008-09-17 Thread Becky . L . O'Sullivan
RE: [S2] Action chaining and "Struts Users validation problem Mailing List" <[EMAIL PROTECTED]

RE: [S2] Action chaining and validation problem

2008-09-17 Thread Martin Gainty
. > Subject: RE: [S2] Action chaining and validation problem > To: user@struts.apache.org > From: Becky.L.O'[EMAIL PROTECTED] > Date: Wed, 17 Sep 2008 15:32:49 -0700 > > We actually have no validation XML files (we're setting error fields > manually). We're not perfo

RE: [S2] Action chaining and validation problem

2008-09-17 Thread Becky . L . O'Sullivan
cc Subject Please respond to RE: [S2] Action chaining and "Struts Users validation problem

RE: [S2] Action chaining and validation problem

2008-09-17 Thread Dave Newton
--- On Wed, 9/17/08, Martin Gainty wrote: > check your validators.xml to see if your short-circuit > attribute is set to true My understanding is that validation short-circuiting means that additional validations for the same field won't be run as soon as the first validation error is encounter

RE: [S2] Action chaining and validation problem

2008-09-17 Thread Martin Gainty
ontained within this transmission. > Subject: [S2] Action chaining and validation problem > To: user@struts.apache.org > From: Becky.L.O'[EMAIL PROTECTED] > Date: Wed, 17 Sep 2008 10:30:06 -0700 > > > Without going into a lot of detail, suffice to say our application be

[S2] Action chaining and validation problem

2008-09-17 Thread Becky . L . O'Sullivan
Without going into a lot of detail, suffice to say our application benefits from action chaning, and we are using it in the documented way. We've begun to go through and add the validation to some actions, but we have run into a snag with validation and action chaining. Whenever one action in th

Re: validation problem

2008-06-26 Thread Laurie Harper
nal Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Wednesday, June 25, 2008 3:37:38 PM Subject: Re: validation problem Whoops, as the other reply said, it's the tag [1], not . Dave [1] http://struts.apache.org/2.x/docs/fielderror.html --- On We

Re: validation problem

2008-06-25 Thread Lukasz Lenart
> I can implement custom validation using validate(), but I've around 30 > transactional forms with this type of requirements. Maybe it will be better if you implement your own validator for thoese 30 forms? I think it will be soft option then very compilcated expression above ;-) Regards -- Lu

Re: validation problem

2008-06-25 Thread ManiKanta G
ve Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Wednesday, June 25, 2008 3:37:38 PM Subject: Re: validation problem Whoops, as the other reply said, it's the tag [1], not . Dave [1] http://struts.apache.org/2.x/docs/fielderror.html --- On Wed, 6/25/08, Dave N

Re: validation problem

2008-06-25 Thread Dave Newton
ECTED]> > To: Struts Users Mailing List > > Sent: Wednesday, June 25, 2008 3:37:38 PM > Subject: Re: validation problem > > Whoops, as the other reply said, it's the > tag [1], not . > > Dave > > [1] http://struts.apache.org/2.x/docs/fielderror.html > >

Re: validation problem

2008-06-25 Thread Lukasz Lenart
Hi, > How the validation should be done for fields which are only displayed in > certain conditions? If I do this through the XML file the validation is done > all the time even when the field is not visible. You can implement validate() or validate() and remember to implement Validatable inte

Re: validation problem

2008-06-25 Thread Istvan Kozma
Struts Users Mailing List Sent: Wednesday, June 25, 2008 3:37:38 PM Subject: Re: validation problem Whoops, as the other reply said, it's the tag [1], not . Dave [1] http://struts.apache.org/2.x/docs/fielderror.html --- On Wed, 6/25/08, Dave Newton <[EMAIL PROTECTED]> wrote: >

Re: validation problem

2008-06-25 Thread Dave Newton
Whoops, as the other reply said, it's the tag [1], not . Dave [1] http://struts.apache.org/2.x/docs/fielderror.html --- On Wed, 6/25/08, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Wed, 6/25/08, Anshu Dhamija wrote: > > i am facing problem in performing validation through > > xml actually

Re: validation problem

2008-06-25 Thread ManiKanta G
Anshu Dhamija wrote: hi i am new to struts 2.i am facing problem in performing validation through xml actually i want to display message at the top of my form instaed of at field level can anyone please help me Hi, In struts2 there is a provision for handling the error messages by field

Re: validation problem

2008-06-25 Thread Dave Newton
--- On Wed, 6/25/08, Anshu Dhamija <[EMAIL PROTECTED]> wrote: > i am facing problem in performing validation through > xml actually i want to display message at the top of > my form instaed of at field level > can anyone please help me The validation messages are placed in the form by the S2 for

validation problem

2008-06-25 Thread Anshu Dhamija
hi i am new to struts 2.i am facing problem in performing validation through xml actually i want to display message at the top of my form instaed of at field level can anyone please help me

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-24 Thread cacodemon79
"document."+nomeForm+".submit()"); >>>>> } >>>>> >>>>> If I click on the second button (html:submit), all works well (I get >>>>> javascript alerts). >>>>> If I click on the first button (html:link), the form is submitted but >>>>> I >>>>> can't see any javascript alerts. >>>>> >>>>> I can't understand where is the problem. >>>>> >>>>> Can you help me? >>>>> >>>>> Thanks in advance. >>>>> >>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-Validator-Framework%3A-client-side-validation-problem-with-submitting-buttons-tp18042962p18093853.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Laurie Harper
I did what I should have done in the first place and looked it up: Form.submit() is specified to *not* call the onsubmit handler, so this is the correct behaviour (and should be consistent across all browsers). When in doubt, check the documentation :-) L. cacodemon79 wrote: Bingo! Now it wo

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Lukasz Lenart
Hi, 2008/6/23 cacodemon79 <[EMAIL PROTECTED]>: > > Bingo! > Now it works! > Thanks a lot. > However i can't understand why the onsubmit handler is not triggered by the > submit() function! > Maybe it depends on Web Browser, did you try with others? Regards -- Lukasz http://www.lenart.org.pl/

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread cacodemon79
quot;.submit()"); >>> } >>> >>> If I click on the second button (html:submit), all works well (I get >>> javascript alerts). >>> If I click on the first button (html:link), the form is submitted but I >>> can't see any javascript aler

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Laurie Harper
Did you confirm whether calling the form's submit() method triggers its onsubmit handler? It may be that calling submit() bypasses it, in which case an explicit guard in your submit function might do the trick: function submitRegistrazioneUtenteForm(nomeForm){ var form = ...; if (validateRe

Re: [struts] Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Lukasz Lenart
> A beta version of firebug does work with 3.0 : > http://getfirebug.com/releases/index.html Thanks! -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: [struts] Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Dale Newfield
Lukasz Lenart wrote: Maybe you should install Firebug for Firefox (not working with 3.0) and debug the JavaScript? A beta version of firebug does work with 3.0 : http://getfirebug.com/releases/index.html -Dale - To unsubscr

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Lukasz Lenart
Hi, Maybe you should install Firebug for Firefox (not working with 3.0) and debug the JavaScript? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread cacodemon79
ck on the second button (html:submit), all works well (I get > javascript alerts). > If I click on the first button (html:link), the form is submitted but I > can't see any javascript alerts. > > I can't understand where is the problem. > > Can you help me? > > T

Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-21 Thread cacodemon79
cript alerts). If I click on the first button (html:link), the form is submitted but I can't see any javascript alerts. I can't understand where is the problem. Can you help me? Thanks in advance. -- View this message in context: http://www.nabble.com/Struts-Validator-Framework%3A-

annotation validation problem

2008-06-16 Thread xaero
/annotation-validation-problem-tp17862211p17862211.html Sent from the Struts - User mailing list archive at Nabble.com.

tag with Validation problem

2008-05-13 Thread Håken Stark
Hi, I'm facing a problem when I'm using a Struts form with client validation on a jsp page which is remotely fetch from a . This div is a tabpanel inside a tabcontainer. When the form is submitted the following error displays inside the sx:div: 'ReferenceError: validateForm_saveProducer is not

Re: validation problem

2008-05-12 Thread Laurie Harper
Anet wrote: Hi everybody; I have some tables on my page. each of them contains some of properties. for the first time, tables are hidden and will be displayed by this javascript code: function toggle(id){ var id = id; var table = document.getElementById(id); if(table.style.display=="none"

validation problem

2008-05-10 Thread Anet
Hi everybody; I have some tables on my page. each of them contains some of properties. for the first time, tables are hidden and will be displayed by this javascript code: function toggle(id){ var id = id; var table = document.getElementById(id); if(table.style.display=="none"){ table.sty

Re: Struts 2 Annotation Validation Problem

2008-05-06 Thread Wes Wannemacher
I could be wrong in my assumption, but I became suspicious when the action class wasn't in the stacktrace... On Tue, 2008-05-06 at 20:48 -0400, Jim Kiley wrote: > It's weird and confusing that inherited methods don't make it into the proxy > class. Took me an age to figure it out, in no small p

Re: Struts 2 Annotation Validation Problem

2008-05-06 Thread Jim Kiley
It's weird and confusing that inherited methods don't make it into the proxy class. Took me an age to figure it out, in no small part because I couldn't find an easy way to inspect the proxy class's methods. My workaround was to eliminate the @Transactional annotation entirely, and I'm hoping tha

Re: Struts 2 Annotation Validation Problem

2008-05-06 Thread Wes Wannemacher
Sorry I didn't catch this earlier, but I had the exact same problem. It would seem that when you use Spring's @Transactional annnotation, the class gets proxied... Which I would think is okay, except for the fact that inherited methods (such as ActionSupport.input()) do not make it into the proxied

  1   2   3   >