com.groiss.wf.html
Class ValueList
java.lang.Object
com.groiss.wf.html.ValueList
- All Implemented Interfaces:
- Public
public class ValueList
- extends java.lang.Object
- implements Public
create an XML representation for value lists, useable in XFORMS
Method Summary |
static java.util.List<Pair<java.lang.String,java.lang.String>> |
getEntries(java.lang.String valueListId)
|
static java.util.List<Pair<java.lang.String,java.lang.String>> |
getEntries(java.lang.String valueListId,
Application application,
java.util.Locale locale)
|
Page |
getValueListEntries(javax.servlet.http.HttpServletRequest req)
loads Valuelist entries according to
the dojo-data-store scheme
something like:
{"identifier":"value","items":[{"value":"1","name":"male"},...]} |
Page |
show(javax.servlet.http.HttpServletRequest req)
|
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(javax.servlet.http.HttpServletRequest req)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValueListEntries
public Page getValueListEntries(javax.servlet.http.HttpServletRequest req)
throws java.lang.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:
java.lang.Exception
getEntries
public static java.util.List<Pair<java.lang.String,java.lang.String>> getEntries(java.lang.String valueListId)
getEntries
public static java.util.List<Pair<java.lang.String,java.lang.String>> getEntries(java.lang.String valueListId,
Application application,
java.util.Locale locale)
@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.