[TYPO3-project-formidable] Edit in list using a modalbox, using renderlet:LISTBOX inside the modalbox
Jérôme Schneider
typo3dev at ameos.com
Sun Mar 8 16:02:51 CET 2009
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>
More information about the TYPO3-project-formidable
mailing list