* @param json
* the id of the default view.
*/
public StreamListFormElement(final JSONObject json)
{
scopes = new StreamScopeFormElement("scopes", new LinkedList<StreamScope>(), "",
"Enter the name of an employee or group.", false, true,
"/resources/autocomplete/allowreadonly/entities/", MAX_NAME, MAX_ITEMS);
personScopes = new StreamScopeFormElement("personscopes", new LinkedList<StreamScope>(), "",
"Enter the name of an employee.", false, true, "/resources/autocomplete/allowreadonly/people/",
MAX_NAME, MAX_ITEMS);
this.addStyleName(StaticResourceBundle.INSTANCE.coreCss().streamLists());
label.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formLabel());