[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1418) Add an annotation for UIComponent implementations

Mike Quilleash (JIRA) jira-events at lists.jboss.org
Mon Jun 11 10:11:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1418?page=comments#action_12364875 ] 
            
Mike Quilleash commented on JBSEAM-1418:
----------------------------------------

My particular interest is to avoid the verbosity.  I agree, I can't think of any reason you would want Seam stuff in a UIComponent.  I would imagine JSF 2.0 will address this so it might not be worth pursuing in Seam.  Just throwing it out there.
 

> Add an annotation for UIComponent implementations
> -------------------------------------------------
>
>                 Key: JBSEAM-1418
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1418
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 1.2.1.GA
>         Environment: Any
>            Reporter: Mike Quilleash
>
> At the moment I have a wonderfully long list of component definitions in my faces-config.xml.  In the same vein as @Converter and @Validator a @UIComponent annotation would be nice.
> Something like:
> This
>   <component>
>     <component-type>com.xxx.faces.HtmlInputInteger</component-type>
>     <component-class>com.xxx.faces.component.html.c</component-class>
>   </component>
> becoming
> @Name( "com.xxx.faces.HtmlInputInteger" )
> @UIComponent  // component type defaults to @Name
> public class HtmlInputInteger extends UIComponent
> {
> }

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

        



More information about the seam-issues mailing list