Help needed! ADF Data Control: Navigation Buttons + Table  issue.

Hey all!
We are working on a new application using ADF JSF+EJB 3.0 stack and are experiencing a problem with a simple feature we need to implement.
Scenario:
- Creating a data control for a facade session bean and drag a List returned by one of its methods as table;
- Dragging its corresponding navigation buttons (first, previous, next, last) from the data control onto the page.
Issue:
As we press those buttons, we see the page being submitted but but nothing changes in the table...It keep showing the same records all the time (buit-in range navigation works fine though). However, when we manage to drop the collection as a form (with nav buttons included), everything works fine.
We have inspected pagedefs for both cases and could not identify the difference.
Any help would be much appreciated as we need to address the issue asap..
Thanks in advance,
Gustavo
PS: Sorry for my English! ;)

Hey, i have the solve to my problem.
In the definition page of the table page i change the propert Refresh (ifNeeded is his default value) to always of the iterator who im using to the table.But i use Toplink, then i had to change the property "Refresh Identity Map Results" to "enabled", that option is in the options of the named queries on queries in the toplinkmap of the current table who im using to my page.
i hope this will be util for you.
That's all
Dany

Similar Messages

  • ADF Data Control Issue

    Hi All
    I'm trying to display the results of a database procedure in an ADF table, but cannot get the Data Control structure return variable to appear as a structure correctly. What am I doing wrong?
    The db proc signature is:
    PROCEDURE get_employee_details(p_person_id IN NUMBER,
    p_wagn OUT VARCHAR2,
    p_last_name OUT VARCHAR2,
    p_first_name OUT VARCHAR2,
    p_middle_name OUT VARCHAR2,
    p_date_of_birth OUT DATE,
    p_gender OUT VARCHAR2);
    The ApplicationModule java code is:
    package wagnmgtmodel;
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import java.sql.Types;
    import java.util.List;
    import oracle.jbo.JboException;
    import oracle.jbo.server.ApplicationModuleImpl;
    import wagnmgtmodel.common.AppModule;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class AppModuleImpl extends ApplicationModuleImpl implements AppModule {
    /**This is the default constructor (do not remove)
    public AppModuleImpl() {
    /**Sample main for debugging Business Components code using the tester.
    public static void main(String[] args) {
    launchTester("wagnmgtmodel", /* package name */
    "AppModuleLocal" /* Configuration Name */);
    public List<Wagn> getempdetails(Integer personid) {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN Xxwgn_Wagn_Pkg.get_employee_details (?,?,?,?,?,?,?); END;";
    st = getDBTransaction().createCallableStatement(stmt, 0);
    st.registerOutParameter(2,Types.VARCHAR);
    st.registerOutParameter(3,Types.VARCHAR);
    st.registerOutParameter(4,Types.VARCHAR);
    st.registerOutParameter(5,Types.VARCHAR);
    st.registerOutParameter(6,Types.DATE);
    st.registerOutParameter(7,Types.VARCHAR);
    //st.setNull(1, Types.VARCHAR);
    st.setObject(1, personid);
    st.executeUpdate();
    Wagn match = new Wagn();
    match.setWagn(st.getString(2));
    match.setLastName(st.getString(3));
    match.setFirstName(st.getString(4));
    match.setMiddleName(st.getString(5));
    match.setDateOfBirth(st.getDate(6));
    match.setGender(st.getString(7));
    System.out.println("Match=" + match.getFirstName() + match.getLastName());
    return (List<Wagn>)match;
    } catch (SQLException e) {
    throw new JboException(e);
    } finally {
    if (st != null) {
    try {
    st.close();
    catch (SQLException e) {}
    All I get in the ADF Data Control is:
    getempdetails(Integer)
    Parameters
    personid
    return
    element
    New to ADF so any help appreciated.
    Kev

    The error you see is because the WebServices policy manager app is not deployed on the WebLogic 10.1.3. If you notice the deployments on the integrated server, you will see an app named "wsm-pm". That app needs to be deployed on the standalong WL server.
    Thanks
    Vinay.

  • Could not find "ADF Data Controls" in ADF tutorial 10.1.3.1.0 chapter 2

    Hi
    I am currently learning Oracle ADF followed by 10.1.3.1.0 tutorial. ( September 2006 Revision ), I installed Oracle Jdeveloper 10.1.3.2.0 on my pc with remote 10.2.0.2 database connection.
    In the manual page 2-17, the final step of that chapter, it requests to create ADF data controls associated with SRPublicFacadeBean.java . It says, right-click the SRPublicFacadeBean.java node and choose "Create Data Control" from the context menu. However, I could not find such option in the context menu. Does anyone know why that happened.
    Thanks ahead
    Sean
    Edited by: ma_sean on Oct 8, 2008 4:14 PM

    Did you install the J2EE edition of JDeveloper or the Studio edition?
    You need the studio edition to be able to create data controls.

  • Help Needed : ADF DVT Dual Y graph Tabular data

    Hi,
    I need to display a dvt:lineGraph containing 2 Y axis.
    The data for the graph is tabular data from a backing bean.
    I am able to display a single y axis graph.
    But since dual y graph needs two series set I am facing problem in specifying that which rows belongs to first series set and which rows belong to the other series set.
    The tabular data is a dynamic one which may change upon every partial refresh every 5 seconds.
    regards
    Lalatendu Patra

    Hi,
    Please see my response on this thread on how to achieve this with a relational data control:
    Re: Drilldown in ADF DVT charts using data control
    Thanks
    Katia

  • Oracle ADF Data Control With Java List

    Hello
    I have a question regarding Data Controls that are based on Application Modules functions. In short I created function:
    public List getListOfTest() {
    List allTests = new ArrayList();
    allTests.add("test1");
    allTests.add("test2");
    allTests.add("test3");
    return allTests;
    inside AppModuleImp.java
    I tested this implementation through AppModule Oracle ADF Model Tester and it returns test1,test2,test3. So this is OK. Now I publisher function through Client Interfaces, and I can see it know in DataControl.
    So I drag and drop function on my jsf page, and render it as a button. Also i drag and droped "return"(hierarchically beeneth/inside function getListOfTest in DataControll) from Data Control and rendered it as ADF table. I was hoping that this will show: test1,test2,test3 in ADF table.
    But now when I run jsf page and it is displayed in browser I get:
    Object java.util of type ApplicationModule is not found
    What I am doing wroong. Please help. Thx
    I use JDeveloper Studio Edition Version 11.1.2.2.0

    The solution is
    public List<String> getListOfTest() {
    List<String> allTests = new ArrayList<String>();
    allTests.add("test1");
    allTests.add("test2");
    allTests.add("test3");
    return allTests;
    Problem was in generic List

  • Help for ADF data binding with MySQL BLOB type.

    Hi,
    I have a blob column called photo for table person in my MySQL database, with ADF, I want to bind this column with a JUImage control, but when I drag the column attribute from the data control palete as a JUImage, an error dialog appears, it says:
    Control cannot be bound to that Attribute.
    This control should be bound to an Attribute whose Java type is one of the following
    oracle.ord.im.OrdImageDomain
    oracle.jbo.domain.BlobDomain
    oracle.jbo.domain.Raw
    What should I do ?
    Thanks.

    Hi,
    Are you using BC4J as the persistence layer? If you use your own persistence (e.g. a bean) then you need to make sure the datatype of the atribute is defined as one of the three mentioned in your question.
    Frank

  • Help needed to write control file.

    Hi Guys,
    i need to write one control file to upload data from .txt file to oracle table.
    .txt file data contains like this
    2006041110:40:22
    2006041111:30:42
    2006041210:40:22
    i need to upload this data into date column in oracle table.
    please help me to write control file for this requirement.
    Thanks for your help and time

        data1        "to_date(:data1, 'YYYYMMDDHH24:MI:SS')"

  • Tabstrip control  Tab line navigation button display issue

    I have a tabstrip that has more tabs than can be displayed at the top of the tabstrip control.  When this happens a navigation button appears on the far right of the tab line( the line that contains all the tabs).  This has been working fine for several years.  Recently I needed to increase the width of the tabstrip control so that it was 160 character wide.  Now when the tabstrip displays, the tab line stops displaying at around 130 characters so the navigation button no longer shows.  As it turns out, the button is still there and functions as normal, except that it cannot be seen even though there are still too many tabs to all be displayed. 
    This appears to me to be a bug in the tabstrip control, but before I start complaining to SAP I thought I would ask here to see if anyone else might know of a solution to this problem. 
    Thanks for looking.

    Hi,
    cresate a managed bean in viewScope within the parent page and pass it as an argument to the child task flow. The managed bean contains/exposes a method to hide the menu items you don't want to show (or just disable them). The child task flow then can call the managed bean (from its input parameter reference) and invoke the method (e.g. in a method call activity as the default activity of the task flow).
    See this blog entry for more details: http://one-size-doesnt-fit-all.blogspot.de/2010/09/master-child-btf-chaperone-contextual.html
    Frank

  • Help needed on retreving QID from APQI table

    Hi Gurus,
    I am using RBIBGL00 standard batch program in my report to create a batch session and in turn execute it.
    Batch session is getting created and it is getting executed as well.
    Issue:
    Now i need to retreive the batch information (succes/failure msgs) from the log
    so i am writing code as:
    select QID to display session log
    SELECT SINGLE qid                             
        INTO gv_qid
        FROM apqi
        WHERE datatyp = gc_bdc
          AND groupid = p_group    
          AND progid  = sy-repid     
          AND userid  = sy-uname
          AND credate = sy-datum.
    But qid is not getting fetched.
    Please help me to resolve this issue.
    Regards'
    Madan.

    Hi Thomas,
    I am using RFBIBL00 program in my report in 2 modes,
    to Create Batch session and
    in Call Transaction mode as well. ( is my requirement)
    1. In Call Transaction mode, i am passing the option xlog, so that after documents are loaded, a log is displayed.
    2. In Batch Session mode, batch is getting created and to execute that batch, i am calling another program RSBDCSUB.
    Batch is getting executed and result gets exported to memory.
    I am fetching the results from memory using function module
    "LIST_FROM_MEMORY"
    Then converting that to ASCI fromat using function module
    "LIST_TO_ASCI"
    Now i need to display the session log
    so i am retreving session data (QID) from APQI table.
    Please let me know if there are any alternatives.
    Thanks for your time and help.
    Regards'
    Madan.

  • Help needed to merge values from two tables -

    We have these three test tables shown, which have a common ID; And amount fields; I want the -------
    test1.val = test2.val + test3.val
    when they have common ids in them;
    I have shown the test data below: And the expected output;
    NOTE: In database with real table values - each of them have millions of rows in them. So effeciency is very important here;
    SQL> desc test1;
    Name Null? Type
    ID NUMBER
    VAL NUMBER
    SQL> desc test2;
    Name Null? Type
    ID NUMBER
    VAL NUMBER
    SQL> desc test3;
    Name Null? Type
    ID NUMBER
    VAL NUMBER
    SQL> select * from test1;
    ID VAL
    1 50
    2 50
    3 55
    4 60
    5 20
    5 rows selected.
    SQL> select * from test2;
    ID VAL
    1 25
    1 25
    2 5
    2 5
    4 75
    5 rows selected.
    SQL> select * from test3;
    ID VAL
    1 25
    1 25
    2 5
    2 25
    2 25
    5 10
    6 rows selected.
    I EXPECT the output to be:
    SQL> select * from test1;
    ID VAL
    1 100
    2 65
    3 20
    4 75
    3 20
    5 10
    6 rows selected.

    Need help with the update queries - joining three tables -

  • ADF Data Control

    Hi,
    1. How to autosubmit things in Data control so no "Commit" buttton is needed?
    When I "Delete" things.
    2. Why is always deleted first row in database not selected one?
    3.The problem appers also when you would like to Update a row it's always updated first row.
    4. Is it a problem? That you must have two View object. (Base data source and List data source they can not be from the
    one View object ).
    As you see I'm using "selectonechoice" and "inputText" component. When I select one record in "selectonechoice" the
    depending object is render in the "inputText". Then I would like to change or delete it. But it always delete or update me first record
    in database.
    Please help, thanks
    regards, evgen

    Hi,
    Thanks for your replay! It help me a lot but....
    I would like to ask you just one thing about last question 4.
    +4. Is it a problem? That you must have two View object. (Base data source and List data source they can not be from the+
    one View object ).
    True. A list data source must be from a different VO or VO instance than the target VO.
    I have a problem :) using " af:selectOneChoice". I drag and drop to JSF pagefrom "datacontrol" one atribute of View Object Iterator,
    then select for "Base data source" and "List data source" diffrent View Object as you say and complete this wizard.
    Then select all atribute from View Object Iterator and drag it to JSF page.
    I also set "Auto submit = "true" and define all "partialTriggers" for "inputText" to id of "selectOneChoice".
    So they are refresh every time the "selectOneChoice" is changed.
    The problem appers when I would like to select another record
    JBO-25013: Too many objects match the primary key oracle.jbo.Key[3 ].
    And my ID for new record is never refreshed.
    Do you now how to resolve this?
    If you need more information just ask
    I would be really appreciate if you help me out..
    regards, evgen

  • Date Controls in repeating table of Infopath 2013 only showing Calendar in first row date controls

    I am using SharePoint 2013 and InfoPath 2013.
    and using form library which uploaded at server.
    I am using repeating table over section . and place Date Controls.
    At the run time it is showing first row with START and END
    date controls.
    when I click INSERT Item it is showing second row with
    Date Controls.
    It is opening and showing calendar only on first row.
    But when I click Date Control button at second row it is not showing or opening calendar.
    Yesterday it was working. but today is not working at site.
    Although it is working on InfoPath 2013 Preview.

    Hi John,
    Based on your description, my understanding is that the Date Control cannot work correctly in the InfoPath form.
    I recommend to re-publish the form to SharePoint and then compare the results.
    Please go to the Library setting page of the library where the form is published > click Advanced Settings > click Edit Template in the Document Template > now the form will be opened in InfoPath Designer and then click Quick Publish button in the
    top of the menu tab.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Events & Tab Control Navigation Buttons

    In the attached example, I use a Tab Control with several pages, some of them being hidden.
    To access them, I use the navigation buttons on the top right corner of the Tab.
    Unfortunately, changing the pages using these navigation buttons does not trigger a "Value Change" event as it does when changing by clicking on the desired page.
    This is visible in the upper control that is updated with the page name when the "Value Change" event is triggered.
    How can I have the TabControl also triggering the "Value Change" event when selecting the pages with the navigation buttons ?
    Attachments:
    TabControl.vi ‏26 KB

    That's a good one, NI should have made the control fire the value change event in that case too. You could make a timeout event and check the value there (and fire an event for it if you wanted) but that's not very elegant. Personally I would go for multiline tabs, it's not often you see a tab with a scrollbar like that so the user's would probably find it more intuitive to have multiline tabs or another level of selection.
    MTO

  • HELP needed on Date

    Hi there everyone, pls help me . i have a question as above
    "Code a Java class called Calendar which has a static variable of type Date(initialised to 1st January 2004), a static void method called tock(int days) to advance the variable by the specified number of days, and a static Date method called getDate() to return the current date.".
    What i was thinking to write is.
    public class Calendar
    Date myDate = new Date();
    myDate = java.sql.Date.valueOf("2004-01-01"); //but my fren said i could use the toString() instead
    public static void tock(int days)
         {  int i = 1;
    while i < days;
    Date = Date + 1; // i am not sure what i am doing ...i am just a beginner .pls help
    public static Date getDate()
    { return Date;
    Are my answers correct ..? how do i advance the variable (date) by the number of specified days ? the asnwer need to print out, say 4 days , u need to print 01 Jan , 02Jan , 03 Jan , 04 Jan...
    anyone please help ..

    Since your assignment is to code a class named Calendar, I doubt that you can use the java.util.Calendar class,
    which has a useful add() method in it.
    So here is another solution:
    public class Calendar
        static Date myDate = java.sql.Date.valueOf("2004-01-01");
        public static void tock(int days)
            long t = myDate.getTime(); // returns the number of milliseconds since 1970-01-01 00:00:00 GMT
            t = t + (days * 24 * 60 * 60 * 1000); // adds the appropriate number of days in milliseonds
            myDate.setTime(t);
        public static Date getDate()
            return myDate;

  • ADF data control classpath issue

    Hi,
    when I am trying to create a jmx connection as part of adf jmx data control using jdeveloper 11.1.2.2.0.
    As part of jmx connection I am providing websphere server 9.7 fp25 connection (installed in the same machine) details and when I click on test connection in the data control wizard getting the following error
    Connection failed:
    java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory]
    I guess it is a classpath issue. If it is, where can I provide the class path for data control? or something else I have to do?
    I found the above missing class is available in  /scratch/was/IBM/Websphere/AppServer/runtimes/com.ibm.ws.admin.client_7.0.0.jar
    Please suggest.
    thanks in advance,
    cdhar

    repost. Any pointers to documentation would be great!

Maybe you are looking for