Bind a new view object to same adf table at run time

Hello,
I have an adf table, that changes based on the type of data the user selects. For example, lets say we have a page that consists of type drop down box at the top and an ADF table at the bottom, which lists data based on the type that is selected from the drop down box. For example, lets say, I have the types (Cars, Planes, and Trains).
Let's further say we have a view object for cars, one for Planes and one for Trains. Each VO has its own specific set of attributes associated with them, which in should be reflected in the adf table that's on the screen.
So for example, I select Train..
My table should contain the columns, num cabs, train type, year built
For plane, the columns might be Num engines, plane manufacturer, size(ie. 747, 727, etc), year built
Some type of thing with Cars , cylinders, color, model, year, etc.
Is there a way to tell my adf table to use a specific view object(ie. Plane, train, or car) at runtime?

You can try implementing this with dynamic components, e.g. dynamic table
>
ADF Dynamic and ADF Read-Only Dynamic Table: Allows you to create a
table when the attributes returned and displayed are determined dynamically
at runtime. This component is helpful when the attributes for the
corresponding object are not known until runtime, or you do not wish to
hardcode the column names in the JSF page. For more information about
working with dynamic components, see Section 26.7, "Using a Dynamic Form
to Determine Data to Display at Runtime."
>
Or you use dynamic regions and swithc the region containing the table depending on the selectOneChice. Check http://docs.oracle.com/cd/E24382_01/web.1112/e16182/taskflows_regions.htm and https://blogs.oracle.com/shay/entry/adf_dynamic_regions_switching_just
Timo

Similar Messages

  • ADF - Multple View Objects in one ADF table - Jdeveloper 11g

    Hi,
    I'm using Jdeveloper 11g, is there a way to use multiple view objects in one ADF table? And if so, do you have an example?
    In my case the view objects are not based on a database table they were created based on an ESB wsdl, one is for person and one is for address.
    Any information or pointers you could provide would be appreciated.
    Thanks!

    Hi,
    That would be a good solution, however, I'm supposed to see if there is a way to use the VOs that were created for person and address. Even better if the solution requires little coding.
    Is it possible to combine these two VOs into a single VO to use with an ADF table or to use both of them in a single table? Or is there some other solution that would enable me to use the person and address VOs in a similar manner?
    Thanks!

  • Using SQL view object to create ADF table

    Hi,
    I have created a column called "Month" (which extracts month from the date column) and another column to count the no. of requests.
    i want to create an ADF table with 2 columns, a column showing the month and another is showing the no. of requests for that month.
    However, now I only managed to achieve the ADF table to show the overall total requests, which means if i add up all the requests for all the months and i get 500
    My ADF table shows this:
    Jan: 500
    Feb: 500
    Mar: 500
    How should I create the view or what should I do to make it such that the no. of request is based on the month?
    Please advice.
    Thanks (:

    Hi,
    For the given situation you can create a Query Based View Object with the following query
    SELECT
    COUNT(TEMP1.DT) REQUEST,
    TO_CHAR(TEMP1.DT, 'Mon') MONTH
    FROM
    TEMP1
    GROUP BY
    TO_CHAR(TEMP1.DT, 'Mon')
    where DT is the date column and temp1 is the name of the database table.
    Following are the steps that i followed to get this query :
    i have taken the following sample table :
    create table temp1
    (srno number primary key,
    dt date)
    *Note you may use any existing column instead of srno or use dt only (i took an extra column as u know we need a primary key /row id)
    the following is the sample data
    insert into temp1 values (1,sysdate);
    insert into temp1 values (2,sysdate);
    insert into temp1 values (3,add_months(sysdate,1));
    insert into temp1 values (4,add_months(sysdate,1));
    insert into temp1 values (5,add_months(sysdate,3));
    insert into temp1 values (6,add_months(sysdate,5));
    the table appears as follows
    SRNO DT
    1 22-JUN-12
    2 22-JUN-12
    3 22-JUL-12
    4 22-JUL-12
    5 22-SEP-12
    6 22-NOV-12
    To start with ADF View Object Creation (Using Jdeveloper 11.1.2):
    Create the view object using Create View Object wizard
    In Step 1. Name window
    set the value for Name : Viewab (you can use any of ur choice)
    In the data source section : select query
    In Step 2. Query window
    a. Click Query builder (it will pop up sql statment window)
    b. In the SQL Statement window
    in quick-pick objects section -> select temp1 table -> shuttle the columns from available list to selected list
    in select clause section -> select srno column from select list-> choose count() function from function drop down list -> insert function -> set alias to REQUEST-> click validate
    now select dt column from select list -> choose to_char() function -> click insert function -> alter the function to to_Char(temp1.DT,'Mon') -> set alias to Month -> click validate
    in the group by clause section -> Click the green symbol to add -> from the expression palette insert dt column -> insert the to_char function -> alter the function to to_char(temp1.DT,'Mon') -> click validate
    in the Entire SQL Query section -> click test query -> in the test query window -> click query result-> you will see the result -> click close -> click ok
    Click next
    Step 3: Bind Variables
    Click Next
    Step 4: Attribute Mappings
    click Finish
    So the view object is ready :)

  • How to focus a specified column in ADF Table at run time?

    I drag and drop an ADF table.It contains *10 column*..I bind the column using ArrayList..First 3 column is set frozen =True..At the time of runtime,a Horizontal scroll is appeared..*May be for certain conditions , only 8th column contains values at run time.So i want to focus that column Only*.Because it is very easy for an user to see the value..If not,user has to scroll the bar to check. How can  i focus a specified column?

    Hi Briston,
    You can make the column selected by setting "selected" property of column to true
    Sireesha

  • Dynamically change the Binding of a view object

    I want to reuse a panel several times in my application. The VO has one bind parameter (:1). The same panel should be reused several times with different bind variables.
    I found a technical note concerning this issue called: How to Dynamically Change the binding of a View Object to a JClient Panel. This works for JDeveloper 9i but not for JDeveloper 19g. Does anybody know how to dynamically change the binding in JDeveloper 10g

    You may use bindRowSetIterator() and pass in a custom fetched ViewObject or a RowSetIterator to the iterator binding that is displayed in your panel.

  • New View Object not found

    Using the scott schema, in my test workspace I created a BC4J project that had 4 tables/view objects using the wizards and taking all the defaults. I created a UIX-JSP project using those view objects.
    Next I created a new table in the database (LoginMaster). I went back to the BC4J project added the entity object (LoginMaster) and allowed the wizard to build the default view object (LoginMasterView) into package1. Then I opened the properties on the AM (ScottModule)to put the new view object in the Data Model property. I tested the ScotMOdule AM and the view object is there and is accessable.
    I build a jsp page (using the starter form wizard in UIX-JSP category). I then striped out ALL of the default code and cut-n-pasted ALL of the code from another query form that was built by the "Business Components JSP Application" wizard of the UIX-JSP category. I changed the data source name from "EmpView" to "LoginMasterView" and when I run the application I'm told:
    Error Message: Could not locate View Object LoginMasterView in application Package1Module.
    oracle.jbo.JboException: Could not locate View Object LoginMasterView in application Package1Module.
    As I said, the VO LoginMasterView is in package1. I also verified it is coded in package1.xml andd scottmodule.xml, I suspect it was put here by setting the AM properties.
    So what did I leave out or do wrong?
    TIA,
    Ed.

    Edit your package1Module application module and verify that the name of the viewobject in the selected DataModel tree is the same as the name you're providing in your JSP page.
    I belive by default a number suffix is added to the VO names in the APpModule datapanel. Basically only VO usages that are included in the application module data-model are "findable" by default using the findViewObject methods. Yes it is the correct name in the DataModel Tree.
    Your response got me thinking. What files contain the text LoginMasterView? Well, all the files that conatin that text contain exactly that text. I was told package1.xml in the src directory of my BC4J objects project contained the text (which it did). But then I opened the files Package1Module.xml and Package1ModuleImpl.java and noticed they DID NOT conatin that text (even though it seems they should) so I added it to both of these files. But even after I built the BC4J objects project I noticed that the Package1ModuleImpl.class file is not recompiled (still dated July 4, 2002).
    So now I have two new questions:
    1. How come Package1Module.xml and Package1ModuleImpl.java did not get updated? What updates them?
    2. Once Package1ModuleImpl.java is manually updated and the [roject is built why is Package1ModuleImpl.class not recompiled?
    TIA,
    Ed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Adding New View Objects/Link on "Preview and Print" - Order Acknowledgement

    Hi,
    Can we add New View Objects/View Links for the existing "Preview and Print" Order Acknowledgement.
    I want to add for the 2 new functionalities i.e., for Charges (from OE_PRICE_ADJUSTMENTS_V ) and the Line Level Notes, which is currently not supported by Oracle.
    Can anyone help me on acheving this functionality?
    Looking forward for your response.
    Thanks in advance,
    Regards,
    Muru

    You can do that. You should first create the new business objects(AM, VO, VL) in jdeveloper, create your new regions in jdeveloper, associate the AM to the top level region(stackLayout) you create. Use personalization and add a stack layout in the Preview and Print page, set the extends property to point to the new region which you had created. Donot forget to deploy all the files in middle tier before doing the personalization.
    The AM which you had added to the stackLayout will automatically be nested with the root AM of the page during runtime.

  • Try to add new View object to an exist AM

    Dears ,
    i'm trying to create new text filed in an exist OAF page and i have create anew vo and add it to the exist AM the below erroe has been appeared
    Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = XxTedExtVONEW1; APPLICATION_MODULE = xxted.oracle.apps.per.extint.server.XxTedExtAM;
    below is the code of XxTedExtAM  and the red is my code for adding the new view object:
    /*     */ package xxted.oracle.apps.per.extint.server;
    /*     */ import java.io.PrintStream;
    /*     */ import oracle.apps.fnd.framework.OAException;
    /*     */ import oracle.apps.fnd.framework.OARow;
    /*     */ import oracle.apps.fnd.framework.OAViewObject;
    /*     */ import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    /*     */ import oracle.apps.fnd.framework.server.OADBTransaction;
    /*     */ import oracle.jbo.Row;
    /*     */ import oracle.jbo.domain.Date;
    /*     */ import oracle.jbo.domain.Number;
    /*     */ import oracle.jbo.server.ViewLinkImpl;
    /*     */ public class XxTedExtAMImpl extends OAApplicationModuleImpl
    /*     */   public XxTedAnotherJobVOImpl getXxTedAnotherJobVO1()
    /*  19 */     return (XxTedAnotherJobVOImpl)findViewObject("XxTedAnotherJobVO1");
    /*     */   public XxTedCompenVOImpl getXxTedCompenVO1()
    /*  24 */     return (XxTedCompenVOImpl)findViewObject("XxTedCompenVO1");
    /*     */   public XxTedCultIssueVOImpl getXxTedCultIssueVO1()
    /*  29 */     return (XxTedCultIssueVOImpl)findViewObject("XxTedCultIssueVO1");
    /*     */   public XxTedGuidlinesVOImpl getXxTedGuidlinesVO1()
    /*  34 */     return (XxTedGuidlinesVOImpl)findViewObject("XxTedGuidlinesVO1");
    /*     */   public XxTedJobIssueVOImpl getXxTedJobIssueVO1()
    /*  39 */     return (XxTedJobIssueVOImpl)findViewObject("XxTedJobIssueVO1");
    /*     */   public XxTedLeaveResVOImpl getXxTedLeaveResVO1()
    /*  44 */      return (XxTedLeaveResVOImpl)findViewObject("XxTedLeaveResVO1");
    /*     */   public XxTedRelIssueVOImpl getXxTedRelIssueVO1()
    /*  49 */     return (XxTedRelIssueVOImpl)findViewObject("XxTedRelIssueVO1");
    /*     */   public XxTedTerminologyVOImpl getXxTedTerminologyVO1()
    /*  54 */     return (XxTedTerminologyVOImpl)findViewObject("XxTedTerminologyVO1");
    /*     */   public static void main(String[] args)
    /*  58 */     launchTester("xxted.oracle.apps.per.extint.server", "XxTedExtAMLocal");
    /*     */   public XxTedExitInterviewVOImpl getXxTedExitInterviewVO1()
    /*  64 */     return (XxTedExitInterviewVOImpl)findViewObject("XxTedExitInterviewVO1");
    /*     */   public XxTedExitintDetF1VOImpl getXxTedExitintDetF1VO1()
    /*  69 */     return (XxTedExitintDetF1VOImpl)findViewObject("XxTedExitintDetF1VO1");
    /*     */   public XxTedExitintDetF2VOImpl getXxTedExitintDetF2VO1()
    /*  74 */     return (XxTedExitintDetF2VOImpl)findViewObject("XxTedExitintDetF2VO1");
    /*     */   public XxTedExitintDetF3VOImpl getXxTedExitintDetF3VO1()
    /*  79 */     return (XxTedExitintDetF3VOImpl)findViewObject("XxTedExitintDetF3VO1");
    /*     */   public XxTedExitintDetF4VOImpl getXxTedExitintDetF4VO1()
    /*  84 */     return (XxTedExitintDetF4VOImpl)findViewObject("XxTedExitintDetF4VO1");
    /*     */   public XxTedExitintDetF5VOImpl getXxTedExitintDetF5VO1()
    /*  89 */     return (XxTedExitintDetF5VOImpl)findViewObject("XxTedExitintDetF5VO1");
    /*     */   public XxTedExitintDetF6VOImpl getXxTedExitintDetF6VO1()
    /*  94 */     return (XxTedExitintDetF6VOImpl)findViewObject("XxTedExitintDetF6VO1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF1VL1()
    /*  99 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF1VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF2VL1()
    /* 104 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF2VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF3VL1()
    /* 109 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF3VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF4VL1()
    /* 114 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF4VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF5VL1()
    /* 119 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF5VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF6VL1()
    /* 124 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF6VL1");
    /*     */   public XxTedReqIdVOImpl getXxTedReqIdVO1()
    /* 129 */     return (XxTedReqIdVOImpl)findViewObject("XxTedReqIdVO1");
    /*     */   public XxTedInterviewerVOImpl getXxTedInterviewerVO1()
    /* 134 */     return (XxTedInterviewerVOImpl)findViewObject("XxTedInterviewerVO1");
    /*     */   public void initRecords()
    /* 138 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 139 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 140 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 141 */     OAViewObject XxTedReqIdVO = getXxTedReqIdVO1();
    /* 142 */     if (!XxTedReqIdVO.isPreparedForExecution())
    /* 144 */       XxTedReqIdVO.executeQuery();
    /* 146 */     Row[] reqRow = XxTedReqIdVO.getAllRowsInRange();
    /* 147 */     XxTedReqIdVORowImpl reqRowImp = (XxTedReqIdVORowImpl)reqRow[0];
    /* 149 */     OAViewObject XxTedExitInterviewVO = getXxTedExitInterviewVO1();
    /* 150 */     if (!XxTedExitInterviewVO.isPreparedForExecution())
    /* 152 */       XxTedExitInterviewVO.setMaxFetchSize(0);
    /* 153 */       XxTedExitInterviewVO.executeQuery();
    /* 154 */       XxTedExitInterviewVO.setMaxFetchSize(-1);
    /* 156 */     Row row = XxTedExitInterviewVO.createRow();
    /* 157 */     row.setAttribute("RequestId", reqRowImp.getAttribute("Reqid"));
    /* 158 */     row.setAttribute("RequesterId", empRowImp.getAttribute("EmployeeNumber"));
    /* 160 */     XxTedExitInterviewVO.insertRow(row);
    /* 161 */     row.setNewRowState((byte)0);
    /*     */   public void execQueries(String userId)
    /* 166 */     OAViewObject XxTedGuidlinesVO = getXxTedGuidlinesVO1();
    /* 167 */     if (!XxTedGuidlinesVO.isPreparedForExecution())
    /* 169 */       XxTedGuidlinesVO.executeQuery();
    /* 172 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 173 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 175 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", userId);
    /* 176 */       XxTedEmpDataVO.executeQuery();
    /* 179 */     OAViewObject XxTedTerminologyVO = getXxTedTerminologyVO1();
    /* 180 */     if (!XxTedTerminologyVO.isPreparedForExecution())
    /* 182 */       XxTedTerminologyVO.executeQuery();
    /* 185 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 186 */     if (!XxTedLeaveResVO.isPreparedForExecution())
    /* 188 */       XxTedLeaveResVO.executeQuery();
    /////////////////////////////lamiaa///////////////
           /* OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
                if (!XxTedExtVONEW.isPreparedForExecution())
                XxTedExtVONEW.executeQuery();
      /////////////////////////////lamiaa///////////////
    /* 191 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 192 */     if (!XxTedCompenVO.isPreparedForExecution())
    /* 194 */       XxTedCompenVO.executeQuery();
    /* 197 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 198 */     if (!XxTedJobIssueVO.isPreparedForExecution())
    /* 200 */       XxTedJobIssueVO.executeQuery();
    /* 203 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 204 */     if (!XxTedRelIssueVO.isPreparedForExecution())
    /* 206 */       XxTedRelIssueVO.executeQuery();
    /* 209 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 210 */     if (!XxTedCultIssueVO.isPreparedForExecution())
    /* 212 */       XxTedCultIssueVO.executeQuery();
    /* 215 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 216 */     if (!XxTedAnotherJobVO.isPreparedForExecution())
    /* 218 */       XxTedAnotherJobVO.executeQuery();
    /* 220 */     OAViewObject XxTedInterviewerVO = getXxTedInterviewerVO1();
    /* 221 */     if (!XxTedInterviewerVO.isPreparedForExecution())
    /* 223 */       XxTedInterviewerVO.executeQuery();
    /*     */   public void insertData()
    /* 229 */     OAViewObject XxTedExitintDetF1VO = getXxTedExitintDetF1VO1();
    /* 230 */     OAViewObject XxTedExitintDetF2VO = getXxTedExitintDetF2VO1();
    /* 231 */     OAViewObject XxTedExitintDetF3VO = getXxTedExitintDetF3VO1();
    /* 232 */     OAViewObject XxTedExitintDetF4VO = getXxTedExitintDetF4VO1();
    /* 233 */     OAViewObject XxTedExitintDetF5VO = getXxTedExitintDetF5VO1();
    /* 234 */     OAViewObject XxTedExitintDetF6VO = getXxTedExitintDetF6VO1();
    /* 236 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
        /////////////////////////////lamiaa///////////////
                 //OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
        /////////////////////////////lamiaa///////////////
    /* 237 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 238 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 239 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 240 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 241 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 243 */     Row[] rowF1 = XxTedLeaveResVO.getFilteredRows("SelectFlg", "Y");
                /////////////////////////////lamiaa///////////////
                //  Row[] rowF7 = XxTedExtVONEW.getFilteredRows("SelectFlg", "Y");
                /////////////////////////////lamiaa///////////////
    /* 244 */     Row[] rowF2 = XxTedCompenVO.getFilteredRows("SelectFlg", "Y");
    /* 245 */     Row[] rowF3 = XxTedJobIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 246 */     Row[] rowF4 = XxTedRelIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 247 */     Row[] rowF5 = XxTedCultIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 248 */     Row[] rowF6 = XxTedAnotherJobVO.getFilteredRows("SelectFlg", "Y");
    /* 250 */     if (!XxTedExitintDetF1VO.isPreparedForExecution())
    /* 252 */       XxTedExitintDetF1VO.executeQuery();
    /* 254 */     for (int i = 0; i < rowF1.length; i++) {
    /* 255 */       XxTedExitintDetF1VO.last();
    /* 256 */       XxTedExitintDetF1VO.next();
    /* 257 */       Row row1 = XxTedExitintDetF1VO.createRow();
    /* 258 */       row1.setAttribute("SectionNumber", "F.1");
    /* 259 */       row1.setAttribute("SelectedValue", rowF1[i].getAttribute("LookupCode"));
    /* 260 */       XxTedExitintDetF1VO.insertRow(row1);
    /* 261 */       row1.setNewRowState((byte)0);
    /* 264 */     if (!XxTedExitintDetF2VO.isPreparedForExecution())
    /* 266 */       XxTedExitintDetF2VO.executeQuery();
    /* 268 */     for (int i = 0; i < rowF2.length; i++) {
    /* 269 */       XxTedExitintDetF2VO.last();
    /* 270 */       XxTedExitintDetF2VO.next();
    /* 271 */       Row row2 = XxTedExitintDetF2VO.createRow();
    /* 272 */       row2.setAttribute("SectionNumber", "F.2");
    /* 273 */       row2.setAttribute("SelectedValue", rowF2[i].getAttribute("LookupCode"));
    /* 274 */       XxTedExitintDetF2VO.insertRow(row2);
    /* 275 */       row2.setNewRowState((byte)0);
    /* 278 */     if (!XxTedExitintDetF3VO.isPreparedForExecution())
    /* 280 */       XxTedExitintDetF3VO.executeQuery();
    /* 282 */     for (int i = 0; i < rowF3.length; i++) {
    /* 283 */       XxTedExitintDetF3VO.last();
    /* 284 */       XxTedExitintDetF3VO.next();
    /* 285 */       Row row3 = XxTedExitintDetF3VO.createRow();
    /* 286 */       row3.setAttribute("SectionNumber", "F.3");
    /* 287 */       row3.setAttribute("SelectedValue", rowF3[i].getAttribute("LookupCode"));
    /* 288 */       XxTedExitintDetF3VO.insertRow(row3);
    /* 289 */       row3.setNewRowState((byte)0);
    /* 291 */     if (!XxTedExitintDetF4VO.isPreparedForExecution())
    /* 293 */       XxTedExitintDetF4VO.executeQuery();
    /* 295 */     for (int i = 0; i < rowF4.length; i++) {
    /* 296 */       XxTedExitintDetF4VO.last();
    /* 297 */       XxTedExitintDetF4VO.next();
    /* 298 */       Row row4 = XxTedExitintDetF4VO.createRow();
    /* 299 */       row4.setAttribute("SectionNumber", "F.4");
    /* 300 */       row4.setAttribute("SelectedValue", rowF4[i].getAttribute("LookupCode"));
    /* 301 */       XxTedExitintDetF4VO.insertRow(row4);
    /* 302 */       row4.setNewRowState((byte)0);
    /* 304 */     if (!XxTedExitintDetF5VO.isPreparedForExecution())
    /* 306 */       XxTedExitintDetF5VO.executeQuery();
    /* 308 */     for (int i = 0; i < rowF5.length; i++) {
    /* 309 */       XxTedExitintDetF5VO.last();
    /* 310 */       XxTedExitintDetF5VO.next();
    /* 311 */       Row row5 = XxTedExitintDetF5VO.createRow();
    /* 312 */       row5.setAttribute("SectionNumber", "F.5");
    /* 313 */       row5.setAttribute("SelectedValue", rowF5[i].getAttribute("LookupCode"));
    /* 314 */       XxTedExitintDetF5VO.insertRow(row5);
    /* 315 */       row5.setNewRowState((byte)0);
    /* 318 */     if (!XxTedExitintDetF6VO.isPreparedForExecution())
    /* 320 */       XxTedExitintDetF6VO.executeQuery();
    /* 322 */     for (int i = 0; i < rowF6.length; i++) {
    /* 323 */       XxTedExitintDetF6VO.last();
    /* 324 */       XxTedExitintDetF6VO.next();
    /* 325 */       Row row6 = XxTedExitintDetF6VO.createRow();
    /* 326 */       row6.setAttribute("SectionNumber", "F.6");
    /* 327 */       row6.setAttribute("SelectedValue", rowF6[i].getAttribute("LookupCode"));
    /* 328 */       XxTedExitintDetF6VO.insertRow(row6);
    /* 329 */       row6.setNewRowState((byte)0);
    /* 331 */     saveData();
    /*     */   public void saveData()
    /* 336 */     getOADBTransaction().commit();
    /*     */   public XxTedEmpDataVOImpl getXxTedEmpDataVO1()
    /* 342 */     return (XxTedEmpDataVOImpl)findViewObject("XxTedEmpDataVO1");
    /*     */   public void queryReqUsingEmp(String pEmpno) {
    /* 345 */     OAViewObject XxTedExitInterviewVO = getXxTedExitInterviewVO1();
    /* 347 */     XxTedExitInterviewVO.setWhereClause("REJ_FLG <> 1 AND Requester_id = " + pEmpno);
    /* 348 */     XxTedExitInterviewVO.executeQuery();
    /*     */   public void execQueriesGuidlines()
    /* 353 */     OAViewObject XxTedGuidlinesVO = getXxTedGuidlinesVO1();
    /* 354 */     if (!XxTedGuidlinesVO.isPreparedForExecution())
    /* 356 */       XxTedGuidlinesVO.executeQuery();
    /*     */   public void execQueriesEmpData(String param) {
    /* 361 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 363 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 365 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", param);
    /* 366 */       XxTedEmpDataVO.executeQuery();
    /* 369 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 370 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 371 */     String empNo = (String)empRowImp.getAttribute("EmployeeNumber");
    /* 373 */     OAViewObject XxTedEmpDataVO2 = getXxTedEmpData2_1();
    /* 374 */     XxTedEmpDataVO2.setNamedWhereClauseParam("p_emp", empNo);
    /* 375 */     XxTedEmpDataVO2.executeQuery();
    /* 377 */     OAViewObject XxReq = getXxTedExitInterviewVO1();
    /* 378 */     XxReq.setWhereClause("Requester_id = " + empNo);
    /* 379 */     if (!XxReq.isPreparedForExecution())
    /* 381 */       XxReq.executeQuery();
    /*     */   public void execQueriesEmpData2(String param)
    /* 387 */     OAViewObject XxTedEmpDataVO2 = getXxTedEmpData2_1();
    /* 388 */     XxTedEmpDataVO2.setNamedWhereClauseParam("p_emp", param);
    /* 390 */     XxTedEmpDataVO2.executeQuery();
    /* 392 */     OAViewObject XxReq = getXxTedExitInterviewVO1();
    /* 394 */     XxReq.setWhereClause("Requester_id = " + param);
    /* 396 */     XxReq.executeQuery();
    /*     */   public void execQueriesTerm()
    /* 401 */     OAViewObject XxTedTerminologyVO = getXxTedTerminologyVO1();
    /* 402 */     if (!XxTedTerminologyVO.isPreparedForExecution())
    /* 404 */       XxTedTerminologyVO.executeQuery();
    /*     */   public void execQueriesLeave(String param) {
    /* 409 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 410 */     if (!XxTedLeaveResVO.isPreparedForExecution())
    /* 412 */       XxTedLeaveResVO.executeQuery();
        /////////////////////////////lamiaa///////////////
            /* public void execQueriesLeave_reason(String param) {
                 OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
                if (!XxTedExtVONEW.isPreparedForExecution())
                 XxTedExtVONEW.executeQuery();
        /////////////////////////////lamiaa///////////////
    /*     */   public void execQueriesCompen(String param) {
    /* 417 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 418 */     if (!XxTedCompenVO.isPreparedForExecution())
    /* 420 */       XxTedCompenVO.executeQuery();
    /*     */   public void execQueriesJobIssue(String param) {
    /* 425 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 426 */     if (!XxTedJobIssueVO.isPreparedForExecution())
    /* 428 */       XxTedJobIssueVO.executeQuery();
    /*     */   public void execQueriesRelIssue(String param) {
    /* 433 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 434 */     if (!XxTedRelIssueVO.isPreparedForExecution())
    /* 436 */       XxTedRelIssueVO.executeQuery();
    /*     */   public void execQueriesCultIssue(String param) {
    /* 441 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 442 */     if (!XxTedCultIssueVO.isPreparedForExecution())
    /* 444 */       XxTedCultIssueVO.executeQuery();
    /*     */   public void execQueriesAnotherJob(String param) {
    /* 449 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 450 */     if (!XxTedAnotherJobVO.isPreparedForExecution())
    /* 452 */       XxTedAnotherJobVO.executeQuery();
    /*     */   public XxTedEmpData2Impl getXxTedEmpData2_1()
    /* 459 */     return (XxTedEmpData2Impl)findViewObject("XxTedEmpData2_1");
    /*     */   public XxTedF1QVOImpl getXxTedF1QVO1()
    /* 464 */     return (XxTedF1QVOImpl)findViewObject("XxTedF1QVO1");
    /*     */   public XxTedF2QVOImpl getXxTedF2QVO1()
    /* 469 */     return (XxTedF2QVOImpl)findViewObject("XxTedF2QVO1");
    /*     */   public XxTedF3QVOImpl getXxTedF3QVO1()
    /* 474 */     return (XxTedF3QVOImpl)findViewObject("XxTedF3QVO1");
    /*     */   public XxTedF4QVOImpl getXxTedF4QVO1()
    /* 479 */     return (XxTedF4QVOImpl)findViewObject("XxTedF4QVO1");
    /*     */   public XxTedF5QVOImpl getXxTedF5QVO1()
    /* 484 */     return (XxTedF5QVOImpl)findViewObject("XxTedF5QVO1");
    /*     */   public XxTedF6QVOImpl getXxTedF6QVO1()
    /* 489 */     return (XxTedF6QVOImpl)findViewObject("XxTedF6QVO1");
    /*     */   public ViewLinkImpl getXxTedF1QVL1()
    /* 494 */     return (ViewLinkImpl)findViewLink("XxTedF1QVL1");
    /*     */   public ViewLinkImpl getXxTedF2QVL1()
    /* 499 */     return (ViewLinkImpl)findViewLink("XxTedF2QVL1");
    /*     */   public ViewLinkImpl getXxTedF3QVL1()
    /* 504 */     return (ViewLinkImpl)findViewLink("XxTedF3QVL1");
    /*     */   public ViewLinkImpl getXxTedF4QVL1()
    /* 509 */     return (ViewLinkImpl)findViewLink("XxTedF4QVL1");
    /*     */   public ViewLinkImpl getXxTedF5QVL1()
    /* 514 */     return (ViewLinkImpl)findViewLink("XxTedF5QVL1");
    /*     */   public ViewLinkImpl getXxTedF6QVL1()
    /* 519 */     return (ViewLinkImpl)findViewLink("XxTedF6QVL1");
    /*     */   public XxTedReqStatusVOImpl getXxTedReqStatusVO1()
    /* 524 */     return (XxTedReqStatusVOImpl)findViewObject("XxTedReqStatusVO1");
    /*     */   public void execQueriesReqStatus(String param) {
    /* 527 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 529 */     System.out.println("Param = " + param);
    /* 531 */     XxTedReqStatusVO.setWhereClause("REQUESTER_ID = " + param);
    /* 532 */     XxTedReqStatusVO.executeQuery();
    /*     */   public XxTedWFItemTypeImpl getXxTedWFItemType1()
    /* 538 */     return (XxTedWFItemTypeImpl)findViewObject("XxTedWFItemType1");
    /*     */   public XxTedReqCntVOImpl getXxTedReqCntVO1()
    /* 543 */     return (XxTedReqCntVOImpl)findViewObject("XxTedReqCntVO1");
    /*     */   public void dupCheck() {
    /* 546 */     OAViewObject vo = getXxTedReqCntVO1();
    /* 548 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 549 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 550 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 552 */     vo.setWhereClause("rej_flg <> 1 and requester_id = " + empRowImp.getEmployeeNumber());
    /* 553 */     vo.executeQuery();
    /* 554 */     Row[] row = vo.getAllRowsInRange();
    /* 555 */     if (row.length != 0)
    /* 556 */       throw new OAException("This employee submitted and exit form before, Kindly contact system admin", (byte)0);
    /*     */   public XxTedCurrReqImpl getXxTedCurrReq1()
    /* 562 */     return (XxTedCurrReqImpl)findViewObject("XxTedCurrReq1");
    /*     */   public ViewLinkImpl getXxTedCurrReqVL1()
    /* 567 */     return (ViewLinkImpl)findViewLink("XxTedCurrReqVL1");
    /*     */   public void execMainPG(String userId) {
    /* 570 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 571 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 573 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", userId);
    /* 574 */       XxTedEmpDataVO.executeQuery();
    /* 576 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 577 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 578 */     String empNo = (String)empRowImp.getAttribute("EmployeeNumber");
    /* 580 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 581 */     XxTedReqStatusVO.setWhereClause("Requester_Id = " + empNo);
    /* 582 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void execLog()
    /* 587 */     OAViewObject Xvo = getXxTedExitInterviewVO1();
    /* 589 */     Row row = Xvo.getCurrentRow();
    /* 590 */     XxTedExitInterviewVORowImpl rowImp = (XxTedExitInterviewVORowImpl)row;
    /* 591 */     Number reqNo = (Number)rowImp.getAttribute("RequestId");
    /* 593 */     OAViewObject XxLog = getXxLoG1();
    /* 594 */     XxLog.setWhereClause("Request_Id = " + reqNo);
    /* 595 */     XxLog.executeQuery();
    /* 596 */     Row row2 = XxLog.getCurrentRow();
    /* 598 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 599 */     XxTedReqStatusVO.setWhereClause("Request_Id = " + reqNo);
    /* 600 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void validateNulls()
    /* 605 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 606 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 607 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 608 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 609 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 610 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 612 */     Row[] rowF1 = XxTedLeaveResVO.getFilteredRows("SelectFlg", "Y");
    /* 613 */     Row[] rowF2 = XxTedCompenVO.getFilteredRows("SelectFlg", "Y");
    /* 614 */     Row[] rowF3 = XxTedJobIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 615 */     Row[] rowF4 = XxTedRelIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 616 */     Row[] rowF5 = XxTedCultIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 617 */     Row[] rowF6 = XxTedAnotherJobVO.getFilteredRows("SelectFlg", "Y");
    /* 619 */     int cntF1 = rowF1.length;
    /* 620 */     int cntF2 = rowF2.length;
    /* 621 */     int cntF3 = rowF3.length;
    /* 622 */     int cntF4 = rowF4.length;
    /* 623 */     int cntF5 = rowF5.length;
    /* 624 */     int cntF6 = rowF6.length;
    /* 626 */     if (cntF1 < 1) {
    /* 627 */       throw new OAException("Reason of Leave : Select at least one choice");
    /* 629 */     if (cntF2 < 1) {
    /* 630 */       throw new OAException("Compensation Issues : Select at least one choice");
    /* 632 */     if (cntF3 < 1) {
    /* 633 */       throw new OAException("Job Issues : Select at least one choice");
    /* 635 */     if (cntF4 < 1) {
    /* 636 */       throw new OAException("Relationship Issues : Select at least one choice");
    /* 638 */     if (cntF5 < 1) {
    /* 639 */       throw new OAException("Cultural Issues : Select at least one choice");
    /* 641 */     if (cntF6 < 1) {
    /* 642 */       throw new OAException("Another Job Opportunity : Select at least one choice");
    /* 645 */     OAViewObject validateVo = getXxTedExitInterviewVO1();
    /* 646 */     OARow oaRow = (OARow)validateVo.getCurrentRow();
    /* 648 */     String CompensationComments = (String)oaRow.getAttribute("CompensationComments");
    /* 649 */     if (CompensationComments == null) {
    /* 650 */       throw new OAException("Compensation Issue : Field should be supplied");
    /* 655 */     String LeaveReasonComments = (String)oaRow.getAttribute("LeaveReasonComments");
    /* 656 */     if (LeaveReasonComments == null) {
    /* 657 */       throw new OAException("Reason of leaving : Field should be supplied");
    /* 661 */     String ADSL = (String)oaRow.getAttribute("AdslNumber");
    /* 662 */     if (ADSL == null) {
    /* 663 */       throw new OAException("ADSL Number : Field should be supplied");
    /* 665 */     Date LastDate = (Date)oaRow.getAttribute("LastDate");
    /* 666 */     if (LastDate == null) {
    /* 667 */       throw new OAException("Last Working Day : Field should be supplied");
    /* 670 */     String JobComments = (String)oaRow.getAttribute("JobComments");
    /* 671 */     if (JobComments == null) {
    /* 672 */       throw new OAException("Job Issues : Field should be supplied");
    /* 675 */     String RelationshipComments = (String)oaRow.getAttribute("RelationshipComments");
    /* 676 */     if (RelationshipComments == null) {
    /* 677 */       throw new OAException("Relationship Issues : Field should be supplied");
    /* 679 */     String CulturalComments = (String)oaRow.getAttribute("CulturalComments");
    /* 680 */     if (CulturalComments == null) {
    /* 681 */       throw new OAException("Cultural Issues : Field should be supplied");
    /* 684 */     String OtherJobComments = (String)oaRow.getAttribute("OtherJobComments");
    /* 685 */     if (OtherJobComments == null) {
    /* 686 */       throw new OAException("Another Job Opportunity : Field should be supplied");
    /* 689 */     String OtherInfoComments = (String)oaRow.getAttribute("OtherInfoComments");
    /* 690 */     if (OtherInfoComments == null) {
    /* 691 */       throw new OAException("Other Info : Field should be supplied");
    /* 694 */     String TrainingComments = (String)oaRow.getAttribute("TrainingComments");
    /* 695 */     if (TrainingComments == null) {
    /* 696 */       throw new OAException("Training&Development : Field should be supplied");
    /* 699 */     String PositiveWorkComments = (String)oaRow.getAttribute("PositiveWorkComments");
    /* 700 */     if (PositiveWorkComments == null) {
    /* 701 */       throw new OAException("Positive Work Comments : Fields should be supplied");
    /* 704 */     String PositiveBestComments = (String)oaRow.getAttribute("PositiveBestComments");
    /* 705 */     if (PositiveBestComments == null) {
    /* 706 */       throw new OAException("Positive Work Comments : Fields should be supplied");
    /* 709 */     String ChangeComments = (String)oaRow.getAttribute("ChangeComments");
    /* 710 */     if (ChangeComments == null) {
    /* 711 */       throw new OAException("Change : Field should be supplied");
    /* 713 */     String ReemploymentComments = (String)oaRow.getAttribute("ReemploymentComments");
    /* 714 */     if (ReemploymentComments == null) {
    /* 715 */       throw new OAException("Re-employment : Field should be supplied");
    /* 718 */     Number CompensationIssuesSts = (Number)oaRow.getAttribute("CompensationIssuesSts");
    /* 719 */     if (CompensationIssuesSts == null) {
    /* 720 */       throw new OAException("Compensation Satisfaction : Value should be selected");
    /* 723 */     Number JobIssuesSts = (Number)oaRow.getAttribute("JobIssuesSts");
    /* 724 */     if (JobIssuesSts == null) {
    /* 725 */       throw new OAException("Job Issues Satisfaction : Value should be selected");
    /* 728 */     Number RelationshipIssuesSts = (Number)oaRow.getAttribute("RelationshipIssuesSts");
    /* 729 */     if (RelationshipIssuesSts == null) {
    /* 730 */       throw new OAException("Relationship Issues Satisfaction : Value should be selected");
    /* 732 */     Number CulturalIssuesSts = (Number)oaRow.getAttribute("CulturalIssuesSts");
    /* 733 */     if (CulturalIssuesSts == null) {
    /* 734 */       throw new OAException("Cultural Issues Satisfaction : Value should be selected");
    /* 736 */     Number OtherJobSts = (Number)oaRow.getAttribute("OtherJobSts");
    /* 737 */     if (OtherJobSts == null) {
    /* 738 */       throw new OAException("Another Job Satisfaction : Value should be selected");
    /* 741 */     Number OtherInfoSts = (Number)oaRow.getAttribute("OtherInfoSts");
    /* 742 */     if (OtherInfoSts == null) {
    /* 743 */       throw new OAException("Other Info Satisfaction : Value should be selected");
    /* 746 */     Number TrainingSts = (Number)oaRow.getAttribute("TrainingSts");
    /* 747 */     if (TrainingSts == null) {
    /* 748 */       throw new OAException("Training Satisfaction : Value should be selected");
    /* 751 */     Number PositiveWorkSts = (Number)oaRow.getAttribute("PositiveWorkSts");
    /* 752 */     if (PositiveWorkSts == null)
    /* 753 */       throw new OAException("Positive Work Satisfaction : Value should be selected");
    /*     */   public void execWfRn(String reqId)
    /* 758 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 759 */     XxTedReqStatusVO.setWhereClause("rej_flg <> 1 and RequestId = " + reqId);
    /* 760 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void validateBlob(String vblob)
    /* 765 */     if (vblob == null)
    /* 766 */       throw new OAException("You should upload the attached resignation");
    /*     */   public void validateHrForm()
    /* 771 */     OAViewObject validateVo = getXxTedExitInterviewVO1();
    /* 772 */     OARow oaRow = (OARow)validateVo.getCurrentRow();
    /* 773 */     Date IntDate = (Date)oaRow.getAttribute("InterviewDate");
    /* 774 */     if (IntDate == null) {
    /* 775 */       throw new OAException("You should enter an interview date");
    /* 778 */     String Intterviewer = (String)oaRow.getAttribute("InterviewerName");
    /* 779 */     if (Intterviewer == null)
    /* 780 */       throw new OAException("You should enter the interview data");
    /*     */   public void clearForm()
    /* 785 */     OAViewObject mainVo = getXxTedExitInterviewVO1();
    /* 786 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 787 */     XxTedLeaveResVO.clearCache();
    /* 788 */     XxTedLeaveResVO.executeQuery();
    /* 789 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 790 */     XxTedCompenVO.clearCache();
    /* 791 */     XxTedCompenVO.executeQuery();
    /* 793 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 794 */     XxTedJobIssueVO.clearCache();
    /* 795 */     XxTedJobIssueVO.executeQuery();
    /* 797 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 798 */     XxTedRelIssueVO.clearCache();
    /* 799 */     XxTedRelIssueVO.executeQuery();
    /* 801 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 802 */     XxTedCultIssueVO.clearCache();
    /* 803 */     XxTedCultIssueVO.executeQuery();
    /* 805 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 806 */     XxTedAnotherJobVO.clearCache();
    /* 807 */     XxTedAnotherJobVO.executeQuery();
    /* 809 */     mainVo.removeCurrentRow();
    /*     */   public XxIntrvLOVVOImpl getXxIntrvLOVVO1()
    /* 815 */     return (XxIntrvLOVVOImpl)findViewObject("XxIntrvLOVVO1");
    /*     */   public XxLoGImpl getXxLoG1()
    /* 820 */     return (XxLoGImpl)findViewObject("XxLoG1");
    /////////////////////////////lamiaa///////////////
                 public XxTedExtVONEWImpl getXxTedExtVONEW1()
                    return (XxTedExtVONEWImpl)findViewObject("XxTedExtVONEW1");
      /////////////////////////////lamiaa///////////////
    /* Location:           D:\Oracle_developer\p8431482_R12_GENERIC_QF\jdevhome\jdev\myclasses\
    * Qualified Name:     xxted.oracle.apps.per.extint.server.XxTedExtAMImpl
    * JD-Core Version:    0.6.2

    The error message means you have not added the View Object to AM.
    You need to add the View Object to the AM and move the AM files to the server and bounce the server.
    Cheers
    AJ

  • Programmatically create a bar graph (ADF DVT) at run time...

    Can someone show me how to programmatically create a bar graph (ADF DVT) at run time..
    Thanks in advance.
    Minh

    Hi Briston,
    You can make the column selected by setting "selected" property of column to true
    Sireesha

  • How to populate bind variable in view objects where clause in ADF faces

    I've got a page with 2 input items.
    The user manually enters the first value.
    On the second input item I have created a LOV for the item which opens in a popup. How do I restrict the data returned in the LOV using the value entered in the first input item. I have created a bind variable and have included it in the where clause for the view object but how do I populated it.

    Here is an example:
    Using the HR schema with the EMPLOYEES and DEPARTMENTS tables.
    Example is using ADF BC and created an EMPLOYEES entity with an updateable view object for page,
    and created a DEPARTMENTS view as a lookup
    (SQL: select department_id, department_name from departments where department_name = :DeptName)
    1: add method to the backing bean to filter the LOV
    public void getTextValueToFilterLOV(ValueChangeEvent valueChangeEvent) {
    Object value_from_form = valueChangeEvent.getNewValue();
    FacesContext fctx = FacesContext.getCurrentInstance();
    Application fapp = fctx.getApplication();
    JUFormBinding formBinding = (JUFormBinding)fapp.createValueBinding("#{bindings}").getValue(fctx);
    DCIteratorBinding dcBinding = (DCIteratorBinding)formBinding.get("DeptLOVIterator");
    ViewObject vo = dcBinding.getViewObject();
    vo.setNamedWhereClauseParam("DeptName",value_from_form);
    vo.executeQuery();
    2. add valueChangeListener to the inputText on the page with an id and autoSubmit="true"
    <af:inputText value="#{bindings.LastName.inputValue}" label="#{bindings.LastName.label}" binding="#{backing_DeptForm.inputText3}"
    id="inputText3"
    autoSubmit="true"
    valueChangeListener="#{backing_DeptForm.getTextValueToFilterLOV}">
    </af:inputText>
    3. reference the LOV with the id name on the partialTriggers property
    <af:selectOneChoice value="#{bindings.EmployeesUpdView1DepartmentId.inputValue}"
    label="#{bindings.EmployeesUpdView1DepartmentId.label}" binding="#{backing_DeptForm.selectOneChoice1}"
    id="selectOneChoice1"
    partialTriggers="inputText3">
    <f:selectItems value="#{bindings.EmployeesUpdView1DepartmentId.items}"
    binding="#{backing_DeptForm.selectItems1}"
    id="selectItems1"/>
    </af:selectOneChoice>
    Summary:
    When you entered a text (LastName), that value is passed into the backing bean method.
    The Bean method code will find the LOV Iterator and put the value into the bind variable.
    Cheers,
    Jim

  • JDEV 10.1.3: Using "Create" binding on BC view object with ADF Faces Table

    Hello,
    I am trying to get this to work, but to no avail:
    I've got a very simple page (ADF Faces - JSPX) created by dragging an iterator from the data control pallete on to my page and picking "ADF Table..." as my chose to create. This creates a table on my page that allows me to edit each row in place. Very nice.
    Now, I dragged the create operation for that iterator on to the page. What I had hoped to see is that when I click "Create," a new blank row appears in my table (well, at least a row that is blank except for any default values specified in the EO/VO and my overriden create() method).
    However, this doesn't happen. The page submits and refreshes, but no blank row shows up. I initially tried setting the Create button to do partial submit and setting the partialtriggers for the table to include the Create button, to no avail. I also tried it without the partial submit with the same results.
    So:
    1). Should this work, or is this behavior a bug.?
    2). If not, is there a different/better way of doing it?
    Regards,
    John

    G'day John
    I think I can give you a hint of what is occuring... I'm still trying to work out what is happening exactly.
    In JDev 10.1.2 UIX, when the user invoked the create action, they would see the blank record added to the underlying table. Under 10.1.3 Faces the functionality is somewhat different.
    When you the user clicks on the create action a blank record is created but not shown in the table control. To prove the blank record is there try this:
    1) Build an ADF Input Form based on the same VO iterator
    2) In your JSF navigation, create a navigation case between the existing page and the new page, and another back again,
    3) In the existing page, map the Create button's action attribute to navigate to the ADF Input Form
    4) In the ADF Input Form, map the Submit button's action attribute to navigate to the ADF Table page.
    Now when you run your app, notice when you create a new record in the ADF Table which automatically takes you to the ADF Input Form, note the blank record, and the details you enter into the record here and submit, are then visible in the ADF Table on the return.
    This is a long way of proving that the new record is in the table. It's just you can't see it.
    I have a theory which I'm trawling through the newly updated documentation to verify. This issues goes back to the VO createRow vs insertRow method calls that have been documented by Steve Muench a couple of times. I'm guessing the table control is now smarter and doesn't show createRow records, only insertRow records.
    Read one of Steve's posts here regards the createRow vs insertRow method calls:
    http://www.oracle.com/technology/products/jdev/tips/muench/blankrow/index.html
    If I find anymore info I'll endeavour to post it.
    Meanwhile this of course doesn't help you if you actually want to show the blank row in the ADF Table editable control, but I'd thought I'd give you an idea of what's happening behind the scenes.
    Hope this helps.
    CM.

  • ExecuteWithParameter with Binds on several view objects

    I thought I knew how to do this, but it has been a month or two, and can't seem to get the syntax right. I would really appreciate some guidance on this.
    I'm using jdev 11 to create a basic page using ADF Faces. In the model, I have three seperate read only view objects based on queries I created in SQL Developer. I also have two lookup tables for use in LOVs to display names for IDs. In one of the views, I added two LOVs for id columns. I have one more lookup that displays name, id for Tech's.
    All three views have the same named bind variable - :TechID
    What I want is to have a single select box that displays the name column from Tech that will return the ID for TechID. When the user clicks the ExecuteWithParms, all three views should be refreshed and re-queried with the new bind value, and display the results. To see this work, I have been working with readonly tables, but eventually hope to use graphs for the three views.
    Here is the general layout that I am trying to achieve.
    Select One Choice (List of Techs with display set to name, and the return set to ID)
    ExecuteWithParams button. Currenly have table1, table2, table2 in the partialtriggers field.
    table1
    ViewObject1 that has a named bind of :TechID
    table2
    ViewObject2 that has a named bind of :TechID
    table3
    ViewObject3 that has a named bind of :TechID
    This seems like it should be easy to setup. Can this be done declaratively, or do I need code. If I need code, can I get a few hints?
    Is there an example that has something similar that I can gleen how to accomplish this?
    Thanks, Ken

    Timo et al,
    I still can't seem to get this to work. I finally worked through a problem with JDeveloper working (Feels like it has been April 1st for a week straight! (American Humor)). In trying to simplify this, I am asking if someone can create the following example use case based on the HR schema. I'm not asking for a paper, just 15 or so minutes from someone that is good at this to create a working example. Also, send me a zipped copy of the project, or make it available on your blog or other downloadable location.
    Thanks for any help with this to really understand how to get JDeveloper to work for me.
    Here are the specifics for a Highly desired example:
    This is based on HR schema.
    Read Only View Objects
    -- LOCATION_LKUP
    select
    (street_address || ' ' || city || ', ' || state_province || ' ' ||to_char(postal_code) || ' ' || country_id) as location_name,
    location_id
    from
    locations
    order by country_id, location_name;
    -- ViewObject DepartmentStuffView
    select *
    from departments
    where location_id = :LOC_ID;
    -- ViewObject EmployeeStuffView
    select * from employees
    where department_id in (select department_id
    from departments
    where location_id = :LOC_ID);
    -- Modify the AppService and ViewObjects to expose Java code to
    -- modify the (name)Impl.java file
    AppService Code
    public void updateViews(String locationID) {
         // Get a reference to the ViewObjects
    DepartmentStuffView vo1 = (DepartmentStuffView) getDepartmentStuffView1();
    EmployeeStuffView vo2 = (EmployeeStuffView) getEmployeeStuffView1();
         // Now have each view object requery itself with the new parameter
    vo1.updatewithParam(locationID);
    vo2.updatewithParam(locationID);
    ViewObject Code
    -- In both ViewObjects
    -- (DepartmentStuffViewImpl.java and EmployeeStuffViewImpl.java),
    -- add the following code at the bottom
    public void updatewithParam(String locationID) {
         setTechID(locationID);
         executeQuery();
    Layout:
    Location Name: ComboBox <== Displays LOCATION_NAME, Returns LOCAION_ID
    <Run Report> <== Button to run the process
    Table1
    The view object DepartmentmentStuffView
    Table2
    The View Object EmployeeStuffView
    Expected Behavior:
    Change the location in combo box and press the run report button.
    The data in both views with bind variables get updated.
    Extension:
    Page can have search with multiple filters. The AppService can control
    which views get updated with which values depending on selections. Common
    use case.
    Thanks so much, Ken

  • New view object row does not get committed to DB

    Hi guys,
    on a taskflow with a new transaction I have a form to enter a new record on an entity-based view object.
    Before the page is called I call the CreateInsert Operation to create the new record on that view object.
    There are quite a few attributes that have default values which I determine in the ViewRowImpl's create method (using populateAttributeAsChanged to set the values).
    Now if none of the inputValues in the form is filled manually and I want to save the data (default values are sufficient to save the record) the taskflow return action commit does not commit the data to the db. As soon as I manually enter one value into any field the same return action commits the record correctly to the db. There is no error message and the new record is visible in the application because it is inserted into the view's iterator...
    Is there any way to mark the new row as changed/insert if only the default values are filled? Or am I doing something wrong?
    Using JDev 11.1.1.5
    Achim

    Add the following method in your RowImpl class:
    public void setNewRowState(byte b) {
         if (b != Row.STATUS_INITIALIZED ||
             getNewRowState() != Row.STATUS_NEW) {
             super.setNewRowState(b);

  • How to change the default behaviour of View Object in oracle adf

    Hi,
    I have created a view object from an entity object and placed it as a table with multiple lines on my page.
    When I run my page, by default, it loads all the rows based on the sql in the VO.
    My requirement is when I load my page, I don't want to return any data in that table.
    I am using JDeveloper 11.1.2.4.
    Please can you advise how can I achieve this functionality?
    thanks
    Muhammad

    Hi Shay,
    I've used  the refreshCondition #{bindings.Sku.inputValue ne null} as per your suggestion but getting below error
    <RichExceptionHandler> <_logUnhandledException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    java.lang.NullPointerException
        at oracle.adf.model.binding.DCExecutableBinding.refreshMasters(DCExecutableBinding.java:265)
        at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:340)
        at oracle.jbo.uicli.binding.JUCtrlHierBinding.getRootNodeBinding(JUCtrlHierBinding.java:90)
        at oracle.jbo.uicli.binding.JUCtrlHierBinding$1JUCtrlHierHintsMap.internalGet(JUCtrlHierBinding.java:210)
        at oracle.jbo.common.JboAbstractMap.get(JboAbstractMap.java:54)
        at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$1DecoratedHintsMap.internalGet(FacesCtrlHierBinding.java:305)
        at oracle.jbo.common.JboAbstractMap.get(JboAbstractMap.java:54)
        at javax.el.MapELResolver.getValue(MapELResolver.java:164)
        at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
        at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
        at com.sun.el.parser.AstValue.getValue(Unknown Source)
        at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
        at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
        at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.getProperty(BaseColumnRenderer.java:1195)
        at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.layoutHeader(BaseColumnRenderer.java:643)
        at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:152)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.layoutColumnHeader(BaseTableRenderer.java:1197)
        at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:636)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:617)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:447)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1500(PanelGroupLayoutRenderer.java:30)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:734)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:637)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
        at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:360)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1127)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:50)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1604)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1523)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
        at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:420)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:208)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:447)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1500(PanelGroupLayoutRenderer.java:30)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:734)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:637)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
        at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:360)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2194)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1599)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:279)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
        at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
        at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
        at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
        at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1275)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1677)
        at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
        at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:431)
        at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:233)
        at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
        at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
        at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
        at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1035)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:342)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:236)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    any ideas please?

  • Custom Search using new View Object (Programatically)

    Hi Experts,
    Currently i am exploring the ADF-BC and i have a basic question. Hope you experts will help on this. I am thinking of implementing the search functionality with out using the "Query component" because the search that i am going to implement is complex and very custom. So for that i have decided to create one View object with the controls that needs to be displayed in the search screen. E.g assume the DepartmentVO is available and i want to create the search screen So i have create a another view object called DepartmentSearchVO (Program view object) and create transient variables for each search filed that i was thinking to have.
    Now i want to implement the Search button. When the users clicks on the search then i can called the DepartmentVORowImpl method called search() and construct the query based on the input. Then how about the results return. Since the DeparmentVO is coarse grain i am thinking to have another light View object called DeparmentLightVO (Program object) and use that to bind with the table for display.
    Please let me know am i going in the right direction. Is there any better way for this kind of requirement implementation.
    -t

    Hi,
    As Shay mentioned, you could set the where clause of the VO which you want to filter.
    In your search() method, you could get the VO (DeparmentVO in your case), set the where clause based on the parameters you are passing to this method (or the columns in the DepartmentSearchVO) and execute the query.
    You could use the VO (on which you've performed executeQuery) as a table / ROT in your application.
    -Arun

Maybe you are looking for