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,actionmessages wont b

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" only allows simple boolean

Re: Validation Framework

2007-03-13 Thread Balazs Michnay
re very helpful. Regards, Balazs - Original Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Tuesday, March 13, 2007 6:21:52 PM Subject: Re: Validation Framework --- Christopher Schultz wrote: > I didn't say that you need another URL that

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
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 or may be no code added for the validation. But this is not the problem ... Mike Chaudhary, Harsh a écrit : I am havi

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 call the form bean's 'validate' metho

Re: Validation Framework

2007-03-13 Thread Mike Baroukh
I'm still using struts 1.1 and your struts config/form is really different from what I used to do. But, in struts 1.1, we had to add validate="true" in the struts-config on the action ... your struts-config doesn't have any. Maybe ... Mike Balazs Michnay a écrit : Dear Struts Users, I'm re

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

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('input'); tx

Re: Validation framework for Dynamically added HTML elements?

2006-09-14 Thread Laurie Harper
You can achieve what you want more simply; no need to start using Ajax just for expanding an input form :-) What you need to do is to generate additional rows that use the correct naming conventions for the parameter names. Start by getting the form working for some fixed number of input rows,

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 framework. Check this out

RE: Validation framework for Dynamically added HTML elements?

2006-09-14 Thread Mallik
Hi friend, i want how to create array of elements please help me urs Mallik Patil, Sheetal wrote: > > U can create array and create field as per reqiuirment,but this has > limit and here problem is for "arrayindexoutofboundexception" after > limit exceeds. > Elsewise u can use ajax, put ur for

RE: Validation framework for Dynamically added HTML elements?

2006-09-13 Thread Patil, Sheetal
U can create array and create field as per reqiuirment,but this has limit and here problem is for "arrayindexoutofboundexception" after limit exceeds. Elsewise u can use ajax, put ur form in session and send requeset to an action which will increase the size of array and again put into the session.

Re: validation framework problem?

2006-09-05 Thread Laurie Harper
Everything looks OK so far, based on a quick scan through. What does the rest of your login.jsp look like? In particular, what does your html:form tag look like and where is the html:javascript tag? You specified staticJavascript="false", so where are you importing the static Javascript from?

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
Hi friends -- this is my Action Login.java package com.pack1; import org.apache.struts.action.*; import javax.servlet.http.*; public class Login extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest re

Re: validation framework problem?

2006-09-05 Thread Jorge Martín Cuervo
Hi i used validator and i got problems with validWhen, i wrote validWhen with caps and until i change to validwhen it didn't work properly. Please send us the struts-config.xml or the you use, maybe the problem is there. El mar, 05 de 09 de 2006 a las 13:05, Mallik escribió: > HI Friends > i

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:

RE: Validation framework

2005-07-14 Thread Nitish Kumar
nd Regards, Nitish Kumar -Original Message- From: Borislav Sabev [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 3:34 PM To: Struts Users Mailing List Subject: Re: Validation framework Rafael Taboada wrote: >Hi folks I'm using validation framework in order to valid

Re: Validation framework

2005-07-14 Thread Borislav Sabev
Rafael Taboada wrote: Hi folks I'm using validation framework in order to validate my fields in a form. I have three fields in a search form: strUsername strFromDate strToDate But we have the rule that the user can fill strUsername or use dates range. I mean he can search by username or he can

Re: Validation framework

2005-07-13 Thread ichy
Hi, Rafael. you can find clue on the following documentation. http://struts.apache.org/userGuide/dev_validator.html check validwhen. ichy 2005/7/14, Rafael Taboada <[EMAIL PROTECTED]>: > > Hi folks I'm using validation framework in order to validate my fields in > a > form. > I have three f