org.alfresco.web.ui.repo.renderer
Class MultiValueSelectorRenderer
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.MultiValueSelectorRenderer
public class MultiValueSelectorRenderer
- extends BaseMultiValueRenderer
Renders the MultiValueEditor component for use with picker components.
This renderer shows a "select items" message and a select button. When
the select button is pressed the wrapped component will appear and the
add to list button will be enabled.
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 |
MultiValueSelectorRenderer
public MultiValueSelectorRenderer()
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.