2012-02-15 138 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

相關問題