Total Pageviews

Friday, 18 December 2020

OAF : How to Dynamically set Render/Read only properties in OAF Table

 

1)     1) Create transient Attribute as Boolean type in your VO

2)     2)  Place this syntax in a fields properties where dynamic is needed. ${oa.ReqUpdateVO1.IMEIIssueTextReadOnly}

3)     3) Write below code in Processrequest to enable or disable

OARow singleRow = (OARow)ReqUpdateVO.first();

g_req_status = (String)singleRow.getAttribute("ReqStatus");

singleRow.setAttribute("IMEIIssueTextReadOnly",Boolean.TRUE);

No comments:

Post a Comment

FUSION: Purchasing Query

  1) ---------CPA to PO Amount---------- select poh.segment1, (select sum(nvl(cpol.quantity,1)* cpol.unit_price) from po_headers_all cpoh,po...