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
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 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
--- 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.
__
-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
-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
--- 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
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
-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
--- 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
-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
>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
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
--- 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
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
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
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
- 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 <[
--- 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
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
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
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
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
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
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
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,
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
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
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.
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?
[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
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
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
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
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
-
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"
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:
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
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
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
40 matches
Mail list logo