Struts Page Flow Editor Unusably Slow

I find the Struts page flow editor unusably slow.
Opening a diagram takes ~ 30 s
Dropping something from the component palette takes 10s
Just selecting something takes 1-2 seconds.
Moving objects on the diagram takes so long it looks as if nothing is happening so you end up trying to move things twice.
All the diagrammers are slow, but this one is appalling.
My hardware is Pentium M 1.7Ghz 1GB RAM.
I have plenty of RAM free

Not many.
Here is the struts config
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
     <form-beans>
          <form-bean name="loginForm" type="com.ardeo.emdt.struts.LoginForm"/>
          <form-bean name="patientSearchForm" type="com.ardeo.emdt.struts.PatientSearchForm"/>
          <form-bean name="editPatientDetailsForm" type="com.ardeo.emdt.struts.EditPatientDetailsForm"/>
          <form-bean name="consultationNoteForm" type="com.ardeo.emdt.struts.ConsultationNoteForm"/>
          <form-bean name="userForm" type="com.ardeo.emdt.struts.UserForm"/>
          <form-bean name="editListForm" type="com.ardeo.emdt.struts.ListForm"/>
          <form-bean name="roleForm" type="com.ardeo.emdt.struts.RoleForm"/>
          <form-bean name="noteRolesForm" type="com.ardeo.emdt.struts.NoteRolesForm"/>
     </form-beans>
     <global-exceptions>
          <exception key="persistence.exception" type="com.ardeo.persistence.PersistenceException" handler="com.ardeo.emdt.struts.PersistenceExceptionHandler"/>
     </global-exceptions>
     <global-forwards>
          <forward name="persistenceError" path="/persistenceError.jsp"/>
          <forward name="loginPage" path="/login.jsp"/>
     </global-forwards>
     <action-mappings>
          <action path="/login" type="com.ardeo.emdt.struts.LoginAction" name="loginForm" scope="request" input="/login.jsp">
               <forward name="success" path="/patientSearch.jsp"/>
          </action>
          <action path="/patientSearch" type="com.ardeo.emdt.struts.PatientSearchAction" name="patientSearchForm" scope="request" input="/patientSearch.jsp">
               <forward name="singleResult" path="/patientDetails.jsp"/>
               <forward name="multiResult" path="/patientSearch.jsp"/>
          </action>
          <action path="/editPatientDetails" type="com.ardeo.emdt.struts.EditPatientDetailsAction" name="editPatientDetailsForm" scope="request" input="/patientDetails.jsp">
               <forward name="success" path="/patientDetails.jsp"/>
          </action>
          <action path="/logout" type="com.ardeo.emdt.struts.LogoutAction" scope="request"/>
          <action path="/editNoteRoles" type="com.ardeo.emdt.struts.EditNoteRolesAction" name="noteRolesForm" scope="request" input="/editRoles.jsp"/>
          <action path="/editUser" type="com.ardeo.emdt.struts.EditUserAction" name="userForm" scope="request" input="/editUsers.jsp"/>
          <action path="/createUser" type="com.ardeo.emdt.struts.CreateUserAction" name="userForm" scope="request" input="/createUsers.jsp"/>
          <action path="/createRole" type="com.ardeo.emdt.struts.CreateRoleAction" name="roleForm" scope="request" input="/createRoles.jsp"/>
          <action path="/updateList" type="com.ardeo.emdt.struts.EditListAction" name="editListForm" scope="request" input="/editList.jsp"/>
          <action path="/createConsultationNote" type="com.ardeo.emdt.struts.CreateConsultationNoteAction" scope="request" input="/consultationNote.jsp"/>
          <action path="/getConsultationNote" type="com.ardeo.emdt.struts.GetConsultationNoteAction" scope="request" input="/consultationNote.jsp">
               <forward name="failed" path="/patientDetails.jsp"/>
          </action>
          <action path="/deleteConsultationNote" type="com.ardeo.emdt.struts.DeleteConsultationNoteAction" scope="request" input="/getPatientHistory.do">
               <forward name="failed" path="/getPatientHistory.do"/>
          </action>
          <action path="/getPatientHistory" type="com.ardeo.emdt.struts.GetPatientHistoryAction" scope="request" input="/patientHistory.jsp"/>
          <action path="/getPatientSummary" type="com.ardeo.emdt.struts.GetPatientSummaryAction" scope="request" input="/patientSummary.jsp">
               <forward name="singleForm" path="/patientSummary.jsp"/>
               <forward name="duplicateForms" path="/selectSummaryForms.do"/>
          </action>
          <action path="/viewChangelog" type="com.ardeo.emdt.struts.GetChangelogAction" scope="request" input="/changelog.jsp"/>
          <action path="/updateForm" type="com.ardeo.emdt.struts.ConsultationNoteAction" name="consultationNoteForm" scope="request" input="/consultationNote.jsp">
               <forward name="save" path="/patientDetails.jsp"/>
               <forward name="cancel" path="/patientDetails.jsp"/>
          </action>
          <action path="/selectSummaryForms" type="com.ardeo.emdt.struts.SelectSummaryFormsAction"/>
     </action-mappings>
     <message-resources parameter="application"/>
</struts-config>

Similar Messages

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

  • Drag and drop STILL sketchy in Struts Page Flow

    Struts Page Flow has been a major problem area in JDev since it was introduced, and I am still having some useability issues with it.
    I CANNOT drag an application module method out, onto a data action; if the data action isn't one of the newest actions on the page. If the action has more than one target, (multiple "forwards") or just isn't one of the "newest" actions on the page, the GUI shows me dragging a the method from an app mod out onto the action, but no work is done once I drop it. I must delete the data action, and re-create it. This, in the mean time, will overwrite any data action class I had defined originally.
    This needs to be fixed very soon, as it has been in every build of 10g that I have dealt with.

    Ok. To reproduce the bad drag and drop behavior:
    Create a Misc Data page, name it "Home"
    Drag a data page out, name it "A", and put stuff on it. (Doesn't need to be complex).
    Drag an action out, name it "B".
    Drag another action out, name it "C"
    Connect a forward from "A" to "B", connect a forward from "B" to "C". Connect a forward from "C" to "Home".
    Connect a "fail" forward back, from "B" to "A".
    Try to drag a method off of an applicaiton module to Action "B". It should not work.

  • JDev 10.1.3 Errors BME-01605 and BME-99033 in Struts Page Flow

    Hi All,
    I get the following error when I choose the Data Page icon in Struts Page Flow and try to drag into the diagram. Any ideas???
    Thanks!!!
    java.lang.NullPointerException     at oracle.bm.diagrammer.registry.RBaseShape.setDefaultCore(RBaseShape.java:539)     
    at oracle.bm.diagrammer.shape.BaseDiagramShape.initProperties(BaseDiagramShape.java:450)     
    at oracle.bm.diagrammer.shape.BaseDiagramShape.initShape(BaseDiagramShape.java:322)     
    at oracle.bm.diagrammer.shape.BaseDiagramNode.initShape(BaseDiagramNode.java:291)     
    at oracle.adfdt.controller.struts.diagram.shape.StrutsActionNode.initShape(StrutsActionNode.java:68)     
    at oracle.bm.diagrammer.BaseDiagram.addShape(BaseDiagram.java:6913)
    at oracle.adfdt.controller.diagram.PageFlowDiagram.addShape(PageFlowDiagram.java:197)     
    at oracle.bm.diagrammer.BaseDiagram.addShape(BaseDiagram.java:6838)
    at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.doCreateNode(CreateRegisteredShapeTracker.java:715)     
    at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker$6.performAction(CreateRegisteredShapeTracker.java:297)
    at oracle.bm.diagrammer.LockMonitor.performLockedAction(LockMonitor.java:64)     
    at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(BaseDiagram.java:2429)     
    at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.processEvent(CreateRegisteredShapeTracker.java:279)     
    at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:403)
    at oracle.bm.diagrammer.track.TrackerStack.pop(TrackerStack.java:198)
    at oracle.bm.diagrammer.track.RectangularTracker.mouseReleased(RectangularTracker.java:441)
    at oracle.bm.diagrammer.track.ModularTracker.processEvent(ModularTracker.java:196)
    at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:389)
    at oracle.bm.diagrammer.BaseDiagramView$53.processEvent(BaseDiagramView.java:719)
    at oracle.bm.diagrammer.PageView$PageViewPanel.fireEvent(PageView.java:2904)
    at oracle.bm.diagrammer.PageView$PageViewPanel.processEvent(PageView.java:3097)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Never mind!!! I restarted Jdeveloper and now works!!!
    Sorry

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

  • 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

  • Forwards that are deleted by Struts Page Flow

    I'm using JDev 9.0.5 preview and I'm having some problems with Struts page flow.
    I create a �forward link� from a �Data Action� to a �Page forward�, then I edit this �forward link� to send a parameter to the Page Forward. To do that, I change the �path� of the forward link from �/menu.do� to �/menu.do?include=/UT1.do�.
    Then if I run this project, everything work fine and I�m able use the parameter, but if I close Struts page Flow, when I will reopen it, the �Forward link� will be erased (not just the parameter I added, the �Forward link�).
    I do this because I don�t want to include a header and a footer in all my pages, I want to do it the order way around : I want to the same page (which will contains a header, a body and a footer) to have the page that it receives in parameter as a body. For example, if this call is made : www.xxxxx.com/menu.do?include=/UT1.do, the page �menu.do� will include the page /UT1.do.
    Does anyone know how I could prevent JDev from deleting my forward links or does anyone know an easier way to pass parameter between a �Data Action� and a �Page forward�.
    Thanks
    J�r�me Roberge

    I had the same problem when I used a parameter named "event". I changed the name of the parameter to pmode and this seems to have fixed the problem. I am not 100% sure yet. The parameter names "event" and "include" may conflict with some automatic features of JDeveloper.
    Another thing that happened while I was using "event" was that my web.xml was overwritten with a very basic/generic web.xml file - as if JDeveloper thought that it was creating a new project.

  • Edit  Struts Page Flow : locking JDev 10g

    I tried to use the "Edit Struts Page Flow" option for an existing project in JDev 10g.
    The "struts-config.xml" is not in web-inf directory (it�s in a directory together with others xml files. In build time it�s placed in the right place in the war file).
    If I create a new "struts-config.xml" it works fine.
    Thanks in advance.

    Just thought I'd provide the following to supplement my previous posting.
    Left click on struts-config.xml in the navigator pane. After 5 minutes or so the following stack trace appears in the console window:
    java.lang.NullPointerException
    at ndOrCreateConfigurationNodeInProject(JUDTNodeObjectFactory.java
    :176)
    at
    oracle.adf.dt.objects.JUDTNodeObjectFactory.findConfigurationNodeInProject(JUDTNodeObjectFactory.java:150)
    at
    oracle.adf.dt.providers.XcfgDataControlProvider.addControlsToArrayList(XcfgDataControlProvider.java:45)
    at oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.java:110)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:50)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
    at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:98)
    at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    If I then right click on struts-config.xml in the navigator pane and select edit struts page flow, a few minutes
    later the following stack trace appears in the console window:
    java.lang.NullPointerException
    at
    oracle.adf.dt.objects.JUDTNodeObjectFactory.findOrCreateConfigurationNodeInProject(JUDTNodeObjectFactory.java
    :176)
    at
    oracle.adf.dt.objects.JUDTNodeObjectFactory.findConfigurationNodeInProject(JUDTNodeObjectFactory.java:150)
    at
    oracle.adf.dt.providers.XcfgDataControlProvider.addControlsToArrayList(XcfgDataControlProvider.java:45)
    at oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.java:110)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:50)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
    at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:98)
    at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog.show(Dialog.java:538)
    at java.awt.Component.show(Component.java:1134)
    at java.awt.Component.setVisible(Component.java:1089)
    at oracle.bm.util.alert.ErrorDialog.runDialog(ErrorDialog.java:148)
    at oracle.bm.util.alert.CWException.showAlertImpl(CWException.java:310)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:224)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:210)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:197)
    at oracle.bm.commonIde.util.ValidationDisplay.showException(ValidationDisplay.java:31)
    at oracle.adfimpl.struts.registry.RPageNode.createNode(RPageNode.java:243)
    at oracle.adfimpl.struts.Diagram.synchAdds(Diagram.java:413)
    at oracle.adfimpl.struts.Diagram.refreshDiagram(Diagram.java:257)
    at oracle.adfimpl.common.PageFlowDiagramView.onInitialUpdate(PageFlowDiagramView.java:108)
    at oracle.bm.diagrammer.PageView.validate(PageView.java:778)
    at oracle.bm.diagrammer.PageView.setBounds(PageView.java:808)
    at java.awt.CardLayout.layoutContainer(CardLayout.java:364)
    at java.awt.Container.layout(Container.java:1017)
    at java.awt.Container.doLayout(Container.java:1007)
    at java.awt.Container.validateTree(Container.java:1089)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validate(Container.java:1064)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:116)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog.show(Dialog.java:538)
    at java.awt.Component.show(Component.java:1134)
    at java.awt.Component.setVisible(Component.java:1089)
    at oracle.bm.util.alert.ErrorDialog.runDialog(ErrorDialog.java:148)
    at oracle.bm.util.alert.CWException.showAlertImpl(CWException.java:310)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:224)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:210)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:197)
    at oracle.bm.commonIde.util.ValidationDisplay.showException(ValidationDisplay.java:31)
    at oracle.adfimpl.struts.registry.RPageNode.createNode(RPageNode.java:243)
    at oracle.adfimpl.struts.Diagram.synchAdds(Diagram.java:413)
    at oracle.adfimpl.struts.Diagram.refreshDiagram(Diagram.java:257)
    at oracle.adfimpl.common.PageFlowDiagramView.onInitialUpdate(PageFlowDiagramView.java:108)
    at oracle.bm.diagrammer.PageView.validate(PageView.java:778)
    at oracle.bm.diagrammer.PageView.setBounds(PageView.java:808)
    at java.awt.CardLayout.layoutContainer(CardLayout.java:364)
    at java.awt.Container.layout(Container.java:1017)
    at java.awt.Container.doLayout(Container.java:1007)
    at java.awt.Container.validateTree(Container.java:1089)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validate(Container.java:1064)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:116)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog.show(Dialog.java:538)
    at java.awt.Component.show(Component.java:1134)
    at java.awt.Component.setVisible(Component.java:1089)
    at oracle.bm.util.alert.ErrorDialog.runDialog(ErrorDialog.java:148)
    at oracle.bm.util.alert.CWException.showAlertImpl(CWException.java:310)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:224)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:210)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:197)
    at oracle.bm.commonIde.util.ValidationDisplay.showException(ValidationDisplay.java:31)
    at oracle.adfimpl.struts.registry.RPageNode.createNode(RPageNode.java:243)
    at oracle.adfimpl.struts.Diagram.synchAdds(Diagram.java:413)
    at oracle.adfimpl.struts.Diagram.refreshDiagram(Diagram.java:257)
    at oracle.adfimpl.common.PageFlowDiagramView.onInitialUpdate(PageFlowDiagramView.java:108)
    at oracle.bm.diagrammer.PageView.validate(PageView.java:778)
    at oracle.bm.diagrammer.PageView.setBounds(PageView.java:808)
    at java.awt.CardLayout.layoutContainer(CardLayout.java:364)
    at java.awt.Container.layout(Container.java:1017)
    at java.awt.Container.doLayout(Container.java:1007)
    at java.awt.Container.validateTree(Container.java:1089)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validate(Container.java:1064)
    at oracle.ideimpl.flateditor.FlatEditorManager.createEditor(FlatEditorManager.java:1203)
    at oracle.ideimpl.flateditor.FlatEditorManager.createEditorInFrame(FlatEditorManager.java:1147)
    at oracle.ideimpl.flateditor.FlatEditorManager.openEditorInFrame(FlatEditorManager.java:1078)
    at oracle.ideimpl.flateditor.FlatEditorManager.openDefaultEditorInFrame(FlatEditorManager.java:1053)
    at oracle.adfimpl.struts.StrutsProjectConfigurer.addStrutsDiagram(StrutsProjectConfigurer.java:356)
    at oracle.adfimpl.struts.navigator.StrutsMenuListener.showDiagram(StrutsMenuListener.java:220)
    at oracle.adfimpl.struts.navigator.StrutsMenuListener.handleEvent(StrutsMenuListener.java:92)
    at oracle.ide.IdeAction.performAction(IdeAction.java:812)
    at oracle.ide.IdeAction$1.run(IdeAction.java:781)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    As I'm then left looking at a grey screen and a blank dialogue, my only option at this point is to use Windows' Task manager to terminate JDeveloper.
    HTH,
    Justin.

  • 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 Page Flow Linking - Multiple Projects

    Hello all,
    I've 2 projects(Project1,Project2) in my workspace(Appliaction1). Each project having it's own struts Pagwe Flow. Each project space represents a particular module of an Appliaction. I would like to know the way to link the struts page flow of all these applications. Say, Project1 is my primary Project space. I want all the remaining page flows to be linked to it. Thanks in Advance.
    Regards,
    Arun.v

    Thanks for the reply... I'm using JDeveloper 10.1.2. Is it the Same for it too. Or do I've to different to achieve Struts page flow linking between page flow belonging to different projects.
    Regards,
    Arun.V

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

  • 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

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

  • Is there a way to RECREATE the Page Flow Overview in BEA Workshop 4WL?

    BEA Workshop foe weblogic makes JSP development a lot simpler, and the auto generated Page Flow Overview is a nice feature - as long as your page flows are relatively small and simple. It doesn't take much to completlly confuse the tool though and you end up with a workflow with all sorts of flow lines cris-crossing each other - often I which I could just reach in and move a single jsp or action item and the whole mess would straighten out.
    Is there a way to reposition individual elements of the Page Flow Overview or failing that to have it Recreate itself (in hopes that it will straighten out the mess itself).
    Also is there a way to manually edit the flow - adding notes and/or objects and flow lines?

    There is no explicit "refresh" button for the Page Flow Overview (PFO), however clicking the "Show Link Labels" button on the toolbar will cause the graph to be redrawn.
    That said, in my experience replotting the graph nearly always arrives at the same layout. While the layout algorithm does a pretty good job with large graphs generally, some very highly connected graphs can be pretty tough to read right off the bat.
    For various reasons we've moved away from having users manually tweak the layout to deal with this situation. However, we added some highlighting functionality to help make graphs easier to read even if the layout appears tangled.
    If you click the Graph Tracing button on the PFO toolbar you can select a given node and see all directly connected nodes highlighted. If some of the directly connected nodes are far away on the canvas, park the PFO next to the Page Flow Editor view and you'll be able to see a more regular arrangement of the same nodes.
    When you're more interested in following a specific path than seeing the whole immediate neighborhood, you can hit the slash key repeatedly to cycle through highlighting all the links connected to the selected node.
    Finally, you can ctrl-click to multi-select links of interest if you want to trace a given path all the way through the flow. If you were doing this for documentation purposes you can print the graph in this state, or click the Export to Image button, to make a copy of the highlighted path.
    WRT your other question about editing the flow - the Page Flow Editor is intended to complement the PFO as a means of efficiently editing the flow. Select a node in the PFO and you be able to add/modify connections to that node viat the Page Flow Editor.
    There is no provision to add notes or other objects to the flow (though the exported image files can of course be annotated in a graphics editor for documentation purposes).
    I hope that helps.

  • 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

Maybe you are looking for