Foros de discusión

DDL in velocity template

Abid Mehmood, modificado hace 8 años.

DDL in velocity template

Junior Member Mensajes: 66 Fecha de incorporación: 8/09/11 Mensajes recientes
HI,
I am trying to read a DDL from theme in velocity template but it return empty string when i use getXml() of DDMContent. But same method works fine in a portlet. Any idea, whats i am missing here. All other fields are fine, only problem is with this getXml method.
thumbnail
Bijan Vakili, modificado hace 8 años.

RE: DDL in velocity template

Expert Mensajes: 375 Fecha de incorporación: 10/03/09 Mensajes recientes
May you post the code snippet you're using?

And perhaps a same DDL too (the structure, list, and an entry for list.)

That way can recreate issue you see; and perhaps be able to help better.
Abid Mehmood, modificado hace 8 años.

RE: DDL in velocity template

Junior Member Mensajes: 66 Fecha de incorporación: 8/09/11 Mensajes recientes
Hi,
Thanks for the reply. Instead of using DDMContent's getXML(), i am using now DDLRecord's getFields() method to populate data by field which is much more convenient to use and working great. Thanks again.