Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-2342 Implement new widget renderer for menus based on freemarker macros.
  3. OFBIZ-2344

problem with renderer in trunk version 767770 with standard demo data and admin user

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • Trunk
    • framework
    • None

    Description

      if i go to myportal then in the block 'message from unknown party i get:

      Sent from: my@email.com; Sent Name from: Jo Easy User; Sent to: ofbiztest@yahoo.com; Delivered-To: ofbiztest@yahoo.com; Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@1856c2c with arguments of types [java.lang.String,java.lang.String,] The problematic instruction: ---------- ==> ${screens.render(portlet.screenLocation, portlet.screenName)} [on line 33, column 13 in component://common/webcommon/portal/showPortalPage.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@1856c2c with arguments of types [java.lang.String,java.lang.String,] at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at

      Attachments

        Activity

          People

            jacopoc Jacopo Cappellato
            hansbak Hans Bakker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: