ADF Pagination using Navigation Buttions

Hi,
I am using Jdev11.1.1.5 Can any one please let me know how to do pagination in adf application using buttons like first,next,previous,last.
Thanks,
Srinivas.

Just to clarify - you are aware that the table has built in pagination and that it doesn't actually fetch the thousands of records into the client in one go - right?
As you scroll down more records are fetched as needed.
If you still want to have the "next 10" "previous 10" buttons in there you can use this solution:
http://codeplay.net/2011/04/21/simple-adf-traditional-pagination-2-with-business-component/

Similar Messages

  • How to navigate to a specific part of a page using Navigation Model

    Hi....
    I need to navigate to a specific part of the page using navigation models.
    When I click on a link it should navigate to a div in the middle of the page instead of showing page from starting.
    How to achieve this using webcenter navigation models?
    Thanks.

    Hi All,
    Even I have the same requirement in my project.
    I need to navigate to a specific part of a page instead to the top of page using navigation models.
    I have a navigation model with name aboutUsNavigation.xml which have 5 links(About Us, Contact Us, Carrers, ...).
    I have used the adf tree Component to show the links.
    <af:tree id="about" var="node" initiallyExpanded="false" summary="AboutUs" value="#navigationContext.navigationMode
    l['modelPath=/oracle/webcenter/portalapp/navigations/aboutUsNavigation'].treeModel['includeStartNode=false']}" >
    <f:facet name="nodeStamp">
    <af:commandImageLink id="cil2" text="#{node.title}"
    actionListener="#{navigationContext.processAction}"
    action="pprnav"
    icon="#{node.attributes[pageFlowScope.tnBean.iconKey]}"
    disabled="#{not node.navigable}"
    inlineStyle="#{node.onSelectedPath ? 'font-weight:bold;' : ''}">
    <f:attribute name="node" value="#{node}"/>
    </af:commandImageLink>
    </f:facet>
    </af:tree>
    All the 5 links should navigate to the about.jspx. but each to a part of the page. how to achieve this?_
    Thanks..

  • Is there a way to create ADF Table using a bean

    Hi,
    I am using JDev 11g 11.1.1.2.0.
    I am reading an excel sheet and want to generate an ADF table using the same. I already have hold on excel data.
    But when I go through the RichTable API, I find that there is no method to add Columns and Rows. Most or all the methods work on the table UI Looks attribute.
    Any suggestion? Am I missing a method OR 2 here?
    Pls note: The excel (CSV file) using which I am populating my table, will vary for different user. i.e.
    say user 1 will upload a CSV file with 7cols and 100 rows while
    user 2 will upload the CSV file that has 2 cols and 100 rows.
    Hope this makes it clear of my requirements and why I want to populate the table from a bean.
    Thanks in advance.
    Edited by: user8925296 on Feb 24, 2010 7:09 PM

    Thanks a lot Joseba, I am now atleast getting column headings. I have questions on the soln given but first here is the code that I use
    PS NOTE: on my .jpsx file I have dragged dropped an ADF table, removed its default columns and have bounded it with my bean attrib '_dynaTbl' that is used below.
    // ---- Few imports that I use
    import oracle.adf.model.adapter.dataformat.csv.CSVParser;
    import oracle.adf.view.rich.component.rich.data.RichColumn;
    import oracle.adf.view.rich.component.rich.data.RichTable;
    import oracle.adf.view.rich.component.rich.data.RichTableUtils;
    import oracle.adf.view.rich.component.rich.output.RichOutputText;
         public String getFileData() {
    try {
    FacesContext fc = FacesContext.getCurrentInstance();
    ExpressionFactory elFactory = fc.getApplication().getExpressionFactory();
    ELContext elCtx = fc.getELContext();
    CSVParser pfile = new CSVParser(getFile().getInputStream());
    ArrayList colData = new ArrayList();
    ArrayList colHdr = new ArrayList();
    pfile.nextLine();
    String colArr[] = pfile.getLineValues();
    int colLth = colArr.length;
    int rows =0;
    /* _dynaTbl.setVar("row");    */
    for(int hdr=0 ; hdr < colLth; hdr++){
    RichColumn colNm = new RichColumn();
    colNm.setHeaderText(colArr[hdr]);
    colNm.setRowHeader(true);
    colNm.setRendered(true);
    colHdr.add(hdr, colNm);
    colNm.setVisible(true);
    while (pfile.nextLine()){
    String arr[] = pfile.getLineValues();
    int u=0;
    while(u < colLth) {
    // CoreColumn colNm = (CoreColumn)app.createComponent(CoreColumn.COMPONENT_TYPE);
    //colNm.setId(colArr[   u   ] ) ;
                             //CoreOutputText rdata = (CoreOutputText)app.createComponent(CoreOutputText.COMPONENT_TYPE);
                             RichOutputText rdata = new RichOutputText();
                             rdata.setValue(arr[   u     ]) ;
                             rdata.setVisible(true);
                             rdata.setRendered(true);
                             rdata.setId((String)colArr[    u   ] + u) ;
    // System.out.print("\t\t" + rdata.getValue());
    /* ValueExpression value = elFactory.createValueExpression(elCtx, "#{row.attrName}", Object.class);
    rdata.setValueExpression("value", value);
                             ((RichColumn)colHdr.get(u)).getChildren().add(rdata);
                             //colNm.getChildren().add(rdata);
                        // _dynaTbl.setHeader(rcol);
                        // _dynaTbl.setVisible(true);
                        // _dynaTbl.setValue(arr[   u   ]) ;
                   // _dynaTbl.getChildren().add(colNm);
    u++; rows++;
    //break;
    _dynaTbl.setRows(rows);
                   for(int hdr=0 ; hdr < colLth; hdr++){
    _dynaTbl.getChildren().add((RichColumn)colHdr.get(hdr));
    _dynaTbl.setFetchSize(10);
    _dynaTbl.setVerticalGridVisible(true);
    System.out.print("\n\t child count" + _dynaTbl.getChildCount());
    _dynaTbl.setAllDetailsEnabled(true);
    _dynaTbl.setShowAll(true);
    _dynaTbl.setRowBandingInterval(1);
    _dynaTbl.setRendered(true);
    for(int i =0; i< _dynaTbl.getChildCount() ; i++) {
    System.out.print("\n\t count within child:" i " is :" +
    ((RichColumn)(_dynaTbl.getChildren()).get(i)).getChildCount());
    System.out.println(" isAllDetailsEnabled:"+ _dynaTbl.isAllDetailsEnabled());
    System.out.println(" isRowAvailable:"+ _dynaTbl.isRowAvailable());
    System.out.println(" isRowAvailable i:"+ _dynaTbl.isRowAvailable(i));
    System.out.println(" isShowAll i:"+ _dynaTbl.isShowAll());
    }catch (Exception exp){
    exp.printStackTrace();
    return "Done";
    Here is the problem. I am able to view only column headings but data is not visible.
    1. I get below out put for as many columns that I use
    a.
    count within child:4 is :24 isAllDetailsEnabled:true
    isRowAvailable:false
    isRowAvailable i:false
    isShowAll i:true
    b. Why is table data missing. What more do I need to do?
    Kindly guide.
    Thanks a lot in advance.

  • Help required building ADF-Swing/ADF-Faces using ADF Business Components

    My question is in regards to how you can go about building a light swing application to an ADF model?
    In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
    In particular can we develop these screens using ADF-Faces and also ADF-Swing?
    The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
    This would be typically deployed to an app server, like Oracle App Server 10G.
    Could you please have a look at this, as I am doing a lot of research into this.
    eg. Taking example from oracle magazine sept/oct 2006
    with slight enhancements
    package oramag.frameworks.example.common;
    import oracle.jbo.ApplicationModule;
    import oramag.frameworks.customdto.EmployeeDTO;
    public interface HRService extends ApplicationModule {
    void deleteCurrentEmpAndCommit();
    EmployeeDTO findEmployee(int employeeId); // new method
    import oramag.frameworks.customdto.EmployeeDTO;
    public class HRServiceImpl extends ApplicationModuleImpl {
    public void deleteCurrentEmpAndCommit() {
    Row empRow = getEmpView().getCurrentRow();
    if (empRow != null) {
    empRow.remove();
    getDBTransaction().commit();
    public EmployeeDTO findEmployee(int employeeId)() {
    EmployeeDTO employeeDTO = null;
    EmployeesImpl employees = getEmployees();
    employees.setNamedWhereClauseParam("EmployeeId", employeeId);
    employees.executeQuery();
    if(employees.hasNext()) {
    EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
    employeeDTO = new EmployeeDTO(employee);
    return employeeDTO;
    public EmployeesImpl getEmployees() {
    return (EmployeesImpl)findViewObject("Employees");
    Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
    Cheers
    Rodney

    The tutorial is for ADF BC used with JavaServer Faces.
    While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
    You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
    When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
    It's more of what you don't need to do :-)
    Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
    http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
    I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
    Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
    Trying to do everything with hand-coded DTO beans is really going the hard way.
    Could you help us regarding this?

  • How to crate new user in adf security using jspx page

    how to crate new user in adf security using code in java file.plz help me this work will submited to day plz help me...

    sigh
    Search really would help and point you in the right direction. You'd find [url http://forums.oracle.com/forums/thread.jspa?messageID=4584464]this, for example.

  • ADF customization using MDS

    I have a few questions about ADF customization using MDS...
    1) Is it intended that this functionality will be part of the ADF Rich Faces Apache donation or is it going to be something licensed by Oracle?
    2) The old (or not so old) EBusiness OAF framework had lots of customization/personalisation stuff i.e. where you could add fields, remove fields, change table column orders and add a column via the browser. Is MDS functionally similar?
    3) Will using ADF customization mean that I have to use ADF Business Components.
    4) How many different data store options are there i.e. can the meta data be persisted to different types of database such as MySQL or SQLServer (sorry, my company needs to be database agnostic) or even the file system.
    Thanks,
    Peter.

    Hi,
    1) I haven't heard of a plan like that. MDS has nothing to do with ADF Faces directly and is a different set of technology.
    2) MDS is supposed to replace that, yes
    3) No.
    4) No idea about that.
    Frank

  • Building ADF  application Using Maven

    I have a requirement to build the Adf application using Maven.
    My JDeveloper version is 11.1.1.3 and I imported the Maven plugins.
    When I create the new Fusion application , pom.xml is getting created in model project but not in viewcontroller project. Any reason for that?
    Please help me to point to the right article and example to build Adf application using Maven?

    User,
    While you can build an ADF app using Maven, it's nowhere near easy or automated in terms of getting started. There are a few people who are doing it, but they have invested a lot of effort including:
    * loading the ADF libraries into their corporate repositories
    * re-structuring their ADF projects to match the Maven directory standard (or customizing their POMs)
    * Hand-building POMs for their ADF apps
    Most or all of the people that I know who are doing this are doing all of these things without the benefit of the Maven integration provided in JDeveloper. If you have a search of this forum and the [url https://groups.google.com/forum/?fromgroups#!forum/adf-methodology]ADF EMG, you can find plenty of discussions about this. There's no "step-by-step" guide that I know of, and it will definitely take you quite a bit of effort to get started. The Maven integration in JDeveloper is still in developer preview mode, and in my opinion, isn't ready for prime time - at least not with respect to ADF projects.
    John

  • Authentication in ADF App using BAM Data Control

    Hi
    I' having problems with an ADF application using Oracle BAM Data Control. Whe I run the project I've the following error:
    According to Oracle Fusion Middleware Error Messages Reference seems to be an issues with the authentication against the JMS Server and the rigth credentials.
    oracle.bam.common.messaging.api.MessageFrameworkException: BAM-00562: Authentication Failure
         at oracle.bam.common.messaging.api.MessageConsumerRegistryFactory.authenticate(MessageConsumerRegistryFactory.java:210)
         at oracle.bam.common.messaging.api.MessageConsumerRegistryFactory.getInstance(MessageConsumerRegistryFactory.java:171)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.AbstractChangeListListener.registerAsMessageConsumer(AbstractChangeListListener.java:176)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.AbstractChangeListListener.<init>(AbstractChangeListListener.java:88)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.SimpleChangeListListener.<init>(SimpleChangeListListener.java:75)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.action.MessagingAction.register(MessagingAction.java:62)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.StateMachine.internalHandle(StateMachine.java:213)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.StateMachine.handle(StateMachine.java:151)
         at oracle.tip.tools.ide.bam.dc.rt.provider.BAMDataProvider.startEvents(BAMDataProvider.java:303)
         at oracle.tip.tools.ide.bam.dc.rt.BAMDataControl.startEvents(BAMDataControl.java:354)
         at oracle.adf.model.bean.DCBeanDataControl.startEvents(DCBeanDataControl.java:2603)
         at oracle.tip.tools.ide.bam.dc.dt.adapter.BAMAdapterDCService.startEvents(BAMAdapterDCService.java:211)
         at oracle.adf.model.binding.DCBindingContainer.startDCEvents(DCBindingContainer.java:3927)
         at oracle.adf.model.binding.DCBindingContainer.startDCEvents(DCBindingContainer.java:3920)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.startEvents(JUCtrlValueBinding.java:3732)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.startEvents(FacesCtrlHierNodeBinding.java:141)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel._addActiveDataListener(FacesCtrlHierBinding.java:932)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.startActiveData(FacesCtrlHierBinding.java:824)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager$ActiveComponentRecord.startModel(PageDataUpdateManager.java:976)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager$ActiveComponentRecord.startComponent(PageDataUpdateManager.java:939)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager._startActiveData(PageDataUpdateManager.java:483)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.startActiveData(PageDataUpdateManager.java:458)
         at oracle.adfinternal.view.faces.context.RichPhaseListener$StartStopADSContextCallback.invokeContextCallback(RichPhaseListener.java:890)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1041)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.context.RichPhaseListener.handleStartAndStopActiveData(RichPhaseListener.java:461)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:444)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         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.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:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <StateMachine> <internalHandle> null
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.StateMachine.internalHandle(StateMachine.java:213)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.StateMachine.handle(StateMachine.java:151)
         at oracle.tip.tools.ide.bam.dc.rt.provider.BAMDataProvider.startEvents(BAMDataProvider.java:303)
         at oracle.tip.tools.ide.bam.dc.rt.BAMDataControl.startEvents(BAMDataControl.java:354)
         at oracle.adf.model.bean.DCBeanDataControl.startEvents(DCBeanDataControl.java:2603)
         at oracle.tip.tools.ide.bam.dc.dt.adapter.BAMAdapterDCService.startEvents(BAMAdapterDCService.java:211)
         at oracle.adf.model.binding.DCBindingContainer.startDCEvents(DCBindingContainer.java:3927)
         at oracle.adf.model.binding.DCBindingContainer.startDCEvents(DCBindingContainer.java:3920)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.startEvents(JUCtrlValueBinding.java:3732)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.startEvents(FacesCtrlHierNodeBinding.java:141)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel._addActiveDataListener(FacesCtrlHierBinding.java:932)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.startActiveData(FacesCtrlHierBinding.java:824)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager$ActiveComponentRecord.startModel(PageDataUpdateManager.java:976)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager$ActiveComponentRecord.startComponent(PageDataUpdateManager.java:939)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager._startActiveData(PageDataUpdateManager.java:483)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.startActiveData(PageDataUpdateManager.java:458)
         at oracle.adfinternal.view.faces.context.RichPhaseListener$StartStopADSContextCallback.invokeContextCallback(RichPhaseListener.java:890)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1041)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.context.RichPhaseListener.handleStartAndStopActiveData(RichPhaseListener.java:461)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:444)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         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.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:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.bam.common.messaging.api.MessageFrameworkException, msg=BAM-00562: Authentication Failure
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.AbstractChangeListListener.registerAsMessageConsumer(AbstractChangeListListener.java:186)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.AbstractChangeListListener.<init>(AbstractChangeListListener.java:88)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.SimpleChangeListListener.<init>(SimpleChangeListListener.java:75)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.action.MessagingAction.register(MessagingAction.java:62)
         ... 76 more
    Caused by: oracle.bam.common.messaging.api.MessageFrameworkException: BAM-00562: Authentication Failure
         at oracle.bam.common.messaging.api.MessageConsumerRegistryFactory.authenticate(MessageConsumerRegistryFactory.java:210)
         at oracle.bam.common.messaging.api.MessageConsumerRegistryFactory.getInstance(MessageConsumerRegistryFactory.java:171)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.AbstractChangeListListener.registerAsMessageConsumer(AbstractChangeListListener.java:176)
    Can someone please help to resolve that error
    Thanks a lot
    Damian
    Edited by: 907704 on Jan 12, 2012 8:14 AM

    Hi,
    Please check this link and cross check your configuration.
    http://fmwarchitects.blogspot.in/2013/03/configuring-oracle-bam-adapter.html
    and while creating BAM connection Jdeveloper provide right credentials.
    Regards.

  • Using rownum in EJB-QL ..Pagination using CMP 2.1

    Hi ,
    Hope this is the right forum .. rather than JDBC .
    My requirement is to implement Pagination using EJB2.1 on weblogic with Oracle DB. This is for an application which is quite old system and is not ready yet to be migrated to EJB3.0. So we are struck with EJB2.1 at the moment.
    We are using EJB-QL to get Search result and now need to add Pagination logic in it. I can find weblogic.ejb.PreparedQuery.setMaxElements() API to specify the upper limit but what am looking for is a lower limit ..somthing like setFirstRow() ..
    Can it be done using CMP Entity Bean 2.1 .. EJBQL or someother way ?
    I have the sql for pagination but am not sucessful in translating it to EJB-QL
    select * from
    select /*+ FIRST_ROWS(n) */ a.*, ROWNUM rnum from
    (your_query_goes_here) a
    where ROWNUM <=:MAX_ROW_TO_FETCH
    where rnum >= :MIN_ROW_TO_FETCH;
    Thanks in advance ! I hope I get a solution soon ..
    Edited to get some answers !!!
    is it possible to use rownum in EJBQL ? I know rownum is specific to Oracle and my application will stay with Oracle. I get this exception
    "EJB QL compilation encountered error: [EJB:013042]The Identifier 'rownum' is neither a cmp-field nor a cmr-field. Re-examine your query."
    Edited by: user11305835 on Oct 12, 2009 10:48 PM

    Beevin
      Both two are not even validated,
      but with the first one as select max(c.id) from customer as c , in this case it is validated but while deploying it is error as , object must be return
      But when i saw  the ejb2.1 specification we can write this type of queries also ?
      Is it problem with was any thing
    Regards
    Somaraju

  • Issue While executing the Query for Pagination using ROWNUM with like

    Issue While executing the Query for Pagination using ROWNUM with like.
    Database is Oracle11G.
    Oracle Database Table contains 8-9 lakh records
    1) SQL equal (=)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920'
    Execution Time:- 0.00869245 seconds
    Returns 2 resultsets
    2) SQL like (one %)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920%'
    Execution Time:- 0.01094301 seconds
    Returns 2 resultsets
    3) SQL like (two%)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE like '%KMF22600920%'
    Execution Time:- 6.43989658 seconds
    Returns 2 resultsets
    In Pagination, we are using Modified version of SQL Query 3) with ROWNUM as mentioned below :-
    4) SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) WHERE RNUM > 0
    Execution Time:- Infinite
    ResultSets:- No as execution time is infinite
    a) Instead of like if we use = in the above query it is returning the 2 resultsets (execution time 0.02699282 seconds)
    b) Instead of two % in the above query, if use one example REFERENCE like 'KMF22600920%' it is returning the 2 resultsets (execution time 0.03313019 seconds)
    Issue:- When using two % in like in the above query i.e. REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) , it is going to infinite.
    Could you please let us know what is the issue with two % used in like and rownum
    5) Modified version of Option1 query (move out the RNUM condition AND RNUM <= 20)
    SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' ) WHERE RNUM > 0 AND RNUM <= 20
    Execution Time:- 7.41368914 seconds
    Returns 2 resultsets
    Is the above query is best optimized query which should be used for the Pagination or still can improve on this ?

    This would be easier to diagnose if there was an explain plan posted for the 'good' and 'bad' queries. Generally speaking using '%' on both sides precludes the use of any indexes.

  • Can we use Navigational attributes as Virtual Characteristics

    Hi,
    I need to derive the virtual characteristic based on 2 infoobjects in the multiprovider. One of the infoobject is a navigational attribute. I am using the BADI approach to create the virtual characteristic. Can we use navigational attributes to pass values to derive the virtual Char or is there any limitation.
    Basically can I use the below code to read navigational attr
    when <b>'0EMPLOYEE_0JOB'</b> OR '0PROFIT_CTR'.
              l_s_chanm-chanm = <chanm_used>.
              l_s_chanm-mode = rrke_c_mode-read.
              append l_s_chanm to c_t_chanm.
    Thanks,
    Kal

    Hi Kal,
              I think you model a virtual KFig in the way you have suggested.I think the routine will work.Its looking similar populating  a field using read masterdata.I think it will work.
    Regards
    Karthik

  • Problem in filtering when we use navigation link

    Hi all BI Gurus,
    I am having one problem can anyone please help me to come out of it.
    Here is my problem,
    I created two reports. The first one gives you basic idea and the second one give you more detail related to first report.
    e.g.
    First Report is displaying which type of part is manufacturing in which location.
    Like
         Code     -     Location     -     Product Name
         101     -     USA           -           Laptop
         102     -     China           -           Camcorder
         103     -     China           -           Walkman
         102     -     Japan           -           Camcorder
         105     -     Japan           -           Speaker
    Now in this report I am having link to my second report on Code column. For this I am using navigation link which will display my second report which will provide more details regarding the selected product. i.g if I click on first 102 then my second report should display details for Camcorder with location China only not for both China and Japan.
    I prepared both reports, added that navigation link in first report and in my second report I added filter on Code, Location and Product Name as ‘Is Prompted’
    I am running these reports and click on code first 102, my second report is displaying record for both China and Japan. Means it is filtering only code value not other values which are in same row.
    Could any one please help me in my problem?
    Regards,

    hi,
    as we can see here the relation is not unique between code - location
    Code - Location - Product Name
    101 - USA - Laptop
    102 - China - Camcorder
    103 - China - Walkman
    102 - Japan - Camcorder
    105 - Japan - Speaker
    meaning that code 102 is not unique for location(it address China and Usa),so you have 2 solutions....
    So, add a extra column which will be unique describe all the 3 columns,so in order to pass that value to the 2 report.
    Now,either you have one...either you have to make one at your etl(let's say add 2 existing columns code + location).
    Code - Location - Product Name ------CodeLocation
    101 - USA - Laptop------------------------101USA
    102 - China - Camcorder-----------------102China
    103 - China - Walkman--------------------103China
    102 - Japan - Camcorder------------------102Japan
    105 - Japan - Speaker----------------------105Japan
    in this as you can see if you put navigation at the column CodeLocation,you have unique row selected.
    You can also put a sequence in your etl at your table code or location and make a relation between these two...
    Tnink,you select value 'A'.Then 'A' must show only to then ones you want....
    Here you say,give me all the results of 102,but you want 102 + location!
    so in some way you must make Bi to understund.
    As i have mentioned you,there are 2 ways...Db or programming
    Db is better(you can use it and in other situations and is more good in performance)
    Programming is in your hand.(by clicking on something you must assign to 'session' of Bi the values you want to be filteted at the 2.
    This can be done...
    http://oraclebizint.wordpress.com/2009/01/26/integration-of-all-oracle-and-non-oracle-reporting-toolsets-url-parameters-an-introduction/
    http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%E2%80%93-go-url-parameters/
    http://sureshotstrategies.wordpress.com/2008/12/13/integrating-oracle-obiee-content-using-go-url-syntax-2/
    and this!!!!
    How to use GO URL?
    i hope i helped....
    http://greekoraclebi.blogspot.com/
    ///////////////////////////////////////

  • Difference between drill down and filter using navigation attributes?

    hi all,
    can anyone let me know the difference between filter and drilldown options using navigational attributes. pls explain with examples for filter and drill down and how it varies.
    thanxs
    haritha

    Jst to add up with an example :
    Say you have a cost center variance analysis report with cost elements in the filter. ( not present in the default report result )
    Filter - You can right click on a particular cost center & say " Keep Filter Value " - it will result in only showing that cost center & you can wish to select other filter value doing " Select Filter Value ".
    Drill Down - If u wish to see the cost elements associated with cost centers you can right click on Cost Center & do " Drill Down To - Cost Element " or Drill Across.

  • Pagination Using Pages '09 4.0 (727)

    Pagination Using Pages
    I want to paginate a novel. Page one should begin at Chapter 1 while the introductory pages such as the title page, dedication page, thank you page should remain unnumbered. Can I do this? If so how?

    Menu > Insert > Section Break at the end of the page just before you want the change in Page Numbering.
    Click in the page where you want to start the numbering > Inspector > Layout > Section > Page Numbers > Start at: 1 > Configuration > uncheck User previous headers & footers
    click in the footer/header of the 2nd Section > Menu > Insert > Auto Page Numbers
    Go back to the first section and delete the page number in the footer or header, if there is any.
    Peter

  • Pass username and password adfs without using query string

    pass username and password ADFS without using query string, Please help.
    I used query string , but it is unsecured to pass credentials over url, with simple tool like httpwatch , anyone can easily get the password and decrypt it.

    Hello MohitJainMJ,
    You're not in the right forum. Here it's for FIM topics!
    Regards,
    Sylvain

Maybe you are looking for

  • Re Time Machine "You do not have appropriate access privileges to save file ".002332b7be8a" warning preventing backups--this may help temporarily

    My TM is often giving me the "You do not have appropriate access privileges to save file “.002332b7be8a” in folder “Time Machine Backups”" message when I go to select my backup drive. I've reviewed past archived discussions on this and, like many oth

  • How can I use the "ORDER BY" in a block?

    I know it's something with set_block_property. let's say my block is named: bloque and my items(and columns) are the following: first_name last_name age address (I wanna order them by address) what's the sintax or sentence?

  • Forms in Acrobat9 reader are not able to be saved

    Anyone else run into this? I've created some rather complex forms with built in calculations (think catalogue sheets) and put some security settings for printing and filling out the forms on the pdf docs. In Acrabat 8 and earlier versions you can wor

  • Null Pointer Exception in Bursting Engine

    Hi, I am trying the example given in XDO 5.6.2. but i am getting null pointer exception. Any help appreciated. 1. burstCtrl.xml <?xml version="1.0" encoding="UTF-8"?> <DATA> <DEPTS> <DEPT> <DEPTNO>20</DEPTNO> <NAME>Accounting</NAME> <MANAGER_EMAIL>la

  • Program structure for a report

    hi, could any one clarify whether initialization event is to be  written first or selection-screen begin of block is to be written.plz tell whether this affects performance. I have written a report with the following structure.plz correct me if i'm w