net.sf.jsm.widgets.utils
Class JsmWidgetUtil

java.lang.Object
  extended bynet.sf.jsm.widgets.utils.JsmWidgetUtil

public class JsmWidgetUtil
extends java.lang.Object

Utiltiy class to work with widget related classes

Author:
ronald ploeger

Field Summary
static Log logger
           
 
Constructor Summary
JsmWidgetUtil()
           
 
Method Summary
static java.util.Map generateOptions(java.util.Collection valueObjects, java.lang.String valuePropertyPath, java.lang.String labelPropertyPath)
          Generates a map of options to be used with JsmSelectField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static Log logger
Constructor Detail

JsmWidgetUtil

public JsmWidgetUtil()
Method Detail

generateOptions

public static java.util.Map generateOptions(java.util.Collection valueObjects,
                                            java.lang.String valuePropertyPath,
                                            java.lang.String labelPropertyPath)
Generates a map of options to be used with JsmSelectField

Parameters:
valueObjects - Collection of value objects
valuePropertyPath - The bean path for the value to be set
labelPropertyPath - The bean path for the label to be set
Returns: