ApexLib: Get a Page Flow Diagram of your application!

Yesterday I came across Graphviz and remembered that a college had already used it to generate some ERDs/Class diagrams. After taking a closer look, I thought to give it a try and use it to generate a page flow diagram for an APEX application as you can also see it for JSF in JDeveloper.
It's part of the ApexLib Framework and it's FREE! ;-)
Get the details at http://inside-apex.blogspot.com/2007/01/apexlib-get-page-flow-diagram-of-your.html
A diagram sometimes says more than 1000 words... - Simple translation from german :-)
Have fun
Patrick
Check out my APEX-blog: http://inside-apex.blogspto.com

Hi Carl,
in the ApexLib_Generate_PageFlowDiagram.sql script you have the possibility to change the call to the Graphviz tool. According to there documentation the dot tool has several supported output format.
eg. '$dot -Tpng -o%filename.png -Tsvg -o%filename.svg %filename.dot'would produce a PNG and a SVG file. There is no option for PDF, but in there FAQs (http://www.graphviz.org/doc/FAQ.html) they have the following workaround. They first create a Postscript output and then use a Postscript2PDF converter to get the PDF output. On LINUX it would probably look like
'$dot -Tps -o%filename.ps | epsf2pdf -o %filename.pdf'On Windows you have to get a PDF converter and the hole call in the script would look like
BEGIN
    ApexLib_PageFlowDiagram.generateCommands
      ( pGraphvizCommand      => '$dot -Tps -o%filename.ps %filename.dot'||CHR(10)||
                                 '$pdfconverter %filename.ps %filename.pdf'
      , pSkipSelfReference    => TRUE
      , pSkipDynamicReference => TRUE
      , pSkipSharedComponents => TRUE
END;Hope this helps
Patrick
Check out my APEX-blog: http://inside-apex.blogspot.com

Similar Messages

  • How to generate page flow diagram without ApexLib?

    Hi,
    I would like to generate a page flow diagram. ApexLib does this wonderfully, but on my Oracle server environment I would prefer to stick to standard APEX and would like to avoid any none-standard Oracle packages or tools.
    Is there any other way to do this?
    Regards, Tamas

    I tried using useBean inside the Jsp for this.
    But following error comes:
    OracleJSP error: oracle.jsp.parse.JavaCodeException: Line # 13, oracle.jsp.parse.JspParseTagExpression@102e37e
    Error: Java code in jsp source files is not allowed in ojsp.next mode.
    Please explain why?
    How can set POST request params when calling to an external servlet?

  • Struts Page Flow Diagram

    I am using JDeveloper 10.1.2. When I drag and drop a component onto the Struts Page Flow diagram, nothing is placed on the diagram. I've checked the thumbnail and there are no components on it. I followed some instructions I found in a previous post (Re: Struts Page Flow Diagram ( In Reply To : Struts Page Flow Diagram ) Oct 13, 2004 11:48 AM
    Reply
    Weird -
    First of all just check the shape has not been created "off-screen" by using the Thumbnail view.
    If not can you do a refresh diagram from the context menu? (Diagram -> Refresh diagram from Struts config).
    If that does not work then exit Jdev, navigate to the ViewController project on disk and delete the /model/StrutsPageFlow.oxd_struts file.
    The when you next open the struts-config.xml the diagram will be re-generated.
    I've pasted in your config and a diagram was generated ok.) and still the drag and drop is not placing the component on the page flow diagram. One thing that I have noticed -- there is NO CODE in the source file for the struts-config.xml file. Any ideas on what I am doing wrong? Thanks!

    More info: I can place a page component on my page flow diagram but I cannot place any other components. They won't display. Placing the page component on the diagram does not put code into the source file. Also, I get the following compile error: Error(1,1):<Line 1, Column 1>:XML-20108:(Fatal Error) Start of root element expected.
    Thanks!

  • Java.lang.StackOverflowError on Go To Code in Page Flow Diagram

    If I select Go To Code in a Struts Page Flow Diagram with a Data Page, the cursor changes to a hourglass and back to a pointer and nothing else happens. The java window reports a java.lang.StackOverflowError.
    Normally, I would expect the create class wizard that helped me to subclass oracle.adf.controller.struts.actions.DataActionMapping, which was the case a few days ago.
    Any idea what could be wrong ?

    I found the reason myself: If the UIX project has a dependence to a BC4J project Project1 containing the AM Module and Project1 by itself has a dependency to a BC4J project Project2 containing the EO, this error shows up. Simply remove the dependency (Project Properties - Dependencies), and the Page Flow Modeler behaves as expected.
    Another detail: Doubleclicking on the Data Page instead of Context Menu - Go To Code opens a window showing BME-99009: An error has occured in the Java VM reporting the same short stack trace java.lang.StackoverflowError.

  • Struts-config.xml page flow diagram

    I am using JDeveloper 10.1.2.17.84 version. When I double click on the struts-config.xml file of my application it does not have a tab for the page flow diagram. What's wrong? How can I correct this?

    "Struts diagram support has to be enabled or disabled at the extension level, this means that when JDeveloper is running with the support disabled, all Struts configurations in the IDE will be shown without diagrams."
    Please refer to
    http://www.oracle.com/technology/products/jdev/tips/mills/struts_diagram.html

  • Complete information of struts page flow diagram in JDeveloper 10g

    thank you
    for giving me the previous information
    now i want to ask u the full information of the struts page flow diagram in jdeveloper 10g
    please send me the complete information through diagrams
    Regards
    Vikas Sheel Gupta

    Vikas,
    What previous information are you referring to?
    And what do you want to know exactly about the struts page flow diagram? Is it related to JHeadstart?
    kind regards,
    Sandra Muller
    JHeadstart Team,
    Oracle Consulting

  • Struts Page Flow Diagram Problem

    how can I prevent the struts page flow diagram from automatically modifying the associated source file? It seems whenever I click on the page flow diagram something automatically changes. This shouldn't be.

    btw, it on JDev 10.1.2 but I've also seen it on 10.1.3 when working with JSF and it's graphical faces-config file. I can say that this makes developers very nervous when the graphical file starts modifing the source unexpectedly.

  • Struts-config/Page Flow Diagram redraw

    Hi,
    The visual editor did a redraw of the Page Flow Diagram. How can i avoid this? All the forwards etc are messed up.
    Thanks
    Buks

    Right-mouse on the diagram surface and select "Properties..."
    one of the diagram properties controls whether or not to perform auto-layout.

  • Page Flow Diagram

    I need to create a diagram of an application and the page flows. I'll probably use visio. Has any one done anything similar? or does anyone have a script to query the flows schema and return each page with the branches from it. It would be a lot easier to document if I had a printed list of pages rather then flicking back to htmldb for each page and branch.
    While I'm here, is there a way to record the preferences I set regarding number of pages to list and the group selected to always filter unless I change it. It's most annoying to have to refilter and find the page I want each time. Even better would be if I could filter the list of pages based on a selected tab set.

    Use Visio Professional >> Database >> Database Model Diagramm
    goto menue: Database >> Reverse Engineer select your data source >>> select tables and off you go
    Visio does everything for you!
    sick planet

  • BUG: struts page flow diagram

    This is nice!
    A lot of work has been done in struts-config.xml, many data pages, data actions and forwards. Then I closed and opened the project. When I opened the diagram, forwards were messed-up. Hours of work are wasted (well functionality is still there..)
    Someone should go to jail for this.
    Frustrated developer.

    If you're using CVS from with JDeveloper then this may explain the problem. There is potential for the diagram to get out of step with the config even without explicit changes from yourself.
    As you may have gathered we manage the diagram through a separate file from the Struts-config.xml - this is so the Struts config stays "pure" and does not have Oracle specific metadata added to it.
    However, this does mean that the diagram and the Struts config need to be kept in step, and checked in and out together. The diagram in the 9.0.5 release will get marked as dirty quite often even if there has been no change to the CFG - this is why you see the difference between what JDev says and what CVS feels about the struts-config file.
    This is an issue that we know about and have fixed in the 10.1.3 release, so that:
    a) The diagram will not be marked as changed unless there has been a real change
    b) Checking out / Committing the Struts config through JDeveloper will manage both the config and the diagram automatically and correctly

  • Get blank page in Sun Java System Application Server Platform Edition 8

    I installed Sun Java� System Application Server Platform Edition 8 and got blank page in http://localhost:1100/ and http://localhost:1100/hello/.
    The port 1100 is my default port of HTTP port.
    My enviroment:
    Win2000 professional
    j2sdk1.4.2_05
    Tomcat 4.1 (use port : 8080, and it works fine after installing Sun Java� System Application Server Platform Edition 8 )
    Anybody can help me to solve this problem? I really want to learn J2EE by using this way.
    This is my server.log when invoking the URL http://localhost:1100/ or http://localhost:1100/hello/ .
    ===============================================================================
    |sun-appserver-pe8.0.0_01|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=12;|An exception or error occurred in the container during the request processing
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getLocalPort()I
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:138)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
         at java.lang.Thread.run(Thread.java:534)

    The way i solved it was the following :
    I removed all java related packages/applications/servers etc existing in my pc .
    my meaning of remove is complete uninstallation of any java application .
    then i installed back again j2sdk1.42_05 then i installed the sun application server .
    everything was succesful since then .
    If you have any java version installed in your pc , for example j2sdk1.4.2_05 and this
    package supports previous servers or other java applications and then you install
    sun application server , it doesn't work .
    It seems the previous java apps . don't "release" some java resources which are
    used or can be used by sun application server .
    I hope this can be useful to you .
    good luck .
    FGOM .

  • How do I redirect request to an external page flow?

    Hi,
    I´m really stucked here. I need to redirect and XML wich I get in page flow to an external page flow(in a different project(war) but in the same workshop application(ear)), I´ve tryied all kinds off things but it does not work correctly.
    I even tryied what is written in workshop docs:
    If the path begins with a protocol such as "http:" the page flow runtime will look outside of this web application for the resource, and it will automatically cause a redirect (rather than a server forward) to the resource. If the path begins with a forward slash, "/", the runtime will start at the web application's root directory to locate the resource. If the path omits the forward slash, "/", the reference is relative to the page flow's directory.
    so I did:
    @jpf:forward name="goToKnapp" path="http://localhost:7001/eaiKnapp/PageFlowName.jpf"
    and inside the method:
    return new Forward("goToKnapp");
    and it does´t work.
    Any help will be wellcome.

    Go to iPhoto and hit File and go to EXPORT. From there you can export your entire iPhoto Library to your external drive in any folder you want. Now if you've named the pictures in iPhoto and you select the check box for NAME and Keywords in the EXPORT menu the photos will be exported with the names given in iPhoto and any keywords you have added to the photo such as a description.. Hope this helps not sure if this is what your looking for.

  • Struts / Page Flow - forwards to home page in streaming mode

    I have a pretty complex page flow with several actions and several forwards. The
    page flow is using struts validation (using the xml file). It is also user the
    Portal User Controls.
    Everything works fine in .portal file. However, in streaming mode, from a jsp
    when I click on an netui:anchor, the action gets executed, but then it redirects
    to the home page, not to the page which has the portlet.

    More info: I can place a page component on my page flow diagram but I cannot place any other components. They won't display. Placing the page component on the diagram does not put code into the source file. Also, I get the following compile error: Error(1,1):<Line 1, Column 1>:XML-20108:(Fatal Error) Start of root element expected.
    Thanks!

  • Exporting using 'interactive pdf' - how can i get single pages to display?....

    Rather than it pdf'ing in spreads.  When I use the 'Print pdf' it is fine I can get single pages!  Thanks!

    Which application are you talking about? I'm guessing it's InDesign, but this is the forum for Adobe Acrobat. InDesign's export system doesn't use Acrobat at all, and it will *always* export spreads when you choose Interactive PDF, as that workflow was designed for use with 1-up layouts intended for screen display.
    There are some workarounds involving re-saving your file without facing pages, but until we get the dialog updated there's no hassle-free solution.

  • Multiple entry points into a Page Flow

    Is it possible to define multiple entry points into a PageFlow ? That is, can I forward to an arbitrary Action inside a PageFlow (other then the standard begin) ?
    If so, is there sample code illustrating this ?
    Thank you
    Cristian

    The flow view should show the action from the anchor.
    "Cristian" <[email protected]> wrote in message
    news:405892c9$[email protected]..
    >
    John,
    That answers my questions.
    One more thing though :
    When using an anchor to forward from a jsp to an action in a pageflow,
    the 'Flow View' does not show the corresponding link. Is that normal ?
    Thank you
    Cristian
    "John Rohrlich" <[email protected]> wrote:
    Cristian,
    Yes the samples implicitly go to begin because jumping into the middle
    of
    some flow can lead to code that is difficult to follow and to debug.
    If
    there are pieces of a page flow that are useful in multiple contexts
    you
    might want to make them independent page flows or nested page flows
    You can go from a jsp to an action in another page flow using an anchor
    and
    setting the href attribute, for example
    <netui:anchor
    href="/WebApp/anotherPageFlow/someAction.do">continue</netui:anchor>
    notice that you set href= rather than action= because you are going
    outside
    of the local page flow.
    If you want to go from an action in one page flow to an action in another
    page flow of the same application you can do this
    * @jpf:forward name="success" path="/anotherPageFlow/someAction.do"
    If you want to pass a form to the action you can do that also. You just
    follow the last example and add the form to the forward, for example
    return new Forward("success", someForm);
    I hope that covers it - john
    "Cristian" <[email protected]> wrote in message
    news:405787a2$[email protected]..
    I need to go from either an action or a jsp in one page flow to ajsp/action in another page flow, passing around a session scoped action
    form.
    What is the syntax for the forwarding path ?
    All the samples I found implicitly
    forward to the 'begin()' action in the destination jpf.
    How do I tell it to go to
    another action/jsp in the target jpf ?
    Thanks
    Cristian

Maybe you are looking for

  • IPhone won't show up in itunes but does show up in iphoto (?)

    So my iphone won't show up in itunes, but is recognized by iphoto. I did recently sync the music on the phone with another itunes on a windows pc because I was getting on a flight and wanted to hear the show that I had just seen and downloaded. Could

  • Downgrade Windows 8 ent to windows 8.1 pro

    (I asked this in the general windows forum but this may be a more appropriate place) I have perpetual developer licences for Windows 8 under a now discontinued msdn subscription. My main box has Windows 8 ent (MAK license). I also have (as part of th

  • DAQ Record and Playback

    I have a PCI-6534 DAQ card in a PC and I am trying to record and then playback some motor encoder signals. I used DAQAssistant to create the code and then I have tried to modularize it a bit. I'm guessing I broke something, but I am not sure what. My

  • System Number in License screen changed after system copy

    I have completed a Homogeneous system copy from GTP (Global Trade Production) to GTQ (Global Trade QAS).  After the copy the system number in the SLICENSE screen changed from the original number when I first created GTQ to the system number listed in

  • VPN error when using Microsoft digital certificates.

    Hi, I tried implementing site-site VPN between Cisco Router and Cisco ASA using Microsoft digital certificates. After performing the following configurations, I was not able to ping to other site LAN. I enabled debug and got following out put. I suce