Why does my widget not being created?

Topics: Core, Writing modules
Feb 15, 2013 at 11:29 PM
I've created a Driver for a carouselwidget. The widget has a relation with a carourselpart.
In the template i have created a dropdown to select the carouselpart. When i save this and the driver Editor method is called everyting seems to be correct. The correct foreignkey id is selected and set to the part that has has to be saved. Eventually the part isn't saved and when i take a look at the log file it says that the foreignkey relation is incorrect. With SQL Profiler i see that the foreignkey passed is 0. How is this possible (whats wrong)??
Please help...