Re: Session scope ActionMessages

2006-09-12 Thread Laurie Harper
OK, I understand what you're doing now. It sounds like you have a couple of options. You could override processCachedMessages() as you suggest, which may be the easiest solution. Alternatively, since you need custom message setup logic, perhaps it would make sense to provide a reciprocal messag

RE: Session scope ActionMessages

2006-09-11 Thread Kevin Maeer
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

RE: Session scope ActionMessages

2006-09-10 Thread Kevin Maeer
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

Re: Session scope ActionMessages

2006-09-08 Thread Laurie Harper
Kevin Maeer wrote: Hi, I'm using ActionMessages stored in the session to display messages on a page and everything works splendidly except that the messages never get removed from the session so every time the user re-enters the page old messages get redisplayed. After a bit of digging around, t