FreeMarkerViewHandler should load templates via the FreeMarkerWorker
-------------------------------------------------------------------- Key: OFBIZ-3546 URL: https://issues.apache.org/jira/browse/OFBIZ-3546 Project: OFBiz Issue Type: Bug Components: framework Reporter: Bruno Busco This bug has been introduced in r920115. A temporary fix is in r920589: Fix a problem reported by Hans Bakker, FreeMarker templates loaded using the Configuration object don't have access to the component:// notation reader and this causes them to fail because all templates now attempt to retrieve the html form macro library using that notation. This is a quick fix but we should really fix the FreeMarkerViewHandler to load templates via the FreeMarkerWorker. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853255#action_12853255 ] Adrian Crum commented on OFBIZ-3546: ------------------------------------ A better solution would be to switch those screens to screen widgets. > FreeMarkerViewHandler should load templates via the FreeMarkerWorker > -------------------------------------------------------------------- > > Key: OFBIZ-3546 > URL: https://issues.apache.org/jira/browse/OFBIZ-3546 > Project: OFBiz > Issue Type: Bug > Components: framework > Reporter: Bruno Busco > > This bug has been introduced in r920115. > A temporary fix is in r920589: Fix a problem reported by Hans Bakker, FreeMarker templates loaded using the Configuration object don't have access to the component:// notation reader and this causes them to fail because all templates now attempt to retrieve the html form macro library using that notation. This is a quick fix but we should really fix the FreeMarkerViewHandler to load templates via the FreeMarkerWorker. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853259#action_12853259 ] Jacques Le Roux commented on OFBIZ-3546: ---------------------------------------- Adrian, I think we all agree, but it's much work and a bit boring :( > FreeMarkerViewHandler should load templates via the FreeMarkerWorker > -------------------------------------------------------------------- > > Key: OFBIZ-3546 > URL: https://issues.apache.org/jira/browse/OFBIZ-3546 > Project: OFBiz > Issue Type: Bug > Components: framework > Reporter: Bruno Busco > > This bug has been introduced in r920115. > A temporary fix is in r920589: Fix a problem reported by Hans Bakker, FreeMarker templates loaded using the Configuration object don't have access to the component:// notation reader and this causes them to fail because all templates now attempt to retrieve the html form macro library using that notation. This is a quick fix but we should really fix the FreeMarkerViewHandler to load templates via the FreeMarkerWorker. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853262#action_12853262 ] Scott Gray commented on OFBIZ-3546: ----------------------------------- {quote} A better solution would be to switch those screens to screen widgets. {quote} Not really, the FreeMarkerViewHandler is an alternative to screen rendering, so we can't really say that the best solution is to use a different view handler. > FreeMarkerViewHandler should load templates via the FreeMarkerWorker > -------------------------------------------------------------------- > > Key: OFBIZ-3546 > URL: https://issues.apache.org/jira/browse/OFBIZ-3546 > Project: OFBiz > Issue Type: Bug > Components: framework > Reporter: Bruno Busco > > This bug has been introduced in r920115. > A temporary fix is in r920589: Fix a problem reported by Hans Bakker, FreeMarker templates loaded using the Configuration object don't have access to the component:// notation reader and this causes them to fail because all templates now attempt to retrieve the html form macro library using that notation. This is a quick fix but we should really fix the FreeMarkerViewHandler to load templates via the FreeMarkerWorker. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |