Record set size in Gantt Chart

Hi all,
I am developing an application that has a Gantt Chart.
The tree drawn is a 2 level tree. I have two VOs.
The second VO (Child) has more than 20 rows. I want to show only 10 child at once.
Record set size attribute is the one that is used to restrict the size of the number of nodes displayed. Just like in HGRID.
But when the graph is rendered the values that I give are being ignored and the entire graph is rendered.
Any pointers or suggestions on this will be really helpful.
Regards,
Santhosh.

Hi Santosh,
As Anand suggested to add the "rownum <= 10" condition to limit the record set.
But this condition should be set in View Link SQL(Query where clause).
I hope this will work.
Thanks
Renu

Similar Messages

  • How in Discoverer 4i viewer (Web) to set the size of the Chart(Graph)?

    Hello all,
    How in Discoverer 4i viewer (Web) to set the size of the Chart(Graph) by default?
    Thanks very much for any help.
    Dmitriy Zhabrovets

    Hi,
    I had a look and don't ask me why but it seems that you can't add extra rectangles in a sub table. But weirdly, it seems possible to add tables.
    I mean you can't add a rectangle using
    app.activeDocument.textframes.tables.tables.cell.insertionpoint.rectangles.add
    //remove any reference, that's conceptual at this time.
    The idea I had at the first place but put aside cause to its heaviness is to cheat.
    Instead of adding the rectangle, we are going to copy & paste it.
    So let's keep all the things you need (rectheight & rectwidth).
    But this time, let's use
    var oRect = app.activeDocument.rectangles.add({geometricBounds:[0,0,rectheight,rectwidth]});
    //You may need to use app.activeDocument.pages[x]... if you have a multi pages doc.
    app.select(oRect);
    app.cut()
    app.select(oInsertionPoints.item(-1));
    app.paste();
    heavy but it works.
    Loic

  • Setting Custom XML = Yes in resource gantt chart removes start & end dates

    I'm having a strange issue with a Resource Gantt chart in Apex 4.0.2.
    I built the chart using the Wizard and changed nothing from the defaults. Everything looks/acts fine on the chart when Use Custom XML = No. But I wanted to change a couple things like cell alignment and width, so I set this to Yes and modified the column attributes in the XML code. After doing so, when running the report, the values for Start Date and End Date are not showing. This is happening in both the datagrid and the tooltips, but the timeline is still showing the right information (ie a bar from start to end), so I know it still knows what the correct start and end dates are.
    Thinking I accidentally messed something up, I deleted the chart and recreated it (again, from the wizard). This time, I went back and only set Use Custom XML = Yes but did not change anything within the XML code itself. To my surprise, the dates were still missing. If I set it back to No then they reappear.
    Has anyone seen this before and/or know a way to fix it?
    Thanks,
    ~ John

    Hej John,
    APEX itself is using a field substitution "&DATE_FORMAT." to insert the date format into the XML file. This field substituion is used in may location in the default XML. APEX standard action is to substitute it with the value specified in the Gantt Setting "Date Format". This substitution takes place many places in the default XML file.
    Enabling custum XLM also means disabling APEX XML handling, the substitution does not take place, the "&DATE_FORMAT." contains in this case a null value.
    The default XML file, which can be viewed in apex developer mode, looks like:
    Start Date: {%ActualStart}{dateTimeFormat:&DATE_FORMAT.}
    The runtime XML, which can be viewed in debug mode, contains something like:
    Start Date: {2011.07.21 00:00:00}{dateTimeFormat:}
    ...a null value is not a valid AnaGantt date format.
    Two solutions:
    a) insert a correct AnyGannt date formatter in the custom XML like
    Start Date: {%ActualStart}{dateTimeFormat%YYYY.%MM.%dd %HH:%mm:%SS}
    or
    b) create a field DATE_FORMAT on page containg the chart and intialize it with the AnyGantt date formatter like %YYYY.%MM.%dd %HH:%mm:%SS".
    When running the page the substitution will take place usually.
    Regards,
    Benny

  • APEX 4.0.2 Project Gantt Chart - Error Code: 2002 Message: Empty input

    Hi
    I have created a brand new page containing a Project Gantt Chart region. The Gantt chart is designed to track the progress of a job over time. The page has one chart series containing the following SQL.
    SELECT null LINK,
    stage NAME,
    rownum ID,
    null PARENT_ID,
    trunc(start_date) ACTUAL_START,
    trunc(completion_date) ACTUAL_END,
    decode(completion_date, null, 0, 100) PROGRESS
    FROM tracking
    WHERE job_reference = '889343'
    This SQL statement returns values from SQL Developer and from the SQL Workshop > SQL Commands from within APEX itself.
    The problem is that when I run the page the following error displays inside the region
    Category: 2000
    Error code: 2002
    Message: Empty input
    Environment Information
    Application Express 4.0.2.00.07. - Clean installation not upgraded from APEX 3
    Using Firefox 3.6.15
    Issue identical in IE
    DB version - Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    I'm really stuck so I hope someone can help me out. I really would appreciate it.
    Thanks
    Kylie

    Debug mode doesn't appear to have picked anything up that looks out of the ordinary to me or raises any alarm bells.
    This is the XML with a reduced number of records returned.
    <anygantt>

    <settings>

    <title align="Center" position="Top">
    <text>Resources Gantt</text>

    <font_style>
    <font face="Tahoma" size="2" color="0x000000"/>
    </font_style>
    </title>
    <outer_margin left="0" top="0" right="0" bottom="0"/>

    <background>
    <fill type="Solid" color="0xffffff" opacity="0"/>
    <border enabled="false"/>
    <corners type="Square"/>
    </background>
    <navigation enabled="true"/>

    <locale>

    <date_time_format week_starts_from_monday="True">

    <months>

    <names>
    January,February,March,April,May,June,July,August,September,October,November,December
    </names>
    <short_names>Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec</short_names>
    </months>

    <week_days>

    <names>
    Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday
    </names>
    <short_names>Sun,Mon,Tue,Wed,Thu,Fri,Sat</short_names>
    </week_days>

    <format>
    <full>%yyyy.%MM.%dd.%HH.%mm.%ss</full>
    <date>%yyyy.%MM.%dd</date>
    <time>%HH.%mm.%ss</time>
    </format>
    </date_time_format>
    </locale>
    </settings>

    <datagrid enabled="true">

    <columns>

    <column width="40" cell_align="Center">

    <header>
    <text>ID</text>
    </header>
    <format>{%ID}</format>
    </column>

    <column attribute_name="Name" width="180" cell_align="Center">

    <header>
    <text>Name</text>
    </header>
    <format>{%Name}</format>
    </column>

    <column attribute_name="ActualStart" width="80" cell_align="Center">

    <header>
    <text>Start Date</text>
    </header>
    <format>{%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}</format>
    </column>

    <column attribute_name="ActualEnd" width="80" cell_align="Center">

    <header>
    <text>End Date</text>
    </header>
    <format>{%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}</format>
    </column>
    </columns>
    </datagrid>

    <timeline>
    <plot line_height="30" item_height="15" item_padding="5"/>
    </timeline>

    <styles>

    <period_styles>

    <period_style name="defaultStyle">

    <tooltip enabled="true">

    <text>
    Task: {%Name}
    Start Date: {%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}
    End Date: {%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}
    Complete: {%Complete}%
    </text>
    <font color="Black"/>
    </tooltip>

    <bar_style>

    <middle shape="Full">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </middle>

    <states>

    <hover>

    <middle>
    <border enabled="true" type="Solid" color="Red"/>
    </middle>
    </hover>
    </states>

    <start>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </start>

    <end>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </end>
    </bar_style>
    </period_style>
    </period_styles>

    <task_styles>

    <task_style name="defaultStyle">

    <tooltip enabled="true">

    <text>
    Task: {%Name}
    Start Date: {%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}
    End Date: {%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}
    Complete: {%Complete}%
    </text>
    <font color="Black"/>
    </tooltip>

    <row_datagrid>

    <tooltip enabled="true">

    <text>
    Task: {%Name}
    Start Date: {%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}
    End Date: {%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}
    Complete: {%Complete}%
    </text>
    <font color="Black"/>
    </tooltip>
    </row_datagrid>

    <actual>

    <bar_style>

    <middle shape="Full">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </middle>

    <states>

    <hover>

    <middle>
    <border enabled="true" type="Solid" color="Red"/>
    </middle>
    </hover>
    </states>

    <start>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </start>

    <end>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </end>
    </bar_style>
    </actual>

    <progress>

    <bar_style>

    <middle shape="Full">
    <fill enabled="true" type="Solid" opacity="0.8" color="0xF1683C"/>
    <border enabled="true" type="Solid" color="Black"/>
    </middle>

    <start>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0xF1683C"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </start>

    <end>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0xF1683C"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </end>
    </bar_style>
    </progress>

    <baseline>

    <bar_style>

    <middle shape="Full">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x2AD62A"/>
    <border enabled="true" type="Solid" color="Black"/>
    </middle>

    <start>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x2AD62A"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </start>

    <end>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x2AD62A"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </end>
    </bar_style>
    </baseline>
    </task_style>
    </task_styles>

    <resource_styles>

    <resource_style>

    <row_datagrid>

    <tooltip enabled="true">

    <text>
    Task: {%Name}
    Start Date: {%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}
    End Date: {%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}
    Complete: {%Complete}%
    </text>
    <font color="Black"/>
    </tooltip>
    </row_datagrid>
    </resource_style>
    </resource_styles>

    <defaults>

    <task>

    <task_style>

    <row_datagrid>

    <tooltip enabled="true">

    <text>
    Task: {%Name}
    Start Date: {%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}
    End Date: {%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}
    Complete: {%Complete}%
    </text>
    <font color="Black"/>
    </tooltip>
    </row_datagrid>
    </task_style>
    </task>
    </defaults>
    </styles>

    <project_chart>

    <tasks>
    <task id="1" parent="" name="STAGE1" actual_start="2010.08.11 12.08.00" actual_end="" progress="0" style="defaultStyle"/>
    <task id="2" parent="" name="STAGE2" actual_start="" actual_end="" progress="0" style="defaultStyle"/>
    <task id="3" parent="" name="STAGE3" actual_start="2010.07.27 12.07.00" actual_end="2010.08.06 12.08.00" progress="100" style="defaultStyle"/>
    <task id="4" parent="" name="STAGE4" actual_start="" actual_end="" progress="0" style="defaultStyle"/>
    <task id="5" parent="" name="STAGE5" actual_start="" actual_end="" progress="0" style="defaultStyle"/>
    </tasks>
    </project_chart>
    </anygantt>
    Thank you for your assistance.
    Regards
    Kylie

  • Deleting task in Gantt chart - TaskId = 0

    Hi all,
    In JDeveloper 11.1.1.6, Project Gantt chart contains few simple tasks (with TaskId, start date, end date).
    When I try to delete some task, dataChangeEvent.getTaskId() throws "java.lang.IndexOutOfBoundsException: Index: 0, Size: 0" in my managed bean:
    <dvt:projectGantt id="projectGantt1"
    value="#{bindings.ArtikelView1.projectGanttModel}"
    var="row" startTime="2012-05-31"
    endTime="2012-08-29"
    tooltipKeys="#{projectGanttBean.tooltipKeys}"
    tooltipKeyLabels="#{projectGanttBean.tooltipLabels}"
    dataChangeListener="#{projectGanttBean.handleDataChanged}"
    nonWorkingDaysOfWeek="sat sun"
    nonWorkingDaysColor="#f7f3a5"
    doubleClickListener="#{projectGanttBean.handleDoubleClick}"
    partialTriggers=":::cb1">
    public void handleDataChanged(DataChangeEvent dataChangeEvent)
    BindingContainer bindings = getBindings();
    int _type = dataChangeEvent.getActionType();
    if (_type == DataChangeEvent.DELETE){
    OperationBinding operationBinding = bindings.getOperationBinding("deleteArtikel");
    Map params = operationBinding.getParamsMap();
    params.put("workOrder", dataChangeEvent.getTaskId()); =====> getTaskId() throws exception
    DataChangeEvent with action types TIME_CHANGED or DURATION_CHANGED works well on the same task (TaskId contains correct value for these action types)...
    Any idea what could be wrong?
    Thanks a lot for support
    Daniel
    =========
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces-Gültigkeitsdauer empfängt nicht behandelte Exceptions in Phase APPLY_REQUEST_VALUES 2
    javax.el.ELException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
         at oracle.adf.view.faces.bi.component.gantt.UIGantt.broadcast(UIGantt.java:1783)
         at oracle.adf.view.faces.bi.component.gantt.UIProjectGantt.broadcast(UIProjectGantt.java:399)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at oracle.adf.view.faces.bi.component.gantt.UIGantt.broadcast(UIGantt.java:1818)
         at oracle.adf.view.faces.bi.component.gantt.UIProjectGantt.broadcast(UIProjectGantt.java:399)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:444)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:541)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1394)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:397)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at oracle.adf.view.faces.bi.event.DataChangeEvent.getTaskId(DataChangeEvent.java:464)
         at view.backing.projectGanttBean.handleDataChanged(projectGantt.java:104)
         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)
         ... 60 more
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server-Exception während PPR, #1
    javax.el.ELException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
         at oracle.adf.view.faces.bi.component.gantt.UIGantt.broadcast(UIGantt.java:1783)
         at oracle.adf.view.faces.bi.component.gantt.UIProjectGantt.broadcast(UIProjectGantt.java:399)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at oracle.adf.view.faces.bi.component.gantt.UIGantt.broadcast(UIGantt.java:1818)
         at oracle.adf.view.faces.bi.component.gantt.UIProjectGantt.broadcast(UIProjectGantt.java:399)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:444)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:541)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1394)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:397)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at oracle.adf.view.faces.bi.event.DataChangeEvent.getTaskId(DataChangeEvent.java:464)
         at view.backing.projectGanttBean.handleDataChanged(projectGantt.java:104)
         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)
         ... 60 more

    In SAP Gantt Chart, you can record how much %age of an activity is completed but you can not get refelction of the same in Gantt chart. However you can see the actual dates of confirmation on Gantt chart by suitable selection of dates you want to view.
      SAP Gantt chart do not have this functionality like other project planning softwares.
    Regards,
    Mahendra Dighe

  • Gantt chart wad 7.0

    Hi
    I need to show one query data as Gantt chart in WAD.My user will see this report in his portal...My requirement is like this:
    In rows panel of query definition I have Project ID....
    In columns panel of query definition I have around 10 Restricted keyfigures...
    The other customer requirements are:Chart should only show the data that falls in between start date and end date ,I enter through variables...
    He should be able to choose which Keyfigures he want to see in the Gantt chart....
    Chart should show Todays date as line somewhere in middle of chart....
    is it possible to achieve this through WAD...(I am new to WAD...I tried creating one test template...its crashing showing its too much data to handle....I have records on 14 pages when I executed the query in browser)
    Do I need to have time characteristic as keyfigure in cube or in query inorder to achieve this....
    is there any other tool,where I can easily implement this.............
    Thanks.

    Hi Priya,
    Thanks for your reply.
    1.I have read in help.sap.com that special things with Gantt chart is...in the dataprovider we need to use time as keyfigure.Inorder to achieve this,we need to have this time as keyfigure in cube itself.I check my cube and we have some time keyfigures.I tried putting variable on this time keyfigure in query designer but its not working.how can we restrict time keyfigure so user will have an option to give input for which time period he wants the see the Gantt Chart.
    2.I have to use this Gantt chart to show projects....When I checked,we have many projects that needs to be shown(you can count more than thousand)...and I am getting error when I tried to implement Gantt chart in WAD saying webitem is too small to show data or something....Is it 'not so good' idea to use Gantt chart to show so many projects....?
    3.how to really design this in a web template...
    First I dragged a container web item...then I dragged a Gantt chart web item into it having smaller size than Container web item...is it the right way?where can I put the navigation pane webitem as you suggested above?is there any thing more I need to add to get the above requirement?
    Thanks for your time and help.
    Regards.

  • Hide progress on Gantt chart

    Hi
    I've produced a gantt chart based the following query
    Select Null Link,
              Task_Name,
              Task_Id,
              Parent_id,
              actual_start,
              actual_end,
              null progress,
              planned_start,
              Planned_End
    From   query_table
    It all looks good, except that I don't want to display progress since we don't actually hold this value. I've tried setting it to null, as above, but it displays on the chart as 0%. Is there any way of removing this value from display on each task on the chart?
    Thanks

    Hi,
    You'll need to customise the XML to achieve this behaviour.  On the Chart Attributes page, set "Use Custom XML" to Yes, and in the XML remove all references to:
    Complete: {%Complete}%
    Doing so will remove references to the progress bar from the tooltips used on the Gantt chart.  Next you'll need to update the <task_styles> tag to include some label information for the <actual> bar.  It looks like the Complete label is the default label associated with a Project Gantt, although I haven't found anything in the online documentation stating this.  I'll follow up with AnyChart on this.  In the meantime, I would recommend reviewing their online User's Guide, specifically Labels in Tasks, where you'll find information on the possible labels you can define for the bars in the timeline region of the chart.  If you leave the <text> tags empty, or simply don't include them, it looks like the bar displays without any label, which may be the behaviour you're trying to achieve.  Here's the XML you can add to your chart:
             <actual>
                <bar_style>
                  <labels>
                   <label anchor="Right" valign="Center" halign="Far">
                     <text></text>
                     <font face="Verdana" size="10" bold="true" color="White">
                     </font>
                   </label>
                  </labels>
    ...where the tags in grey above already exist in the chart XML, so should not be copied.  I hope this helps.
    Regards,
    Hilary

  • Resource details are not getting displayed in gantt chart -- R12 instance

    Hi All,
    we are working on a scenarior in R12 instance.
    when we run a resource constraint plan and navigate to Gantt chart the complete application is getting hanged and it is not Displaying any resource details.
    Before 2 days we were able to view the Gantt chart and resource details were populating properly.
    Resource Avalability and usage is correct.
    Thanks,
    Vasudha

    Hi
    In R12 Gantt chart is enhanced to show resource gantt in 3 different view. Res units view,resource hours view and res availability view.
    Please do the following and see if it works.
    On work bench go to Tools , preferences > set gantt chart preferences. even if u want to leave them as default, uncheck something save., and check again and save.
    Let me know if it works.
    Tnx
    Partha

  • Essbase Error:Set is too large to be processed. Set size exceeds 2^64 tuple

    Hi,
    we are using obiee 11.1.1.6 version with essbase 9.3.3 as a data source . when I try to run a report in obiee, I am getting the below error :
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96002] Essbase Error: Internal error: Set is too large to be processed. Set size exceeds 2^64 tuples (HY000)
    but if I run the same query in excel add in, I am just getting 20 records . wondering why I am getting this error in obiee . Does any one encountered the same issue ?
    Thanks In advance,

    Well if you want to export in I think you have to manually do it.
    The workaround it to open your aperture library by right clicking it and show contents...
    Then go into your project right click show contents...
    In here there are sub folders on dates that the pictures were added to those projects. If you open the sub folder and search for your pictures name it should be in that main folder.
    You can just copy it out as you would any normal file to any other location.
    Voila you have manually exported out your file.
    There is a very similar post that has been close but again you can't export the original file that you are working on - FYI http://discussions.apple.com/thread.jspa?threadID=2075419

  • HELP!! How to use setData for a Gantt-Chart

    Hello,
    how can I use the function setData? I've created a page with a resource-gantt-chart and now I want to use this function to set the data to the chart.
    The chart has the attribute "static id" = GANT_CHART.
    In the HTML-header of the page I tried
    <script language="JavaScript" type="text/javascript">
    function SetDataToChart() {
    var data = &F_GANTT_CHART_DATA.;
    var chart = document.getElementById('GANTT_CHART');
    chart.setData(data);
    </script>
    where the item F_GANTT_CHART_DATA returns the following:
    <resource_chart>
    <resources>
    <resource id="3002" name="0400006/1" />
    </resources>
    </resource_chart>
    I call the function SetDataToChart() in "Execute when page loads"
    Thank you for any help!
    Edited by: Kirsten on Aug 4, 2011 5:40 AM

    Hi Shyam,
    Have a look at this,
    START-OF-SELECTION.
      gd_file = p_infile.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = gd_file
          has_field_separator     = 'X'  "file is TAB delimited
        TABLES
          data_tab                = it_record
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
        IF sy-subrc NE 0.
          write: 'Error ', sy-subrc, 'returned from GUI_UPLOAD FM'.
          skip.
        endif.
    Regards,
    Sai

  • Error 500--Internal Server Error in a Project Gantt Chart portlet

    Hi All
    I am getting Error 500--Internal Server Error in a Project Gantt Chart portlet of Corporate Dashboard.
    We have recently installed the Primavera EPPM 8.1, here are the steps we followed to setup the Primavera EPPM 8.1
    1) We have created the database schemas by using automatic database setup(by clicking on dbsetup.bat on the media files)
    2) Installed Weblogic server 11gR1(10.3.4)
    3)Created web logic domain as admin server
    4) Installed P6 Web access and deployed on weblogic domain
    5)Made changes to setEnvDomain file of weblogic domain to increase the Java Heap size and to locate the location of p6.war file
    6)Reastred the weblogic domain
    Now we can access the Primavera but in one of the portlet we are getting Error 500--Internal Server Error.
    Please le me know if I miss any thing while installing or should I modify P6 configuration settings through p6 admin confiuration console.
    Also it would be greatful if any one provide me th best practice to setup Primavera EPPM 8.1.
    Thanks & Best Regards
    Pradeep

    Hello Pradeep
    please delete a folder called fmwconfig in the path yourdomain\config\ for a folder called fmwconfig
    restart P6 and try again

  • Multi Resource Scheduling (MRS) - resources not visible on Gantt chart mode

    I need your expertise help to resolve this issue.
    We are on MRSS 7.0 and ECC 6.0.
    When I run transaction /MRSS/PLBOORG, I am able to see the demands show up.
    However from resources point of view, I can see them on a table based planning but not able to see the resources in the Gantt chart mode.
    The user interface profile (for layout) is set up for 'Planning board for DPD Gantt' as well as for 'Planning board for Resources'.
    Reports to transfer the resources from ECC to MRS have been executed.
    Any help to fix this issue would be greatly appreciated.
    Thanks
    Venky

    Hi Mark,
    Check the following:
    1) You have run the report /MRSS/HCM_RPTWFMIF with transfer qualifications as checked. I guess (from your other post) this data is going in own HR box instead of MRS box (due to RFC issue)
    Check the table: /MRS/D_BAS_REQ
    If you solve the RFC problem, this should get solved automatically.
    2) When you created a Requirement profile, you need to attach it on the "Internal" tab of the operation
    Now check following:
    1) Right click on demand and select "Required Qualifications" -- It should show the qualifications
    2) Right click on Resource and select "Qualifications" -- It should show skills of resource
    If 1 fails - Order Qualifications are not transferred !!
    If 2 fails - Resource qualifications are not transferred - RFC issue (may be)
    If both are there then the suitable resource should work.
    If both 1 and 2 are not there then 100 % result is correct -- Because from the demand side no skill is required so each resource is qualified to do the job...
    Regards
    Varun

  • Turning Off Gantt Charts in MS Project For PDF Gen

    hi
    we have run into a problem when printing Gantt charts with PDF Gen. They can be extremely slow and on following up with Support they have confirmed that this is an issue with Distiller and there is no fix soon. So to get around the issue we tried disabling Gannt charts in MS Project by un-checking Bars and shapes in Gantt views in 3-D' (Tools > Options, View tab) in MS Project
    Now we're finding LC does not always pick up the setting. What we have noticed is that sometimes when printing to PDF with the same file, on the same server via PDF Gen, Gantt charts will appear, and sometimes not. Occasionally, the MS Project file when printing Gantt charts will stall in the Adobe Printer Queue, LC will then start to get Stuck Threads in Weblogic, and basically become unstable.
    Upon further investigation we saw that LC will use the WINPROJ.exe if it is running to do the conversion, or start a new WINPROJ.exe process if none is running. Sometimes while starting the process we get the Gantt chart setting picked up, and sometimes not, and there is no particular pattern.
    We did a lot of digging with PROCMON to see if we could find if LC was picking up a Windows Registry entry for MS Project perhaps with a different user which did not have the Gannt chart turned off, but could not find one. Our conclusion was that sometimes LC has submitted the job before WINPROJ.exe is fully loaded and somehow the No Gantt charts option gets lost, though this is speculation based on observation of behaviour.
    Anyone know what is going on?

    Hi,
    We will get this issue reproduced in-house and see if we can provide a patch to address this problem. Prima facie this does not appear to be a bug in the product; rather it appears that MS Project might be "forgetting" this setting in some cases, or a similar setting (inside the file that is being converted) might override the application-wide setting.
    We will try to see if we can forcibly set this flag (through MS Project COM APIs) each time a MS Project file gets converted. If this works, we might be able to provide a patch.
    Meanwhile, can you let me know exactly what version of MS Office (with the service pack details, if any) that you are using?
    Regards,
    Amit Batra
    Engineering Manager,
    Adobe LiveCycle Enterprise Suite

  • Gantt Chart Related Problem

    Project Link:
    PPPM
    How to solve these problems.
    Problem 1:
    I have to scroll both the Gantt Chart and Task List scroll
    simultaneously. When i scroll Gantt Chart , then at the same time
    Task List and vice versa.
    Problem 2:
    How to stop Gantt Chart header movement stop when scroll the
    Gantt Chart.
    Problem 3:
    In the Gantt Chart Node, there are 2 section. One is dark
    section and other is lite section. I have to slide these scctions
    like like HDevidedBox effect.
    Please help me out from these problems.

    Hi Vedant,
    values are displayed in pie chart their label is not display.
    So you're able to view the value and label information when you hover over a slice i.e. viewing the tooltip, but you can't see the actual label for each slice of the pie. If you're not seeing all of the labels for the slices of the Pie chart, then this could due to a couple of reasons:
    1) the length of the label
    2) the position of the label
    3) the size of the chart
    Keep in mind that displaying all 41 labels on the chart could result in an extremely cluttered looking chart. AnyChart controls the visibility of the labels, depending on the above factors. So if your labels are quite lengthy, for example, and they are positioned to be displayed outside the chart, then AnyChart will display what labels it can for the given chart size. To work around this, having tooltips enabled is a good starting point. Alternatively, you could look at decreasing the length of the label text, changing the label position or even increasing the size of the chart. For further information on the label formatting, I would recommend reviewing AnyChart's online documentation, here: http://anychart.com/products/anychart/docs/users-guide/label-text-formatting.html?fromtree.
    Regards,
    Hilary

  • Event handling in Gantt chart Webdynpro Java

    Hi
    I have a Gantt chart where I have names(name1,name2..) in category(Y) axis.
    Now I want to fire an event when I click name1 or name2 .. on the Gantt chart
    where I will take name1 as parameter.Any idea with code will highly be appreciated and rewarded.
    Regards
    Sunit

    Hi,
      1. Create an action, say, "ChartClicked" with a parameter, say, "pointID" of type String. Set this as the action on the "onClick" event of the BusinessGraphics.
      2. In the wdDoModifyView method, write this code:
    if (firstTime)
      IWDBusinessGraphics chart = (IWDBusinessGraphics) view.getElement("<ID of BusinessGraphics>");
      chart.mappingOfOnAction().addSourceMapping("id", "pointID");
      3. In the eventhandler method, "onActionChartClicked", you'll see a String parameter called pointID. Depeneding on where you click on the graphics, this will change.
    Regards,
    Satyajit.

Maybe you are looking for