cancel
Showing results for 
Search instead for 
Did you mean: 

Documentation for JNET (GANTT)?

matthias_fiebig
Explorer
0 Kudos

Hello,

can anybody tell me a place for samples and documentation of JNET GANTT.

I search for sample application and any hints to use this component.

Some links are posted at SDN but non of them works, for example:

https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/a23d48c9-0501-0010-86be-8...

and

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.wcm.compound.docs/library/uuid/a2...

Thanks for any hint.

Matthias

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Matthias,

I took the wrong file, sorry!!

I hope, this one is better...

Kind Regards

Stefanie

matthias_fiebig
Explorer
0 Kudos

Hallo,

the attached file is empty?

Matthias

matthias_fiebig
Explorer
0 Kudos

Hello,

sorry its a problem of my firefox with IE it works, now I check out the file.

Thanks Matthias

matthias_fiebig
Explorer
0 Kudos

Hello,

ok it work, now we can play a little bit with the control, but we hope that we can get a documentation for the xml data format.

Thank Matthias

Former Member
0 Kudos
Former Member
0 Kudos

Hello mrutyun,

just a little hint: You refer to the Web Dynpro ABAP documentation, the Java documentation on these UI elements can be found here:

Gantt:

http://help.sap.com/saphelp_nw2004s/helpdata/en/42/c8e974d9cc6bb6e10000000a1553f6/frameset.htm

Network:

http://help.sap.com/saphelp_nw2004s/helpdata/en/42/c9eced0a4f6bade10000000a1553f6/frameset.htm

Kind Regards

Stefanie

matthias_fiebig
Explorer
0 Kudos

Hello,

if I use the example GanttSample.xml a exception appears from JNet 1.0 Build 6158.

java.lang.ArrayIndexOutOfBoundsException

at java.lang.System.arraycopy(Native Method)

at com.sap.jnet.types.JNetTypeColor.clone(JNetTypeColor.java:249)

at com.sap.jnet.types.JNetType.cloneType(JNetType.java:1035)

at com.sap.jnet.types.JNetType.getTypeFromDOMElement(JNetType.java:1495)

at com.sap.jnet.types.JNetType.getTypeFromDOMElement(JNetType.java:1515)

at com.sap.jnet.types.JNetType.getChildType(JNetType.java:1558)

at com.sap.jnet.types.JNetTypeComponent.fromDOMElement(JNetTypeComponent.java:83)

at com.sap.jnet.types.JNetTypeCurve.fromDOMElement(JNetTypeCurve.java:227)

at com.sap.jnet.types.JNetTypeShape.fromDOMElement(JNetTypeShape.java:38)

at com.sap.jnet.types.JNetType.classFromDOMElement(JNetType.java:1246)

at com.sap.jnet.types.JNetType.classFromDOMElement(JNetType.java:1221)

at com.sap.jnet.types.JNetTypeRepository.fromDOMElement(JNetTypeRepository.java:95)

at com.sap.jnet.types.JNetTypeRepository.loadFromDOMElement(JNetTypeRepository.java:129)

at com.sap.jnet.JNetData.createGraphFromDOM(JNetData.java:467)

at com.sap.jnet.JNetData.load(JNetData.java:764)

at com.sap.jnet.JNetData.load(JNetData.java:790)

at com.sap.jnet.clib.JNcAppWindow.processCommand(JNcAppWindow.java:2158)

at com.sap.jnet.JNetApplet.processCommand(JNetApplet.java:997)

at com.sap.jnet.JNetApplet.processCommandAWT(JNetApplet.java:823)

at com.sap.tc.webdynpro.network.MSDelegateWrapper.setDataSource(MSDelegateWrapper.java:182)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sap.tc.webdynpro.ace.Acf2Delegate.invoke(Acf2Delegate.java:275)

at com.sap.tc.webdynpro.ace.Acf2Delegate.invokeSetter(Acf2Delegate.java:394)

at com.sap.tc.webdynpro.ace.Acf2Delegate.invokeRuntimeList(Acf2Delegate.java:454)

at com.sap.tc.webdynpro.ace.Acf2Delegate$1.run(Acf2Delegate.java:669)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Do you have any hints?

Thanks

Matthias

Former Member
0 Kudos

Hi Matthias,

we know that these links are broken and are working on it, sorry for that.

There is a thread regarding the binding of the xml source, see here:

(It's about the Network UI element, but it works the same way).

I've attached an example xml, it works, but it's not a very pretty one (-;

Hope it will help,

Kind Regards

Stefanie

matthias_fiebig
Explorer
0 Kudos

Hello,

thanks. But I know this documentation, nothing facts about the dataformat. Only an non working link to an example

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.wcm.compound.docs/library/uuid/a2...

This documentation is exactly my problem.

Matthias

former_member182372
Active Contributor
0 Kudos