Dashboard > WebWork > ... > Result Types > Flash Result
  WebWork Log In View a printable version of the current page.  
  Flash Result
Added by tm_jee, last edited by tm_jee on Dec 11, 2006
Labels: 
(None)

A flash result, that save the current action into the http session before invoking super.doExecute(...), which actually just do a redirect to a specific location just as a normal ServletRedirectResult would.

Parameters

    key - The key under which current action is stored in Http Session. Default to FlashInterceptor#DEFAULT_KEY which is the string '__flashAction'

Examples

<action name="store">
	<result type="flash"</redirectToSomeWhere.jsp</result>
</action>
<action name="retrieve">
	<interceptor-ref name="flash">
       <param name="operation">Retrieve</param>
    </interceptor-ref>
    <interceptor-ref name="defaultStack" />
    <result>pageWhereWeNeedFlashActionStored.jsp</result>
</action>

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators