// test if this is an MVC request or a remote request
if ( event.isProxyRequest() ){
event.setValue('message', 'We are in proxy mode right now');
// param a variable called page
event.paramValue('page',1);
event.setValue('link','index.cfm?page=#rc.page#');
// get a value with a default value
event.setvalue('link','index.cfm?page=#event.getValue('page',1)#');
// Set the view to render
event.setView('homepage');
// Set the view to render with no layout
event.setView('homepage',true);
// set the view to render with caching stuff
event.setview(name='homepage',cache='true',cacheTimeout='30');
event.setLayout('Layout.Ajax');
// check if a value does not exists
if ( !event.valueExists('username') ) {
// Tell the framework to stop processing gracefully, no renderings
<form action="#event.buildLink( 'user.save' )#" method="post">