org.apache.myfaces.extensions.validator.core.initializer.component
Interface ComponentInitializer

All Known Implementing Classes:
AbstractHtmlCoreComponentsComponentInitializer

@InvocationOrderSupport
public interface ComponentInitializer

Allows to initialize components beforeEncodeBegin.
e.g.: you can add information for client-side validation mechanisms,... The MetaDataTransformers are used to convert MetaDataEntry to the map based information supplied here.

Since:
1.x.1
Author:
Gerhard Petracek

Method Summary
 void configureComponent(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, Map<String,Object> metaData)
          Initialize components with information from the meta-data.
 

Method Detail

configureComponent

void configureComponent(javax.faces.context.FacesContext facesContext,
                        javax.faces.component.UIComponent uiComponent,
                        Map<String,Object> metaData)
Initialize components with information from the meta-data.

Parameters:
facesContext - The JSF Context
uiComponent - The component that should be initialised
metaData - Information from the MetaDataEntry in the abstract form.


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.