Re: Struts 2 Portlet Validation Problems

2009-02-10 Thread Musachy Barroso
Here is the ticket Nils: https://issues.apache.org/struts/browse/WW-2987 musachy On Tue, Feb 10, 2009 at 12:24 AM, Torsten Krah tk...@fachschaft.imn.htwk-leipzig.de wrote: Am Montag, 9. Februar 2009 21:48:33 schrieb Nils-Helge Garli Hegvik: This should be handled by the default portlet

Re: Struts 2 Portlet Validation Problems

2009-02-10 Thread Greg Lindholm
If you are finding Message Store Interceptor a pain to use you might want to look at my RedirectMessageInterceptor it's a lot easier to use. (Be sure to check out the comments as there is a suggested enhancement to support PortletActionRedirectResult.)

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Nils-Helge Garli Hegvik
Have you tried installing the portlet sample app? I believe there are a couple of validation scenarios there. As far as I know, it should work. You shouldn't even need the MessageStoreInterceptor, since the portlet default stack should handle preserving messages across redirects. Nils-H On Mon,

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
. -Original Message- From: Nils-Helge Garli Hegvik [mailto:nil...@gmail.com] Sent: 09 February 2009 17:57 To: Struts Users Mailing List Subject: Re: Struts 2 Portlet Validation Problems Have you tried installing the portlet sample app? I believe there are a couple of validation scenarios

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Nils-Helge Garli Hegvik
[mailto:nil...@gmail.com] Sent: 09 February 2009 17:57 To: Struts Users Mailing List Subject: Re: Struts 2 Portlet Validation Problems Have you tried installing the portlet sample app? I believe there are a couple of validation scenarios there. As far as I know, it should work. You shouldn't

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
Garli Hegvik [mailto:nil...@gmail.com] Sent: 09 February 2009 17:57 To: Struts Users Mailing List Subject: Re: Struts 2 Portlet Validation Problems Have you tried installing the portlet sample app? I believe there are a couple of validation scenarios there. As far as I know, it should work

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
...@gmail.com] Sent: 09 February 2009 18:07 To: Struts Users Mailing List Subject: Re: Struts 2 Portlet Validation Problems Yeah, you're right... It's not using annotations. Have you tried with xml validation? It's not a solution, but at least it will narrow down the problem. Nils-H On Mon, Feb 9

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Musachy Barroso
Subject: Re: Struts 2 Portlet Validation Problems Yeah, you're right... It's not using annotations. Have you tried with xml validation? It's not a solution, but at least it will narrow down the problem. Nils-H On Mon, Feb 9, 2009 at 7:00 PM, Dean Pullen dean.pul...@msp-uk.com wrote: Nils-H

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
...@gmail.com] Sent: 09 February 2009 19:19 To: Struts Users Mailing List Subject: Re: Struts 2 Portlet Validation Problems Messages will be lost if a redirectAction is used, unless the MessageStoreInterceptor is used, or is that different in portlets Nils? musachy On Mon, Feb 9, 2009 at 1:54 PM, Dean

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
- From: Dean Pullen [mailto:dean.pul...@msp-uk.com] Sent: 09 February 2009 19:31 To: Struts Users Mailing List Subject: RE: Struts 2 Portlet Validation Problems I've tried, and reverted back for now, to using the MessageStoreInterceptor with no success, the messages are still lost. We've

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Nils-Helge Garli Hegvik
' the messages during the dispatch. Dean. -Original Message- From: Nils-Helge Garli Hegvik [mailto:nil...@gmail.com] Sent: 09 February 2009 18:07 To: Struts Users Mailing List Subject: Re: Struts 2 Portlet Validation Problems Yeah, you're right... It's not using annotations. Have you tried

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Nils-Helge Garli Hegvik
February 2009 19:31 To: Struts Users Mailing List Subject: RE: Struts 2 Portlet Validation Problems I've tried, and reverted back for now, to using the MessageStoreInterceptor with no success, the messages are still lost. We've successfully used the MessageStoreInterceptor on non-portlet

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Musachy Barroso
the user's input was not lost during the failed validation redirect. -Original Message- From: Dean Pullen [mailto:dean.pul...@msp-uk.com] Sent: 09 February 2009 19:31 To: Struts Users Mailing List Subject: RE: Struts 2 Portlet Validation Problems I've tried, and reverted back

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
No problem, will do - in the morning! Thanks. -Original Message- From: Musachy Barroso [mailto:musa...@gmail.com] Sent: 09 February 2009 20:51 To: Struts Users Mailing List Subject: Re: Struts 2 Portlet Validation Problems You can reopen the one I closed, and add any extra info you

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Torsten Krah
Am Montag, 9. Februar 2009 21:48:33 schrieb Nils-Helge Garli Hegvik: This should be handled by the default portlet interceptor stack. If it doesn't, it's a bug... Its a bug i guess, i need to use a Message Store Interceptor too, because using PRG in portlets i lost my messages and errors