<filter name="generate_code" module="widget" act="procWidgetGenerateCode">
    <response callback_func="completeGenerateCode">
        <tag name="error" />
        <tag name="message" />
        <tag name="widget_code" />
    </response>
</filter>
