[TYPO3-formidable] trouble with getThisFormData / getAbsName
Jérôme Schneider
j.schneider at ameos.com
Thu Apr 7 09:55:56 CEST 2011
Hi Miguel,
You may try:
* in userobj context:
** if the name "child" is unique accross all XML
$this->rdt("child")->getValue();
** if the name "child" is not unique:
$this->rdt("parent")->rdt("child")->getValue();
* in codebehind context, you have to add oForm to reference the
formidable object
** if the name "child" is unique accross all XML
$this->oForm->rdt("child")->getValue();
** if the name "child" is not unique:
$this->oForm->rdt("parent")->rdt("child")->getValue();
I hope this helps.
Jérôme
Le 01/04/11 12:26, Miguel Ayala a écrit :
> Hello,
> I am having trouble with an Extension which used to work fine, it access a childrenderlet via getThisFormData('parent.child'),
> the xml is renderlet:BOX name="parent" and the child is renderlet:TEXT name="child", we had an typo3 update and since then, this doesnt work on the childs anymore, returning an fatal error on the getAbsName(), is there a new way to access the childs now ?
> thanks for your help!
> Miguel
More information about the TYPO3-project-formidable
mailing list