`
shnsvyu
  • 浏览: 9602 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
{ xtype:"textfield", fileUpload:true, fieldLabel:"文件上传", inputType:"file", allowBlank:false, name:"file" }, new Ext.Button({ text:"上传", handler:function(){ if(files_add_form.getForm().isValid()){ ...
var store = Ext.create('Ext.data.JsonStore', { fields: ["finish_value","status","base_code","score","dept_name","index_unit","id","index_name","dept_id","index_code","index_weight",&quo ...
<script defer language="javascript" > Ext.onReady( function(){ var p = BO_SUPPLIER_DRUG.Grid.getGridPanel(); p.getColumnModel().setHidden(p.getColumnModel().findColumnIndex("SUPPLIERID"),true); p.getColumnModel().setHidden(p.getColumnModel().findColumnInde ...
var cm = new Ext.grid.ColumnModel({ columns : [sm, new Ext.grid.RowNumberer(), { header : 'projectchecksetid', dataIndex : 'projectchecksetid', hidden : true },{ header : 'proTypeId', dataIndex : 'globalType', hidden : true, ...
Ext.Ajax.request({ url:__ctxPath+'/medical/getDetailMedicalMedicalPackage.do?typeid='+node.id, method:'post', success:function(response,options){ var total ; var rowIndex; var object=response.respons ...
var detailForm = new Ext.FormPanel({ id:"detail", layout:"form", labelWidth: 60, labelAlign:"right", border:false, frame:true, width: 600,//宽度设置要合理,如果FormPanel的宽度小于控件的宽度,column布局时控件不能正常显 ...
///前台 var grid = new Ext.ux.tree.TreeGrid({ title: '任务管理', width: 500, height: 300, enableDD: true, enableSort:false, rootVisible:false, columns:[{ header: '任务名称', dataIndex: 'Task_ID', width: ...
GsonBuilder gb = new GsonBuilder(); Gson g = gb.create(); Map<String, String> map = g.fromJson(appointment.getRemidJson(), new TypeToken<Map<String, String>>() {}.getType());  
import java.io.FileNotFoundException; import java.io.IOException; import java.io.File; public class ReadFile { public ReadFile() { } /** * 读取某个文件夹下的所有文件 */ public static boolean readfile(String filepath) throws FileNotFoundException, IOExc ...
http://www.oschina.net/code/snippet_107039_6026 http://www.oschina.net/code/snippet_107039_6026 import java.util.regex.Matcher; import java.util.regex.Pattern; public class StringUtils { public static String replaceBlank(String str) { String dest = ""; if (str!=null) { ...
Global site tag (gtag.js) - Google Analytics