تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
7261 أدوات العرض

html(xml) contains form that is displayed using controller.

الصورة الرمزية
إهمال

jamin,
Can u please elaborate your query?
If you just want to know that how to return html from controller then you can use:
return request.website.render("YOU_MODULE.TEMPLATE_NAME", { 'key': value, #any data you want to pass to the template xml which is going to be rendered as HTML }) at the end of the function