[TYPO3-project-formidable] modalbox: change child renderlet:BOX with oMajixEvent parameters
Jerome Schneider
typo3dev at ameos.com
Tue Mar 31 09:07:36 CEST 2009
Hi hauke,
I made a small example to illustrate the concepts.
http://formidable.typo3.ug/tutorials/alter-modalbox-content-using-ajax-or-client-events.html
I hope this will unblock you.
Jerome
Hauke Hain a écrit :
> I am still stuck on the same problem. :(
>
> Is there anyone who can hellp me with this?:
>
>>
>> Nothing happens with this code in my codebehind in the function
>> btnEdit_click:
>> $this->oForm->aORenderlets["editbox.boxMessage"]->majixSetHtml("test");
>>
>> I get this error
>> Fatal error: Call to undefined method tx_rdtmodalbox::majixSetHtml()
>> with this code:
>> $this->oForm->aORenderlets["editbox"]->majixSetHtml("test");
>>
>> Excerpt from my XML:
>> <renderlet:MODALBOX name="editbox">
>> <childs>
>> <renderlet:BOX name="boxMessage" mode="H1" />
>> [...]
>>
>> What is the difference with refresh and set the content? In my case I
>> want to change the content when opening the modalbox depending of the
>> database content.
>> Nothing should be changed except the one box. There is no need for
>> rendering it new, because nothing else changes.
>> Is the only difference that every value of all renderlets will be
>> reloaded via AJAX from the database?
>>
>> Because it does not work for me now, one question:
>> Can I change with majixSetHtml() the content of an BUTTON Renderlet,
>> so that instead of it something else will be displayed?
>>
>> Kind regards,
>> Hauke
>
More information about the TYPO3-project-formidable
mailing list