com.groiss.wf.html
Class ValueList
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueList
public ValueList()
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.