[TYPO3-project-formidable] Edit in list using a modalbox, using renderlet:LISTBOX inside the modalbox

Kontaxis Panagiotis pkontaxi at gmail.com
Mon Mar 9 09:38:16 CET 2009


O/H JéŽrô™me Schneider έγραψε:
> Hi Kontaxis Panagiotis,
> 
> There's is a bug in Formidable there. A quick workaround is to add 
> another listbox in your XML, but this time *not* in the modalbox.
> 
> 
> I'll report this to the BugTracker if you confirm this.
> 
> Best regards,
> Jerome
> 
> Kontaxis Panagiotis a écrit :
>> Hello!
>>
>> I tried the new "Edit in list using a modalbox" example.
>>
>> I used renderlet:TEXT and renderlet:BUTTON inside the modalbox 
>> successfully but I couldn't use renderlet:LISTBOX inside the modalbox. 
>> When I added renderlet:LISTBOX, the modalbox didn't appear.
>>
>> Maybe modalbox supports only renderlet:TEXT and renderlet:BUTTON?
>>
>> My code of modalbox follows:
>> <renderlet:MODALBOX name="editbox">
>> <childs>
>> <renderlet:TEXT name="title" label="Title" />
>> <renderlet:LISTBOX name="list_pack" label="Packs List">
>> <data>
>> <items>
>> <item caption="pack1" value="1"/>
>> <item caption="pack2" value="2"/>
>> </items>
>> </data>
>> </renderlet:LISTBOX>
>>                <renderlet:BUTTON name="btnCancel" label="Cancel">
>> <onclick runat="client" exec="cb1.btnCancel_click()" />
>> </renderlet:BUTTON>
>> <renderlet:BUTTON name="btnSave" label="Save and close">
>> <onclick
>>     runat="ajax"
>>     params="editbox.title, editbox.subtitle"
>>     cache="false"
>>     exec="cb1.btnSave_click()"
>> />
>> </renderlet:BUTTON>
>> </childs>
>> </renderlet:MODALBOX>

Hi!
Thanks for the quick answer.
I submit the bug to the bugtracker.
I didn't understand very well the workaround. Outside the modalbox I 'm 
using renderlet:LISTBOX normally.

Regards
Panagiotis


More information about the TYPO3-project-formidable mailing list