You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sl...@apache.org on 2008/10/23 00:17:07 UTC
svn commit: r707215 -
/myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
Author: slessard
Date: Wed Oct 22 15:17:06 2008
New Revision: 707215
URL: http://svn.apache.org/viewvc?rev=707215&view=rev
Log:
MYFACES-1911 : Implement Application.createComponent(FacesContext, String, String)
Modified:
myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
Modified: myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java?rev=707215&r1=707214&r2=707215&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java (original)
+++ myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java Wed Oct 22 15:17:06 2008
@@ -879,6 +879,20 @@
log.error("Validator class " + validatorClass + " not found", e);
}
}
+
+ @Override
+ public UIComponent createComponent(FacesContext context, String componentType, String rendererType)
+ {
+ checkNull(context, "context");
+ checkNull(componentType, "componentType");
+
+ // Like createComponent(String)
+ UIComponent component = createComponent(componentType);
+
+ _inspectRenderer(context, component, componentType, rendererType);
+
+ return component;
+ }
@Override
public final UIComponent createComponent(final String componentType) throws FacesException