[ 
http://issues.apache.org/jira/browse/TAPESTRY-994?page=comments#action_12424550 
] 
            
Brian Ross commented on TAPESTRY-994:
-------------------------------------

I agree.  We don't need to be that smart about this.  The default if no type 
annotation is specified is the return type of the method.  If there is a 
special case where this is not correct, then the type annotation will need to 
be specified in order to handle it.  It is no worse for the special cases than 
the current behavior and is better for the typical case.

> component types unnecessary for annotations
> -------------------------------------------
>
>                 Key: TAPESTRY-994
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-994
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Annotations
>    Affects Versions: 4.0.2
>            Reporter: Brian Ross
>         Assigned To: Andreas Andreou
>            Priority: Minor
>
> Why do I have to type @Component(type = "TextField") when the return type of 
> the abstract method below it is TextField?  Can't this be inferred?  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to