Skip to Content
avatar image
Former Member

Displaying Graphs in WebDynpro Java

Hello everyone,

I have an application where I am using WebDynpro Java as an interface. In my application, I have a type heirarchy (XML File) and depending on the the type heirarchy I have to give two input Graphs (graph1 and graph2) to the system. Later, on uploading these three files, we have two Actions (Maximal Join and Projection). Maximal Join is nothing but, generalising the two input graphs and gives an output graph (graph3). For this application I have got Java Classes in an external JAR file. On using those external Java classes and methods I should write the logic in the WebDynpro implementation part.

So far I have successfully finished upto the design part by importing the external JAR file and also managed to upload the three files (XML file, Graph1 and Graph2) in to the context. Now in the implementation tab of the main View, in the onActionMaximalJoin method I have used the external Java classes of the JAR file and written the logic for the execution of the events. But I am not sure how to catch the output Graph and Display it in webdynpro.

Can anyone help me out with this. I would be very very thankful for you.

Thanks a lot,

Phani.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Apr 04, 2008 at 09:10 AM

    Hi Phani,

    If you want to use external jars to display graphs then you should embed that into HTML or JSP and you can display in the IFRAME UI component of WebDynpro.

    But WebDynpro it self supports graphics, you can refer the attached [link|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50c7a90f-21a3-2910-87b5-e1f0e39462ae] for reference. In this case you need not to refer external jars.

    Regards

    Abhilash

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Phani,

      I have not worked with conceptual graphs earlier, but as you mentioned earlier you are using external jars to display these graphs. So my expectation is these graphs will be rendered HTML, please correct me if I am wrong. If so you can create Web project and write logic to create graphs. Finally you want to display these graphs in WebDynpro you can give the JSP url in IFRAME UI component of WebDynpro.

      Regards

      Abhilash