org.drools.ide.common.client.modeldriven
Class DropDownData

java.lang.Object
  extended by org.drools.ide.common.client.modeldriven.DropDownData

public class DropDownData
extends Object

Used to drive drop downs.


Field Summary
 String[] fixedList
          If this is non null, just show these items.
 String queryExpression
          this would be something that takes the name/value pairs and interpolates them into an MVEL expression that resolves to a list.
 String[] valuePairs
          Something like as list of: sex=M, name=Michael etc....
 
Method Summary
static DropDownData create(String[] list)
           
static DropDownData create(String queryExpression, String[] valuePairs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fixedList

public String[] fixedList
If this is non null, just show these items.


queryExpression

public String queryExpression
this would be something that takes the name/value pairs and interpolates them into an MVEL expression that resolves to a list.


valuePairs

public String[] valuePairs
Something like as list of: sex=M, name=Michael etc....

Method Detail

create

public static DropDownData create(String[] list)

create

public static DropDownData create(String queryExpression,
                                  String[] valuePairs)


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.