duda en xupload extension

estoy trabajando con la extension xupload, pero necesito adicionar otro dato al formulario XUploadForm, para ello uso el script de aqui github.com/blueimp/jQuery-File-Upload/wiki/How-to-submit-additional-form-data#adding-additional-form-data-programmatically,exactamente esta parte:

Setting formData on upload start

A common use case is to set the formData option on upload start. This can be easily achieved by binding a callback to the "submit" event:


   $('#fileupload').bind('fileuploadsubmit', function (e, data) {

    // The example input, doesn't have to be part of the upload form:

    var input = $('#input');

    data.formData = {example: input.val()};

    if (!data.formData.example) {

      data.context.find('button').prop('disabled', false);

      input.focus();

      return false;

    }

});

he creado tambien en la vista un <input type="hidden", y en el "value" asigno el valor obtenido en script de arriba

He creado un nuevo atributo en XUploadForm como "sourceimg", necesito entonces asignarle ese valor obtenido en el script para adicionarselo al atributo nuevo "sourceimg" en el XUploadForm, esto se hace exactamente en el metodo actionUpload() que esta en el Controlador :




$model = new XUploadForm;

        $model->file = CUploadedFile::getInstance($model, 'file');

        //We check that the file was successfully uploaded

        if ($model->file !== null) {

            //Grab some data

            $model->mime_type = $model->file->getType();

            $model->size = $model->file->getSize();

            $model->name = $model->file->getName();

            //"sourceimg"  is new attribute that I created in XUploadForm.php

            $model->sourceimg = $model-> <img src='http://www.yiiframework.com/forum/public/style_emoticons/default/huh.gif' class='bbc_emoticon' alt='???' /> 



no se como asignarselo. necesito ayuda…gracias!!!