[TYPO3-project-formidable] Renderlet SWFUPLOAD won't work with 2.0.284
Christof Rodejohann
christof at rodejohann.de
Sat Dec 6 22:10:38 CET 2008
Hi,
i tried Renderlet SWFUPLOAD using the example code from
http://formidable.typo3.ug/pastebin/snippet/44.html . But the Browse
Button has no function. When clicking the button Firebug shows the
correct event:
Executing client event sObjectId: uploadtest.myupload_btnbrowse
bPersist: false oTask Object init=Object attachevents=Object
tasks=Object aLocalArguments [click clientX=376, clientY=404]
sJsConfirm false
I have tried to locate the cause of this error but i haven't gotten
far. When inserting
javascript:alert(document.getElementById("uploadtest.myupload"));
in the Locationbar the alert returns "null". To check further i entered
javascript:alert(document.getElementById("uploadtest.myupload_btnbrowse"));
which returned the correct object. It looks to me that the event
creating the Formidable.Classes.SwfUpload Object is not working
correctly.
There is another issue regarding SWFUPLOAD:
If you enclose SWFUPLOAD within a renderlet:BOX like this:
<renderlet:BOX>
<childs>
[..] SWFUpload Example Code [..]
</childs>
</renderlet:BOX>
the following error occurs:
Fatal error: Call to a member function majixSelectFiles() on a
non-object in /var/www/blub/typo3conf/ext/ameos_formidable/api/class.tx_ameosformidable.php(5338)
: eval()'d code on line 3
Maybe both errors are somehow related?
I am using version 2.0.284.
Regards,
Christof
More information about the TYPO3-project-formidable
mailing list