If the actionForward contains a definition name, the definition is retrieved,
and missing attributes are added to your definition. Otherwise, ActionForward has
no effect, and I think you should be able to return null.

Jim Crossley wrote:

> One more question...
>
> >  ComponentDefinition definition =
> >      DefinitionsUtil.getDefinition(mapping.findForward("success").getPath(),
> >                                    request,
> >                                    getServlet().getServletContext());
> >  definition.putAttribute( "title", "Overloaded title" );
> >  DefinitionsUtil.setActionDefinition( request, definition);
>
> Once the above code is executed in Action.perform, how does the
> subsequent return value (ActionForward) affect the definition
> previously set?
>
> In other words, once I call setActionDefinition, does it matter which
> ActionForward I return?  Could I simply return a new ActionForward()?
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


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

Reply via email to