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

2012-02-28 Thread joann luo
Hello, I am currently using the Struts2 validation framework for my project. I have Struts 2.0.14. I have been trying to find a way to display alternate error message through validator framework. I tried two things. 1. I added a bundle attribute in the following code in the web.xml but

Struts Validation Framework - Focus and Select form field

2010-05-13 Thread somag
Hi, On one of my project we are using struts validation framework...i am using client side validation...requirement is when form field value is invalid its focusing into specific field...at same time i have to select existing value invalid text...like focus() and select() Thanks, -Soma

Re: hi,guys! I wonder the validation framework is ok in the Struts 2.1.6 .

2009-04-14 Thread Dave Newton
Martin Gainty wrote: Original Op: feel free to ping me offline for specific details .. It's better to keep Struts-related topics on the mailing list/forum, that way everybody benefits. To quote from the JavaRanch FAQ: "The whole point of [it] is that the whole community can benefit from pub

RE: hi,guys! I wonder the validation framework is ok in the Struts 2.1.6 .

2009-04-14 Thread Martin Gainty
manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 14 Apr 2009 07:00:17 -0400 > From: terry.gard...@sun.com > Subject: Re: hi,guys! I wonder the validation framework is ok in the Struts > 2.1.6 . > To: user@struts.apache.org > &

Re: hi,guys! I wonder the validation framework is ok in the Struts 2.1.6 .

2009-04-14 Thread Terry Gardner
yes. On Apr 13, 2009, at 1:15 AM, 白鹏 wrote: Has anyone use the validation framework of struts 2.1.6?? ?? == terry.gard...@sun.com Blog: http://blogs.sun.com/terrygardner Blog: http://dtfar.blogspot.com Twitter: http://twitter.com/tgardner SLAMD: http://slamd2.dev.java.net Skype

Re: hi,guys! I wonder the validation framework is ok in the Struts 2.1.6 .

2009-04-14 Thread 白鹏
Oh , I have fixed it. :) The bug is in the login.jsp , I wrote .. *login.action is a Url .. So the client side validation did not work. * 2009/4/14 白鹏 > I try to use the validation framework in the *client side* But failed. > > It is a ' login' scenario. In the h

Re: hi,guys! I wonder the validation framework is ok in the Struts 2.1.6 .

2009-04-14 Thread 白鹏
I try to use the validation framework in the *client side* But failed. It is a ' login' scenario. In the html source , I find but there isn't the function *validateForm_login(); in the validation.js or utils.js. * The browser told me that there was something

Re: hi,guys! I wonder the validation framework is ok in the Struts 2.1.6 .

2009-04-13 Thread Dave Newton
?? wrote: Has anyone use the validation framework of struts 2.1.6?? Yes. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: hi,guys! I wonder the validation framework is ok in the Struts 2.1.6 .

2009-04-13 Thread Paweł Wielgus
Hi, mabe You should try to run struts blank app, the one that comes from downloaded zip file, there evrything should work fine and You will have a chance to see what differs from Your app. Best greetings, Paweł Wielgus. 2009/4/13 白鹏 : > Has anyone use the validation framework of struts 2.

hi,guys! I wonder the validation framework is ok in the Struts 2.1.6 .

2009-04-12 Thread 白鹏
Has anyone use the validation framework of struts 2.1.6?? ??

Re: Validation framework wont apply when we use table in jsp ?

2009-03-10 Thread Dave Newton
As far as I can tell you've posted three questions asking the same thing. The "simple" theme doesn't render error information. Dave sajidbigler wrote: Hi plz help me to resolve this when we use table with in jsp validation framework wont be applied and as well actionerror

What's wrong with my Validation framework it was working fine b4 but now its give problem :(

2009-03-10 Thread sajidbigler
Hi Friends, Please help me to understand why validation framework is not working http://www.nabble.com/file/p22431543/CompleteFiles.rar CompleteFiles.rar -- View this message in context: http://www.nabble.com/What%27s-wrong-with-my-Validation-framework-it-was-working-fine-b4-but-now-its

Struts Validation framework

2008-08-10 Thread Pappula Jagan
frame work. -- View this message in context: http://www.nabble.com/Struts-Validation-framework-tp18920960p18920960.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Problem with Validation framework

2008-04-24 Thread Lukasz Lenart
> class="com.intuit.sbfw.action.mc.UserLookupAction"> UserLookupAction-validation.xml is in the same path as class above? > 2) I see this message when I invoke my very first action: INFO > [ActionValidatorManagerFactory] Detected AnnotationActionValidatorManager, > initializing it... > Does t

RE: Problem with Validation framework

2008-04-24 Thread Sanjeewa Saman
HI I hope that this will help you http://struts2issues.blogspot.com/ BR, sanj -Original Message- From: Pranav [mailto:[EMAIL PROTECTED] Sent: Thursday, April 24, 2008 6:32 AM To: user@struts.apache.org Subject: Problem with Validation framework Hi All, I am having a problem with

Problem with Validation framework

2008-04-23 Thread Pranav
Hi All, I am having a problem with validation framework. This is the first time I am trying to use struts2 validation. Here's different code pieces that I have. UserLookupAction-validation.xml You must enter a value for Memb

Re: [OT] Re: Calling Struts Validation framework explicitly from WebServices

2007-08-13 Thread Laurie Harper
Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, August 13, 2007 5:12 PM To: Struts Users Mailing List Subject: [OT] Re: Calling Struts Validation framework explicitly from WebServices Look at Apache commons-validator... asking the question in many different ways will not generate significa

RE: [OT] Re: Calling Struts Validation framework explicitly from WebServices

2007-08-13 Thread Prashant Baviskar
inal Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, August 13, 2007 5:12 PM To: Struts Users Mailing List Subject: [OT] Re: Calling Struts Validation framework explicitly from WebServices Look at Apache commons-validator... asking the question in many different ways will

[OT] Re: Calling Struts Validation framework explicitly from WebServices

2007-08-13 Thread Dave Newton
> > I am separating business logic from presentation > logic & going to expose > this business logic as web-service. > > I want to explicitly call validation framework of > struts from web service. > > Please Help > > > > > > --Thanks & Regar

Calling Struts Validation framework explicitly from WebServices

2007-08-13 Thread Prashant Baviskar
Hi, I have a struts application. I am separating business logic from presentation logic & going to expose this business logic as web-service. I want to explicitly call validation framework of struts from web service. Please Help --Thanks & Regards Prashant Baviskar

Re: Validation framework... weird...

2007-07-25 Thread Laurie Harper
Balazs Michnay wrote: Dear Struts Users, I have a form with 13 form controls on it. I'd like to use the Struts Validation Framework to validate it, but it's acting weird. What I'd like to do is to have AT LEAST ONE of the controls filled, but the test of "validWhen" o

Validation framework... weird...

2007-07-24 Thread Balazs Michnay
Dear Struts Users, I have a form with 13 form controls on it. I'd like to use the Struts Validation Framework to validate it, but it's acting weird. What I'd like to do is to have AT LEAST ONE of the controls filled, but the test of "validWhen" only allows simple bool

Re: Problem in Implementation of Struts2 Validation framework

2007-05-29 Thread Jeromy Evans
Struts2 uses xwork validation. The best description of how it finds your xml files is here: http://www.opensymphony.com/xwork/wikidocs/Validation%20Framework.html Pay particular attention to the alias description in the "Defining Validation Rules" section because that's what's not working for y

Problem in Implementation of Struts2 Validation framework

2007-05-29 Thread Vijay Prajapati
Hi, I am using Struts2.0.6 and trying to implement Validator framework but couldn't succeed. I have confution to give name of actionname-validator.xmlfile. I am here giving action cofiguration in Struts.xml < result name="success">/adduser.jsp /adduser.jsp I have implemented UserManagementAct

Re: Validation Framework

2007-03-13 Thread Balazs Michnay
Thanks guys, now it perfectly works. As a conclusion, most of the online articles on how to use the validation framework work just fine, but they all missed the validate="true" attribute. Besides this, I had a wrong value of my action's input attribute. Thanks again, you a

Re: Validation Framework

2007-03-13 Thread Dave Newton
--- Christopher Schultz wrote: > I didn't say that you need another URL that doesn't > perform validation. Oh. I guess I don't know another way to show a form via an Action without running validation except by defining an Action. d. __

Re: Validation framework question

2007-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Newton wrote: > --- Christopher Schultz wrote: >> I wrote: >>> Try breaking up the JSP into dynamic includes >> This might not help, depending in which type of >> include you use. Static includes, for example, [...] > > ... Heh. Missed "d

Re: Validation Framework

2007-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Newton wrote: > --- Christopher Schultz wrote: >> Right. Under most circumstances, you should set >> validate="true" in your definition, and >> /not/ call form.validate() in your own action. >> You /are/ free to call validation by hand, b

Re: Validation framework question

2007-03-13 Thread Dave Newton
--- Christopher Schultz wrote: > I wrote: >> Try breaking up the JSP into dynamic includes > This might not help, depending in which type of > include you use. Static includes, for example, [...] ... d. Look

Re: Validation framework question

2007-03-13 Thread Mike Baroukh
could not find where my IDE stores those files. I am using WSAD 5.1.1 with WebSphere. Any suggestions would be appreciated. Harsh. -Original Message- From: Mike Baroukh [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 11:56 AM To: Struts Users Mailing List Subject: Re: Valid

Re: Validation framework question

2007-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Newton wrote: > --- Mike Baroukh <[EMAIL PROTECTED]> wrote: >> jdk5 should not have the problem. > > Did 1.5+ remove the 64K limitation? The 64k is a limit for method bodies, not try/catch. It should still be very much in force: http://ja

Re: Validation Framework

2007-03-13 Thread Dave Newton
--- Christopher Schultz wrote: > Right. Under most circumstances, you should set > validate="true" in your definition, and > /not/ call form.validate() in your own action. > You /are/ free to call validation by hand, but it's > generally more convenient to allow Struts to handle > the validate/f

Re: Validation Framework

2007-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balazs, Balazs Michnay wrote: > Thanks a lot for your help! It really does work! What I missed was > the validate="true" attribute of the action tag, however, this was > not mentioned by any of the articles I read. If it's not mentioned, you should p

Re: Validation framework question

2007-03-13 Thread Mike Baroukh
>Did 1.5+ remove the 64K limitation? I'm not absolutly sure, but think. I read this once and it's been a long time since I didn't saw this exception ... Mike Dave Newton a écrit : --- Mike Baroukh <[EMAIL PROTECTED]> wrote: jdk5 should not have the problem. Did 1.5+ remove the 64

RE: Validation framework question

2007-03-13 Thread Chaudhary, Harsh
List Subject: Re: Validation framework question then, you may try to look at the compiled jsp ? Chaudhary, Harsh a écrit : > I know that the exception "Maximum try/catch size reached" has something to > do with the compiler but what I would likt to know is that whether or not a

Re: Validation framework question

2007-03-13 Thread Dave Newton
--- Mike Baroukh <[EMAIL PROTECTED]> wrote: > jdk5 should not have the problem. Did 1.5+ remove the 64K limitation? > There may be or may be no code added for the > validation. But this is not the problem ... Technically, no, but it's the gating issue in this case. Try breaking up the JSP into

Re: Validation framework question

2007-03-13 Thread Mike Baroukh
ile itself. Harsh. -Original Message- From: Mike Baroukh [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 11:51 AM To: Struts Users Mailing List Subject: Re: Validation framework question Hi. This is only a problem with javac and depending on wich java version you use. jdk5 shoul

RE: Validation framework question

2007-03-13 Thread Chaudhary, Harsh
PROTECTED] Sent: Tuesday, March 13, 2007 11:51 AM To: Struts Users Mailing List Subject: Re: Validation framework question Hi. This is only a problem with javac and depending on wich java version you use. jdk5 should not have the problem. You may also try to use jikes for compiler. There may be

Re: Validation framework question

2007-03-13 Thread Mike Baroukh
t. He says that this is because of the validations and when we remove the validations, everything is fine. I say that the validation framework has absolutely nothing to do with the JSP's. It deals with the struts forms exclusively. So, the exception could not have been because of the validator

Validation framework question

2007-03-13 Thread Chaudhary, Harsh
like that. He says that this is because of the validations and when we remove the validations, everything is fine. I say that the validation framework has absolutely nothing to do with the JSP's. It deals with the struts forms exclusively. So, the exception could not have been because of the

Re: Validation Framework

2007-03-13 Thread Balazs Michnay
- Original Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Tuesday, March 13, 2007 4:24:09 PM Subject: Re: Validation Framework --- Balazs Michnay <[

Re: Validation Framework

2007-03-13 Thread Dave Newton
--- Balazs Michnay <[EMAIL PROTECTED]> wrote: > I'm relatively new to Struts and am trying to get > the Validation Framework working without success. You neither set validate='true' on your Action (in the struts-config action-mapping configuration element) nor cal

Re: Validation Framework

2007-03-13 Thread Mike Baroukh
Struts Users, I'm relatively new to Struts and am trying to get the Validation Framework working without success. I've read several tutorials and articles on using it, but it just doesn't want to work. I'm using NetBeans 5.5, so that I can use Struts 1.2.9. Having set everythi

Validation Framework

2007-03-13 Thread Balazs Michnay
Dear Struts Users, I'm relatively new to Struts and am trying to get the Validation Framework working without success. I've read several tutorials and articles on using it, but it just doesn't want to work. I'm using NetBeans 5.5, so that I can use Struts 1.2.9. Having s

Re: Validation Framework and DispatchAction

2006-12-28 Thread Wendy Smoak
On 12/28/06, Andy Foster <[EMAIL PROTECTED]> wrote: This should solve my problem as each submitaction that requires validation validates the same set of data. However this will not work if there are three methods create and update both need to validate but each validate against a different set

Re: Validation Framework and DispatchAction

2006-12-28 Thread Ed Griebel
46 To: Struts Users Mailing List Subject: Re: Validation Framework and DispatchAction On 12/28/06, Andy Foster <[EMAIL PROTECTED]> wrote: > This validates at the action mapping level so in the above case it validates > on update as well as create. > > How do you validate just against the

RE: Validation Framework and DispatchAction

2006-12-28 Thread Andy Foster
t set of parameters and the third submitaction does not validate. Regards Andy -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 28 December 2006 16:46 To: Struts Users Mailing List Subject: Re: Validation Framework and DispatchAction On 12/28/06, Andy Foster <[EMAI

Re: Validation Framework and DispatchAction

2006-12-28 Thread Wendy Smoak
On 12/28/06, Andy Foster <[EMAIL PROTECTED]> wrote: This validates at the action mapping level so in the above case it validates on update as well as create. How do you validate just against the create submitaction of the DispatchAction mapping? I would suggest turning off the automatic valid

Validation Framework and DispatchAction

2006-12-28 Thread Andy Foster
new object Update - update the original The page calls "/process_object.do" which is represented by a DispatchAction that has a method for each submit action. This is simple to implement and is all working fine. I now turn to the validation framework I want to specify a rule to validat

Re: comparing two values in validation framework..help?

2006-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mallik, Mallik wrote: > i have to comparing password and confirm password with validation framework. > how can i do this let me know please There is an example of this exact thing in the Struts validator guide: http://struts.apache.org/1.

RE: comparing two values in validation framework..help?

2006-12-15 Thread Thai Dang Vu
You could look at acegisecurity.org (used with Spring). -Original Message- From: Mallik [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 2:02 AM To: user@struts.apache.org Subject: comparing two values in validation framework..help? Hi friends i have to comparing password and

comparing two values in validation framework..help?

2006-12-15 Thread Mallik
Hi friends i have to comparing password and confirm password with validation framework. how can i do this let me know please thanks in advance ur's Mallik -- View this message in context: http://www.nabble.com/comparing-two-values-in-validation-framework..help--tf2825561.html#a7887166

Re: [Fwd: Having problems with Struts validation framework]

2006-11-26 Thread Laurie Harper
n. Currently as I know, the action gets called based on the setting. Any help would be much appreciated, regards, robin. Subject: Having problems with Struts validation framework From: robin bajaj <[EMAIL PR

Re: [Fwd: Having problems with Struts validation framework]

2006-11-24 Thread Christopher Schultz
gt; Currently as I know, the action gets called based on the > setting. > > > Any help would be much appreciated, > regards, > robin. > > > > > > > > > > > > ---

[Fwd: Having problems with Struts validation framework]

2006-11-23 Thread robin bajaj
Hello folks, I found a little issue with the action that's being called. Please dis-regard my previous mail reporting this issue. Its resolved now. However, I have another related issue. My loyaltyPAge.jsp has two buttons - Exit and continue. I want the validation to occur only when "Continue" i

Having problems with Struts validation framework

2006-11-23 Thread robin bajaj
Hi Folks, --- problem --- My validation is working but the control doesnt go back to the input page. I want the input page to render again showing the errors. --- Details -- I am using Struts 1.1.x for my webApp. My validation is working fine. (validator-rules.xml and validation-renewal.xml s

Re: how to generate GLOBAL errors using Struts validation framework

2006-11-01 Thread Niall Pemberton
You can also do the same kind of thing that Chris suggests with Struts tags: For your global message, uses the "messagesPresent" tag to detect if there are errors and then output the appropriate message: For your field specific messages, you can use either the or tags to position m

Re: how to generate GLOBAL errors using Struts validation framework

2006-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, > When the user submits the form with more than one fields left blank (or > with incorrect values), I want to show a > general (GLOBAL) message on top of the form saying > > "Following shown mandatory fields were provided with incorrect values

Re: how to generate GLOBAL errors using Struts validation framework

2006-11-01 Thread robin bajaj
Hi Dave, Thanks for the reply. My Desired Scenario: a) When the user submits the form with more than one fields left blank (or with incorrect values), I want to show a general (GLOBAL) message on top of the form saying "Following shown mandatory fields were provided with incorrect values" b

RE: how to generate generic errors using Struts validation framework

2006-11-01 Thread Dave Newton
From: robin bajaj [mailto:[EMAIL PROTECTED] > I need to know how can I generate GLOBAL validation errors using the > validation.xml file. I know this can be done easily in ActionForm's > java code like: Like what kind of "global" validation errors? Dave --

how to generate generic errors using Struts validation framework

2006-10-31 Thread robin bajaj
Hi Everyone, I am using Struts 1.2 validation framework where I am using the following elements to mention validation rules for specific action properties. But this only allows me to generate validation errors for specific ActionForm property names. I need to

Re: select box validation in validation framework help?

2006-10-10 Thread Laurie Harper
Mallik wrote: hi friends i have to validate that the user should selected any option except default('select', this is a text to indicate the user to select options in this select box) option. how can i do it help me.. ur's Mallik Make sure the 'default' option's value is empty, and use a 'requi

select box validation in validation framework help?

2006-10-10 Thread Mallik
x-validation-in-validation-framework-help--tf2415520.html#a6733244 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Indexed Properties in validation Framework help?

2006-09-25 Thread Mallik
HI friends, i have form which need indexed properties technique...(by net surfing i came to know) i need a full length tutorial on this topic ,or some code snipats help me please ur's Mallik -- View this message in context: http://www.nabble.com/Indexed-Properties-in-validation-Fram

Re: Validation framework problem?

2006-09-18 Thread Laurie Harper
Mallik wrote: Hi friends i have stuckup in validation framework because my form will get fields dynamically on user request and i cannot predect how my fields it will have when posting the form i am creating Dynamic form fields using javascript like txt = document.createElement('

Validation framework problem?

2006-09-15 Thread Mallik
Hi friends i have stuckup in validation framework because my form will get fields dynamically on user request and i cannot predect how my fields it will have when posting the form i am creating Dynamic form fields using javascript like txt = document.createElement('input'); txt.

Re: Validation framework for Dynamically added HTML elements?

2006-09-14 Thread Laurie Harper
al Message- From: Mallik [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 11:40 AM To: user@struts.apache.org Subject: Validation framework for Dynamically added HTML elements? Hi Friends i have one form where user enter his family details for this i create on row of fields

Re: Validation framework +dropdowns

2006-09-14 Thread Christopher Goldman
On Thu, 2006-09-14 at 16:13 +0530, Vaneet Sharma wrote: > Hii Frns > > I have two drop downs in my jsp page, > > I want to validate second drop down only when the value of selected item > of first drop down is 2. > Can anybody tell me how to do this using validation f

RE: Validation framework for Dynamically added HTML elements?

2006-09-14 Thread Mallik
Thursday, September 14, 2006 11:40 AM > To: user@struts.apache.org > Subject: Validation framework for Dynamically added HTML elements? > > > Hi Friends > i have one form where user enter his family details for this i create on > row of fields (like name,relationtype,occupati

Validation framework +dropdowns

2006-09-14 Thread Vaneet Sharma
Hii Frns I have two drop downs in my jsp page, I want to validate second drop down only when the value of selected item of first drop down is 2. Can anybody tell me how to do this using validation framework. Regards Vaneet. Sharma CRISIL. Office- (91)-22-6644 4116 M- (91)-93223 39127

RE: Validation framework for Dynamically added HTML elements?

2006-09-13 Thread Patil, Sheetal
he session. Then u can dynamically create as many fields u want... -Original Message- From: Mallik [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 11:40 AM To: user@struts.apache.org Subject: Validation framework for Dynamically added HTML elements? Hi Friends i have one

Validation framework for Dynamically added HTML elements?

2006-09-13 Thread Mallik
way my form will get fields dynamically using javascript createElement() method, now i want to add validation framework for this form how to manage in struts-config.xml ( for each form field we specify or is there any alternative solution for this problem in struts framework please let me know urs

RE: Hi Need help .. on javascript & validation framework when used together

2006-09-12 Thread Strachan, Paul
de if the javascript could be bypassed... From: nuwan chandrasoma [mailto:[EMAIL PROTECTED] Sent: Tue 12/09/2006 6:59 PM To: Struts Users Mailing List Subject: Re: Hi Need help .. on javascript & validation framework when used together try to call your java

Re: Hi Need help .. on javascript & validation framework when used together

2006-09-12 Thread nuwan chandrasoma
Hexadecimal)" <[EMAIL PROTECTED]> 09/12/2006 12:13 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject RE: Hi Need help .. on javascript & validation framework when used together Have you tried form onsubmit instead on b

RE: Hi Need help .. on javascript & validation framework when used together

2006-09-12 Thread Sheetal Gupta
On form submit, already validate method is called.. "David Pinho (Hexadecimal)" <[EMAIL PROTECTED]> 09/12/2006 12:13 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject RE: Hi Need help .. on javascript &

RE: Hi Need help .. on javascript & validation framework when used together

2006-09-11 Thread David Pinho (Hexadecimal)
Have you tried form onsubmit instead on button onclick? Obrigado, David Pinho DAN/DIS -Original Message- From: Sheetal Gupta [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 11 de Setembro de 2006 10:25 To: Struts Users Mailing List Subject: Hi Need help .. on javascript & valida

R: Hi Need help .. on javascript & validation framework when used together

2006-09-11 Thread Marcello Savino
Hide (via Javascript) the submit button till the radio is not selected Ciao -Messaggio originale- Da: Sheetal Gupta [mailto:[EMAIL PROTECTED] Inviato: lunedì 11 settembre 2006 11.25 A: Struts Users Mailing List Oggetto: Hi Need help .. on javascript & validation framework when

Hi Need help .. on javascript & validation framework when used together

2006-09-11 Thread Sheetal Gupta
Hi, I have a scenarion in which I have put a check (validation), that a radio butoon must be selected, beforea form gets submit. THis I have done using validation.xml. Now i have another requirement, that before pressing submit, a confiramtion dialog box should be shown... for which I have w

Re: validation framework problem?

2006-09-05 Thread Laurie Harper
i hope this will help u in better waiting for solutions and thanks inadvance Mallik Mallik wrote: HI Friends i am using validation framework with struts at fontend but the validation is not working properly first-time validation is taking place at server side ( displaying erro

RE: validation framework problem?

2006-09-05 Thread RoseIndia.net Help
[mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 4:53 PM To: user@struts.apache.org Subject: Re: validation framework problem? Hi friends -- this is my Action Login.java package com.pack1; import org.apache.struts.action.*; import javax.servlet.http

Re: validation framework problem?

2006-09-05 Thread Mallik
x27;t be more than {2} characters. > errors.invalid = {0} is invalid. > > # -- Label messages -- > label.userId = User ID > label.password = Password > ---- > login.jsp file > > staticJavascript="false"

Re: validation framework problem?

2006-09-05 Thread Jorge Martín Cuervo
ends > i am using validation framework with struts at fontend > but the validation is not working properly > first-time validation is taking place at server side ( displaying errors on > window) > second-time onwards it is taking place at client side (getting alert) > why th

validation framework problem?

2006-09-05 Thread Mallik
HI Friends i am using validation framework with struts at fontend but the validation is not working properly first-time validation is taking place at server side ( displaying errors on window) second-time onwards it is taking place at client side (getting alert) why these all? this is my code

RE: Shale Validation framework - Dynamic Parameters.

2006-07-11 Thread Iakouchev Alexander-EAL027C
Thank you Wendy! -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 1:29 PM To: Struts Users Mailing List Subject: Re: Shale Validation framework - Dynamic Parameters. On 7/11/06, Iakouchev Alexander-EAL027C <[EMAIL PROTECTED]> wrote: >

Re: Shale Validation framework - Dynamic Parameters.

2006-07-11 Thread Wendy Smoak
On 7/11/06, Iakouchev Alexander-EAL027C <[EMAIL PROTECTED]> wrote: Is this possible to pass dynamically information from a beans as a shale method parameter? Please come join us on the Shale user list, and re-post your question there. * http://shale.apache.org/mail-lists.html Thanks! -- Wend

Shale Validation framework - Dynamic Parameters.

2006-07-11 Thread Iakouchev Alexander-EAL027C
I have a question. Is this possible to pass dynamically information from a beans as a shale method parameter? The main idea is - I need to know about bean Ids then valuator invoked. Solution, like below does not works. ,or something like this... Alex Yakushev.

Re: problems using validation framework in struts

2006-07-11 Thread Ed Griebel
I haven't seen this error, but my guess is that you have referenced a form bean in your validation.xml that is not defined in struts-config.xml. Look for a typo in the name. -ed On 7/11/06, Anil Kumar Pippalapalli <[EMAIL PROTECTED]> wrote: hi all, iam new to struts and iam tryin out a simpl

problems using validation framework in struts

2006-07-11 Thread Anil Kumar Pippalapalli
hi all, iam new to struts and iam tryin out a simple application which validates password for minlength and maxlength in nb 4.1. iam gettin several exceptions saying unable to load validation.xml and validation-rules.xml check below errors, Using CATALINA_BASE: C:\Documents and Settings\

RE: Shale Validation Framework Issue.

2006-07-10 Thread Iakouchev Alexander-EAL027C
Hello Gary! Thank you for reply. Alex. -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 1:13 PM To: user@struts.apache.org Subject: Re: Shale Validation Framework Issue. Please take future Shale discussions to the shale mailing list. http

Re: Shale Validation Framework Issue.

2006-07-10 Thread Gary VanMatre
Please take future Shale discussions to the shale mailing list. http://shale.apache.org/mail-lists.html >- Original Message - >From: "Iakouchev Alexander-EAL027C" <[EMAIL PROTECTED]> >To: >Sent: Monday, July 10, 2006 8:56 AM >Subject: Shale Valida

Shale Validation Framework Issue.

2006-07-10 Thread Iakouchev Alexander-EAL027C
Hello everybody! I am a new in Shale Validation Framework. Actually I got an error after form was submitted. My Tomahawk version - 1.1.3. [http-80-Processor24] WARN org.apache.commons.validator.ValidatorResources - Form 'org.apache.shale.validator.minStringValue' not found for loc

Shale Validation Framework Issue.

2006-07-10 Thread Iakouchev Alexander-EAL027C
Hello everybody! I am a new in Shale Validation Framework. Actually I got an error after form was submitted. My Tomahawk version - 1.1.3. [http-80-Processor24] WARN org.apache.commons.validator.ValidatorResources - Form 'org.apache.shale.validator.minStringValue' not found for loc

regarding validation framework

2006-06-20 Thread mansooraks
Dear all, I am using validator framework in my application for client side validation. I have done all prerequisite . mapped my formbean in validator.xml file .add coding in jsp page. But while running that page it prints all the script code n the page itself like given below. Plz tell me the s

Re: struts validation framework

2005-07-15 Thread Sivakumar Santharam
Joe Germuska Germuska.com> writes: > > At 12:14 PM -0700 7/14/05, Jay Burgess wrote: > >Yes. It's because the leading zero is saying the numbers are > >"octal", so 01-07 > >are valid octals, 08-09 are invalid octals, and 10-12 are valid octals. > > Jay's exactly right here. Your options: >

validation Framework validwhen

2005-07-15 Thread Marc Demlenne
Hello, Little question about validwhen. If you have a field which has to be validated by mask, OR can be bad for the mask IF AND ONLY IF it remains unchanged, what's the best solution ? I could use a hidden field which holds the original value, then the real field, modifiable by user. Then eithe

Re: Validation Framework Manual

2005-07-14 Thread James Mitchell
o: "Struts Users Mailing List" Sent: Thursday, July 14, 2005 8:41 PM Subject: Re: Validation Framework Manual Rafael Taboada wrote: Yeah, that was the problem... Do u know a tutorial about how to fill my validation.xml? I want to know what i have to put in each tag. Are the docs a

Re: Validation Framework Manual

2005-07-14 Thread Dave Newton
Rafael Taboada wrote: Yeah, that was the problem... Do u know a tutorial about how to fill my validation.xml? I want to know what i have to put in each tag. Are the docs at http://struts.apache.org/userGuide/dev_validator.html not satisfactory? Dave -

Re: Validation Framework Manual

2005-07-14 Thread Rafael Taboada
Yeah, that was the problem... Do u know a tutorial about how to fill my validation.xml? I want to know what i have to put in each tag. -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"

Re: Validation Framework Manual

2005-07-14 Thread Wendy Smoak
From: "Rafael Taboada" <[EMAIL PROTECTED]> > java.lang.NoClassDefFoundError: antlr/TokenStream That just looks like you're missing antlr.jar from the classpath. Is it in WEB-INF/lib? -- Wendy Smoak - To unsubscribe, e-mail:

Validation Framework Manual

2005-07-14 Thread Rafael Taboada
Hi folks... In http://struts.apache.org/userGuide/dev_validator.html I try to use a sample about validwhen test ((sendNewsletter == null) or (*this* != null)) But it gives me an error: javax.servlet.ServletException: antlr/TokenStream org.apache.struts.actions.DispatchAction.disp

  1   2   >