1. <input>標籤已無法直接傳直至後端,需要在name處加上
<portlet:namespace/>
這樣才可正常傳值。
or
we can set the requires-namespaced-parameters setting to false in your liferay-portlet.xml.
<requires-namespaced-parameters>false</requires-namespaced-parameters>
2. rowChecker="<%=new RowChecker(renderResponse)%>"
這個屬性加在liferay-ui:search-container裡,可以產生一個可勾選全部的checkbox。
全站熱搜