[
http://jira.jboss.com/jira/browse/JBSEAM-1418?page=comments#action_12364862 ]
Pete Muir commented on JBSEAM-1418:
-----------------------------------
Mike, I'm unsure about whether this is a good idea - Validators and Converters *are*
bridges between your Seam components and JSF, but I have yet to come across a situation
where you would want Seam magic in a UIComponent. Or is this just to avoid the verbosity
of faces-config?
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