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

Christian Bauer (JIRA) jira-events at lists.jboss.org
Mon Jun 11 10:16:20 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1418?page=comments#action_12364876 ] 
            
Christian Bauer commented on JBSEAM-1418:
-----------------------------------------

+1 for this, I don't want to ever touch the faces-config.xml. It's bad enough I have to list a component in some faclets.xml file (No, I don't care why the designers think that this was necessary).

> 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