That's not a very scalable solution. I have over 60 ActionBean classes
that would each need a subclass. I think this is a reasonable request to
add to the library.
On Wed, Jul 24, 2013 at 10:54 AM, Ben Gunter bgun...@cpons.com wrote:
A workaround is to subclass the ActionBean in question and
It would seem you are not alone.
http://stripesframework.org/jira/browse/STS-895
On Wed, Jul 24, 2013 at 11:18 AM, Adam Stokar ajsto...@gmail.com wrote:
That's not a very scalable solution. I have over 60 ActionBean classes
that would each need a subclass. I think this is a reasonable
This would be great!
Joaquin
On Jul 24, 2013, at 9:19 AM, Ben Gunter bgun...@cpons.com wrote:
It would seem you are not alone.
http://stripesframework.org/jira/browse/STS-895
On Wed, Jul 24, 2013 at 11:18 AM, Adam Stokar ajsto...@gmail.com wrote:
That's not a very scalable solution.
My usual solution is to implement a kind of mod_rewrite filter. It has
an advantage of not only allowing to direct multiple URLs into a single
place, but also to do a lot of URL customization.
Basically, something like this:
public class UrlRewritingFilter implements Filter {
private
The reason it hasn't been done is it's not as simple as it seems at first.
Mapping the URL to the ActionBean would be easy enough. The problem would
be building a link to an ActionBean with the stripes:link tag. That tag
knows how to read the @UrlBinding and produce a clean URL with the
parameters
Adam,
If you need to handle multiple URI's I would look at UrlRewriterFilter.
Once upon a time I too felt that Stripes should offer such a capability (in our
case it was multilingual support) and subclassing was not scalable (as you
point out as well) BUT after having built out the
Thank guys. UrlRewriteFilter looks like the way to go. Appreciate the
feedback.
On Wed, Jul 24, 2013 at 12:31 PM, Nikolaos Giannopoulos
nikol...@brightminds.org wrote:
Adam,
If you need to handle multiple URI's I would look at UrlRewriterFilter.
Once upon a time I too felt that Stripes