Hi Dev,
For many reasons, your code will just not work...
If you have the xml definition of the CFL (as in your code excerpt), you have to call a LoadBatchAction to update the form, but the easiest is to copy your xml fragment into the srf/xml definition of your form.
Regards,
Eric