云自無心水自閑

          天平山上白云泉,云自無心水自閑。何必奔沖山下去,更添波浪向人間!
          posts - 288, comments - 524, trackbacks - 0, articles - 6
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理


          1, 先定義一個input, 做為datepicker的容器。
          <input type='text' class="form-control" id="dateTo" name="dateTo" required/>

          2, 在后面加上glyphicon, 注意關鍵是label 中的for的id需要是前面定義的容器的id, 這樣點擊glyphicon的時候就會觸發(fā)彈出日期選擇框。
          <label for="dateTo" class="input-group-addon"><span class="glyphicon glyphicon-time"></span></label>

          posted @ 2016-10-10 19:57 云自無心水自閑 閱讀(223) | 評論 (0)編輯 收藏

          在日志文件中看到這個錯誤信息
          Cause: java.sql.SQLException: #HY000

          后來才知道這是因為數(shù)據(jù)庫中有個別字段要求不能為空, 但是insert語句中沒有提供數(shù)據(jù),造成了這個錯誤。

          關鍵是錯誤信息不明確直觀,不容易知道是這個原因


          posted @ 2016-09-28 13:13 云自無心水自閑 閱讀(1075) | 評論 (0)編輯 收藏

              public void afterJFinalStart(){
                  Configuration config = FreeMarkerRender.getConfiguration();
                  config.setTemplateUpdateDelayMilliseconds( 2 );
                  config.setAPIBuiltinEnabled( true );
              }

          posted @ 2016-09-21 14:02 云自無心水自閑 閱讀(247) | 評論 (0)編輯 收藏


          中文版地址  https://angular.cn/

          posted @ 2016-09-16 13:13 云自無心水自閑 閱讀(2109) | 評論 (0)編輯 收藏

          1, call ##002# to cancel "call diversion"

          2, call 121600, choose option "2" to cancel "Active call catcher"

          posted @ 2016-08-25 12:58 云自無心水自閑 閱讀(159) | 評論 (0)編輯 收藏

          1. 格式化XML的插件
          可以安裝“XML Tools", 安裝完畢后,選擇 插件->XML Tools->Pretty Print(XML Only - with line breaks)

          2. 格式化JSON的插件
          可以安裝”JSON Viewer", 安裝完畢后,選擇 插件->JSON Viewer->Format JSON

          3. 格式化SQL的插件
          可以安裝“Poor man's T-Sql Formatter", 選擇 插件->Poor man's T-Sql Formatter->Format T-Sql Code

          posted @ 2016-08-12 15:14 云自無心水自閑 閱讀(1057) | 評論 (0)編輯 收藏

           
          使用的工具

          1. Apache HttpClient
          2. Firefox + FireBug
          3. Burp Suite ( https://portswigger.net/burp ) + Firefox FoxyProxy

          Firefox + FireBug 主要用于查看渲染出的頁面中的信息(比如:表單項的名稱,節(jié)點ID等等)
          Burp Suite 主要用于動態(tài)攔截頁面的交互,查看Ajax的調用。
          HttpClient 用于最后程序的編制。搞清楚了網(wǎng)頁交互的過程,就可以自主決定程序需要包含的內容。
          在實際網(wǎng)頁中,可能需要點開數(shù)級菜單,才能最后看到需要的內容。
          但是在程序中,可以直接跳到最后一步。

          posted @ 2016-06-05 19:00 云自無心水自閑 閱讀(204) | 評論 (0)編輯 收藏

          1. 表格文字右對齊 
           <table>
          <tr>
              <td><p style="text-align:right;margin:0;padding:0">文字右對齊</p></td>
              <td>文字左對齊</td>
          </tr>
          </table>

          2. 表格邊緣的margin 需要在表格外再套一個div
          <div style="margin:10px">
              <table>
              ......
              </table>
          </div>

          3. btn-toolbar class can put a margin between 2 "pull-right" buttons
                  <div class="row">
                      <div class="col-md-2"></div>
                      <div class="col-md-8 btn-toolbar">
                          <input type="submit" class="btn btn-warning pull-right" value="Submit">
                          <input type="button" id="profilePassBackBtn" class="btn btn-info pull-right" value="Back">
                      </div>
                      <div class="col-md-2">
                      </div>
                  </div>

          posted @ 2016-05-31 11:39 云自無心水自閑 閱讀(388) | 評論 (0)編輯 收藏

           AngularJS 2.0 已經(jīng)發(fā)布了Beta版本,相信正式版不久以后就會發(fā)布了。

          下面是官網(wǎng)上的新功能介紹:

          1. 更快更高效。AngularJS 2 將會比 AnuglarJS 1 快很多。因為它會支持:從遠程胳快速加載、離線編譯以便于更快啟動、以及超快的變動檢測和為使?jié)L動更平滑的視圖緩存等等。

          2. 更加簡單清晰。語法將會顯得更加自然,易于編寫

          3. 跨越平臺。無論是臺式機、手機瀏覽器、安卓、IOS平臺,AngularJS都能提供相應的支持。

          4. 無縫從 AngularJS 1 升級到 2

          5. 簡便的開發(fā)。支持各種開發(fā)語言,ES5, TypeScript, Dart

          6. 全面完備的路由。 方便地映射URL到應用組件,并提供多種高級功能,比如:嵌套和鄰接路由,支持卡片棧導航、動畫過渡、手機用戶延遲加載等等

          7. 依賴注入。

          8. 舊瀏覽器的良好支持

          9. 動畫效果 (仍在開發(fā)中)

          10. 國際化支持(仍在開發(fā)中)

          posted @ 2016-04-18 20:09 云自無心水自閑 閱讀(269) | 評論 (0)編輯 收藏

          1. Go to web project properties.
          2. Deployment Assembly (Left).
          3. Add > Select project > Select your lib project > Check "Assemble projects into the WEB-INF/lib folder of the web application" if not checked > Finish.

          posted @ 2016-04-13 10:35 云自無心水自閑 閱讀(176) | 評論 (0)編輯 收藏

          僅列出標題
          共29頁: 上一頁 1 2 3 4 5 6 7 8 9 下一頁 Last 
          主站蜘蛛池模板: 洮南市| 顺昌县| 奈曼旗| 电白县| 肃宁县| 黔西| 栖霞市| 永济市| 潜江市| 交口县| 泸溪县| 岱山县| 永嘉县| 绵竹市| 日土县| 襄垣县| 武义县| 遂川县| 古丈县| 台安县| 枣强县| 乌拉特前旗| 辰溪县| 天全县| 桂东县| 藁城市| 墨江| 洛扎县| 永川市| 东港市| 宜阳县| 手游| 札达县| 抚远县| 博罗县| 镇远县| 汾阳市| 金湖县| 利川市| 信阳市| 贵州省|