[Stripes-users] Clean URL Parameters

2013-04-04 Thread Mikko Saarela
Hi, I'm getting a Stripes validation error report after going to URL: http://www.myserver.com/my-app/some/1 "The value (1) entered in field My Value must be a valid number" I have clean URLs configured. My ActionBean is like this: @UrlBinding("/some/{myValue}") public class SomeActionBean imp

Re: [Stripes-users] Clean URL Parameters

2013-04-04 Thread Remi VANKEISBELCK
Hi Mikko, You hit the URL directly : when stripes validates it fails on integer conversion, and then tries to foward to the _sourcePage param which doesn't exist... and both generate the source page param. Otoh I don't understand why "1" doesn't convert to an int... have you tried to remov

Re: [Stripes-users] Clean URL Parameters

2013-04-04 Thread Mikko Saarela
> You hit the URL directly : when stripes validates it fails on integer conversion, and then tries to foward to > the _sourcePage param which doesn't exist... > > and both generate the source page param. > > Otoh I don't understand why "1" doesn't convert to an int... have you tried to remov

Re: [Stripes-users] Clean URL Parameters

2013-04-04 Thread Poitras Christian
Hi, Clean URL works well for me. Does it work if you remove "{myValue}" from the UrlBinding? Christian -Message d'origine- De : Mikko Saarela [mailto:saarelami...@gmail.com] Envoyé : April-04-13 9:01 AM À : stripes-users@lists.sourceforge.net Objet : Re: [Stripes-users] Clean URL Parame

Re: [Stripes-users] Clean URL Parameters

2013-04-04 Thread Remi VANKEISBELCK
Just tried it out of curiosity and reproduced the problem. The issue disappears if you have a real JSP to forward to and everything works as expected. Then if you have a fictious JSP with path starting by "/" you have another error (a 404, which is expected). But you have the same "source pag

Re: [Stripes-users] Clean URL Parameters

2013-04-04 Thread Remi VANKEISBELCK
Bug filed : http://www.stripesframework.org/jira/browse/STS-900 Thanks for your feedback. Cheers Remi Le 4 avr. 2013 à 17:08, Remi VANKEISBELCK a écrit : > Just tried it out of curiosity and reproduced the problem. > > The issue disappears if you have a real JSP to forward to and everything

Re: [Stripes-users] Clean URL Parameters

2013-04-04 Thread Mikko Saarela
> Just tried it out of curiosity and reproduced the problem. > > The issue disappears if you have a real JSP to forward to and everything works as expected. I have a real JSP page that I'm forwarding to, but it gives that error regardless. The example I posted was real code, even though it w