I'm just not a fan of declaring things based on strings, including result
types.

I don't know what the easiest/best answer is, probably I'll end up doing
nothing :(

On Mon, Jan 25, 2016 at 10:01 AM, Christoph Nenning <
christoph.nenn...@lex-com.net> wrote:

> > The async thing is nice; that would be a good thing to bring into S2.
> >
> > I still don't like the string-based action returns; strings are just
> awful.
> > I don't have a better solution (yet).
> >
> > It might be a good time for me to rethink the code-based config I'd
> > implemented some time ago, e.g., use a Groovy or whatever DSL to config
> the
> > results, that way they end up being code artifacts.
> >
> >
>
> Another approach could be to define a Result class to avoid mapping of
> strings, e.g.:
>
> return new Result("dispatch", "test.jsp");
>
>
> This would keep current result types with all their string-parameters. But
> it would not be necessary to configure them and no name-matching would
> take place.
>
>
>
> Regards,
> Christoph
>
> This Email was scanned by Sophos Anti Virus
>



-- 
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>

Reply via email to