[TYPO3-project-formidable] Delete the onchange of a renderlet
François SCHOSSIG
fs.nospam1 at a-e-r.org
Fri Nov 10 10:14:52 CET 2006
The solution used is : not using a modifier in the renderlet, but a
userobj directly in the refresh.
<renderlet:LISTBOX name="listbox">
<onchange>
<refresh>
<userobj>
<php><![CDATA[
$type = $this->oDataHandler->_getThisFormData("typedata");
return $type == "type-1" || $type == "type-2";
]]></php>
</userobj>
</refresh>
</onchange>
<process>
<userobj>
<php><![CDATA[ return $this->oDataHandler->_getThisFormData
("typedata") != ""; ]]></php>
</userobj>
</process>
../..
</renderlet:LISTBOX>
--
F. SCHOSSIG, ICT Manager
Assemblée des Régions d'Europe
http://www.a-e-r.org
Le 20 oct. 06 à 17:50, François SCHOSSIG a écrit :
> Hello the list,
>
> I know that the function _getThisFormData() is not available in a
> modifier...
> But how is it possible to do the next modification ?
>
> <!--modifiers>
> <modifier>
> <conditions>
> <condition>
> <userobj>
> <php><![CDATA[
> $type = $this->oDataHandler->_getThisFormData
> ("tx_aerfeuser_group_type");
> return $type == "type-media" || $type == "type-
> misc";
> ]]></php>
> </userobj>
> </condition>
> </conditions>
> <modification>
> <onchange><empty /></onchange>
> </modification>
> </modifier>
> </modifiers-->
>
> Thanks for the ideas.
> --
> F. SCHOSSIG, ICT Manager
> Assemblée des Régions d'Europe
> http://www.a-e-r.org
More information about the TYPO3-project-formidable
mailing list