I have a doubt about expected behavior of controller.printXML() function... The 'problem' is that only exports data from the current controller, i mean, it doesn´t export data from its subforms... On the other hand, the 'similar' function controller.print() prints data from the forms and subforms...
By example, and comparing the both functions, if I have a form <my_main_form> with a subform <my_subform>...
...next line prints my_main_form and the subform (Warning! it only will print the subform if this subform has the printable property checked!) ...
- Code: Select all
forms.my_main_form.controller.print(true, false)
...however, next line only 'export' the main form
- Code: Select all
forms.my_main_form.controller.printXML(true, false)
I was expecting the behavior of the both functions was the same... It´s the expected behavior???
Thanks in advance!
Gerardo.