/** * Add a ConvertHandler for the specified converterId of a TagHandler type * * @see javax.faces.view.facelets.ConverterHandler * @see javax.faces.view.facelets.ConverterConfig * @see javax.faces.application.Application#createConverter(java.lang.String) * @param name * name to use, "foo" would be <my:foo /> * @param converterId * id to pass to Application instance * @param type * TagHandler type that takes in a ConverterConfig */ protected final void addConverter(String name, String converterId, Class<? extends TagHandler> type) { _factories.put(name, new UserConverterHandlerFactory(converterId, type)); }
/** * Add a ConvertHandler for the specified converterId of a TagHandler type * * @see javax.faces.view.facelets.ConverterHandler * @see javax.faces.view.facelets.ConverterConfig * @see javax.faces.application.Application#createConverter(java.lang.String) * @param name * name to use, "foo" would be <my:foo /> * @param converterId * id to pass to Application instance * @param type * TagHandler type that takes in a ConverterConfig */ protected final void addConverter(String name, String converterId, Class<? extends TagHandler> type) { _factories.put(name, new UserConverterHandlerFactory(converterId, type)); }
/** * Add a ConvertHandler for the specified converterId of a TagHandler type * * See javax.faces.view.facelets.ConverterHandler * See javax.faces.view.facelets.ConverterConfig * See javax.faces.application.Application#createConverter(java.lang.String) * * @param name * name to use, "foo" would be <my:foo /> * @param converterId * id to pass to Application instance * @param type * TagHandler type that takes in a ConverterConfig */ protected final void addConverter(String name, String converterId, Class<? extends TagHandler> type) { _factories.put(name, new UserConverterHandlerFactory(converterId, type)); }