[TYPO3-mvc] mvc_extjs problem

Sven Kalbhenn sven at skom.de
Fri May 14 18:39:45 CEST 2010


Hi all,

I want to use extjs in my new extension, so I installted mvc_extj and the mvc_extjs_samples and most of the examples are working correct.
But wenn I put the same code (f.e. like the "Hello World"-Example or the "Simple Form"-Example) in my own extension, there is no javascript-code in the output (and no error-message).
Here is my controller:

class Tx_Planereservation_Controller_ReservationController extends Tx_MvcExtjs_ExtJS_Controller_ActionController {
  public function indexAction() {
		$this->initializeExtJSAction();		
		$this->addJsInlineCode('
			var movie_form = new Ext.FormPanel({
				title: "tese",
				width: 250,
				items: [{
					xtype: "textfield",
					fieldLabel: "fieldlabel",
					name: "title",
					allowBlank: true
				}]
			});
			movie_form.render("MvcExtjsSamples-SimpleForm");
		');
		$this->outputJsCode();
	}
}

Any hint, why there is no extjs-javascript in the output???

Herzliche Grüße...Sven




More information about the TYPO3-project-typo3v4mvc mailing list