facebook

Forward to root JSP problem in Flow View

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #204512 Reply

    tade
    Member

    – System Setup ——————————-
    Operating System and version: Windows XP
    Eclipse version: 2.1.2
    Eclipse build id:
    Fresh Eclipse install (y/n): YES
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
    MyEclipse version: 2.7.0
    Eclipse JDK version: j2sdk 1.4.2
    Application Server JDK version: jdk141_03
    Are there any exceptions in the Eclipse log file? NO

    – Message Body ——————————-

    I have 2 JSPs: index.jsp and changePassword.jsp
    I have 2 actions: showChangePassword.do and changePassword.do.
    I have a form: loginForm
    I have the following action mapping:<pre>
    <action-mappings >
    <action
    attribute=”loginForm”
    input=”/index.jsp”
    name=”loginForm”
    path=”/showChangePassword”
    type=”web.action.ShowChangePasswordAction”
    validate=”false”>
    <forward
    name=”success”
    path=”/changePassword.jsp” />
    </action>
    <action
    attribute=”loginForm”
    input=”/changePassword.jsp”
    name=”loginForm”
    path=”/changePassword”
    type=”web.action.ChangePasswordAction”
    validate=”false”>
    <forward name=”success” path=”/index.jsp” />
    </action>
    </action-mappings>

    </pre>

    The problem is that nothing appears in the Flow View except an icon for global forwards. If I change the forward path in changePassword.do from index.jsp to anything else then the diagram is displayed correctly.

    I have eclipse 2.1.2 with MyEclipse 2.7.0 and we tried it on an other computer too which has Eclipse 3.0M6 without other 3rd party plugins + MyEclipse 3.7RC2.

    Please someone help me with this!

    #204842 Reply

    Robert Varga
    Participant

    @tade wrote:

    – System Setup ——————————-
    I have 2 JSPs: index.jsp and changePassword.jsp
    I have 2 actions: showChangePassword.do and changePassword.do.
    I have a form: loginForm
    I have the following action mapping:<pre>
    <action-mappings >
    <action
    attribute=”loginForm”
    input=”/index.jsp”
    name=”loginForm”
    path=”/showChangePassword”
    type=”web.action.ShowChangePasswordAction”
    validate=”false”>
    <forward
    name=”success”
    path=”/changePassword.jsp” />
    </action>
    <action
    attribute=”loginForm”
    input=”/changePassword.jsp”
    name=”loginForm”
    path=”/changePassword”
    type=”web.action.ChangePasswordAction”
    validate=”false”>
    <forward name=”success” path=”/index.jsp” />
    </action>
    </action-mappings>

    </pre>

    The problem is that nothing appears in the Flow View except an icon for global forwards. If I change the forward path in changePassword.do from index.jsp to anything else then the diagram is displayed correctly.

    I have eclipse 2.1.2 with MyEclipse 2.7.0 and we tried it on an other computer too which has Eclipse 3.0M6 without other 3rd party plugins + MyEclipse 3.7RC2.

    Please someone help me with this!

    Hi Riyad/Scott/Michael,

    will this be fixed in 3.7GA? 🙂

    Regards,

    Robert Varga

    p.s.: by the way, when will 3.7GA be available, there was a post from Riyad which I understood as release on 15 Mar, but there does not seem to be any release…

    #204848 Reply

    Scott Anderson
    Participant

    It is hopefully fixed, and 3.7 GA is available now.

    #205009 Reply

    Robert Varga
    Participant

    @scott wrote:

    It is hopefully fixed, and 3.7 GA is available now.

    No, this is not fixed, and an other regression appeared as well.

    I summarize the errors then:

    1. Adding a forward to an action-mapping is not possible in the outline, the context menu does not come up for right clicking on the action node in the outline.

    It is not working in 2.7GA and 3.7GA, although it was working as far as I remember in 3.7RC2 (I may have confused this with adding a global forward, but I don’t think so).

    2. If an action-mapping contains a forward to a jsp page normally appearing on the leftmost side of the flow view, no action-mappings are displayed at all on the flow view, only the global forwards appear.

    This problem does not come forth, when the jsp page is not on the leftmost position (there is a global-forward on it, or it is referred by an action not reachable via input-action-forwardtopage navigation from the jsp page in question).

    The index.jsp page is such a page in the posted struts-config.xml

    #205011 Reply

    Riyad Kalla
    Member

    Rob,
    (1) isn’t a regression per say, it was done intentionally at the last minute because we were finding too many problems with how the underlying impl of the context-launched wizards were acting. We wanted to take some time to really stream line and clean them up before putting them back. This means that the wizards are now available from the more public place of the “New” menu while you are editing your struts-config file.

    (2) I’ve fired this off to S/M.

    #205370 Reply

    support-michael
    Keymaster

    #1 will be available in the next release 2.7.2/3.7.2 releases.

    For #2 we are developing a direct manipulation flow-view that will allow users to position nodes, revise connections, delete nodes and connections, …. We plan to revise the default layout. As Riyad indicated the 2.7.[0|1] versions are experimental and will continue to be improved.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Forward to root JSP problem in Flow View

You must be logged in to post in the forum log in