After a long vacation I'm back to work :)
This post is about changing look n feel of ADF Faces af:table component
I have seen many questions related to changing table column header style , selected row style, changing row banding styles etc
Blog about Oracle ADF, JDeveloper, PL/SQL, Java, JavaScript, jQuery and Other Web Technologies
public abstract long getMaximum() { }
public abstract long getValue() { }
SELECT A.DEPARTMENT_NAME, B.FIRST_NAME ||' '|| B.LAST_NAME AS EMPLOYEE_NAME, B.SALARY, 100000 AS TARGET FROM DEPARTMENTS A, EMPLOYEES B WHERE A.DEPARTMENT_ID=B.DEPARTMENT_ID;
<dvt:funnelChart id="funnelChart2" var="row" value="#{bindings.DeptEmpView11.collectionModel}"> <dvt:funnelDataItem id="di2" targetValue="#{row.Target}" label="#{row.DepartmentName}" value="#{row.Salary}"/> </dvt:funnelChart>
package client; import java.util.Scanner; public class UserInput { public UserInput() { super(); } public static void main(String[] args) { System.out.println("Please Enter your Name-"); Scanner sc = new Scanner(System.in); String name = sc.next(); System.out.println("Your Name is " + name); } }
PopupFetchEvent
is one of two server-side popup events
but doesn't have a corresponding client event. The popup fetch event is
invoked during content delivery. This means that the event will only
queue for popups that have a contentDelivery
type of lazy
or lazyUncached
.
Another caveat is that the event will only work when the launch id is
set. This is automatically handled by the af:showPopupBehavior but must
be provided as a popup hint if programmatically shown.
CREATE OR REPLACE FUNCTION FN_GET_EMPNAME(EMP_NO NUMBER) RETURN VARCHAR2 IS EMP_NAME VARCHAR2(50) := 'N'; BEGIN SELECT FIRST_NAME||' '||LAST_NAME into EMP_NAME FROM EMPLOYEES WHERE EMPLOYEE_ID=EMP_NO; RETURN EMP_NAME; END;