Groovy Documentation

groovy
Class CustomFlowUrlHandler

java.lang.Object
  org.springframework.webflow.context.servlet.DefaultFlowUrlHandler
      groovy.CustomFlowUrlHandler

class CustomFlowUrlHandler
extends org.springframework.webflow.context.servlet.DefaultFlowUrlHandler

Changes the default FlowUrlHandler to take into account that Grails request run as part of a forward. Modified for cow to include the current request parameters when generating a URL, and to use PageLinkTagLib when the controller name is "page".

author:
Ian Roberts
author:
Graeme Rocher
since:
1.1 Created: Sep 2, 2008


Property Summary
ApplicationContext applicationContext

static Logger log

PageLinkTagLib taglib

 
Constructor Summary
CustomFlowUrlHandler()

 
Method Summary
String createFlowDefinitionUrl(String flowId, AttributeMap input, HttpServletRequest request)

String createFlowExecutionUrl(String flowId, String flowExecutionKey, HttpServletRequest request)

String getFlowId(HttpServletRequest request)

 
Methods inherited from class org.springframework.webflow.context.servlet.DefaultFlowUrlHandler
getFlowExecutionKey, getFlowId, createFlowExecutionUrl, createFlowDefinitionUrl, wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Property Detail

applicationContext

ApplicationContext applicationContext


log

static Logger log


taglib

PageLinkTagLib taglib


 
Constructor Detail

CustomFlowUrlHandler

CustomFlowUrlHandler()


 
Method Detail

createFlowDefinitionUrl

public String createFlowDefinitionUrl(String flowId, AttributeMap input, HttpServletRequest request)


createFlowExecutionUrl

public String createFlowExecutionUrl(String flowId, String flowExecutionKey, HttpServletRequest request)


getFlowId

public String getFlowId(HttpServletRequest request)


 

Groovy Documentation