[TYPO3-project-formidable] modalbox: change child renderlet:BOX with oMajixEvent parameters

Hauke Hain newgrp at googlemail.com
Sat Mar 28 15:43:39 CET 2009


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