org.alfresco.web.ui.repo.renderer
Class MultiValueFieldRenderer
java.lang.Object
javax.faces.render.Renderer
org.alfresco.web.ui.common.renderer.BaseRenderer
org.alfresco.web.ui.repo.renderer.BaseMultiValueRenderer
org.alfresco.web.ui.repo.renderer.MultiValueFieldRenderer
public class MultiValueFieldRenderer
- extends BaseMultiValueRenderer
Renders the MultiValueEditor component for use with field components
i.e. text, checkboxes, lists etc.
This renderer does not show a "select item" message or a select button,
the wrapped component is shown immediately with an add to list button
after it.
Method Summary |
protected void |
renderPostWrappedComponent(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
UIMultiValueEditor editor)
Renders the area of the component after the wrapped component but before the list
of currently selected values. |
protected void |
renderPreWrappedComponent(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
UIMultiValueEditor editor)
Renders the area of the component before the wrapped component appears. |
Methods inherited from class javax.faces.render.Renderer |
convertClientId, encodeChildren, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiValueFieldRenderer
public MultiValueFieldRenderer()
renderPreWrappedComponent
protected void renderPreWrappedComponent(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
UIMultiValueEditor editor)
throws java.io.IOException
- Description copied from class:
BaseMultiValueRenderer
- Renders the area of the component before the wrapped component appears.
- Specified by:
renderPreWrappedComponent
in class BaseMultiValueRenderer
- Parameters:
context
- FacesContextout
- The ResponseWriter to write toeditor
- The multi value editor component
- Throws:
java.io.IOException
renderPostWrappedComponent
protected void renderPostWrappedComponent(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
UIMultiValueEditor editor)
throws java.io.IOException
- Description copied from class:
BaseMultiValueRenderer
- Renders the area of the component after the wrapped component but before the list
of currently selected values.
- Specified by:
renderPostWrappedComponent
in class BaseMultiValueRenderer
- Parameters:
context
- FacesContextout
- The ResponseWriter to write toeditor
- The multi value editor component
- Throws:
java.io.IOException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.