- This topic has 1 reply, 2 voices, and was last updated 19 years, 1 month ago by Brian Fernandes.
-
AuthorPosts
-
Frederic ChopardMemberHello,
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 WorkbenchVersion: 4.0.2 GA
Build id: 20051010-4.0.2-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.1
Build id: M20050929-0840Eclipse Platform
Version: 3.1.1
Build id: M20050929-0840Eclipse RCP
Version: 3.1.1
Build id: M20050929-0840Eclipse Java Development Tools
Version: 3.1.1
Build id: M20050929-0840Eclipse Plug-in Development Environment
Version: 3.1.1
Build id: M20050929-0840Eclipse Project SDK
Version: 3.1.1
Build id: M20050929-0840Eclipse 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
Brian FernandesModeratorwismax,
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. -
AuthorPosts