[TYPO3-mvc]  Forwarding action without loosing request parameters
    Thomas "Thasmo" Deinhamer 
    thasmo at gmail.com
       
    Fri Oct 30 22:44:12 CET 2009
    
    
  
Good evening ladies and gentlemen!
My controller looks like this, simplified:
class MyController extends Tx_Extbase_MVC_Controller_ActionController {
	
	/**
	* The main action
	*/
	public function indexAction() {
		
	}
	
	/**
	* The calculate action
	*
	* @param string $address
	* @validate $address Alphanumeric
	*/
	public function calculateAction($address) {
		$this->view->assign('address', $address);
		$this->forward('index');
	}
}
The process looks like the following:
	1. Index action gets called, showing a form in index.html
	2. Form gets submitted with the action "calculate"
	3. Variable gets assigned, forwarding to index action
	4. {address} is not available in the view/template
Is there a way to either forward the {address} to the index action,
or a way to use the same template/view for the calculate action also?
Thank you! =o)
    
    
More information about the TYPO3-project-typo3v4mvc
mailing list