[ 
http://issues.apache.org/jira/browse/TAPESTRY-994?page=comments#action_12424529 
] 
            
Andreas Andreou commented on TAPESTRY-994:
------------------------------------------

The type parameter of Component annotation is in fact necessary in some cases,
i.e. when the component name is different that the component classname (@If and 
class IfBean)
or when the component is part of a library (and thus needs a prefix)

However, i too believe that if type is left blank the framework should try to 
fill in the details...

> 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