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.

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.

  • 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

  • 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

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

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

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

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

  • 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

  • Workshop CRASHED while editing a page flow

    Workshop Gurus -
    Any clues on this bug. I get this error while editing pageflow. It just started
    happening this morning.
    I must say, WLW crashes gracefully. It allows me to report this message directly
    to BEA, and then allows me to save my files. However, I do need a resolution to
    this problem, hopefully soon.
    java.lang.NullPointerException
         at workshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:120)
         at workshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEventAdapter.java:492)
         at workshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.java:177)
         at workshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdapter.java:123)
         at com.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.java:253)
         at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:243)
         at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:219)
         at com.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument.java:482)
         at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDocument.java:523)
         at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDocument.java:610)
         at workshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProject.java:1448)
         at workshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(CompilerSvcImpl.java:161)
         at workshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:1498)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Thanks
    Kunal Mittal

    Raj -
    Yes I am using SP2. I have had Workshop crash SEVERAL times when working with
    page flows. Some sort of null pointer exception. The only good thing is that workshop
    crashes gracefully, so I didn't lose any work that I was doing.
    Thanks.
    Kunal
    "Raj Alagumalai" <[email protected]> wrote:
    Kunal,
    Can you try using SP2 ?
    Thanks,
    Raj Alagumalai
    Backline Workshop Support
    "Kunal Mittal" <[email protected]> wrote in message
    news:[email protected]...
    Workshop Gurus -
    Any clues on this bug. I get this error while editing pageflow. Itjust
    started
    happening this morning.
    I must say, WLW crashes gracefully. It allows me to report this messagedirectly
    to BEA, and then allows me to save my files. However, I do need aresolution to
    this problem, hopefully soon.
    java.lang.NullPointerException
    atworkshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:12
    0)
    atworkshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEve
    ntAdapter.java:492)
    atworkshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.ja
    va:177)
    atworkshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdap
    ter.java:123)
    atcom.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.
    java:253)
    atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
    ort.java:243)
    atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
    ort.java:219)
    atcom.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument
    .java:482)
    atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDo
    cument.java:523)
    atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDo
    cument.java:610)
    atworkshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProje
    ct.java:1448)
    atworkshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(Compi
    lerSvcImpl.java:161)
    atworkshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:14
    98)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
    atjava.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:197)
    atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Thanks
    Kunal Mittal

  • 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

  • Validate a ViewRowImpl in Jdev 10g

    I'm using Jdev 10g with Business components and the struts page flow, and i would like to know if it's possible to put validation in the validate() method of a row view?
    I know that this method exist, but it seems that no call is made to it. The strange thing is that in my struts controller, all my actions have the "Validate" box checked.
    I know that the method ValidateEntity exists in every EO, but this method is only call on commit, so it doesn't help me.
    Thanks
    J�r�me

    But, if i want to validate inputs right after the submit (i don't want to wait the commit), is there anything i can do?
    Also, i still don't understand why no call are made to the method validate() of the view row. I overload this method like this, and this code is never executed:
    public void validate()
    System.out.println("validate view row");
    super.validate();
    }

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

Maybe you are looking for

  • Slow loading of IR's in Space Designer

    When i load an Impulse response in space designer, it takes at least 20-30 seconds with a frozen Logic, before it loads. I suppose Space Designer is looking for IR's but i don't know why. Anybody experienced the same?

  • Just need more information about this product and who is it avaliable to?

    Hi Everyone, Thanks for reading my post, when I heard about Firefox releasing a Mobile OS for Android I was filled with joy, I know a lot of work is needed to get it user friendly and bug free but its great to hear this. I am curious on a few things

  • 8.2.1 error message "iTunes + Quicktime" has an invalid signature.

    I am getting this error message when I am trying to download & install the 8.2.1 update. The entire message states "iTunes + Quicktime" has an invalid signature, it will not be installed. I saw another post started by Cfrolich, but it doesn't look li

  • Ivr interaction with database

    How IVR interact with database. Any idea? I mean to say mechanism it follows to populate data using IVR system for inbound and outbound calls.

  • Clicking a button should focus on the h:outputText

    Hi, On clicking a commandButton ...Iam validating the page whether a Check box is selected or not. If not selected ..I display <h:outputText>. But my page is too long ..and it may confuse the user if he is taken to the top of the page on clicking the