No attachment came through. Your best best is to open a buzilla enhancement request against the Nightly Build and attach your code there.
http://nagoya.apache.org/bugzilla/ Steve > -----Original Message----- > From: Kevin Brown [mailto:[EMAIL PROTECTED] > Sent: November 13, 2003 1:42 PM > To: Struts Developers List > Subject: Scaffold FindForwardIndexed - FindForward for indexed > properties > > > All, > > I wrote the attached FindForwardIndexed class (inspired by scaffold > FindForward) which I find useful when I have a list of > indexed properties > and an action that can be take in each row. The class > forwards based on > the indexed property submitted, and appends the index to the > forward path > (will append ${value} if path ends in "=" otherwise will append > "index=${value}", where ${value} is the index. > > mappings look like so: > <forward name="view[].x" path="/workingScenarioView.do"/> > <forward name="modify[].x" > path="/workingScenarioModify.do"/> > <forward name="delete[].x" > path="/deleteScenario.do?myindex="/> > <forward name="approve" path="/approvePlan.do"/> > <forward name="publish" path="/publishPlan.do"/> > > The test case attached is illustrative, but does not work > properly because I > have not gotten the > mock objects to work properly. > > Enjoy. > > -Kevin > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
