|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.controller
coldbox.system.testcontroller
public class testcontroller
This is the ColdBox Unit Test Front Controller.
Method Summary | |
---|---|
void |
setNextEvent([string event='[runtime expression]'], [string queryString=''], [boolean addToken='false'], [string persist=''], [struct varStruct='[runtime expression]'], [boolean ssl='false'], [string baseURL=''])
I Set the next event to run and relocate the browser to that event. |
void |
setNextRoute(string route, [string persist=''], [struct varStruct='[runtime expression]'], [boolean addToken='false'], [boolean ssl='false'])
I Set the next ses route to relocate to. This method pre-pends the baseURL |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Method Detail |
---|
Public void setNextEvent([string event='[runtime expression]'], [string queryString=''], [boolean addToken='false'], [string persist=''], [struct varStruct='[runtime expression]'], [boolean ssl='false'], [string baseURL=''])
setNextEvent
in class
controller
event
- The name of the event to run.queryString
- The query string to append, if needed.addToken
- Wether to add the tokens or not. Default is falsepersist
- What request collection keys to persist in the relocationvarStruct
- A structure key-value pairs to persist.ssl
- Whether to relocate in SSL or not, only used when in SES mode.baseURL
- Use this baseURL instead of the index.cfm that is used by default. You can use this for ssl or any full base url you would like to use. Ex: https://mysite.com/index.cfmPublic void setNextRoute(string route, [string persist=''], [struct varStruct='[runtime expression]'], [boolean addToken='false'], [boolean ssl='false'])
setNextRoute
in class
controller
route
- The route to relocate to, do not prepend the baseURL or /.persist
- What request collection keys to persist in the relocationvarStruct
- A structure key-value pairs to persist.addToken
- Wether to add the tokens or not. Default is falsessl
- Whether to relocate in SSL or not
|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |