[TYPO3-project-formidable] Reset or empty a renderlet

Manuel Rego Casasnovas mrego at igalia.com
Wed Dec 12 19:08:23 CET 2007


Hi,

Manuel Rego Casasnovas escribió:
> I'd like reset or empty a renderlet. I'm thinking in something like
> "_getThisFormData" but on the other way around, something like
> "_setThisFormData".
> An example would be:
> $oForm->oDataHandler->_setThisFormData('image', '');
>   
Sorry I've forgotten the function "setValue".
Very easy solution:
$oForm->aORenderlets['image']->setValue('');


Best regards,
   Rego

-- 
Manuel Rego Casasnovas
Computer Science Engineer
mailto:mrego at igalia.com
Tel: +34 986 10 76 10
Fax: +34 981 91 39 49
Igalia - http://www.igalia.com



More information about the TYPO3-project-formidable mailing list