Error in panelsplitter navigator in Mobile ADF Form

Hi,
I have created employees list as navigator and in the paneitem, details of the selected employee as per the example given in ADFMobileTutorial. But when i deploy and testing the application, if i select an employee in the navigator and click on that, i am getting an error saying that: java.lang.reflect.InvocationTargetException.
Can any one please help me in fixing this issue. I am pasting the code of Emplist.amx file here :
<?xml version="1.0" encoding="UTF-8" ?>
<amx:view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:amx="http://xmlns.oracle.com/adf/mf/amx"
xmlns:dvtm="http://xmlns.oracle.com/adf/mf/amx/dvt">
<amx:panelPage id="pp1">
<amx:facet name="header">
<amx:outputText value="Emp List" id="ot1"/>
</amx:facet>
<amx:facet name="primary">
<amx:commandButton id="cb1" text="Graph" action="showGraph"/>
</amx:facet>
<amx:facet name="secondary">
<amx:commandButton id="cb2"/>
</amx:facet>
<amx:facet name="footer">
<amx:outputText value="Footer" id="ot2"/>
</amx:facet>
<amx:panelSplitter id="ps1">
<amx:facet name="navigator">
<amx:listView var="row" value="#{bindings.emps.collectionModel}" fetchSize="#{bindings.emps.rangeSize}"
id="lv1">
<amx:listItem actionListener="#{bindings.setCurrentRowWithKey.execute}" id="li1">
<amx:outputText value="#{row.name}" id="ot3"/>
<amx:setPropertyListener from="#{row.rowKey}" to="#{pageFlowScope.empId}" type="action"/>
</amx:listItem>
</amx:listView>
</amx:facet>
<amx:panelItem id="pi1">
<amx:panelFormLayout id="pfl1">
<amx:panelLabelAndMessage label="#{bindings.name.hints.label}" id="plam4">
<amx:outputText value="#{bindings.name.inputValue}" id="ot7"/>
</amx:panelLabelAndMessage>
<amx:panelLabelAndMessage label="#{bindings.email.hints.label}" id="plam3">
<amx:outputText value="#{bindings.email.inputValue}" id="ot6"/>
</amx:panelLabelAndMessage>
<amx:panelLabelAndMessage label="#{bindings.salary.hints.label}" id="plam1">
<amx:outputText value="#{bindings.salary.inputValue}" id="ot4"/>
</amx:panelLabelAndMessage>
<amx:panelLabelAndMessage label="#{bindings.hireDate.hints.label}" id="plam2">
<amx:outputText value="#{bindings.hireDate.inputValue}" id="ot5">
<amx:convertDateTime pattern="#{bindings.hireDate.format}"/>
</amx:outputText>
</amx:panelLabelAndMessage>
</amx:panelFormLayout>
</amx:panelItem>
</amx:panelSplitter>
</amx:panelPage>
</amx:view>
Thanks in Advance.

meddlesome,
"I'm also got this problem too, Oracle should have available source files of tutorial to download"
Do you see any URL to the tutorial you are talking about ? So which tutorial please?
Can I assume this: http://docs.oracle.com/cd/E18941_01/tutorials/BuildingMobileApps/ADFMobileTutorial_1.html ?
If so then I did run the same tutorial and it works for me so we have to figure where you go wrong in your implementation. A failed method invocation usually means that the method you try to invoke either doesn't exist or the argument is not passed correctly.
What is the PageDef definition of the set currentRowWithKey method? Have you used the same empId reference for the method argument ?
Frank
Edited by: Frank Nimphius on Mar 7, 2013 11:34 AM

Similar Messages

  • Error when pressing a navigation button to another form

    Hi,
    I created a navigation button in a form based on a table by adding the following code in Additional PL/SQL code:
    htp.formopen ('PORTAL30.wwa_app_module.new_instance?p_moduleid=1226442050');
    htp.formsubmit (null,'Form1');
    htp.formclose;
    The button is created, but whenever I press that button I get the following error:
    An unexpected error occurred: ORA-01403: no data found (WWV-16016)
    The Run Link seems to be the problem, however, I don't understand, for I checked it (a couple of times) and it is the correct Run Link.
    Any help would be greatly appreciated.
    Kees Broess

    Hi,
    You should put this code in the "after displaying the page" plsql section. If you put it before this section this error
    will occur.
    Thanks,
    Sharmila

  • ADF Form no longer functioning after being wrapped in layouts.

    JDeveloper 11.1.1.0.1 + ADF BC + ADF RC
    I had an ADF panelFormLayout that was functioning perfectly until I wrapped it in a panelSplitter and wrapped the panelSplitter in a panelStretchLayout.
    Now, when I query the correct results are initially displayed, but when I press the Next button, certain inputTexts don't change to display the correct values.
    Some of them change to reflect the current values in the iterator (those with partialTriggers), but most simply continue to display the values of the first record returned. The Previous button doesn't seem to work at all anymore.
    What am I missing here? Why would wrapping the panelFormLayout in other layouts cause this behavior?
    Thanks All!

    Heres the steps to create:
    - New > Application
    - New > 'Business Components From Tables' and make BCs for Employees and Departments
    - Edit EmployeesView to include where clause "WHERE Employees.LAST_NAME LIKE :last, and create String bind variable for 'last'
    - New > JSF JSPX
    - Insert PanelSplitterLayout into Form component
    - Drag ExecuteWithParams operation from EmployeesView into PanelSplitterLayout 'Second' facet as ADF Parameter Form
    - Drag EmployeesView from Data Controls as ADF Form with navigation buttons under ExecuteWithParams parameter form.
    - Set disabled=true for EmployeeId, FirstName, and LastName inputTexts in ADF Form
    - Drag DepartmentsView from DataControls into PanelSplitterLayout 'First' facet as ADF Tree, creating a two level tree: Department Name > Employees First and Last Name
    To produce the problem once running:
    - Enter '%' into the text box for the bind variable 'last', and click ExecuteWithParams button
    - You will see the next button does nothing
    - If you click ExecuteWithParams button again, everything starts to work again.
    Much thanks.
    Edited by: Alexander Pepper on Feb 4, 2009 7:51 AM

  • 'UIComponent is null' error while opening a tab in ADF

    Hi,
    I am using JDeveloper 11.1.1.5.0
    I am navigating from one ADF page to other in my ADF task flow. 2nd ADF page is having multiple tabs with showDetailItem. My requirement is that i need to open a particular tab in 2nd page from 1st page
    (1st page) ---> (2nd page) (here a particular tab should open)
    I have made use of NavigationHandler in my code which is working fine. But when I am trying to open a tab during navigation, I am getting 'UIComponent is null' error. below is the code I am using
        public void openDataTab(ActionEvent actionEvent) {
            NavigationHandler nvHndlr = FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
            nvHndlr.handleNavigation(FacesContext.getCurrentInstance(), null, "showOverview");
            AdfFacesContext.getCurrentInstance().addPartialTarget(panelTabbed);  //getting 'UIComponent is null' error here
            dataTab.setDisclosed(true);
            transactionTab.setDisclosed(false);
        }I am getting the error only for the first time. From second time onwards, the functionality is working fine.
    Please let me know how to resolve this error.
    regards,
    Rajan

    Hi,
    this code should not be used for navigation as it bypasses JSF lifecycle methods
    //don't use
    NavigationHandler nvHndlr = FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
    nvHndlr.handleNavigation(FacesContext.getCurrentInstance(), null, "showOverview");
    To solve your issue, add a managed bean in pageFlowScope or use an attribute inpageFlowScope that you use to identify the tab to be opened. Then in the second page, use the "disclosed" property on the showdetailItems to evaluate the pageFlowScope information and then return true or false respectively. The tab that evaluates to "true" will be opened.
    Frank
    Ps.: JSF component trees are created upon render response phase, which is why your programmatic attempt (which happens during invoke_application phase fails

  • Issue while reflecting the data to ADF form from ADF Table

    Hi All,
    I have one scenario as follows:
    I have to open a form in entry mode. So I have used a Method Call activity in task flow to call "Create" in method call activity.
    Then form opens in a entry mode. I have a adf table in the page showing the entered data.
    When form opens in entry mode, instead of entering the values in the field User selects a record in ADF table, but due to the create mode of the form it will through me a error to fill mandatory fields.
    Please tell me the way so that if user selects the record(in adf table) instead of entering new record, the value would reflect in the Adf form.
    If I use a roll back on selecting the row of ADF table, then it is showing me this error "Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[null ]" because there will be no row key in the cache when form opens.
    Please suggest me the way to complete the task.
    I am using jdeveloper 11.1.2.1.0
    Thanks,
    Gobi
    Edited by: gobinkl on Oct 3, 2012 2:06 AM

    no no your are complicating yourself. :) better your should provide your usecase.
    first thing: go through the books & also adf blogs learn and understand the framework. as above person said.
    i hope that you had method call create as activity as default while page rendering it make your af: form empty(that is ready fir insertion format).
    so if your are doing like that.am sure it will throw some mandatory errors.
    error will not resolve unless without entering any data's.
    coming af:table why are using af:table - immediate = true / false(switching).
    immediate = true - skip over validation or by pass some validation in some phase - based on the component which you are using. (say as if you are using editable value holder,af:coomand button).
    grab the information here in an more legible manner.
    http://adfpractice-fedor.blogspot.in/2012/02/understanding-immediate-attribute.html
    let me know your usecase.
    this will assist you
    https://blogs.oracle.com/shay/entry/executing_an_action_on_jsf_pag
    http://tanveeroracle.blogspot.in/2009/09/adf-11g-createinsert-to-display-blank.html
    Edited by: user707 on Oct 5, 2012 9:02 AM

  • Display and edit currently selected row of ADF Table in ADF Form

    I have an ADF Read-only Table and ADF Form, which were created from the same Data Control.
    I need to be able to edit the selected row of the table in the form (just like in "Binding Data Controls to your JSF page" part of "Developing RIA Web Applications with Oracle ADF" Tutorial). However, I can't figure out how to do this :(
    I found the following solution on the Web: #{bindings.DeptView1.currentRow.dataProvider.dname} - but it doesn't work, since "the class oracle.jbo.server.ViewRowImpl does not have the property dataProvider".
    Sorry for the newbie question.
    Thanks in advance for any help!

    Hi,
    AFAIK, dataProvider is not supported on ADF BC, hence the error.
    If you have created ADF Read only table and form from the same data control you just need to refresh the form based on table selection to show up the selected record, to do which you just need to add partialTriggers property to the panelFormLayout and set its value to the id of table
    Sireesha

  • How to clear last search criteria in ADF form?

    I'm building an ADF form. This form uses JTextField controls. When I switch to Find Mode, I want to clear criteria of the last search that JDev remembered. I've tried to remove ActionListener of FIND button in Navigation Bar, then add a new ActionListener that I created to handle FIND action myself. But the results are not perfect as I expected: JDev still filled the last search criteria.
    For example, I searched with these criteria: Code = 'ABC', the next time enter Find Mode, I want this criteria to be cleared. My code is below:
    JButton btnFind = navApplication.getButton(navApplication.BUTTON_FIND);
    btnFind.removeActionListener(navApplication);
    btnFind.addActionListener(new ActionListener(){
           public void actionPerformed(ActionEvent e)
         navApplication.doAction(navApplication.BUTTON_FIND);
         if (navApplication.getModel().isFindMode())
              txtCode.setText("");
              txtName.setText("");
              txtAddress.setText("");
    });

    Hi,
    Could, some body please answer to my question I raised above.
    Cheers,
    Krishna.

  • ADF form data

    i have ADF form in which one mandatory column is user-id which need to fiIl automatically when the user logged in,i am storing user-id is a session variable .I am able to see user-id in form column but when i press commit button , i am getting error saying *"Attribute user-id required"* even i am able to see user-id in that column.
    I tried below things but i am getting error saying "Attribute user-id required" even i am able to see user-id in that column.
    >>
    <af:column sortProperty="RequesterId" sortable="false"
    headerText="#{bindings.ViewObj_emptyRequest1.hints.RequesterId.label}"
    id="c4">
    *<af:outputText value="#{row.RequesterId eq 'NA' ? 'NA':(TagDB.userMail)}" id="ot1"/>*
    </af:column>
    >>
    Please suggest how to assign user-id to this form column.
    Thanks

    Thanks Shay for looking into it.
    I follow below steps,
    1.click on biniding tab in a page where table is drag n drop.
    2.here do i need to click on + sign in binding and choose "binding values"?
    3.select the attribute email id
    4. now i am not getting "set it's value in the property inspector to the EL that gets the value"
    May be i am not doing right way.could you please give me more hint.
    Thanks

  • Insert new row into oracle databse through application module usng ADF Form

    I am using Jdeveloper 11.1.2. I am a beginner. I had tried in-built createInsert and commit method to add new row into oracle DB. For that, I had created ViewObject, VOImpl and AMImpl. Then, I created to jsf page. On first page, I dragged and dropped createInsert fn and VO(as ADF-readonly table) from DC Palette. and on second page, I dragged and dropped my VO(as ADF-Form) and commit (as Button) from DC palette. I created task-flow for it. when i click on createInsert button, i redirected to second page. where i filled all the required information on form. After filling, when i clicked commit button, i redirected to first page.(coz i created task flow to return first page after commit). New row is inserted into ADF-table, but when i checked my oracle DB, there was nothing added.
    Thus, I want to use custom method to insert row into OracleDB. So how can i get this? what are the steps required to do this? what programming codes required in Bean.java and AMImpl.java. Or is there any other steps to do this?
    please provide me detail steps and programming code for bean, amimpl or for VOImpl or EOImpl.
    please help me.

    User,
    To insert a row into the db you have to use a VO which is based on an EO (entity object). There is no java class (or impl) needed. You can all do this decoratively.
    All you have to think of is the PK of the new row. You can use Groovy for that (http://tompeez.wordpress.com/2011/09/02/using-groovy-expression-to-set-a-primary-key-with-a-sequence-number/)
    The rest is like you described it yourself. Drag the Vo onto the page, drop it as read only table, drag the createInsert onto the page as button and set up the navigation. On the second page drag the same VO onto the page and drop it as ADF Form. drag the commit operation onto the page as button and setup the navigation back to the first page.
    Timo

  • Regarding adding PDF file to adf Form

    Hi,
    in my application i have created a entity object which uses a database table*( PDF_table)*
    PDF_table has two columns i.e PDF_file (of type BLOB) and PDF description  (of type varchar(100))
    and in the ADF form my requirement is to browse a PDF file stored anywhere in the computer and save it in the database table(PDF_table).
    Can anybody tell me how can i do this?

    Hi,
    Thanks Samith and Shay for the reply..
    By using the links given by you guys i modified my application. but i am getting problem while committing ti Database..
    The source code of my application as follows..
    *<af:document id="d1">*
    *<af:messages id="m1"/>*
    *<af:form id="f1" usesUpload="true">*
    *<af:panelFormLayout id="pfl1">*
    *<af:inputText value="#{bindings.Description.inputValue}"* // description is a attribute of Database Table and of type varchar2
    *label="#{bindings.Description.hints.label}"*
    *required="#{bindings.Description.hints.mandatory}"*
    *columns="#{bindings.Description.hints.displayWidth}"*
    *maximumLength="#{bindings.Description.hints.precision}"*
    *shortDesc="#{bindings.Description.hints.tooltip}"*
    *id="it1">*
    *<f:validator binding="#{bindings.Description.validator}"/>*
    *</af:inputText>*
    *<af:inputFile label="Label 1" id="if1"*
    *value="#{bindings.Pdf.inputValue}" autoSubmit="true"/>* //where Pdf is a attribute of database table of type BFILE
    *<af:commandButton actionListener="#{bindings.CreateInsert.execute}"*
    *text="CreateInsert"*
    *disabled="#{!bindings.CreateInsert.enabled}"*
    *id="cb1"/>*
    *<af:commandButton actionListener="#{bindings.Commit.execute}"*
    *text="Commit"*
    *id="cb2"/>*
    *</af:panelFormLayout>*
    *</af:form>*
    *</af:document>*
    but after entering description and file path when i enter Commit it is showing an error i.e
    *Error: Cannot convert org.apache.myfaces.trinidadinternal.config.upload.UploadedFiles$FixFilename@155ef67 of type
    classorg.apache.myfaces.trinidadinternal.config.upload.UploadedFiles$FixFilename to class oracle.jbo.domain.BFileDomain*
    how can i solve this?...

  • Issue editing a new record in simple ADF form

    I have a simple ADF entry form and table that saves to a database table. The database table has columns that cannot have null values.
    I can create, edit, delete and save rows in the ADF form without problems.
    The problem I have is when I edit a row that I just created and saved. I get an error message that says I cannot save null into the fields that cannot have null values in the database, even though my form shows that my newly created and saved is data there. I seem to have to edit those fields to get the model entity to recognize that there is some value in them.
    So the sequence of events leading to the error is this:
    I create a new record with ADF form using the 'Create' or 'CreateInsert' operation command button, I enter data into all the fields and hit commit.
    I decide I want to make a change to one of the fields, I enter some text, click commit again and an error message pops up saying that I cannot enter null into a required field, but there is data in the field and I did not change anything in it.
    The only way I can save without error now is either by running a rollback operation now or making a edit to all the required fields to get the linked entity to not send a null value to the database.
    This error will still occur even if I navigate away from the newly created record to other records, if I ever navigate back to that record created in the current session, I will get that error message.
    Anyone else experience a similar problem?
    Are there any settings or properties I need to set in the entity that can avoid sending null values to the database when a value already exists?
    I thought at first it was because I'm using the 'CreateInsert' operation to create a new record as opposed to the 'Create' operation, but the same problem exists with both operations.

    I am using jDev version 11.1.2.1.0
    In you sample, does your database have columns that require a not null value?
    I think my problem lies in the entity or view somewhere, how it's sending null value for fields that don't need to be updated.
    Here's the source for my entity and view.
    Entity:
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
    <!---->
    <Entity
    xmlns="http://xmlns.oracle.com/bc4j"
    Name="Feedback"
    Version="11.1.2.60.81"
    DBObjectType="table"
    DBObjectName="FEEDBACK"
    AliasName="Feedback"
    BindingStyle="OracleName"
    UseGlueCode="false">
    <Attribute
    Name="FeedbackId"
    Precision="10"
    Scale="0"
    ColumnName="FEEDBACK_ID"
    SQLType="NUMERIC"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    TableName="FEEDBACK"
    PrimaryKey="true">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22"/>
    </DesignTime>
    </Attribute>
    <Attribute
    Name="PageName"
    IsNotNull="true"
    Precision="200"
    ColumnName="PAGE_NAME"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="FEEDBACK"
    IsUpdateable="while_insert"
    RetrievedOnInsert="true"
    RetrievedOnUpdate="true">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="200"/>
    </DesignTime>
    </Attribute>
    <Attribute
    Name="Severity"
    Precision="30"
    ColumnName="SEVERITY"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="FEEDBACK"
    IsNotNull="true">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30"/>
    </DesignTime>
    </Attribute>
    <Attribute
    Name="InternalAction"
    Precision="30"
    ColumnName="INTERNAL_ACTION"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="FEEDBACK">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30"/>
    </DesignTime>
    </Attribute>
    <Attribute
    Name="FeedbackNote"
    IsNotNull="true"
    Precision="4000"
    ColumnName="FEEDBACK_NOTE"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="FEEDBACK">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="4000"/>
    </DesignTime>
    </Attribute>
    <Attribute
    Name="InternalNote"
    Precision="4000"
    ColumnName="INTERNAL_NOTE"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="FEEDBACK">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="4000"/>
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CreatedBy"
    Precision="30"
    ColumnName="CREATED_BY"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="FEEDBACK">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30"/>
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CreationDate"
    ColumnName="CREATION_DATE"
    SQLType="TIMESTAMP"
    Type="oracle.jbo.domain.Date"
    ColumnType="DATE"
    TableName="FEEDBACK">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7"/>
    </DesignTime>
    </Attribute>
    <Attribute
    Name="ActionDate"
    ColumnName="ACTION_DATE"
    SQLType="DATE"
    Type="oracle.jbo.domain.Date"
    ColumnType="DATE"
    TableName="FEEDBACK"/>
    <Attribute
    Name="ReviewedBy"
    Precision="30"
    ColumnName="REVIEWED_BY"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="FEEDBACK">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30"/>
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AssignedTo"
    Precision="30"
    ColumnName="ASSIGNED_TO"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="FEEDBACK">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30"/>
    </DesignTime>
    </Attribute>
    <Key
    Name="Xpkfeedback"
    PrimaryKey="true">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="XPKFEEDBACK"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="ichip.util.Feedback.FeedbackId"/>
    </AttrArray>
    </Key>
    </Entity>
    View:
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
    xmlns="http://xmlns.oracle.com/bc4j"
    Name="FeedbackView"
    Version="11.1.2.60.81"
    SelectList="Feedback.FEEDBACK_ID,
    Feedback.PAGE_NAME,
    Feedback.SEVERITY,
    Feedback.INTERNAL_ACTION,
    Feedback.FEEDBACK_NOTE,
    Feedback.INTERNAL_NOTE,
    Feedback.REVIEWED_BY,
    Feedback.CREATED_BY,
    Feedback.CREATION_DATE,
    Feedback.ACTION_DATE,
    Feedback.ASSIGNED_TO"
    FromList="FEEDBACK Feedback"
    BindingStyle="OracleName"
    CustomQuery="false"
    PageIterMode="Full"
    UseGlueCode="false"
    OrderBy="Feedback.PAGE_NAME asc,Feedback.FEEDBACK_ID desc">
    <EntityUsage
    Name="Feedback"
    Entity="ichip.util.Feedback"/>
    <ViewAttribute
    Name="FeedbackId"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="FeedbackId"
    EntityUsage="Feedback"
    AliasName="FEEDBACK_ID"/>
    <ViewAttribute
    Name="PageName"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="PageName"
    EntityUsage="Feedback"
    AliasName="PAGE_NAME"
    DefaultValue="Feedback"/>
    <ViewAttribute
    Name="Severity"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="Severity"
    EntityUsage="Feedback"
    AliasName="SEVERITY"/>
    <ViewAttribute
    Name="InternalAction"
    PrecisionRule="true"
    EntityAttrName="InternalAction"
    EntityUsage="Feedback"
    AliasName="INTERNAL_ACTION"/>
    <ViewAttribute
    Name="FeedbackNote"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="FeedbackNote"
    EntityUsage="Feedback"
    AliasName="FEEDBACK_NOTE"/>
    <ViewAttribute
    Name="InternalNote"
    PrecisionRule="true"
    EntityAttrName="InternalNote"
    EntityUsage="Feedback"
    AliasName="INTERNAL_NOTE"/>
    <ViewAttribute
    Name="ReviewedBy"
    PrecisionRule="true"
    EntityAttrName="ReviewedBy"
    EntityUsage="Feedback"
    AliasName="REVIEWED_BY"/>
    <ViewAttribute
    Name="CreatedBy"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="CreatedBy"
    EntityUsage="Feedback"
    AliasName="CREATED_BY"/>
    <ViewAttribute
    Name="CreationDate"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="CreationDate"
    EntityUsage="Feedback"
    AliasName="CREATION_DATE"/>
    <ViewAttribute
    Name="ActionDate"
    PrecisionRule="true"
    EntityAttrName="ActionDate"
    EntityUsage="Feedback"
    AliasName="ACTION_DATE"/>
    <ViewAttribute
    Name="AssignedTo"
    PrecisionRule="true"
    EntityAttrName="AssignedTo"
    EntityUsage="Feedback"
    AliasName="ASSIGNED_TO"/>
    </ViewObject>

  • How deploy BPM process with ADF form?

    Hi everybody,
    I'm a newbie on BPM (11g) and ADF. I've created a BPM process and an ADF train into the same project.
    I was wonder if I can deploy the ADF stuff and start to test only the train before hook up the ADF form with the UserActivity.
    How I can do that? How can deploy it? Better create a jar or ear?
    Any suggestions?
    Best Regards.
    Fairlie

    Hi Daniel,
    yes I have two separate projects - BPM and ADF - in the same applications.
    For now, I'd like to work only on ADF project implementing the front end that I will use in next future into my BPM project.
    Every time I click on Run on the main page in ADF project, JDev tries to deploy the entire application.
    I need to work only on ADF for now and testing it. The soa server is on remote server.
    I've tried to deploy the ADF project on remote server and I get this error:
    'Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp
    Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter'.
    I've checked the oracle.adf.model library class path and It's ok...so I do not understand why I get this error.
    What do you think is better to do? Trying to deploy the ADF with war, jar or ear...or...?
    Thanks a lot for any suggestions.
    Fairlie

  • ADF Forms Issue

    Hi All,
    I am fairly new to JDeveloper so please bear with me.
    Based on the ADF Tutorial for Forms/4GL developers I have developed a simple ADF form that edits data on a database table. The table is built from a data control, has bound managed session beans for each of the editable items and has 2 simple command buttons - 1 to submit changes to the form (action listener -> commit), the other to rollback (action listener - rollback)
    The form compiles OK and then runs OK via the OC4J Embedded Server.
    However when trying to use the command buttons to perform a submit changes or to rollback the operation is not performed and it also looks as though the resulting redirecting URL is not correct. The original URL appears on the link with just the # (hash) sign appearing after it e.g.
    http://10.101.7.34:8989/Data_Maintenance-Data_Maintenace-context-root/faces/app/grademaintain.jspx
    becomes after clicking on a command button -
    http://10.101.7.34:8989/Data_Maintenance-Data_Maintenace-context-root/faces/app/grademaintain.jspx#
    I have also noticed that the range selector on the table is also not working and displays the second URL above.
    Can anyone advise what I am doing wrong and why JDeveloper may be doing this ?
    Please find source for the page below :-
    ============================================================
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html>
    <afh:head title="grademaintain_edit">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <h:form>
    <af:messages/>
    <h:form>
    <h:form>
    <af:panelPage title="#{res['fpgrademaintain.pageTitle']}">
    <f:facet name="menu1"/>
    <f:facet name="menuGlobal"/>
    <f:facet name="branding">
    <h:graphicImage height="85" width="137"
    url="/images/ids_logo2.JPG"/>
    </f:facet>
    <f:facet name="brandingApp"/>
    <f:facet name="appCopyright"/>
    <f:facet name="appPrivacy"/>
    <f:facet name="appAbout"/>
    <af:table value="#{bindings.GradeVwView1.collectionModel}"
    var="row" rows="#{bindings.GradeVwView1.rangeSize}"
    first="#{bindings.GradeVwView1.rangeStart}"
    emptyText="#{bindings.GradeVwView1.viewable ? 'No rows yet.' : 'Access Denied.'}">
    <af:column sortProperty="GradeId" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.GradeId}">
    <af:inputText value="#{row.GradeId}"
    required="#{bindings.GradeVwView1.attrDefs.GradeId.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.GradeId.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText1}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.GradeId}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ChannelId" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.ChannelId}">
    <af:inputText value="#{row.ChannelId}"
    required="#{bindings.GradeVwView1.attrDefs.ChannelId.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.ChannelId.displayWidth}"
    autoSubmit="true" disabled="true">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.ChannelId}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="Channel" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.Channel}">
    <h:inputText value="#{row.Channel}"
    binding="#{backing_app_grademain_edit.inputText3}"/>
    </af:column>
    <af:column sortProperty="Grade" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.Grade}">
    <af:inputText value="#{row.Grade}"
    required="#{bindings.GradeVwView1.attrDefs.Grade.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.Grade.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText4}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.Grade}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ValueFrom" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.ValueFrom}">
    <af:inputText value="#{row.ValueFrom}"
    required="#{bindings.GradeVwView1.attrDefs.ValueFrom.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.ValueFrom.displayWidth}"
    binding="#{backing_app_grademain_edit.inputText5}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.ValueFrom}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ValueTo" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.ValueTo}">
    <af:inputText value="#{row.ValueTo}"
    required="#{bindings.GradeVwView1.attrDefs.ValueTo.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.ValueTo.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText6}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.ValueTo}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="EffFromDate" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.EffFromDate}">
    <af:inputText value="#{row.EffFromDate}"
    required="#{bindings.GradeVwView1.attrDefs.EffFromDate.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.EffFromDate.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText7}">
    <f:convertDateTime pattern="#{bindings.GradeVwView1.formats.EffFromDate}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="EffToDate" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.EffToDate}">
    <af:inputText value="#{row.EffToDate}"
    required="#{bindings.GradeVwView1.attrDefs.EffToDate.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.EffToDate.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText8}">
    <f:convertDateTime pattern="#{bindings.GradeVwView1.formats.EffToDate}"/>
    </af:inputText>
    </af:column>
    </af:table>
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    text="Submit Changes"
    action="Home"
    binding="#{backing_app_grademain_edit.commandButton1}"/>
    <af:commandButton actionListener="#{bindings.Rollback.execute}"
    text="Rollback"
    immediate="true" action="Home"
    binding="#{backing_app_grademain_edit.commandButton2}">
    <af:resetActionListener/>
    </af:commandButton>
    </af:panelPage>
    </h:form>
    </h:form>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    ===========================================================
    Many thanks for your help in advance.
    Cheers,
    Gary

    Hi Gary,
    I'll just clear a couple of things up first.
    Both the command buttons and the range selector on the table should be pointing to that URL you mention (with the hash). This is the way that JSF/ADF works. Even if you have specified that a navigation case should redirect, it still first fires a request to the current page.
    As far as I can see, there is no obvious problem with your page code. There are some things I would do.
    1. You have three h:form components in your page. Remove the two below the af:messages component. You only need one form.
    2. Check that there exist Commit and Rollback executables in the page definition file (right-click on page and select Go to Page Definition).
    3. Check that there exists a navigation case from this page to the home page and that it is named Home (Look in the faces-config.xml file).

  • Getting NullPointerException in ADF form using Custom Selection Listener

    Hi,
    I am getting NullPointerException from getRowKey() in GenericTableSelectionHandler.java while pressing "Page Down" key or continuous pressing of "Down Arrow" key in Read Only ADF form (Query, Sort Enabled) using Custom Selection Listener.
    I have used the custom selection listener as mentioned at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/23-generic-table-selection-listener-169162.pdf
    The requirement to use custom Selection Listener to populate some fields from the selected row.
    J Developer Version: 11.1.1.4.0
    The error is as below
    +<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5+
    javax.el.ELException: java.lang.NullPointerException
    +     at com.sun.el.parser.AstValue.invoke(Unknown Source)+
    +     at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)+
    +     at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)+
    +     at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:268)+
    +     at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:144)+
    +     at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)+
    +     at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)+
    +     at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:271)+
    +     at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:144)+
    +     at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)+
    +     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)+
    +     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)+
    +     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)+
    +     at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)+
    +     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)+
    +     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)+
    +     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)+
    +     at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)+
    +     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)+
    +     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)+
    +     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)+
    +     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)+
    +     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:205)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)+
    +     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)+
    +     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)+
    +     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)+
    +     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)+
    +     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)+
    +     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)+
    +     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
    +     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)+
    +     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)+
    +     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)+
    +     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)+
    +     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:136)+
    +     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:207)+
    +     at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)+
    Caused by: java.lang.NullPointerException
    +     at ibm.view.GenericTableSelectionHandler.makeCurrent(GenericTableSelectionHandler.java:48)+
    +     at ibm.view.backing.Testpage.XxSelectListener(Testpage.java:207)+
    +     at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +     at java.lang.reflect.Method.invoke(Method.java:597)+
    +     ... 60 more+
    The table structure is as below for your reference
    +<af:table value="#{bindings.TestTableAdfView1.collectionModel}"+
    var="row"
    +rows="#{bindings.TestTableAdfView1.rangeSize}"+
    +emptyText="#{bindings.TestTableAdfView1.viewable ? 'No data to display.' : 'Access Denied.'}"+
    +fetchSize="#{bindings.TestTableAdfView1.rangeSize}"+
    +rowBandingInterval="0"+
    +filterModel="#{bindings.TestTableAdfView1Query.queryDescriptor}"+
    +queryListener="#{bindings.TestTableAdfView1Query.processQuery}"+
    +filterVisible="true" varStatus="vs"+
    +rowSelection="single"+
    +binding="#{backingBeanScope.backing_testpage.t1}"+
    +id="t1"+
    +selectionListener="#{backingBeanScope.backing_testpage.XxSelectListener}">+
    Any help to resolve the issue is highly appreciated.
    Thanks,
    Arijit
    Edited by: user10570755 on Aug 2, 2011 11:19 PM

    //selection with the selection in the ADF model Object
    _selectedRowData = _table.getSelectedRowData();
    //cast to JUCtrlHierNodeBinding, which is the ADF object //that represents a row
    JUCtrlHierNodeBinding _nodeBinding = (JUCtrlHierNodeBinding) _selectedRowData;
    //get the row key from the node binding and set it //as the current row in the iterator
    Key _rwKey = _nodeBinding.getRowKey();i guess nodeBinding becoming null here.. _table.getSelectedRowData().. is not returnign anything                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Unable to deploy mobile ADF app on android based device

    Hi,
    I have developed a small oracle mobile ADF application and I am trying to deploy this app on my android based mobile, but I am  facing issues to deploy it on my device.
    Below is error I am getting..
    [07:47:36 PM] Shutting down Android Debug Bridge server...
    [07:47:36 PM] Deployment cancelled.
    [07:47:36 PM] ----  Deployment incomplete  ----.
    [07:47:36 PM] Failed to detect a connected Android device.  Make sure the device is connected.  Otherwise, manually restart the ADB server.  The following results were provided by ADB:
    List of devices attached
    emulator-5554 offline
    (oracle.adfmf.framework.dt.deploy.android.deployers.CheckAttachedDevicesDeployer)
    my device is detecting in my computer but failed to detect in JDeveloper,
    Even I have change my device setting to debug  mode and allowed non-market apps to be deployed.
    Is there any specific setting on device or Jdeveloper to deploy the app on device.
    please assist to resolve this issue..

    Android Emulator or Android device?
    The error indicates emulator.
    List of devices attached
    emulator-5554 offline
    Select "Deploy application to emulator" instead of "Deploy application to device".

Maybe you are looking for

  • Sending attachment in soap response

    Hi, I want to send attachment in soap response on pi7.4. I am new to pi and this seems to be tough task , I would be thankfull for help. 7Z

  • Planning Login Issue

    Hi all, I got small issue while logging into hyp-planning. I created the application and registered in shared services also. I created two users, one USER1 as planning application administrator and USER2 as Interactive user. The issue is i can logint

  • ISight Built in Camera on iMovie09 and speed problem. Please Help

    Hello, I recently installed imovie09 after using imovie06 for quite sometime. I am getting two problems for now. First, when my videos from iPhoto got imported to iMovie, the audio is working fine but the actual clip is skipping. Is this normal? For

  • Performmance in ADRC and KNA1 Data Fetching

    Hi, In My report, I have S_FLOOR as secet-option which is type ADRC-FLOOR. I want to get Addressnumber based on FLOOR from ADRC and Based on ADRESSNUMBER I want to fetch Kunnr, Name1, Name2 etc from KNA1. But as Addressnumber is not the primary key o

  • How to set composer to paragraph style

    Hello to all,       i am trying to change the composer field value of each paragraph style as per user choice . But i am not getting the way to do this.      Can anyone knows the way of doing this? - Kannu