public void addComponent(String componentType, String componentClass) { delegate().addComponent(componentType, componentClass); }
@Override public void addComponent(String componentType, String componentClass) { application.addComponent(componentType, componentClass); }
@Override public void addComponent(String arg0, String arg1) { this.wrappedApplication.addComponent(arg0, arg1); }
/** * {@inheritDoc} */ public void addComponent(String componentType, String componentClass) { wrapped.addComponent(componentType, componentClass); }
/** * {@inheritDoc} */ public void addComponent(String componentType, String componentClass) { wrapped.addComponent(componentType, componentClass); }
private void resetUIViewRootComponent(FacesContext context, String componentClassName) { if (componentClassName != null) { context.getApplication().addComponent(UIViewRoot.COMPONENT_TYPE, componentClassName); } }
@Override public void addComponent(String componentType, String componentClass) { getWrapped().addComponent(componentType, componentClass); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#addComponent(String, String)} on the * wrapped {@link Application} object.</p> */ @Override public void addComponent(String componentType, String componentClass) { getWrapped().addComponent(componentType, componentClass); }
/** * <p class="changed_added_2_0"> * The default behavior of this method is to call * {@link Application#addComponent(String, String)} on the wrapped {@link Application} object. * </p> */ @Override public void addComponent(String componentType, String componentClass) { getWrapped().addComponent(componentType, componentClass); }
public void addComponent(String componentType, String componentClass) { weaveDelegate(); _delegate.addComponent(componentType, componentClass); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#addComponent(String, String)} on the * wrapped {@link Application} object.</p> */ @Override public void addComponent(String componentType, String componentClass) { getWrapped().addComponent(componentType, componentClass); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#addComponent(String, String)} on the * wrapped {@link Application} object.</p> */ @Override public void addComponent(String componentType, String componentClass) { getWrapped().addComponent(componentType, componentClass); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#addComponent(String, String)} on the * wrapped {@link Application} object.</p> */ @Override public void addComponent(String componentType, String componentClass) { getWrapped().addComponent(componentType, componentClass); }
private String setUIViewRootComponent(FacesContext context) { Application app = context.getApplication(); UIComponent root = app.createComponent(UIViewRoot.COMPONENT_TYPE); if (root == null || (root.getClass() == UIViewRoot.class && root.getClass().getAnnotation(PortletNamingContainer.class) == null)) { app.addComponent(UIViewRoot.COMPONENT_TYPE, PortletNamingContainerUIViewRoot.class.getName()); return UIViewRoot.class.getName(); } return null; }
protected void addEntity(Class clazz, String val) { if (_log.isLoggable(Level.FINEST)) { _log.log(Level.FINEST, "addComponent(" + val + "," + clazz.getName() + ")"); } getApplication().addComponent(val, clazz.getName()); //register the renderer if not registered _alreadyRegistered.put(clazz.getName(), val); }
public TaskFormBaseLibrary(final String namespace) { super(namespace); final FacesContext facesContext = FacesContext.getCurrentInstance(); final Application application = facesContext.getApplication(); application.addComponent(UITaskFormCancelButton.COMPONENT_TYPE, UITaskFormCancelButton.class.getName()); addComponent("cancelButton", UITaskFormCancelButton.COMPONENT_TYPE, "javax.faces.Button"); application.addComponent(UITaskFormSaveButton.COMPONENT_TYPE, UITaskFormSaveButton.class.getName()); addComponent("saveButton", UITaskFormSaveButton.COMPONENT_TYPE, "javax.faces.Button"); application.addComponent(UITaskFormTransitionButton.COMPONENT_TYPE, UITaskFormTransitionButton.class.getName()); addComponent("transitionButton", UITaskFormTransitionButton.COMPONENT_TYPE, "javax.faces.Button"); } }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#addComponent(String, String)} on the * wrapped {@link Application} object.</p> */ @Override public void addComponent(String componentType, String componentClass) { getWrapped().addComponent(componentType, componentClass); }
/** * <p class="changed_added_2_0"> * The default behavior of this method is to call * {@link Application#addComponent(String, String)} on the wrapped {@link Application} object. * </p> */ @Override public void addComponent(String componentType, String componentClass) { getWrapped().addComponent(componentType, componentClass); }
public void end(String namespace, String name) { ComponentBean bean = (ComponentBean) getDigester().pop(); Application application = (Application) getDigester().peek(); application.addComponent(bean.getComponentType(), bean .getComponentClass()); }
public void end(String namespace, String name) { ComponentBean bean = (ComponentBean) getDigester().pop(); Application application = (Application) getDigester().peek(); application.addComponent(bean.getComponentType(), bean .getComponentClass()); }