I believe that any unknown result parameters are automatically used as
request parameters for the redirect.  Then, use an ognl expression for
your param value and provide a getter on your action for the value.

Don

On 11/10/06, Mark Menard <[EMAIL PROTECTED]> wrote:
Is there a way to dynamically parameterize a redirect result based on an
http request parameter that you have used in the action your are redirecting
from?

In other words I'm doing some work in an action that is based on an ID that
was passed into it from the HTML form. I need to do some work, then I need
to go back to a list that is parameterized on that ID. I have a result:

<action name="createPartyRoleType" class="createPartyRoleTypeAction">
  <result name="input">/ManagePartyRoleTypes.jsp</result>
  <result name="success"
          type="redirect-action">managePartyRoleTypes</result>
</action>

Is there a way to get a parameter that was passed to createPartyRoleType
into the redirect on success?

Thanks,

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to