[TYPO3-mvc] Access FlexForms in AjaxController

Andreas Lappe nd at off-pist.de
Fri May 14 14:40:31 CEST 2010


Aloha,

I wonder how to get to the flexform-values from my AjaxController? It
just extends my BookController which can access the
values just fine. It works for TypoScript though...

Any ideas?

So long
Andy

----8<----8<----8<----8<----8<----8<----8<----

plugin.tx_ndlibrary {
 settings {
  accessKeyId =
  secretKeyId = 
  associateKeyId =
  country = 
  dateformat = d.m.Y
 }
 persistence {
  storagePid = {$plugin.tx_ndlibrary.persistence.storagePid}
 }
 view {
  templateRootPath = {$plugin.tx_ndlibrary.view.templateRootPath}
  partialRootPath = {$plugin.tx_ndlibrary.view.partialRootPath}
  layoutRootPath = {$plugin.tx_ndlibrary.view.layoutRootPath}
 }
}

ndlibrary_ajax = PAGE
ndlibrary_ajax {
 typeNum = 1262705328
 config {
  xhtml_cleaning = 0
  admPanel = 0
  disableAllHeaderCode = 1
  additionalHeaders = Content-type:application/json
 }
 settings < plugin.tx_ndlibrary.settings
 10 < tt_content.list.20.ndlibrary_ajax
}

----8<----8<----8<----8<----8<----8<----8<----

class Tx_Ndlibrary_Controller_AjaxController
     extends Tx_Ndlibrary_Controller_BookController {

}

-- 
Alex believed God was a toprate disinformer.
[Paco Ignacio Taibo II, Four Hands]


More information about the TYPO3-project-typo3v4mvc mailing list