message in context:
http://struts.1045723.n5.nabble.com/DynaValidatorForm-and-BigDecimal-problem-tp3458219p5716159.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
t;> at or higher than the currently-being-submitted page
>
> I'm not aware of any page number/flow functionality in S1, but I
> stopped using it around 1.2.9--is flow functionality something from
> 1.3, or did I just miss it altogether?
The validation framework understands the &quo
On Friday, June 17, 2011, Christopher Schultz wrote:
> I can't believe I've been working with Struts for nearly 10 years and
> I'm still using Struts 1.
Fixed.
> The problem is that if we check the box and submit to A2 (then show P2),
> then go back (either browser-BACK or using our "previous" bu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I can't believe I've been working with Struts for nearly 10 years and
I'm only now attempting to use a multi-page flow with a form bean in the
session.
Of course, I'm having difficulty with checkboxes.
Our (simplified) flow looks something like
blic ActionForward execute(ActionMapping mapping, ActionForm form,
> HttpServletRequest request, HttpServletResponse
> response)
> throws Exception {
>
> // form arrives as null
> DynaValidatorForm myForm = (Dyn
ponse
response)
throws Exception {
// form arrives as null
DynaValidatorForm myForm = (DynaValidatorForm) form;
}
struts-c
arrives as null
DynaValidatorForm myForm = (DynaValidatorForm) form;
}
struts-config
--- john lee <[EMAIL PROTECTED]> wrote:
>
> > i have an DynaValidatorForm as following:
> >
> > inside struts-config.xml
> >
> >
> > > type"java.lang.String[] "/>
> >
> >
> > >type="PartUpda
Possibly because there's no "input" attribute, so it's
bombing since it doesn't know what the input forward
for the form is?
d.
--- john lee <[EMAIL PROTECTED]> wrote:
> i have an DynaValidatorForm as following:
>
> inside struts-config.xml
&g
i have an DynaValidatorForm as following:
inside struts-config.xml
inside validation.xml
inside test.jsp
But, the execution give me the following error message after i leave the
Qty
> > org.apache.struts.action.DynaValidatorform>
> >
> >
> >
> >
> >
> >
> > But, the execution give me the error message for null point exception.
> > All the examples i could find is demonstrate how to use
> > DynaValidatorform/Stri
g.apache.struts.action.DynaValidatorform>
> >
> >
> >
> >
> >
> >
> > But, the execution give me the error message for null point exception.
> > All the examples i could find is demonstrate how to use
> > DynaValidatorform/String, for my ca
>
> inside struts-config.xml
>
> > org.apache.struts.action.DynaValidatorform>
>
>
>
>
>
>
> But, the execution give me the error message for null point exception.
> All the examples i could find is demonstrate how to use
> DynaValidatorform/String, for my cas
, the execution give me the error message for null point exception.
> All the examples i could find is demonstrate how to use
> DynaValidatorform/String, for my case, i want to use
> DynaValidatorform/String[], how can i do it?
>
> tks in advance
>
> john
>
>
>
>
>
>
&
t;
> inside struts-config.xml
>
>org.apache.struts.action.DynaValidatorform>
>
>
>
> inside validation.xml
>
>
>
>
>
>
>
> But, the execution give me the error message for null point exception.
> All the examples i could find is demonstrate how
demonstrate how to use DynaValidatorform/String,
for my case, i want to use DynaValidatorform/String[], how can i do it?
tks in advance
john
-
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for to
Hi,
In my struts application I am using a DynaValidatorForm which contains a
String[].
I am doing "required", "integer" and "intRange" validation on the form.
The problem I am facing is that if I declare the property in
struts-config.xml as a string array with given
On 6/11/07, Ambaris Mohanty <[EMAIL PROTECTED]> wrote:
My code is as following...
struts-config.xml
Is this something where just adding "initial" will work for you?
This will affect the behavior of an html-reset control, because it
determines th
My code is as following...
struts-config.xml
-Original Message-
From: David Durham, Jr. [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 09, 2007 2:46 AM
To: Struts Users Mailing List
Subject: Re: Extending DynaValidatorForm
On 6/8/07, David
Thanks David,
But I need sample code. Can u provide it? I got your logic but finding it
difficult to implement. The main problem is how to get the property name at
runtime. I have many forms that extend the DynaValidatorForm.
Thank you,
AM
-Original Message-
From: David Durham, Jr
On 6/8/07, David Durham, Jr. <[EMAIL PROTECTED]> wrote:
On 6/8/07, Ambaris Mohanty <[EMAIL PROTECTED]> wrote:
> Please someone send me the sample code for extending DynaValidatorForm and
> implementing the reset method. I have no idea on how to do it. Please help.
> I
On 6/8/07, Ambaris Mohanty <[EMAIL PROTECTED]> wrote:
Please someone send me the sample code for extending DynaValidatorForm and
implementing the reset method. I have no idea on how to do it. Please help.
I'm using struts 1.2.9.
Thank you,
HTML has the concept of a reset butt
Please someone send me the sample code for extending DynaValidatorForm and
implementing the reset method. I have no idea on how to do it. Please help.
I'm using struts 1.2.9.
Thank you,
AM
-Original Message-
From: Ambaris Mohanty [mailto:[EMAIL PROTECTED]
Sent: Friday, June 08, 2007
Can anyone send me sample code for extending DynaValidatorForm and
implementing reset() method that will clear the text fields on reset.
Thank you,
AM
TED]> wrote:
Hi,
Situation : One DynaValidatorForm has a
property of type "java.util.ArrayList" and size is not known in advance
The Arraylist consists
of elements of type "User" which is a si
t values?
On 6/6/07, Ambaris Mohanty <[EMAIL PROTECTED]> wrote:
Hi,
I'm using a simple DynaValidatorForm for my login form. The problem is.
the
reset button doesn't reset the fields to blank state which I want. Can
anybody help?
AM
Hi,
I'm using a simple DynaValidatorForm for my login form. The problem is. the
reset button doesn't reset the fields to blank state which I want. Can
anybody help?
AM
Hi,
Situation : One DynaValidatorForm has a
property of type "java.util.ArrayList" and size is not known in advance
The Arraylist consists
of elements of type "User" which is a simple Javabea
Users Mailing List
Subject: Re: DynaValidatorForm with java.util.Date
On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Where do I register such a convertor? Simply add this code to my Action or do
I have to add this somewhere else?
I've figured out what my problem was, but now sth
Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: maandag 12 maart 2007 16:46
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm with java.util.Date
On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Where do I register such a convertor? Simp
x/userGuide/building_controller.html#lazy_action_form_classes
Niall
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: maandag 12 maart 2007 14:49
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm with java.util.Date
On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
enter the page, this ArrayList is gone.
What am I doing wrong here?
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: maandag 12 maart 2007 14:49
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm with java.util.Date
On 3/12/07, [EMAIL PROTECTED] &l
TECTED]
Sent: maandag 12 maart 2007 14:06
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm with java.util.Date
The fields of action forms, including DynaValidatorForms are populated
from request parameters, and these values are all in String variables.
I suggest using a String variabl
EMAIL PROTECTED]
Sent: maandag 12 maart 2007 14:06
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm with java.util.Date
The fields of action forms, including DynaValidatorForms are populated
from request parameters, and these values are all in String variables.
I suggest using a String var
your Action classes.
Hubert
On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
And the 3rd mail. Is it possible to use an object that's different from
java.lang.* as type for the dynavalidatorform? I think that's what causing the
issue here. If it's not possi
And the 3rd mail. Is it possible to use an object that's different from
java.lang.* as type for the dynavalidatorform? I think that's what causing the
issue here. If it's not possible, then I'm in deep :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EM
uot;,new
Date());
So the object I'm assigning to that field is a Date-object, but for some reason
it is converted to a String.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: maandag 12 maart 2007 9:40
To: user@struts.apache.org
Subject: DynaValidatorForm wit
This is filled by the action, with the correct date. When I look at the source
of the page, the date is actually filled in, so that's not the problem.
I assume there's a problem with assigning the java.util.Date-type to a field in
a DynaValidatorForm, but I'm not sure that
ish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Thursday, March 01, 2007 8:40 PM
To: user@struts.apache.org
Subject: Re: DynaValidatorForm and BigDecimal problem
Bear in mind that this way, if the use
lto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 4:13 PM
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm and BigDecimal problem
It has nothing to do with Struts, the error message is saying that
commons BeanUtils cannot convert the string from the form submit into
a BigDecimal.
ginal Message-
From: Ed Griebel [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 4:13 PM
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm and BigDecimal problem
It has nothing to do with Struts, the error message is saying that
commons BeanUtils cannot convert the string fro
Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
From: Ed Griebel [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 4:13 PM
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm and BigDecimal problem
It has nothing to do with Struts, the error message is saying
It has nothing to do with Struts, the error message is saying that
commons BeanUtils cannot convert the string from the form submit into
a BigDecimal. Turns out that your issue is BigDecimal is not as
permissive as Double when it converts a non-numeric string to a
BigDecimal. If a string is not a
Hi
Has anyone had problems with BigDecimal and DynaValidatorForms?
I've got a form with two fields (advisorFee and grossIncome) defined as
java.lang.Double. I want to change them to java.math.BigDecimal because
they are money fields.
If I change advisorFee to BigDecimal, the validation fails wh
Sorry, forgot to supply that.
I'm using Struts 1.3.5 and commons-validator 1.1.3
-Original Message-
From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED]
Sent: donderdag 18 januari 2007 16:46
To: Struts Users Mailing List
Subject: Re: Using DynaValidatorForm
Hi,
what is the struts ve
tor method. i hope
this would help you.
Thanks,
Nuwan.
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 18, 2007 9:33 AM
Subject: Using DynaValidatorForm
Is this deprecated ? The reason why I'm asking is that I want to use it in
my application
Hi,
what is the struts version you are using?
Thanks,
Nuwan
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 18, 2007 9:33 AM
Subject: Using DynaValidatorForm
Is this deprecated ? The reason why I'm asking is that I want to use it in
my
Is this deprecated ? The reason why I'm asking is that I want to use it in my
application, but I can't seem to find a lot of articles on it. The guide on
the Struts website is well written, but beside that, not a lot of people have
written tutorials on it.
I have some problems with the Action
HI Friends
i have a problem that for viewing data DynaValidatorForm is not working
well.
if i create normal formbean it is displaying all the data well
but when i use DynaValidatorForm, the last record only displaying repeatedly
(exactly oracle count(*) returned value times )
why this is ?
i
Pille wrote:
And in the action mapping specify the name of the Form Bean that you are
about to use. In this case the form bean that contains the List you'r going
to initiate..
i tried all of this. when i spcified the name of DynaValidatorForm in
the prepare-mapping i got an exception. b
he List you'r going
> to initiate..
i tried all of this. when i spcified the name of DynaValidatorForm in
the prepare-mapping i got an exception. but it worked with
DynActionForm. why?
but i solved it right now. i just implemented my own Form class as
extension of ValidatorForm.
&g
ssage-
From: Pille [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 19, 2006 5:12 AM
To: user@struts.apache.org
Subject: initialize a DynaValidatorForm property
hi,
how can i initialize a property of type ArrayList in a DynaValidatorForm?
i saw that i can do some simple initialization with the in
hi,
how can i initialize a property of type ArrayList in a DynaValidatorForm?
i saw that i can do some simple initialization with the initial
attribute in the form-peoperty tag in struts-config.
at the moment i do some initialization in a prepare action that sets the
attributes some combo boxes
ters
>> and setters of a DynaActionForm. the form tag in struts-config.xml was a
>> type of my own DynaActionForm extension. Is it ok to mix it like this or
>> do i either have to implement every property in a own DynaActionForm
>> class or do i have to declare every
o implement every property in a own DynaActionForm
> class or do i have to declare everything in struts-config?
I would recommend that, if you are going to use DynaValidatorForm, you
just use it as-is instead of subclassing it.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6
mano dasanayake wrote:
> Hi,
> Use PropertyUtils.setSimpleProperty(yourForm,"proptyName",object);
>
> And
>
> PropertyUtils.getsimplePropert(yourform,"proprtyname") --> cast it to the
> required type..
ok, but i have a prepare action for the DynaVa
Christopher Schultz wrote:
> Philippe,
>
> Pille wrote:
>> how can i set a property of the form, that is used and needed in the jsp
>> of the form after editing?
>
> I usually add that property to the form bean itself and then use a
> hidden parameter. For instance, if I'm editing a database reco
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philippe,
Pille wrote:
> how can i access the getters and setters in of a DynaValidatorForm from
> within an action method?
You can use them as before.
> when i had a own form class i could do the following in a action method:
>
&
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philippe,
Pille wrote:
> how can i set a property of the form, that is used and needed in the jsp
> of the form after editing?
I usually add that property to the form bean itself and then use a
hidden parameter. For instance, if I'm editing a databas
/org/apache/struts/util/PropertyUtils.html#getSimpleProperty(java.lang.Objec
t,%20java.lang.String)
Regards,
Mano
-Original Message-
From: Pille [mailto:[EMAIL PROTECTED]
Sent: Monday, December 18, 2006 5:48 AM
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm - cannot find bean
how can i
how can i access the getters and setters in of a DynaValidatorForm from
within an action method?
when i had a own form class i could do the following in a action method:
productForm = (MyOwnForm)form;
productForm.setComboArrayList(comboArrayListWithBeans);
with a dynamic form i cannot cast
form after editing?
how can i set a property of a dyna form from within an action? how do i
make sure that this property will be still set after submission and
redirecting over 2 sites?
the problem is that i have 4 dynamic combo boxes and i always need to
iterate over the request parameters with a R
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philippe,
Pille wrote:
> but after submitting the form with wrong input and returning
> to the jsp-page i get the following exception:
> javax.servlet.jsp.JspException: Cannot find bean under name countries at
> org.apache.struts.taglib.html.OptionsTa
hi,
i have a DynaValidatorForm and a jsp-page to display the form data. in
the jsp page i´m using some combo boxes too.
i have one action class for all actions. this action class does all the
actions for this single jsp page and it extends MappingDispatchAction class.
to initialize my combo boxes
Wendy you're right!
Thanks.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 2:51 PM
To: Struts Users Mailing List
Subject: Re: Retrieving DynaValidatorForm values with JSTL
On 11/30/06, Edward Song <[EMAIL PROTECTED]> wrot
On 11/30/06, Edward Song <[EMAIL PROTECTED]> wrote:
In JSP pages using the Struts Taglib, attributes of DynaActionForm objects
can be referenced just like ordinary ActionForm objects. Wherever a Struts
tag refers to a "property", the tags will automatically use the
DynaActionForm properties just
those of a conventional JavaBean.
So the code becomes
Thanks again.
Ed
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 2:35 PM
To: Struts Users Mailing List
Subject: Re: Retrieving DynaValidatorForm values with JSTL
On 11/30/06, Edward So
On 11/30/06, Edward Song <[EMAIL PROTECTED]> wrote:
I have a form stored within the session and am trying to dump some of the
Form values in the presentation using JSTL.
Specifically something like
Country :
See 4.3.1 on http://struts.apache.org/1.x/userGuide/building_controller.html
--
Wen
Hi all,
I have a form stored within the session and am trying to dump some of the
Form values in the presentation using JSTL.
Specifically something like
Country :
The form's name is
SubscriptionProcessForm and the value to be retrieved from the form is
country.
Obviously I'm looking to
to the user has this html:
So - the action is correct, the method is post and the enctype is
multipart/form-data
If I understand the error log correctly - it is falling over when trying
to create an instance of the DynaValidatorForm to use for processing the
request - which makes me
rg
Subject: DynaValidatorForm help?
Hi friends
first of all thanks for your great help
situation is:
i have to setup some details and display those details
for the setup service, i use DynaValidatorForm. it is working well for
validations also.
i want to use the same DyanActionForm for view also but
probl
MAIL PROTECTED]>
To:
Sent: Tuesday, November 21, 2006 10:38 AM
Subject: Re: DynaValidatorForm help?
Hi friends
i don't have idea about DTO
can you give me some idea please
ur's
Mallik
nuwan chandrasoma-2 wrote:
Hi,
The loop is wrong, your are overwriteing the same form
e the DTO and add create
> a
> list of those DTO's, and set it to the from or request from there you can
> get the list and can easily iterate this list
>
> Regards,
>
> Nuwan.
>
> - Original Message -
> From: "Mallik" <[EMAIL PROTECTED]>
>
: Tuesday, November 21, 2006 12:51 PM
To: user@struts.apache.org
Subject: RE: DynaValidatorForm help?
hi friend
i have no idea about resetting
this is my source code
please help me in finding worng..
Action Class
-
public
Hi,
Can i see the you jsp code, are you iterateing the list propertly
Thanks,
Nuwan
- Original Message -
From: "Mallik" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 21, 2006 6:28 AM
Subject: DynaValidatorForm help?
Hi friends
first of all thanks for your great
, HttpServletResponse response) throws Exception
{
DynaValidatorForm block = null;
try // try start
{
ds = getDataSource(request);
conn = ds.getConnection();
stmt = conn.createStatement
DynaValidatorForm like get("");
i am using like this but it is not working.let me know where i did
mistake...
this is my execute method of BlocksSetup action
(i want to show all the blocks existed,and give text boxes to
Hi friends
my problem is :
how to use set method of DynaValidatorForm like get("");
i am using like this but it is not working.let me know where i did
mistake...
this is my execute method of BlocksSetup action
(i want to show all the blocks existed,and give text boxes to
leo mj wrote:
mallik,
use java.lang.Integer for integer and java.util.GregorianCalendar for Time.
Yeah, but you don't really want to do that, either. You're best bet is
to use String types for form-bean values, and convert to a different
type while handing off to a model layer. Reasoning
struts-config.xml
like
type="org.apache.struts.validator.DynaValidatorForm">
but how to specify for numbers and time( time should be 24 hours format)
please give me any idea or send any link on this topic
urs
Mallik
--
View this message in context:
http://www.nabble.com/DynaVali
send any link on this topic
urs
Mallik
--
View this message in context:
http://www.nabble.com/DynaValidatorForm-tf2251930.html#a6245318
Sent from the Struts - User forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
>From the note about the MalFormURL Exception I would initially guess you
started the header DOCTYPE in the file incorrectly. You gave a 6 line entry
from your validation.xml file split like so:
http://jakarta.apache.org/
commons/dtds/validator_1_0.dtd">
In a DOCTYPE you should NEVER break
"Samere, Adam J" <[EMAIL PROTECTED]> wrote: You have validate="false" in your
action mapping. Change that to true.
Adam
-Original Message-
From: leo mj [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 6:59 AM
To: user@struts.apache.org
Subject:
You have validate="false" in your action mapping. Change that to true.
Adam
-Original Message-
From: leo mj [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 6:59 AM
To: user@struts.apache.org
Subject: Field check using DynaValidatorForm
hi all,
I want to
apping;
import org.apache.struts.validator.DynaValidatorForm;
public class LoginAction extends Action {
public ActionForward execute(ActionMapping mapping,
ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
ActionForward forward=new ActionForward()
@struts.apache.org
Subject: Field check using DynaValidatorForm
hi all,
I want to do Dynamic field check using validator framework.
I have done the following steps:
1.Add validator plugin in struts-config.xml
2.I have used index.jsp as my LOGIN page.
With the following code:
<%@ taglib
che.struts.action.ActionMapping;
import org.apache.struts.validator.DynaValidatorForm;
public class LoginAction extends Action {
public ActionForward execute(ActionMapping mapping,
ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
ActionForwa
On 4/25/06, Asad Habib <[EMAIL PROTECTED]> wrote:
> Does DynaValidatorForm have to be explicitly instantiated in an action?
No this is one of the things that Struts does for you. All you should
need to do is define it, along with the properties you want in the
struts-config.x
Does DynaValidatorForm have to be explicitly instantiated in an action?
Thanks.
- Asad
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Laurie,
Thanks for getting back to me.
I've been able to get a little further. I've gotten the jsp to come up.
When I click the submit button with nothing in either input field it stops
on a breakpoint in the validate method of the DynaValidatorForm class.
Just in case you don'
Struts 1.2.7 and would like to take
advantage of the DynaValidatorForm.
I've found several articles on it and many examples. However, I haven't
found one that includes a complete example app and I am having trouble
getting it to work properly with the pieces I have.
Basically, what I w
Hello,
I have been using Struts for awhile but it was a very old (1.02) version.
Just finished upgrading my apps to Struts 1.2.7 and would like to take
advantage of the DynaValidatorForm.
I've found several articles on it and many examples. However, I haven't
found one that includes
I was able to solve the problem. The problem was I was
calling the URL for the form directly from the
browser. Fixed the problem..
Thanks
Maha
--- Mahadevan Venkataraman <[EMAIL PROTECTED]> wrote:
>
>
> Here is the stack trace that I got from the
> catalina.log
>
> Maha
>
>
>
> Jan 11, 20
ore info on the problem that I am having.
>
> I used the DynaValidatorForm in the form beans in
> order not to explicitly code the form beans. Also, I
> tried to do both client-side(javascript) and
> server-side validations. The client side validation
> worked. The javascr
Here is the stack trace that I got from the
catalina.log
Maha
Jan 11, 2006 3:05:52 PM
org.apache.struts.validator.DynaValidatorForm validate
SEVERE:
org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object,
org.apache.commons.validator.ValidatorAction,
org.apache.commons.vali
Thanks for the replies.
Here is more info on the problem that I am having.
I used the DynaValidatorForm in the form beans in
order not to explicitly code the form beans. Also, I
tried to do both client-side(javascript) and
server-side validations. The client side validation
worked. The
Yes mr.vishal in that case we should validate() method.
again i have a doubt, for reducing the class files only we r using
DynaValidatorForm, but in this suituation use of DynaValidatorForm fails
know...
there may be a solution for this.
mr.vishal ill search and let u know the solution for that
I guess that would work if you have validations corresponding to a
form i.eyou are extending DynaValidatorForm.
If you need to extend DynaValidatorActionForm, i.e give validations
corresponding to a action (as single form can be reused in different actions
and not all fields need to be validated
]>:
> >
> > > Hi,
> > >
> > > Simply having your dyna form bean of the type Dyna Validator form will
> > not
> > > work. You have to declare your form bean in the Struts Config as type
> > any
> > > local form bean you
ype Dyna Validator form will
> not
> > work. You have to declare your form bean in the Struts Config as type
> any
> > local form bean you have. ( )
> >
> > Then your ABCForm will extend DynaValidatorForm or
> DynaValidatorActionForm
> > depending on yo
1 - 100 of 204 matches
Mail list logo