public class LocaleSelectionDataGetter extends Object implements DataGetter
{selectLocale={
selectLocaleUrl = [the URL for the form action to select a Locale]
locales={ [a list of maps]
{ [a map for each Locale]
code = [the code for the Locale, e.g. "en_US"]
label = [the alt text for the Locale, e.g. "Spanish (Spain)"]
imageUrl = [the URL of the image that represents the Locale]
selected = [true, if this locale is currently selected]
}
}
}
}
| Constructor and Description |
|---|
LocaleSelectionDataGetter(VitroRequest vreq) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getData(Map<String,Object> valueMap)
Get data.
|
public LocaleSelectionDataGetter(VitroRequest vreq)
public Map<String,Object> getData(Map<String,Object> valueMap)
DataGettergetData in interface DataGettervalueMap - any values already generated by data getters or the controller.
Might be immutable, and should not be modified within the method.Copyright © 2016. All rights reserved.