init: 导入项目
This commit is contained in:
commit
4c8e6701f2
7158 files changed
+1199718
No files matched your search
@@ -0,0 +1,23 @@
|
||||
package com.wb.controls;
|
||||
|
||||
import com.wb.common.KVBuffer;
|
||||
import com.wb.util.WebUtil;
|
||||
|
||||
/**
|
||||
* Touch Select控件的解析类。
|
||||
*/
|
||||
public class TSelect extends com.wb.controls.ExtControl {
|
||||
protected void extendConfig() {
|
||||
String keyName = gs("keyName");
|
||||
if (!keyName.isEmpty()) {
|
||||
if (hasItems)
|
||||
headerScript.append(',');
|
||||
else
|
||||
hasItems = true;
|
||||
headerScript
|
||||
.append("displayField:\"V\",valueField:\"K\",store:{fields:[\"K\",\"V\"],sorters:\"K\",data:");
|
||||
headerScript.append(KVBuffer.getList(keyName, WebUtil.fetch(request, "sys.tenancyId")));
|
||||
headerScript.append('}');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user