項目知識點小結

來源:互聯網
上載者:User

經過3個月來業餘時間裡的努力,終於將為公司設計的一套系統的兩個主要模組做好了。其中用到了Struts2、Spring、JQuery等架構或技術。

 

其間確實學到了很多東西,有些經驗教訓記下來了,有些忘掉了,很可惜。現在把尚有記憶的寫下來幾條吧。

 

1. jQuery的Struts2 Plugin包裡面的DatePicker,則JSP頁面中用到的時候,注意其z-Index值的設定,否則很可能顯示不出來。

 

2. 在json外掛程式中的"json"類型的result裡面,要想使用includeProperties或者exculdeProperties屬性包含或排除數群組成員屬性的時候,應該使用Regex,將數組元素的成員屬性也“讀”到json輸出中。例如:"^arrayName/[/d+/]/./w+"

<result type="json"><br /><param name="includeProperties"><br />^gridModel/[/d+/]/./w+,<br />rows,page,total,record,sord,sidx,loadOnce,searchField,searchString,searchOper<br /></param><br /><param name="excludeProperties"><br />supplyPlanVersions, supplyPlanVersionService,<br />bohVersionDao, packPlanVersionDao, actualShipVersionDao,<br />allocationVersionDao<br /></param><br /><param name="noCache">true</param><br /></result>

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.