Spoke too soon. The reworked pages/actions don't work...
Say I have 3 pages - page1, page2 and page3 with actions between them.
The action between page1 and page2 uses saveMessages to save a message on the
session for page3 to display (with property="page3-messages").
The next page shown - page2
arper
> Sent: Saturday, 9 September 2006 6:52 a.m.
> To: user@struts.apache.org
> Subject: Re: Session scope ActionMessages
>
> Kevin Maeer wrote:
> > Hi,
> >
> > I'm using ActionMessages stored in the session to display
> messages on a page and
> > ever
nd override the processCachedMessages method to
remove any attribute that is an instance of ActionMessages and that has
isAccessed() = true?
We're using Struts 1.2.7.
Cheers,
Kevin Maeer
Analyst Programmer, ATS
University of Otago
mailto: [EMAIL PROTECTED]
Ph
>
> If you have time, can you try the example apps from 1.3 with your
> setup? The apps now load validator-rules.xml from struts-core.jar.
> Probably the easiest thing is to download struts-1.3.5-apps.zip from
> here,
> http://people.apache.org/builds/struts/1.3.5/
> deploy the struts-cookbook
t
> often requires tweaking to open files in other places for
> reading. What is
> your application server? Perhaps someone here has
> experience with it.
>
> Regards,
> David
>
> -Original Message-
> From: Kevin Maeer [mailto:[EMAIL PROTECTED]
>
I want to split the validation.xml file into multiple files so some pages can be
more easily reused. If I save the new file under /WEB-INF/ and add it to the
ValidatorPlugIn "pathnames" in struts-config.xml everything works fine.
If I move the new file out into the class hierarchy and change the
6 matches
Mail list logo