Constructor and Description |
---|
ValueList() |
Modifier and Type | Method and Description |
---|---|
static List<Pair<String,String>> |
getEntries(String valueListId)
Return pairs (value,label)
|
static List<Pair<String,String>> |
getEntries(String valueListId,
Application application,
Locale locale) |
static String |
getLabel(String id,
String val)
return the label of a value list entry
|
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)
Show the entries of the valuelist(s) as xml for xforms.
|
public Page show(HttpServletRequest req)
public Page getValueListEntries(HttpServletRequest req) throws Exception
Valuelist
entries according to
the dojo-data-store scheme
something like:
{"identifier":"value","items":[{"value":"1","name":"male"},...]}
public static List<Pair<String,String>> getEntries(String valueListId)
public static List<Pair<String,String>> getEntries(String valueListId, Application application, Locale locale)
@enterprise 10.0.38934 Copyright © 2001-2024 Groiss Informatics GmbH. All Rights Reserved.