org.sakaiproject.tool.assessment.jsf.tag
Class TagUtil

java.lang.Object
  extended by org.sakaiproject.tool.assessment.jsf.tag.TagUtil

public class TagUtil
extends Object

Previously PagerTagUtil

Based on code from "Core JSF"

Copyright: Copyright (c) 2004 Sakai

Version:
$Id: TagUtil.java 70929 2010-01-06 00:16:57Z ktsao@stanford.edu $
Author:
Ed Smiley

Constructor Summary
TagUtil()
           
 
Method Summary
static String eval(String expression)
           
static Boolean evalBoolean(String expression)
           
static Double evalDouble(String expression)
           
static Integer evalInteger(String expression)
           
static void setAction(javax.faces.component.UIComponent component, String attributeValue)
           
static void setActionListener(javax.faces.component.UIComponent component, String attributeValue)
           
static void setBoolean(javax.faces.component.UIComponent component, String attributeName, String attributeValue)
           
static void setDouble(javax.faces.component.UIComponent component, String attributeName, String attributeValue)
           
static void setInteger(javax.faces.component.UIComponent component, String attributeName, String attributeValue)
           
static void setMap(javax.faces.component.UIComponent component, String attributeName, String attributeValue)
           
static void setMethodBinding(javax.faces.component.UIComponent component, String attributeName, String attributeValue, Class[] paramTypes)
           
static void setString(javax.faces.component.UIComponent component, String attributeName, String attributeValue)
           
static void setValidator(javax.faces.component.UIComponent component, String attributeValue)
           
static void setValueBinding(javax.faces.component.UIComponent component, String attributeName, String attributeValue)
           
static void setValueChangeListener(javax.faces.component.UIComponent component, String attributeValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagUtil

public TagUtil()
Method Detail

setString

public static void setString(javax.faces.component.UIComponent component,
                             String attributeName,
                             String attributeValue)

setInteger

public static void setInteger(javax.faces.component.UIComponent component,
                              String attributeName,
                              String attributeValue)

setMap

public static void setMap(javax.faces.component.UIComponent component,
                          String attributeName,
                          String attributeValue)

setDouble

public static void setDouble(javax.faces.component.UIComponent component,
                             String attributeName,
                             String attributeValue)

setBoolean

public static void setBoolean(javax.faces.component.UIComponent component,
                              String attributeName,
                              String attributeValue)

setValueBinding

public static void setValueBinding(javax.faces.component.UIComponent component,
                                   String attributeName,
                                   String attributeValue)

setActionListener

public static void setActionListener(javax.faces.component.UIComponent component,
                                     String attributeValue)

setValueChangeListener

public static void setValueChangeListener(javax.faces.component.UIComponent component,
                                          String attributeValue)

setValidator

public static void setValidator(javax.faces.component.UIComponent component,
                                String attributeValue)

setAction

public static void setAction(javax.faces.component.UIComponent component,
                             String attributeValue)

setMethodBinding

public static void setMethodBinding(javax.faces.component.UIComponent component,
                                    String attributeName,
                                    String attributeValue,
                                    Class[] paramTypes)

eval

public static String eval(String expression)

evalInteger

public static Integer evalInteger(String expression)

evalDouble

public static Double evalDouble(String expression)

evalBoolean

public static Boolean evalBoolean(String expression)


Copyright © 2005-2012 Sakai Project. All Rights Reserved.