Using macro in form widget

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using macro in form widget

Tushar Abhyankar
Hi All,

 

            I need to use <@renderSubContentCache
subContentId=content.contentId/> macro in a form.

 

I am rendering the form using the HtmlFormWrapper.java and displaying it in
the ftl

 

            updateProductContentWrapper = new
HtmlFormWrapper("/product/ProductForms.xml", "EditProductContentSimpleText",
request, response);

 

           

 

now I need to replace this line in the form

 

                    <field name="text" title="${uiLabelMap.ProductText}*"
map-name="textData" widget-style="textAreaBox" ><textarea cols="80"
rows="20"/></field>

 

with the macro, is it possible?

 

 

 

 

 

Regards,

 

Tushar Abhyankar

 

AMICON Technologies Pvt Ltd.

 

India.