2012-02-15 140 views

回答

0

从你的问题中不清楚你想实现什么。 OFBiz小部件在内部使用freemarker片段呈现html,如果您想查看不带有freemarker的实现,请查看org.ofbiz.widget.html包。

如果您想在您的网页中使用html/css,只需使用freemarker(带标签)并在freemarker中编写html/css。

+0

谢谢比尔金。我在freemarker中添加了html和css代码,并且制作了漂亮的网页。 – Nakul 2012-05-28 07:13:16

0

如果你想避免使用freemarker,那么你将需要不同的模板引擎,你需要整合它。

是的,你可以直接在屏幕内使用html。

<decorator-section name="body"> 
         <platform-specific> 
          <html> 
           <html-template location="component://practice/webapp/practice/Person.ftl"/> 
          </html> 
         </platform-specific> 
        </decorator-section> 

https://cwiki.apache.org/OFBIZ/ofbiz-tutorial-a-beginners-development-guide.html

https://cwiki.apache.org/OFBIZ/understanding-the-ofbiz-widget-toolkit.html

+1

非常感谢。作为初学者,它对我非常有帮助。 – Nakul 2012-06-12 14:06:50

相关问题