一般地
2019獨角獸企業重金招聘Python工程師標準>>>
1.EO的Updatable屬性默認為Always,基于EO創建的VO也是。而基于SQL創建VO的Updatable屬性默認為Never,如果要修改(例如將VO拖至頁面生成Form用于新增),則需將該屬性設置為Always。
2.在EO中設置字段排序:UI Categories
3.基于EO的VO如何修改SQL?SQL Mode:Expert
4.修改數據庫字段時如何同步EO。選中EO對象右擊,選擇Synchronize with Dabase
5.EO設置主鍵使用序列自動增長
MySQL主鍵是可以自動增長的,只需要用auto_increment關鍵字,而在Oracle里,是沒有auto_increment關鍵字來設計自動增長的,只能用序列
6.新增和修改跳轉至同一頁面。setActionListener
7.action和actionListener區別:返回值。String和void
8.showPopupBehavior據說有bug。建議用JSFUtils.showPopup()
9.在TaskFlow的Behavior中將Share data controls with calling task flow前面的勾取消掉,初始化方法過濾數據就不會影響其他的TaskFlow
10.Table選中即可編輯當前行editingMode="clickToEdit"
11.View Criterial查詢條件多選。勾選Support Multiple Value Selection
12.View Criterial查詢條件。Item UI Hints-Rendered Mode設置成never,在頁面不顯示。
13.綁定變量Control Hints-Display Hint設置成Hide,在頁面不顯示。
14.使用af:inputFile時在jspx頁面需要設置(<af:form id="f1" usesUpload="true">)
15.表格增加序號列。
其中vs為af:table中的屬性 varStatus="vs"
16.導出Excel
17.數據為0和1,在頁面顯示是和否。
三元運算符
或者設置LOV后從Data Controls中拖至頁面
<af:column headerText="#{bindings.JxjhglJxzyfbhzbView1.hints.Fbzt.label}"id="c9"><af:selectOneChoice value="#{row.bindings.Fbzt.inputValue}"label="#{row.bindings.Fbzt.label}"required="#{bindings.JxjhglJxzyfbhzbView1.hints.Fbzt.mandatory}"shortDesc="#{bindings.JxjhglJxzyfbhzbView1.hints.Fbzt.tooltip}"id="soc2" readOnly="true"><f:selectItems value="#{row.bindings.Fbzt.items}" id="si2"/></af:selectOneChoice> </af:column>18.通常設置
1.af:document。設置title
2.af:dialog。設置title
3.ad:image。設置shortDesc
4.af:popup。設置contentDelivery="lazyUncached" childCreation="deferred"
5.af:query。設置saveQueryMode="hidden" modeChangeVisible="false" resultComponentId rows maxColumns
6.af:panelCollection。設置styleClass="AFStretchWidth" featuresOff="detach viewMenu"
7.af:table。設置summary。當rowSelection="multiple"要刪除selectedRowKeys="#{bindings.LocationsView1.collectionModel.selectedRow}"
8.VO綁定變量,登錄賬號adf.context.sessionScope.yhzh
9.統計
轉載于:https://my.oschina.net/u/3646781/blog/1576456
總結
- 上一篇: Lync Server 2010迁移至L
- 下一篇: Asp.Net MVC4入门指南(9):