com.groiss.wf.html
Class ValueList

java.lang.Object
  extended by com.groiss.wf.html.ValueList
All Implemented Interfaces:
Public

public class ValueList
extends Object
implements Public

create an XML representation for value lists, useable in XFORMS


Constructor Summary
ValueList()
           
 
Method Summary
static List<Pair<String,String>> getEntries(String valueListId)
           
static List<Pair<String,String>> getEntries(String valueListId, Application application, Locale locale)
           
 Page getValueListEntries(HttpServletRequest req)
          loads Valuelist entries according to the dojo-data-store scheme something like: {"identifier":"value","items":[{"value":"1","name":"male"},...]}
 Page show(HttpServletRequest req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueList

public ValueList()
Method Detail

show

public Page show(HttpServletRequest req)
          throws Exception
Throws:
Exception

getValueListEntries

public Page getValueListEntries(HttpServletRequest req)
                         throws Exception
loads Valuelist entries according to the dojo-data-store scheme something like: {"identifier":"value","items":[{"value":"1","name":"male"},...]}

Parameters:
req -
Returns:
JSONPage containing the items
Throws:
Exception

getEntries

public static List<Pair<String,String>> getEntries(String valueListId)

getEntries

public static List<Pair<String,String>> getEntries(String valueListId,
                                                   Application application,
                                                   Locale locale)


@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.