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.

Similar Messages

  • Struts-config.xml flow diagram

    Hey everyone... I'm looking for a tool that will take a struts config file and generate a flow diagram. It does not need to be complex, just a simple overview would be great. If anybody knows of a tool that will do something of this sort, please let me know.. Thanks...
    -Joe

    Struts Console(http://www.jamesholmes.com/struts/) will be helpful for that.

  • 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

  • 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!

  • 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.

  • 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

  • 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.

  • 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

  • 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?

  • 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

  • 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

  • Struts/servlet page flow problem due to j2ee security

    Whe I type url such as http://localhost:7777/myapp/action.do, I want to see the execution result page from this action. However the result page will always be index.jsp because j2ee security which I have a loginaction.do and its result page is index.jsp. How can I have overcome this problem.
    Thanks,

    To give more details about the problem I have, user likes to put a URL in the browser, then press enter. User likes to see the running results. However, user is not able to see the results because j2ee security requires user log in. After sucessful login, user is going to see the index page. My question is how user be able to view his result page after login.
    cheers.

  • Exception when trying to use page flow diagrammer

    I can no longer use the struts-config page flow diagrammer (jdeveloper 9.0.5.2). In the jdeveloper console the following error is displayed when i try to open the diagrammer:
    java.lang.NoSuchMethodError: org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.registerCustomCSSValueManager(Lorg/apache/batik/css/engine/value/ValueManag
    er;)V
    at org.apache.batik.extension.svg.BatikDomExtension.registerTags(Unknown
    Source)
    at org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.<init>(Unknow
    n Source)
    at org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.<clinit>(Unkn
    own Source)
    at org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(Unknown Source)
    at org.apache.batik.bridge.DocumentLoader.<init>(Unknown Source)
    at oracle.bm.data.resolve.ImageHelper.resolveElementReference(ImageHelpe
    r.java:286)
    Any ideas how to solve this?
    Thanks,
    Andrej

    It has actually gotten worse: jdeveloper doesn't even start anymore.
    I've removed all workspaces from jdeveloper, restarted, created a new workspace and project. I added a struts-config file. I could open it, but when i tried to drop a data-page component on it, an error message was displayed. Then i removed the workspace and restarted jdeveloper. BUt it doesn't want to restart anymore. The console shows the following message:
    Jalopy Java Source Code Formatter 1.0b10 JDeveloper Extension 1.1.4
    Copyright (c) 2001-2003 Marco Hunsicker. All rights reserved.
    java.lang.NoSuchMethodError: org.apache.batik.dom.svg.ExtensibleSVGDOMImplementa
    tion.registerCustomCSSValueManager(Lorg/apache/batik/css/engine/value/ValueManag
    er;)V
    at org.apache.batik.extension.svg.BatikDomExtension.registerTags(Unknown
    Source)
    at org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.<init>(Unknow
    n Source)
    at org.apache.batik.dom.svg.ExtensibleSVGDOMImplementation.<clinit>(Unkn
    own Source)
    at org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(Unknown Source)
    at org.apache.batik.bridge.DocumentLoader.<init>(Unknown Source)
    at oracle.bm.data.resolve.ImageHelper.resolveElementReference(ImageHelpe
    r.java:286)
    at oracle.bm.data.ResolveController.resolveElementReference(ResolveContr
    oller.java:114)
    at oracle.bm.data.ElementReference.getElementReferenced(ElementReference
    .java:97)
    at oracle.bm.diagrammer.shape.ImageShape.notifyChange(ImageShape.java:29
    5)
    at oracle.bm.diagrammer.shape.BaseDiagramShape.notifyChange(BaseDiagramS
    Any tips how to bring jdeveloper back to life, or do i have to reinstall it?
    Thanks,
    Andrej

  • JDeveloper 10g and Struts Page Flow

    Hello,
    First of all, I'd like to congratulate JDev Team for providing us with this amazing new tool.
    I am evaluating JDeveloper 10g and its Struts/Tiles integration, since we are now selecting the IDE to be used by our company in its projects.
    I noted the following: In Struts Page Flow, the component pallete does not have a component do represent a Tiles definition.
    I'd like to know if there are plans to include such a component, considering that this is crucial to our projects.
    If not, could you please provide us with directions to do so ?
    I am looking forward to your reply.
    Thanks a lot !
    Juarez Junior
    SCPJ2/SCWCD/SCBCD
    Unisys Global Outsourcing

    Juarez,
    You are quite correct that the visual Struts modeling does not support tiles yet. Rest assured that it's on the list of features we're working on.
    What that means is that you're not going to visualise the links / submits from the tiles themselves.
    However, the tiles taglib is available in the visual JSP editor so you should have no problem creating tiles content.
    Likewise you can create the relevant plug-in entries for tiles by right clicking on the Struts Config node in the Structure Pane (when the struts-config or the diagram is selected) and from the new menu you'll see plug-in.
    The final option is of course to edit the XML directy should you want to.

  • 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!

Maybe you are looking for