Pagination on ADF DVT Bar graph

Hi
I am using ADF 11.1.1.5. I am trying to do pagination on dvt bar graph component. The pagination is like << 1 2 3 >>. The default range size in page definition is suppose 5.The things are working fine on all links except 2. I get 1-5 record on first link. On 3 its 11-15 and so on. But n 2 i get 1-5 only. I am using setRangeStart() and setRangeSize methd to get next record. If range size is 6 then on firsti get 1-6, on 3 its 13-18 but 2 doesn't works. The range is setting only from one place. So nothing seems wrong in code. Please suggest.
Thanks

Hi,
the easiest way to build pagination in is
1. Drag the bar graph onto a page
2. On the PageDef file, change the RangeSize property to 5 (in your case)
3. From the DataControl panel, drag and drop the NextSet and PreviousSet operations of the View Object
4.Configure the af:graph PartialTriggers property to point to the two buttons
5. Ensure the buttons have their PartialSubmit property set to "true"
Its not identical to having index icons, but its declarative and works out of the box
Frank

Similar Messages

  • Adf Dvt bar graph zoom/scrolling to given zoom level

    Hi,
    I am developing a dashboard, where I need a functionality with bar graph, that will zoom bar graph at particular zoom level while loading.
    Please help me, How can I pass zoom level to bar graph to zoom in at loading time?
    Thanks,
    Jassi

    Thanks Vlad for response,
    <dvt:barGraph id="barGraph" subType="BAR_VERT_STACK" shortDesc="Query Result Graph"
    tabularData="#{demo.graphTabularDate}" seriesRolloverBehavior="RB_HIGHLIGHT"
    animationOnDisplay="auto" animationOnDataChange="alphaFade"
    dynamicResize="DYNAMIC_SIZE" imageFormat="AUTO" visualEffects="AUTO"
    binding="#{demo.graph}">
    <dvt:o1Axis scrolling="on" /> <!-- *** Here I have implemented zoom to but here I want, when I have lots of bar in graph then my graph loads with some initial zoom level or with max zoom***-->
    <dvt:legendArea scrolling="asNeeded" automaticPlacement="AP_NEVER" position="LAP_RIGHT" />
    <dvt:o1TickLabel tickLabelSkipMode="TLS_AUTOMATIC"/>
    </dvt:barGraph>

  • ADF Horizontal bar graph issue

    Hi All,
    JDev Version: 11.1.2.4
    I have one user case ,where I need to show data values on x1-o1 axis . but o1 axis data should display on right side instead of left. is there any way to do this. I went through some blogs, there is one tag markerText . but I dont know how to use it.
    Please suggest me
    Regards
    Ashwini

    1
    Separate the full questions from the chart, and replace them with a short keyword phrase tagged with the question number. Put the full questions into a text box below or beside the chart.
    OR
    2
    Do each question as a separate chart. Label the Y axis with the question number. Place the question in a box under the chart.
    OR
    3
    Use option-return to force one or more line breaks in your question, without moving pieces of it into a new cell.
    Here's an example of the third option.
    Here is the table on which the chart is based.
    Each 'question' in column A has two option-returns entered in the cell. For multi line 'questions', these follow the space after the last word displayed in the first two lines. In the first and last 'questions' they are placed after the 'question', and serve to keep the spacing constant on the chart.
    Thanks to Cicero and Cab for the questions.
    Regards,
    Barry

  • DVT: Master-Detail Bar Graph

    Hi,
    JDev Version: 11.1.1.5.0
    I am using ADF DVT Bar Graphs to show the details of Master-Detail Tables. I found one useful sample at: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/057-dvt-master-detail-172847.pdf by Frank. This example contains Master as a Bar Graph and on clicking a particular Bar refreshes the detail table with corresponding detail content.
    I would like to have a similar behavior but the detail table should be another Bar Graph instead of a table. Can some one let me know or share some example to show how to have master-detail relationship with two bar graphs?
    Thanks in advance
    Rathnam

    Hi,
    creating an m-d begavior is quite simple:
    1) drag the parent collection (e.g. Departments) as a bar graph to a page
    2) Select the checkbox to set the selected pie as the current row
    3) drag and drop the dependent collection (e.g. Employees) as another graph
    4) either set changeEventPolicy=ppr in the PageDef file for the Employee Iterator or
    set the PartialTriggers property of the detail graph component to point to the parent
    Frank

  • ADF DVT: Stack Bar Graph unable to display all Bar.

    Hi Experts,
    I'm currently having a problem displaying bar graphs in my Use Case.
    There are unavoidable instance that at some point of the information provided, there may be part that contain a very huge data.
    Below is my sample code.
    In the example code below only the detail with huge data is rendered in the graph. and the rest are not rendered. is this  a known issue?
    screenshot: http://sdrv.ms/13DXeyn.
    I'm using ADF PS6 in windows7(64bit), Chome browser.
    ManagedBean. This bean contains static data for testing only. Notice how big the data in the 2nd to the last detail.
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import javax.faces.event.AbortProcessingException;
    import oracle.adf.view.faces.bi.component.graph.UIGraph;
    import oracle.adf.view.faces.bi.event.TimeSelectorEvent;
    public class GraphTimeAxisManagedBean {
        SimpleDateFormat stdFormat = new SimpleDateFormat("yyyy-MM-dd-HH.mm.ss");
        public List getTabularData() {
            ArrayList list = new ArrayList();
            try {
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 1", new Double(20) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 2", new Double(50) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 3", new Double(30) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 1", new Double(150) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 2", new Double(240) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 3", new Double(10) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 3", new Double(10) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 1", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 2", new Double(50) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 3", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 1", new Double(10) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 2", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 3", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 1", new Double(200) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 2", new Double(20) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 3", new Double(70) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 3", new Double(10) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 1", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 3", new Double(70) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 3", new Double(30) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 1", new Double(203)});
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 2", new Double(90)});
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 3", new Double(70)});
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 1", new Double(75) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 2", new Double(86) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 3", new Double(99) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 1", new Double(60105) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 2", new Double(50309) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 3", new Double(50210) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 1", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 2", new Double(77) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 3", new Double(99) });
            } catch (ParseException e) {
            return list;
    JSFF (UI Page).
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:panelGroupLayout id="pgl1">
        <dvt:graph id="barGraph1" graphType="BAR_VERT_STACK" shortDesc="testing"
                   inlineStyle="width:800px; height:300px;"
                   tabularData="#{pageFlowScope.GraphTimeAxisManagedBean.tabularData}">
          <dvt:background>
            <dvt:specialEffects/>
          </dvt:background>
          <dvt:graphPlotArea/>
          <dvt:seriesSet>
            <dvt:series/>
          </dvt:seriesSet>
          <dvt:o1Axis/>
          <dvt:y1Axis/>
          <dvt:legendArea automaticPlacement="AP_NEVER"/>
        </dvt:graph>
      </af:panelGroupLayout>
    </jsp:root>
    Thanks,
    achie

    Achie,
    This is not an issue with the graph as such, but the data issue. Since the value of the data that is being displayed is huge and other datas are relatively very small to occupy the graph area (Ex : 60105 Vs 10).
    You may want to try implementing zoomListener and/or zoomScrollListener for the graph to zoom and see the small datas.
    &amp;lt;dvt:graph&amp;gt;
    -Arun

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

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

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

  • ADF DVT graphs drillAction

    I am following the link to eanble drilling in my ADF DVT graphs - http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12418/tagdoc/dvt_graph.html
    It describes DrillActions as
    drillAction String Yes Refers to a backing bean method. The method will be processed when a label slice on an axis is drilled.
    1) How to make the label slices drillable?
    I am using a data control to plot my graph.
    I have added drillingEnabled, and drill listeners to my code as follows, but its not working
    <dvt:graph shortDesc="Graph" id="g1" value="#{bindings.EmpGrpViewObj1.graphModel}"
    drillingEnabled="true"
    drillRequestingListener="#{pageFlowScope.backing_test.onClickDrill}"
    drillRequestedListener="#{pageFlowScope.backing_test.onClickDrill1}"
    animationOnDisplay="auto" animationOnDataChange="alphaFade"
    />
    Also I am follwoing link - http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12418/tagdoc/dvt_pivotTable.html
    which says Drill operation is available only when underlying data control supports it. Does same applies for graph as well? I mean, if datacontrol used to define graph, then it should support drill operation. How to make data control to support drill action for graphs?

    some comments floating here
    Drilldown in ADF DVT charts using data control

  • TabularData for DVT Stack bar Graph

    Dear All,
    I used tabulardata to supply value fro my stack bar graph component and I used the code below
    public class Stackbar
      public List getTabularData()
        ArrayList list = new ArrayList();
        String[] rowLabels = new String[]
          { "Dry Goods", "Wet Goods", "Misc Goods" };
        String[] colLabels = new String[]
          { "May 2009", "June 2009", "July 2009" };
        Double[][] values = new Double[][]
            { 50000d, 122000d, 175000d },
            { 90000d, 110000d, 150000d },
            { 65000d, 50000d, 95000d }};
        for (int c = 0; c < colLabels.length; c++)
          for (int r = 0; r < rowLabels.length; r++)
            list.add(new Object[]
                { colLabels[c], rowLabels[r], new Double(values[r][c]) });
        return list;
    }JSF is simple
    <dvt:barGraph id="barGraph1" subType="BAR_VERT_STACK2Y" shortDesc="Sample bar"
                              tabularData="#{viewScope.stackBarBean.tabularData}">
                  <dvt:background>
                    <dvt:specialEffects/>
                  </dvt:background>
                  <dvt:graphPlotArea/>
                  <dvt:seriesSet>
                    <dvt:series/>
                  </dvt:seriesSet>
                  <dvt:o1Axis/>
                  <dvt:y1Axis/>
                  <dvt:y2Axis/>
                  <dvt:legendArea automaticPlacement="AP_NEVER"/>
                </dvt:barGraph>But I am not able to have a stack bar graph and the data isnt stacking..
    Kindly see the image here http://imageshack.us/photo/my-images/831/stackbar.jpg/
    My playground code can be downloaded here...
    http://code.google.com/p/my-dev-projects/downloads/detail?name=PlayGround.zip&can=2&q=
    How do I formulate the tabular data values correctly so that I could achive the correct stack bar graph component
    Thanks.
    JDEV 11.1.1.6

    Well...found the solution myself...
    Kindly disregard please..thanks

  • 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

  • Command link at DVT Horizantal Bar Graph

    Hi All,
    I want to display command link in the place of y-axis in Horizantal Bar Graph.
    I am using jdev 11.1.1.6 version
    Please provide me suitable answer with proper sample code.
    Thanks,
    Sai

    Hi,
    the proper answewr is that you cannot have a command link in a graph. However, graphs respond to click events and you can define a click listener that then allows you to access the clicked on value.
    http://www.jobinesh.com/2010/11/example-of-clicklistener-implementation.html
    Frank

  • Using stored parameter from data control class with stacked bar-graph

    Hi folks,
    I'm relatively new to ADF & EJB so I want to apologise in advance if this question seems rudimentary to many of you.
    Edit:  I should have mentioned that I'm using JDeveloper 11.1.1.5
    I'm having a hard time determining how to retrieve the value from a variable to be assigned to a property of the bar graph I'm trying to display on my JSF page.
    I have tried to briefly summarise the logic below for reference.
    I have a data control class (ActivityChart) that includes a method "getActivityDetail" returns a List of custom Objects (ActivityDTO) that are the underlying data for my bar graph.
    public class ActivityChart {
        private Double axisScale;
        public ActivityChart() {
            super();
            axisScale = 0.0;
        public List<ActivityDTO> getActivityDetail(List<String> businessUnits) {
            List<ActivityDTO> returnNewList = new ArrayList<ActivityDTO>();
            List<TransactionDTO> dataList = new ArrayList<TransactionDTO>();
            TransactionSessionBean transBean = lookupTransactionSessionBean();
            if (businessUnits != null && !businessUnits.isEmpty()){
                dataList = transBean.getActivityData(SystemUtil.getCurrentUser(), businessUnits);           
                returnNewList = processTransactions(dataList);
                axisScale = calcAxisScale(returnNewList);
            return returnNewList;
    ...The TransactionDTO object is basically a mirror of the entity object to store the fields from the queried db transactions.
    The ActivityDTO object contains a String value (x-axis label) and 3 Double values for the values required for the bar graph.
    What I'm trying to do is dynamically set the scale for the 2 y-axes (I'm using a dual-axis stacked bar graph) because the auto calculated values are not aligned.
    Right now I've got the two relevant elements of the bar graph hard-coded with a specific axis value:
    <dvt:y1Axis axisMaxAutoScaled="false" axisMaxValue="100.0"/>
    <dvt:y2Axis axisMaxAutoScaled="false" axisMaxValue="100.0"/>.
    The value I want to use for the Y-axis is calculated and stored in the "axisScale" variable in the above class.
    Really at a loss of how to move forward from here.
    Would very much appreciate any guidance/direction offered.
    Thanks,
    Karim
    Edited by: 973742 on Nov 28, 2012 8:12 AM

    Looks like I may have found the answer!
    I had to set up the variable in the bindings for the page and then reference the variable from the binding and add the property inputValue.
    ie. value="#{bindings.axisScale.inputValue}"

  • Bar Graph Click Listener Should Open a Tab

    Hi,
    We have got a special requirement: Our application has 6 tabs. The first tab is the Dashboard. On Dashboard, we have few bar graphs. And each graph represents the current status of remaining 5 tabs.
    And the requirement is, when the user clicks on any bar graph, respective tab should get opened. We easily achieved this when using a button/ Command Link/ Command Image Link as because they are supporting action event.
    In case of bargraph, we are not getting this happened. Could you please let me know if there any way for us to achieve this requirement.
    And FYI … here is the dashboard screen shot of our application. As per the below URL, when user clicks on the bar of Request bar graph, the Requests tab should get opened.
    https://picasaweb.google.com/112002138169335747235/IssueWithBarGraph?authuser=0&feat=directlink
    Here is the code snippet for the same:
    public void alertsBarGraphListener(ClickEvent clickEvent) {
    UIComponent uiComponent = clickEvent.getComponent();
    if (uiComponent instanceof UIGraph ) {
    String id = uiComponent.getId();
    List<UIComponent> panelTabs = this.mainMenuTabs.getChildren();
    boolean foundTab = false;
    for(UIComponent tab: panelTabs) {
    if(tab instanceof RichShowDetailItem) {
    String[] triggerIds = ((RichShowDetailItem)tab).getPartialTriggers();
    if(triggerIds !=null) {
    for(String triggerid : triggerIds) {
    if(id.equals(triggerid)) {
    this.dashBoardDetailItem .setDisclosed(false);
    ((RichShowDetailItem)tab).setDisclosed(true);
    foundTab = true;
    Please let me know your comments.
    Thanks & Regards,
    Kiran Konjeti

    After setting the disclosed property for the tabs, you would need to have PPR to the panelTab in order to reflect the changes in UI.
    Here, is an sample based on your use-case:
    TestPage.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    *<af:panelTabbed id="pt1" binding="#{TestPageBean.panelTab}">*
    *<af:showDetailItem text="Graph" id="sdi1">*
    *<dvt:barGraph id="barGraph1" subType="BAR_VERT_CLUST"*
    *clickListener="#{TestPageBean.clickListener}">*
    *<dvt:background>*
    *<dvt:specialEffects/>*
    *</dvt:background>*
    *<dvt:graphPlotArea/>*
    *<dvt:seriesSet>*
    *<dvt:series/>*
    *</dvt:seriesSet>*
    *<dvt:o1Axis/>*
    *<dvt:y1Axis/>*
    *<dvt:legendArea automaticPlacement="AP_NEVER"/>*
    *</dvt:barGraph>*
    *</af:showDetailItem>*
    *<af:showDetailItem text="Another Tab" id="sdi2">*
    *<af:commandButton text="Button in another tab" id="cb1"/>*
    *</af:showDetailItem>*
    *</af:panelTabbed>*
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    *TestPageBean.java:*
    package view.bean;
    import java.util.List;
    import javax.faces.component.UIComponent;
    import oracle.adf.view.faces.bi.event.ClickEvent;
    import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
    import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    import oracle.adf.view.rich.context.AdfFacesContext;
    public class TestPageBean {
    private RichPanelTabbed panelTab;
    public TestPageBean() {
    public void clickListener(ClickEvent clickEvent) {
    List<UIComponent> showDetailItems = this.panelTab.getChildren();
    for (UIComponent showDetailItem : showDetailItems) {
    RichShowDetailItem currentRichShowDetailItem =
    (RichShowDetailItem)showDetailItem;
    currentRichShowDetailItem.setDisclosed(false);
    if (currentRichShowDetailItem.getText().equals("Another Tab")) {
    currentRichShowDetailItem.setDisclosed(true);
    AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
    adfFacesContext.addPartialTarget(this.panelTab);
    public void setPanelTab(RichPanelTabbed panelTab) {
    this.panelTab = panelTab;
    public RichPanelTabbed getPanelTab() {
    return panelTab;
    Thanks,
    Navaneeth

  • ELOCATION_MERCATOR.WORLD_MAP errors for pie/bar graph theme below zoom 5

    Hi,
    I am trying to create a map using ADF DVT map component in my jspx page. I am using 'elocation_mercator.world_map'. I am creating a pie graph theme over the base world map. For some reason whenever I zoom below 5, i get following javascript error
    [MVThemeBasedFOIControl.foiLoaded] MAPVIEWER-05523: Cannot process response from MapViewer server. (<?xml version="1.0" encoding="UTF-8" ?> <oms_error> MAPVIEWER-06009: Error processing an FOI request.
    Root cause:FOIServlet:null</oms_error>)
    The Pie graphs displays fine at or above zoom level 5. I tried the same thing using my local map viewer instance which has mvdemo.demo_map as the base map. The pie graph displays fine at all zoom levels using my local map. Can anybody tell me what may be the problem when I use the elocator world_map. I can't even look at the logs as it's a hosted service.

    Here are the steps to reproduce the problem
    1) Create a jspx page.
    2) From the component palette on the right hand side, select ADF Data Visualizations and then click on Map in the Geographical Map section. This will open an ADF Map configuration window.
    3) Create a new Map Configuration by providing an id and a URL connection. If you have not created a URL Connection to elocation service, create a new connection to "http://elocation.oracle.com/mapviewer" and select that connection.
    4) You will see data source as ELOCATION_MERCATOR and Base map as WORLD_MAP selected. Enter startingY="38.648911" startingX="-98.349609" , select mapZoom="5" and Click on OK.
    5) Now create an entity object and a view object based on the STATES table in the MVDEMO database and add it to an application module.
    6) Refresh the application module data control. You should a new StatesView1 data control.
    7) Drop it on the map and select Bar graph theme. This will open a Bar Graph theme configuration window for the Map.
    8) In the Name select MAP_STATES_ABBRV. In the location column select STATE_ABRV.
    9) In the Data Location Select Location as StateAbrv and Location Label as State.
    10) Enter Series Attribute as Totpop and Label as Total Population. Enter series attribute as Female and Label as Female Population. Click OK.
    11) Now Run this page.
    12) The page runs fine displaying the Bar chart. Now zoom out. You will get error
    '[MVThemeBasedFOIControl.foiLoaded] MAPVIEWER-05523: Cannot process response from MapViewer server. (<?xml version="1.0" encoding="UTF-8" ?> <oms_error> MAPVIEWER-06009: Error processing an FOI request.
    Root cause:FOIServlet:null</oms_error>)'
    When you say that we should use elocation for map tiles not for FOI rendering, does that mean that I should not use the themes provided by elocation. When I enter the base URL to a mapviewer instance in my map client, the base map and the themes are displayed from the database used by the mapviewer instance. So, how can I use my own mapviewer for FOI rendering? Can you please explain a little more. Thanks.

  • Bar graph legend problem

    Hi I am using JDeveloper Studio Edition Version 11.1.1.3.0.
    My problem is that I have made a bar graph inside an af:showDetailItem but the legends isn´t shown correct. I can´t see the legends at all when I place the legends in the bottom and if I place them in the right I can see half of the text. The source code is below. If someone can see something wrong in this code don´t hesitate to point it out or if someone know how to get this to work please let me know. To me it looks like a bug but I could be wrong.
    <af:showDetailItem text="Søgulig gongd" id="sdi8"
    stretchChildren="first">
    <dvt:barGraph id="barGraph1"
    value="#{bindings.TrxBrw360JLHistoryGraphRO1.graphModel}"
    subType="BAR_VERT_STACK"
    partialTriggers="::pc1:t1"
    dynamicResize="DYNAMIC_SIZE">
    <dvt:background>
    <dvt:specialEffects/>
    </dvt:background>
    <dvt:graphPlotArea/>
    <dvt:seriesSet>
    <dvt:series/>
    </dvt:seriesSet>
    <dvt:o1Axis/>
    <dvt:y1Axis/>
    <dvt:legendArea automaticPlacement="AP_NEVER"
    position="LAP_BOTTOM"/>
    <dvt:o1Title id="o1Title1" text="Tíðarskeið"/>
    <dvt:y1Title id="y1Title1" text="Upphædd"/>
    </dvt:barGraph>
    </af:showDetailItem>

    Hi,
    I stumpled accross this thread and fear I will hit the same problem with a new customer request.
    Has a bug been filled for this?
    Could not find anything relevant in metalink.
    regards
    Peter

  • ADF DVT PROBLEM

    Can any one tell me after downloading jdeveloper 11g how to upgrade jsf dvt lib to 2.0 because by default it jsf dvt 1.0 due to which i am unable to see graph in pop-up menu
    I have download latest version 11.1.2 and i want to upgrade dvt libraries in jdeveloper because i am unable to see adf dvt in component plate (such as graphs,gaughes etc..)

    As mentioned in the other post, just make sure the ADF DVT libraries are added to the project Library node (doble click the project node to open the project properties). There is nothing you need to do in terms of upgrade
    Frank

Maybe you are looking for

  • Export BLOB into Files

    Hi, I want to export BLOB data into normal files in the OS. The Database is not in my local server. I can only connect through the TNS. Would you please give me some suggestions? Thanks a lot!

  • Different file sizes

    In my office we have Acrobat 7.0 professional on 2 computers. When I create a PDF of the same file on both machines the PDF is twice as big on one machine then the other. All settings for Acrobat are the same on both machines. Any help please.....

  • Help me! About Runtime Class

    Two lines in a same program 1.Runtime.getRuntime().exec("notepad"); 2.Runtime.getRuntime().exec("dir"); the NotePad is open but dir command is error Why? How can i do? Who can tell me !Thank you

  • How(where) do you download Product updates for offline patching?

    We are trying to use a central patch management software (LANDesk), and wish to patch our MACs with it, however most of the patches require us to manually download and compress the install packages in order to send them out.  Where do you go to downl

  • USB Mass Storage Mode Missing :-(

    I just upgraded? to the Samsung Galaxy S III today and have been very happy for the most part.  However... I am EXTREMELY disappointed that the only options to transfer files to the phone/SD Card are to use the MTP and Photo protocols.  I always love