org.bejug.javacareers.common.view.jsf.utils
Class RendererHelper

java.lang.Object
  extended byorg.bejug.javacareers.common.view.jsf.utils.RendererHelper

public class RendererHelper
extends java.lang.Object

Version:
$Revision: 1.5 $ - $Date: 2005/12/21 11:38:42 $:
Author:
: Peter Symoens (Last modified by $Author: shally $)

Constructor Summary
RendererHelper()
           
 
Method Summary
static java.lang.Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object submittedValue)
           
static javax.faces.convert.Converter getConverter(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
static java.lang.String getFormId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
static java.util.List getSelectItems(javax.faces.component.UIComponent component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendererHelper

public RendererHelper()
Method Detail

getConvertedValue

public static java.lang.Object getConvertedValue(javax.faces.context.FacesContext context,
                                                 javax.faces.component.UIComponent component,
                                                 java.lang.Object submittedValue)
                                          throws javax.faces.convert.ConverterException
Parameters:
context - is context
component - is component
submittedValue - is submitted value
Returns:
submitted value
Throws:
javax.faces.convert.ConverterException - in case of ConverterException

getConverter

public static javax.faces.convert.Converter getConverter(javax.faces.context.FacesContext context,
                                                         javax.faces.component.UIComponent component)
Parameters:
context - is the context
component - is the component
Returns:
converter

getFormId

public static java.lang.String getFormId(javax.faces.context.FacesContext context,
                                         javax.faces.component.UIComponent component)
Parameters:
context - is the context
component - is the component
Returns:
client id found

getSelectItems

public static java.util.List getSelectItems(javax.faces.component.UIComponent component)
Parameters:
component - to be checked
Returns:
list of items selected


Copyright © 2005-2006 BeJUG. All Rights Reserved.