Re: Struts 2 Portlet Validation Problems

2009-02-10 Thread Greg Lindholm
completely unintentional side effect." > -- Linus Torvalds > > > -- View this message in context: http://www.nabble.com/Struts-2-Portlet-Validation-Problems-tp21917888p21939287.html Sent from the Struts - User mailing list archive at Nabble.com. -

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 wrote: > 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'

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 alwa

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 Musachy Barroso
I also added a ${title}, for each relevant >> param, to the input redirectAction to ensure the user's input was not >> lost during the failed validation redirect. >> >> -Original Message----- >> From: Dean Pullen [mailto:dean.pul...@msp-uk.com] >> Sent:

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Nils-Helge Garli Hegvik
n 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

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Nils-Helge Garli Hegvik
>> result will 'lose' 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 >> Subjec

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
ge- 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 los

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
hy Barroso [mailto:musa...@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, 20

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Musachy Barroso
7 > 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 >

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
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 with xml validation? It's not a solution, but at least it will narrow down the proble

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
; > Dean. > > -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

Re: Struts 2 Portlet Validation Problems

2009-02-09 Thread Nils-Helge Garli Hegvik
> > -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 >

RE: Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
P result. Dean. -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

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, F

Struts 2 Portlet Validation Problems

2009-02-09 Thread Dean Pullen
Hi all, We've been trying to get validation (using annotations) working within a Struts Portlet for a couple of days - without success, when the input is a redirectAction. When the input result is a JSP, it works fine. We're using the messageStoreInterceptor. We're using JBoss Portal 2.7.1