[TYPO3-project-formidable] Ajax question (accessing to things)...
Jerome Schneider
j.schneider at ameos.com
Wed May 23 14:17:53 CEST 2007
Hello Francois,
This kind of problem is solved by the sandbox feature introduced in
upcoming v8 :)
Does someone here has experience in cloning T3 developers ? I really
would like to have time to update the documentation :D
Cordialement,
Jerome Schneider v1.0.0 (rev 1)
Best regards,
François SCHOSSIG a écrit :
> Hello the list (and Jérôme)...
>
> In a LISTBOX, I would like to do the next thing :
>
> <onchange runat="ajax">
> <userobj>
> <php><![CDATA[
> $groupLevel1Array =
> $this->_oParent->oAERoutils->aer_populateGroupLevel1Existing(
>
> $this->oDataHandler->aElement['tablename'],
>
> $this->oDataHandler->_getThisFormData('tx_aer_group_type')
> );
> if (count($groupLevel1Array) == 1) $value_group_level1 =
> $groupLevel1Array[0]['value'];
> else $value_group_level1 = '';
>
> ../..
>
> return array(
>
> $this->aORenderlets["tx_aer_group_level1"]->majixReplaceData($value_group_level1),
>
>
> $this->aORenderlets["tx_aer_group_level2"]->majixReplaceData($value_group_level2)
>
> );
> ]]></php>
> </userobj>
> </onchange>
>
> But, the things are not available... I have a little $this-> problem!
> What is $this in my case?
> Where can I get:
> ->_oParent->oAERoutils->...
> ->oDataHandler->aElement
> ->oDataHandler->_getThisFormData
>
> And in the same go a small other question: how can I hide an show a
> listbox with ajax?
> By using a box with the listbox as child?
>
> Thanks a lot.
> --
> 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