You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Tushar Abhyankar <tu...@amicontech.com> on 2007/10/15 16:05:08 UTC

Using macro in form widget

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.