You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/02/12 16:39:45 UTC

[jira] Commented: (WW-2770) @Result type should be a class

    [ https://issues.apache.org/struts/browse/WW-2770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45589#action_45589 ] 

Musachy Barroso commented on WW-2770:
-------------------------------------

It was a long standing request from people to make the type a string. You could start a thread in @dev and we can discuss it. I do like the string type better.

> @Result type should be a class
> ------------------------------
>
>                 Key: WW-2770
>                 URL: https://issues.apache.org/struts/browse/WW-2770
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Convention
>            Reporter: Richard Wallace
>            Priority: Minor
>             Fix For: Future
>
>
> It feels like a huge step backwards from the Codebehind plugin to use a string as the type parameter to the @Result annotation. I much prefer the type safety and IDE support provided by using the actual result class.  The same can be said of the interceptor annotations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.