Insert it where in your struts.xml? By default it shouldn't be
necessary, since 'save' is not in the default exclude list, so the
answer is that it probably doesn't make sense to insert that.
Without seeing your action code, mapping and other related
configuration, it's really not possible to
Hello Laurie,
thanks for your answer. I don't know if that will help me, but I'll try it out.
Does it make sense to insert
save
in my struts.xml ? Will validate() then be called ?
Volker
Volker Karlmeier wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello stru
Volker Karlmeier wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello struts freaks,
i have quite an interesting problem again. In my struts.xml i have
defined a method to call for my action (method="save")
Every time execute() is called in my action class, the method validate()
is ex
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello struts freaks,
i have quite an interesting problem again. In my struts.xml i have
defined a method to call for my action (method="save")
Every time execute() is called in my action class, the method validate()
is executed before.
The same a
On 11/08/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Re. the "Spam" thing, i really do apologize. I totally understand because
> it probably bugs me more than it bugs anybody else. We are supposed to use
> Lotus notes for mail in our company and I absolutely *hate* it. This
> "spam" thing is
That was a good link - thanks!
Re. the "Spam" thing, i really do apologize. I totally understand because
it probably bugs me more than it bugs anybody else. We are supposed to use
Lotus notes for mail in our company and I absolutely *hate* it. This
"spam" thing is just one more annoying "featu
gt; getting there.
> >
> > Happy debugging,
> > Duane
> >
> > -Original Message-----
> > From: Jay Sheth [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, August 10, 2005 9:23 AM
> > To: Struts Users Mailing List
> > Subject: validate() not called haunt
addErrors() is a new method in 1.2.7. addErrors() and addMessages()
are both valid, and both accept ActionMessages as arguments. For more
on the difference between ActionErrors and ActionMessages, see
http://wiki.apache.org/struts/ActionErrorsAndActionMessages. Also,
please get rid of the 'Re: {
lto:[EMAIL PROTECTED]
> Sent: Wednesday, August 10, 2005 9:23 AM
> To: Struts Users Mailing List
> Subject: validate() not called haunts
>
> Hi,
> Thanks for all the help. Now i have got the debugging working. But still
> the problem remains, validate() not being called. I
t 10, 2005 9:23 AM
To: Struts Users Mailing List
Subject: validate() not called haunts
Hi,
Thanks for all the help. Now i have got the debugging working. But still
the problem remains, validate() not being called. I tried all
combinations...I made a simple action and form without any business
l
Gareth Evans <[EMAIL PROTECTED]> wrote on 08/10/2005 10:28:31 AM:
> You could manually set the errors in the page within your action
> with the method
>
> addErrors( request , form.update(mapping,request) );
>
> the addErrors method is already defined in the class Action.
It is saveErrors(requ
er had this situation at all.. or maybe i grossly
misunderstood...(been known to happen..;))
Ed Griebel <[EMAIL PROTECTED]>
08/09/2005 01:43 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
{Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} R
d to
> "Struts Users Mailing List"
>
>
> To
> Struts Users Mailing List
> cc
>
> Subject
> {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not
> called
>
>
>
>
>
>
> No, not at all, it doesn't matter where t
D]>
08/09/2005 01:43 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
{Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not
called
No, not at all, it doesn't matter where tomcat is started from. As
long as tomcat
No, not at all, it doesn't matter where tomcat is started from. As
long as tomcat was started with JDWP debugging, you can connect up
with any recent java debugger. Your tomcat can be in China and your
debugging session in NYC, it just doesn't matter, and it certainly
doesn't have to be in the same
help:
http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/
Geeta
Ed Griebel <[EMAIL PROTECTED]>
08/09/2005 01:26 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
{Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?}
following: change the
> > > > MaintainRecurringTasksPageForm in struts-config.xml to also point to
> > > > tasks.form.UpdateOverridePageForm. Restart to ensure you change "took"
> > > > and
> > > > try again. Do you hit the validate
Restart to ensure you change
"took" and
> > > try again. Do you hit the validate method now?
> > >
> > >
> > >
> > >
> > > Jay Sheth <[EMAIL PROTECTED]>
> > > 08/08/2005 04:12 PM
> > > Please respond to
&g
ok" and
> > > try again. Do you hit the validate method now?
> > >
> > >
> > >
> > >
> > > Jay Sheth <[EMAIL PROTECTED]>
> > > 08/08/2005 04:12 PM
> > > Please respond to
> > > &qu
ED]>
> > 08/08/2005 04:12 PM
> > Please respond to
> > "Struts Users Mailing List"
> >
> >
> > To
> > Struts Users Mailing List
> > cc
> >
> > Subject
> > {Spam?} Re: {Spam?} Re: {Spam?} validate() not called
>
> Please respond to
> "Struts Users Mailing List"
>
>
> To
> Struts Users Mailing List
> cc
>
> Subject
> {Spam?} Re: {Spam?} Re: {Spam?} validate() not called
>
>
>
>
>
>
> checked that...
>
I have mapped only for the update**form (the one which works)...
field[0]
edit_delete
d to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
{Spam?} Re: {Spam?} Re: {Spam?} validate() not called
checked that...
Any other hints ? Is there a way to debug or something...?
Just on
Jay Sheth wrote:
Just one more thing to tell...I have mapped the form for
updateoverridepageform in validation.xml but not mapped
maintain**form. Even if i map that doesnt help...
What do the validation.xml configs look like?
Dave
-
>
> 08/08/2005 03:57 PM
> Please respond to
> "Struts Users Mailing List"
>
>
> To
> Struts Users Mailing List
> cc
>
> Subject
> {Spam?} Re: {Spam?} validate() not called
>
>
>
>
>
>
> I am using the system.out. in both clas
g List
cc
Subject
{Spam?} Re: {Spam?} validate() not called
I am using the system.out. in both classes validate() and checking it out.
The working codes struts config & class:
public ActionErrors validate(ActionMapping mapping, HttpServletR
pond to
> "Struts Users Mailing List"
>
>
> To
> Struts Users Mailing List
> cc
>
> Subject
> {Spam?} validate() not called
>
>
>
>
>
>
> Hi,
> I am trying to use the validate() by extending the
> org.apache.struts.vali
CTED]>
08/08/2005 03:31 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
{Spam?} validate() not called
Hi,
I am trying to use the validate() by extending the
org.apache.struts.validator.ValidatorForm class.
The problem is that the
Hi,
I am trying to use the validate() by extending the
org.apache.struts.validator.ValidatorForm class.
The problem is that the validate() is being called for one form class
which I have created, however it is not being called for another
similar form class. There are no errors which compiling etc
29 matches
Mail list logo