原创 textarea賦值

document.getElementById("remark_of_fuwuzhinan").value = itemExtArr.REMARK_OF_FUWUZHINAN;

原创 查看clob字段內容

select dbms_lob.substr(列名) from 表名

原创 頁面上出現br字符

if(StringUtils.isNotBlank(reason)){reason = reason.replace("<br/>","\r\n "

原创 textarea中大段莫名其妙的空格

textarea標籤沒有寫到同一行會出現這種問題

原创 jqgrid重新設置subGridOptions

jqgrid重新設置subGridOptions,根據條件重新設置屬性 $project_config_index_grid.jqGrid('setGridParam', {     search:true,              

原创 ztree設置父類不可選

在後臺判斷父級,在父級的字段中添加, 在傳到前臺的json中添加一個字段map.put("nocheck","true");

原创 poi導出word表格的問題

poi導出word表格的問題,不能直接用,但是很有參考價值,對poi操作word 表格的一般操作能夠實現 poi導出word表格jar包 poi-3.9-20121203.jar poi-ooxml-3.9-20121203

原创 html頁面上含有,括號中是英文的頁面上不顯示

html頁面上含有<>,括號中是英文的頁面上不顯示 此時需要進行轉義  將<>分別換成 &lt; &gt;

原创 日期calendar月份加1

Calendar date=Calendar.getInstance(); int year = date.get(calendar.YEAR); int month = date.get(calendar.MONTH)+1;月份要加1

原创 鼠標移到元素上顯示提示信息

<a href=# title="顯示信息" >5</a>利用title屬性就能夠實現

原创 poi導入圖片到word

package com.inspur.mng.project.config.action; import java.io.IOException; import java.io.InputStream; import org.apa

原创 jqgrid 當group by語句獲得list,顯示list超過1時

List<Map<String, Object>> listall = this.folderItemService.find("SELECT T.ID, T.TYPE, T.CODE, T.NAME AS FNAME, T.REGIO

原创 Null pointer access: The variable condition can only be null at this location。

Null pointer access: The variable condition can only be null at this location。 報空指針錯誤, 問題主要原因在於沒有初始化 例如: StringBuffer

原创 poi導出word表格jar包

poi導出word表格jar包 poi-3.9-20121203.jar poi-ooxml-3.9-20121203.jar poi-ooxml-schemas-3.9-20121203.jar poi-scratchpad-3.9.j

原创 poi導出word 表格 單元格內換行

  List<XWPFTableCell> tableCellsq9 = table.getRow(8).getTableCells();   ta