You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Norbert Sándor (JIRA)" <ta...@jakarta.apache.org> on 2006/07/31 15:01:14 UTC

[jira] Commented: (TAPESTRY-994) component types unnecessary for annotations

    [ http://issues.apache.org/jira/browse/TAPESTRY-994?page=comments#action_12424528 ] 
            
Norbert Sándor commented on TAPESTRY-994:
-----------------------------------------

I think it will not be appropriate because of how component libraries work: two components in two separate libraries can easily share the same Java class.

It may work in some cases (for example in case of framework components) but it would introduce the special handling of those components...

> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org