facebook

Struts Editor – Input arrows not displayed correctly

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #239124 Reply

    Hello,

    I have a little problem the Struts config editor.

    To be able to use redirect for input for my actions, I put the parameter inputForward=”true” in my controller configuration.

    If I have to define an input for an action, I create a local forward with the name inputRedirect and put it as a reference in my input like this:

    
        <action
          path="/saveUserProfile"
          type="com.toto.SaveUserProfileAction"
          validate="true"
          input="inputRedirect">
          <forward name="inputRedirect" path="/displayUserProfile.do" redirect="true" />
          <forward name="success" path="/home.do" redirect="true"/>
        </action>
    

    This way I can use redirect for inputs. This is working very well. My problem is that the Struts Editor displays the inputRedirect forward as a new small blue box (with an earth icon, with the label url: inputRedirect) instead of linking to my existing action displayUserProfile. Sorry but I can’t post an image from here…

    It seems that the editor is not resolving the input <-> forward association when the inputForward parameter is true. Is this a bug or am I wrong here ?

    Grettings,

    Wis

    *** Date: Tue Oct 11 10:09:35 CEST 2005

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_04

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.2 GA
    Build id: 20051010-4.0.2-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\developpement\outils\eclipse-3.1.1\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    a28_58
    -vm
    C:\WINDOWS\system32\javaw.exe

    #239125 Reply

    Brian Fernandes
    Moderator

    wismax,

    Thank you for your report, I investigated and we hadn’t covered the InputForward capability which was introduced with Struts 1.1.

    I’m filing an enhancement request right now and will try to prioritize this fix for our next release.

    Sorry for the inconvenience, please let us know if you have further issues.
    Best,
    Brian.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Struts Editor – Input arrows not displayed correctly

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