Help with CMSSite Example

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Help with CMSSite Example

John M. Rinck
I just downloaded Ofbiz and I was exploring some the features when I ran
into a problem.

 

I have navigated to "WebSites" tab in the Content application. I had
selected the "CMSSITE" website. Once that website is selected a sub menu
with appears.

 

The menu choices are: Website|Content|Parties|CMS.

 

I have selected "CMS". The screen here gives me the "CMS Nav" in a tree on
the left. If I click on any node I get the following stack trace.

 

Any help would be appreciated.

 

 

 

 

Error rendering included template at location
[component://content/webapp/conten

t/website/WebSiteCMSContent.ftl]: freemarker.core.InvalidReferenceException:
Exp

ression uiLabelMap is undefined on line 168, column 37 in
component://content/we

bapp/content/website/WebSiteCMSContent.ftl.

Exception: freemarker.core.InvalidReferenceException

Message: Expression uiLabelMap is undefined on line 168, column 37 in
component:

//content/webapp/content/website/WebSiteCMSContent.ftl.

---- stack trace
---------------------------------------------------------------

 

Expression uiLabelMap is undefined on line 168, column 37 in
component://content

/webapp/content/website/WebSiteCMSContent.ftl.

The problematic instruction:

----------

==> ${uiLabelMap.FormFieldTitle_contentId} [on line 168, column 35 in
component:

//content/webapp/content/website/WebSiteCMSContent.ftl]

----------

Java backtrace for programmers:

----------

freemarker.core.InvalidReferenceException: Expression uiLabelMap is
undefined on

 line 168, column 37 in
component://content/webapp/content/website/WebSiteCMSCon

tent.ftl.

freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)

freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)

freemarker.core.Dot._getAsTemplateModel(Dot.java:78)

freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

freemarker.core.Expression.getStringValue(Expression.java:93)

freemarker.core.DollarVariable.accept(DollarVariable.java:76)

freemarker.core.Environment.visit(Environment.java:196)

freemarker.core.MixedContent.accept(MixedContent.java:92)

freemarker.core.Environment.visit(Environment.java:196)

freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)

freemarker.core.Environment.visit(Environment.java:196)

freemarker.core.MixedContent.accept(MixedContent.java:92)

freemarker.core.Environment.visit(Environment.java:196)

freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)

freemarker.core.Environment.visit(Environment.java:196)

freemarker.core.MixedContent.accept(MixedContent.java:92)

freemarker.core.Environment.visit(Environment.java:196)

freemarker.core.Environment.process(Environment.java:176)

org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
r.ja

va:198)

org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
r.ja

va:163)

org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeM
arke

rWorker.java:136)

org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:96)

org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidge
t.ja

va:139)

org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:68)

org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetStrin
g(Mo

delScreenWidget.java:780)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widg

et.java:134)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reen

Widget.java:220)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widg

et.java:134)

org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
Scre

enWidget.java:279)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widg

et.java:134)

org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
Scre

enWidget.java:279)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widg

et.java:134)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reen

Widget.java:220)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:142)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:131)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:94)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
er.j

ava:96)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:651)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:442)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)

org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)

javax.servlet.http.HttpServlet.service(HttpServlet.java:615)

javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
Filt

erChain.java:269)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.

java:188)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
Filt

erChain.java:215)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.

java:188)

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:2

10)

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:1

74)

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:108

)

org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onne

ction(Http11BaseProtocol.java:665)

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:52

8)

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rker

Thread.java:81)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:68

5)

java.lang.Thread.run(Thread.java:595)

----------------------------------------------------------------------------
----

 

 

Reply | Threaded
Open this post in threaded view
|

Re: Help with CMSSite Example

David E Jones

Which version of OFBiz are you using? I tried it on the latest trunk  
(well from yesterday) on demo.hotwaxmedia.com and most of it was  
working. There appears to be a javascript error on that page though.

-David


On Feb 11, 2008, at 2:34 PM, John M. Rinck wrote:

> I just downloaded Ofbiz and I was exploring some the features when I  
> ran
> into a problem.
>
>
>
> I have navigated to "WebSites" tab in the Content application. I had
> selected the "CMSSITE" website. Once that website is selected a sub  
> menu
> with appears.
>
>
>
> The menu choices are: Website|Content|Parties|CMS.
>
>
>
> I have selected "CMS". The screen here gives me the "CMS Nav" in a  
> tree on
> the left. If I click on any node I get the following stack trace.
>
>
>
> Any help would be appreciated.
>
>
>
>
>
>
>
>
>
> Error rendering included template at location
> [component://content/webapp/conten
>
> t/website/WebSiteCMSContent.ftl]:  
> freemarker.core.InvalidReferenceException:
> Exp
>
> ression uiLabelMap is undefined on line 168, column 37 in
> component://content/we
>
> bapp/content/website/WebSiteCMSContent.ftl.
>
> Exception: freemarker.core.InvalidReferenceException
>
> Message: Expression uiLabelMap is undefined on line 168, column 37 in
> component:
>
> //content/webapp/content/website/WebSiteCMSContent.ftl.
>
> ---- stack trace
> ---------------------------------------------------------------
>
>
>
> Expression uiLabelMap is undefined on line 168, column 37 in
> component://content
>
> /webapp/content/website/WebSiteCMSContent.ftl.
>
> The problematic instruction:
>
> ----------
>
> ==> ${uiLabelMap.FormFieldTitle_contentId} [on line 168, column 35 in
> component:
>
> //content/webapp/content/website/WebSiteCMSContent.ftl]
>
> ----------
>
> Java backtrace for programmers:
>
> ----------
>
> freemarker.core.InvalidReferenceException: Expression uiLabelMap is
> undefined on
>
> line 168, column 37 in
> component://content/webapp/content/website/WebSiteCMSCon
>
> tent.ftl.
>
> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
>
> freemarker
> .core.TemplateObject.invalidTypeException(TemplateObject.java:134)
>
> freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
>
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
>
> freemarker.core.Expression.getStringValue(Expression.java:93)
>
> freemarker.core.DollarVariable.accept(DollarVariable.java:76)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.MixedContent.accept(MixedContent.java:92)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.MixedContent.accept(MixedContent.java:92)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.MixedContent.accept(MixedContent.java:92)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.Environment.process(Environment.java:176)
>
> org
> .ofbiz
> .base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
> r.ja
>
> va:198)
>
> org
> .ofbiz
> .base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
> r.ja
>
> va:163)
>
> org
> .ofbiz
> .base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeM
> arke
>
> rWorker.java:136)
>
> org
> .ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:96)
>
> org.ofbiz.widget.screen.HtmlWidget
> $HtmlTemplate.renderWidgetString(HtmlWidge
> t.ja
>
> va:139)
>
> org
> .ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:68)
>
> org.ofbiz.widget.screen.ModelScreenWidget
> $PlatformSpecific.renderWidgetStrin
> g(Mo
>
> delScreenWidget.java:780)
>
> org
> .ofbiz
> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widg
>
> et.java:134)
>
> org.ofbiz.widget.screen.ModelScreenWidget
> $Section.renderWidgetString(ModelSc
> reen
>
> Widget.java:220)
>
> org
> .ofbiz
> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widg
>
> et.java:134)
>
> org.ofbiz.widget.screen.ModelScreenWidget
> $Container.renderWidgetString(Model
> Scre
>
> enWidget.java:279)
>
> org
> .ofbiz
> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widg
>
> et.java:134)
>
> org.ofbiz.widget.screen.ModelScreenWidget
> $Container.renderWidgetString(Model
> Scre
>
> enWidget.java:279)
>
> org
> .ofbiz
> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widg
>
> et.java:134)
>
> org.ofbiz.widget.screen.ModelScreenWidget
> $Section.renderWidgetString(ModelSc
> reen
>
> Widget.java:220)
>
> org
> .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
> 142)
>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:131)
>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:94)
>
> org
> .ofbiz
> .widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
> er.j
>
> ava:96)
>
> org
> .ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:
> 651)
>
> org
> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 442)
>
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
>
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
> org
> .apache
> .catalina.core.ApplicationFilterChain.internalDoFilter(Application
> Filt
>
> erChain.java:269)
>
> org
> .apache
> .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.
>
> java:188)
>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 248)
>
> org
> .apache
> .catalina.core.ApplicationFilterChain.internalDoFilter(Application
> Filt
>
> erChain.java:215)
>
> org
> .apache
> .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.
>
> java:188)
>
> org
> .apache
> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:2
>
> 10)
>
> org
> .apache
> .catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:1
>
> 74)
>
> org
> .apache
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
> )
>
> org
> .apache
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
> )
>
> org
> .apache
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :108
>
> )
>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 542)
>
> org
> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 151)
>
> org
> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 870)
>
> org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.processC
> onne
>
> ction(Http11BaseProtocol.java:665)
>
> org
> .apache
> .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:52
>
> 8)
>
> org
> .apache
> .tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rker
>
> Thread.java:81)
>
> org.apache.tomcat.util.threads.ThreadPool
> $ControlRunnable.run(ThreadPool.jav
> a:68
>
> 5)
>
> java.lang.Thread.run(Thread.java:595)
>
> ----------------------------------------------------------------------------
> ----
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

RE: Help with CMSSite Example

John M. Rinck

Thanks for the response.

 

The SVN URL I used (In Eclipse) is

 

http://svn.apache.org/repos/asf/ofbiz/trunk

 

I downloaded the project last week on 2/6.

 

In Firefox I don’t seem to have and JavaScript errors.

 

Here is a screenshot of what I get in the browser. In my console.log file I get the stack trace I sent earlier.

 

 

-----Original Message-----
From: David E Jones [mailto:[hidden email]]
Sent: Monday, February 11, 2008 10:29 PM
To: [hidden email]
Subject: Re: Help with CMSSite Example

 

 

Which version of OFBiz are you using? I tried it on the latest trunk 

(well from yesterday) on demo.hotwaxmedia.com and most of it was 

working. There appears to be a javascript error on that page though.

 

-David

 

 

On Feb 11, 2008, at 2:34 PM, John M. Rinck wrote:

 

> I just downloaded Ofbiz and I was exploring some the features when I 

> ran

> into a problem.

> 

> 

> 

> I have navigated to "WebSites" tab in the Content application. I had

> selected the "CMSSITE" website. Once that website is selected a sub 

> menu

> with appears.

> 

> 

> 

> The menu choices are: Website|Content|Parties|CMS.

> 

> 

> 

> I have selected "CMS". The screen here gives me the "CMS Nav" in a 

> tree on

> the left. If I click on any node I get the following stack trace.

> 

> 

> 

> Any help would be appreciated.

> 

> 

> 

> 

> 

> 

> 

> 

> 

> Error rendering included template at location

> [component://content/webapp/conten

> 

> t/website/WebSiteCMSContent.ftl]: 

> freemarker.core.InvalidReferenceException:

> Exp

> 

> ression uiLabelMap is undefined on line 168, column 37 in

> component://content/we

> 

> bapp/content/website/WebSiteCMSContent.ftl.

> 

> Exception: freemarker.core.InvalidReferenceException

> 

> Message: Expression uiLabelMap is undefined on line 168, column 37 in

> component:

> 

> //content/webapp/content/website/WebSiteCMSContent.ftl.

> 

> ---- stack trace

> ---------------------------------------------------------------

> 

> 

> 

> Expression uiLabelMap is undefined on line 168, column 37 in

> component://content

> 

> /webapp/content/website/WebSiteCMSContent.ftl.

> 

> The problematic instruction:

> 

> ----------

> 

> ==> ${uiLabelMap.FormFieldTitle_contentId} [on line 168, column 35 in

> component:

> 

> //content/webapp/content/website/WebSiteCMSContent.ftl]

> 

> ----------

> 

> Java backtrace for programmers:

> 

> ----------

> 

> freemarker.core.InvalidReferenceException: Expression uiLabelMap is

> undefined on

> 

> line 168, column 37 in

> component://content/webapp/content/website/WebSiteCMSCon

> 

> tent.ftl.

> 

> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)

> 

> freemarker

> .core.TemplateObject.invalidTypeException(TemplateObject.java:134)

> 

> freemarker.core.Dot._getAsTemplateModel(Dot.java:78)

> 

> freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

> 

> freemarker.core.Expression.getStringValue(Expression.java:93)

> 

> freemarker.core.DollarVariable.accept(DollarVariable.java:76)

> 

> freemarker.core.Environment.visit(Environment.java:196)

> 

> freemarker.core.MixedContent.accept(MixedContent.java:92)

> 

> freemarker.core.Environment.visit(Environment.java:196)

> 

> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)

> 

> freemarker.core.Environment.visit(Environment.java:196)

> 

> freemarker.core.MixedContent.accept(MixedContent.java:92)

> 

> freemarker.core.Environment.visit(Environment.java:196)

> 

> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)

> 

> freemarker.core.Environment.visit(Environment.java:196)

> 

> freemarker.core.MixedContent.accept(MixedContent.java:92)

> 

> freemarker.core.Environment.visit(Environment.java:196)

> 

> freemarker.core.Environment.process(Environment.java:176)

> 

> org

> .ofbiz

> .base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke

> r.ja

> 

> va:198)

> 

> org

> .ofbiz

> .base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke

> r.ja

> 

> va:163)

> 

> org

> .ofbiz

> .base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeM

> arke

> 

> rWorker.java:136)

> 

> org

> .ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:96)

> 

> org.ofbiz.widget.screen.HtmlWidget

> $HtmlTemplate.renderWidgetString(HtmlWidge

> t.ja

> 

> va:139)

> 

> org

> .ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:68)

> 

> org.ofbiz.widget.screen.ModelScreenWidget

> $PlatformSpecific.renderWidgetStrin

> g(Mo

> 

> delScreenWidget.java:780)

> 

> org

> .ofbiz

> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen

> Widg

> 

> et.java:134)

> 

> org.ofbiz.widget.screen.ModelScreenWidget

> $Section.renderWidgetString(ModelSc

> reen

> 

> Widget.java:220)

> 

> org

> .ofbiz

> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen

> Widg

> 

> et.java:134)

> 

> org.ofbiz.widget.screen.ModelScreenWidget

> $Container.renderWidgetString(Model

> Scre

> 

> enWidget.java:279)

> 

> org

> .ofbiz

> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen

> Widg

> 

> et.java:134)

> 

> org.ofbiz.widget.screen.ModelScreenWidget

> $Container.renderWidgetString(Model

> Scre

> 

> enWidget.java:279)

> 

> org

> .ofbiz

> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen

> Widg

> 

> et.java:134)

> 

> org.ofbiz.widget.screen.ModelScreenWidget

> $Section.renderWidgetString(ModelSc

> reen

> 

> Widget.java:220)

> 

> org

> .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:

> 142)

> 

> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:131)

> 

> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:94)

> 

> org

> .ofbiz

> .widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl

> er.j

> 

> ava:96)

> 

> org

> .ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:

> 651)

> 

> org

> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:

> 442)

> 

> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)

> 

> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)

> 

> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)

> 

> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

> 

> org

> .apache

> .catalina.core.ApplicationFilterChain.internalDoFilter(Application

> Filt

> 

> erChain.java:269)

> 

> org

> .apache

> .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh

> ain.

> 

> java:188)

> 

> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:

> 248)

> 

> org

> .apache

> .catalina.core.ApplicationFilterChain.internalDoFilter(Application

> Filt

> 

> erChain.java:215)

> 

> org

> .apache

> .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh

> ain.

> 

> java:188)

> 

> org

> .apache

> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja

> va:2

> 

> 10)

> 

> org

> .apache

> .catalina.core.StandardContextValve.invoke(StandardContextValve.ja

> va:1

> 

> 74)

> 

> org

> .apache

> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127

> )

> 

> org

> .apache

> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117

> )

> 

> org

> .apache

> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java

> :108

> 

> )

> 

> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:

> 542)

> 

> org

> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:

> 151)

> 

> org

> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:

> 870)

> 

> org.apache.coyote.http11.Http11BaseProtocol

> $Http11ConnectionHandler.processC

> onne

> 

> ction(Http11BaseProtocol.java:665)

> 

> org

> .apache

> .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav

> a:52

> 

> 8)

> 

> org

> .apache

> .tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo

> rker

> 

> Thread.java:81)

> 

> org.apache.tomcat.util.threads.ThreadPool

> $ControlRunnable.run(ThreadPool.jav

> a:68

> 

> 5)

> 

> java.lang.Thread.run(Thread.java:595)

> 

> ----------------------------------------------------------------------------

> ----

> 

> 

> 

> 

> 

Reply | Threaded
Open this post in threaded view
|

Re: Help with CMSSite Example

Adrian Crum
In reply to this post by David E Jones
David,

I tried it yesterday with a current checkout and I got the same error. I
  tried to look into it, but the problem wasn't obvious, and I don't
have the time to look into it further.

-Adrian

David E Jones wrote:

>
> Which version of OFBiz are you using? I tried it on the latest trunk
> (well from yesterday) on demo.hotwaxmedia.com and most of it was
> working. There appears to be a javascript error on that page though.
>
> -David
>
>
> On Feb 11, 2008, at 2:34 PM, John M. Rinck wrote:
>
>> I just downloaded Ofbiz and I was exploring some the features when I ran
>> into a problem.
>>
>>
>>
>> I have navigated to "WebSites" tab in the Content application. I had
>> selected the "CMSSITE" website. Once that website is selected a sub menu
>> with appears.
>>
>>
>>
>> The menu choices are: Website|Content|Parties|CMS.
>>
>>
>>
>> I have selected "CMS". The screen here gives me the "CMS Nav" in a
>> tree on
>> the left. If I click on any node I get the following stack trace.
>>
>>
>>
>> Any help would be appreciated.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Error rendering included template at location
>> [component://content/webapp/conten
>>
>> t/website/WebSiteCMSContent.ftl]:
>> freemarker.core.InvalidReferenceException:
>> Exp
>>
>> ression uiLabelMap is undefined on line 168, column 37 in
>> component://content/we
>>
>> bapp/content/website/WebSiteCMSContent.ftl.
>>
>> Exception: freemarker.core.InvalidReferenceException
>>
>> Message: Expression uiLabelMap is undefined on line 168, column 37 in
>> component:
>>
>> //content/webapp/content/website/WebSiteCMSContent.ftl.
>>
>> ---- stack trace
>> ---------------------------------------------------------------
>>
>>
>>
>> Expression uiLabelMap is undefined on line 168, column 37 in
>> component://content
>>
>> /webapp/content/website/WebSiteCMSContent.ftl.
>>
>> The problematic instruction:
>>
>> ----------
>>
>> ==> ${uiLabelMap.FormFieldTitle_contentId} [on line 168, column 35 in
>> component:
>>
>> //content/webapp/content/website/WebSiteCMSContent.ftl]
>>
>> ----------
>>
>> Java backtrace for programmers:
>>
>> ----------
>>
>> freemarker.core.InvalidReferenceException: Expression uiLabelMap is
>> undefined on
>>
>> line 168, column 37 in
>> component://content/webapp/content/website/WebSiteCMSCon
>>
>> tent.ftl.
>>
>> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
>>
>> freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
>>
>>
>> freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
>>
>> freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
>>
>> freemarker.core.Expression.getStringValue(Expression.java:93)
>>
>> freemarker.core.DollarVariable.accept(DollarVariable.java:76)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.MixedContent.accept(MixedContent.java:92)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.MixedContent.accept(MixedContent.java:92)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.MixedContent.accept(MixedContent.java:92)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.Environment.process(Environment.java:176)
>>
>> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
>>
>> r.ja
>>
>> va:198)
>>
>> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
>>
>> r.ja
>>
>> va:163)
>>
>> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeM
>>
>> arke
>>
>> rWorker.java:136)
>>
>> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:96)
>>
>> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidge
>>
>> t.ja
>>
>> va:139)
>>
>> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:68)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetStrin
>>
>> g(Mo
>>
>> delScreenWidget.java:780)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>>
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>>
>> reen
>>
>> Widget.java:220)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>>
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>>
>> Scre
>>
>> enWidget.java:279)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>>
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>>
>> Scre
>>
>> enWidget.java:279)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>>
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>>
>> reen
>>
>> Widget.java:220)
>>
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:142)
>>
>>
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:131)
>>
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:94)
>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
>>
>> er.j
>>
>> ava:96)
>>
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:651)
>>
>>
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:442)
>>
>>
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
>>
>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>>
>> Filt
>>
>> erChain.java:269)
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>>
>> ain.
>>
>> java:188)
>>
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>>
>> Filt
>>
>> erChain.java:215)
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>>
>> ain.
>>
>> java:188)
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>>
>> va:2
>>
>> 10)
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
>>
>> va:1
>>
>> 74)
>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
>>
>> )
>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
>>
>> )
>>
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>>
>> :108
>>
>> )
>>
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)
>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>>
>>
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
>>
>>
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
>>
>> onne
>>
>> ction(Http11BaseProtocol.java:665)
>>
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>>
>> a:52
>>
>> 8)
>>
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>>
>> rker
>>
>> Thread.java:81)
>>
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>>
>> a:68
>>
>> 5)
>>
>> java.lang.Thread.run(Thread.java:595)
>>
>> ----------------------------------------------------------------------------
>>
>> ----
>>
>>
>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Help with CMSSite Example

John M. Rinck
In reply to this post by David E Jones
Did you have any chance to look this over?

Any hints or pointers of where I can look?

Did you notice one other person had the same problem.

-----Original Message-----
From: David E Jones [mailto:[hidden email]]
Sent: Monday, February 11, 2008 10:29 PM
To: [hidden email]
Subject: Re: Help with CMSSite Example


Which version of OFBiz are you using? I tried it on the latest trunk  
(well from yesterday) on demo.hotwaxmedia.com and most of it was  
working. There appears to be a javascript error on that page though.

-David


On Feb 11, 2008, at 2:34 PM, John M. Rinck wrote:

> I just downloaded Ofbiz and I was exploring some the features when I  
> ran
> into a problem.
>
>
>
> I have navigated to "WebSites" tab in the Content application. I had
> selected the "CMSSITE" website. Once that website is selected a sub  
> menu
> with appears.
>
>
>
> The menu choices are: Website|Content|Parties|CMS.
>
>
>
> I have selected "CMS". The screen here gives me the "CMS Nav" in a  
> tree on
> the left. If I click on any node I get the following stack trace.
>
>
>
> Any help would be appreciated.
>
>
>
>
>
>
>
>
>
> Error rendering included template at location
> [component://content/webapp/conten
>
> t/website/WebSiteCMSContent.ftl]:  
> freemarker.core.InvalidReferenceException:
> Exp
>
> ression uiLabelMap is undefined on line 168, column 37 in
> component://content/we
>
> bapp/content/website/WebSiteCMSContent.ftl.
>
> Exception: freemarker.core.InvalidReferenceException
>
> Message: Expression uiLabelMap is undefined on line 168, column 37 in
> component:
>
> //content/webapp/content/website/WebSiteCMSContent.ftl.
>
> ---- stack trace
> ---------------------------------------------------------------
>
>
>
> Expression uiLabelMap is undefined on line 168, column 37 in
> component://content
>
> /webapp/content/website/WebSiteCMSContent.ftl.
>
> The problematic instruction:
>
> ----------
>
> ==> ${uiLabelMap.FormFieldTitle_contentId} [on line 168, column 35 in
> component:
>
> //content/webapp/content/website/WebSiteCMSContent.ftl]
>
> ----------
>
> Java backtrace for programmers:
>
> ----------
>
> freemarker.core.InvalidReferenceException: Expression uiLabelMap is
> undefined on
>
> line 168, column 37 in
> component://content/webapp/content/website/WebSiteCMSCon
>
> tent.ftl.
>
> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
>
> freemarker
> .core.TemplateObject.invalidTypeException(TemplateObject.java:134)
>
> freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
>
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
>
> freemarker.core.Expression.getStringValue(Expression.java:93)
>
> freemarker.core.DollarVariable.accept(DollarVariable.java:76)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.MixedContent.accept(MixedContent.java:92)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.MixedContent.accept(MixedContent.java:92)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.MixedContent.accept(MixedContent.java:92)
>
> freemarker.core.Environment.visit(Environment.java:196)
>
> freemarker.core.Environment.process(Environment.java:176)
>
> org
> .ofbiz
> .base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
> r.ja
>
> va:198)
>
> org
> .ofbiz
> .base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
> r.ja
>
> va:163)
>
> org
> .ofbiz
> .base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeM
> arke
>
> rWorker.java:136)
>
> org
> .ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:96)
>
> org.ofbiz.widget.screen.HtmlWidget
> $HtmlTemplate.renderWidgetString(HtmlWidge
> t.ja
>
> va:139)
>
> org
> .ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:68)
>
> org.ofbiz.widget.screen.ModelScreenWidget
> $PlatformSpecific.renderWidgetStrin
> g(Mo
>
> delScreenWidget.java:780)
>
> org
> .ofbiz
> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widg
>
> et.java:134)
>
> org.ofbiz.widget.screen.ModelScreenWidget
> $Section.renderWidgetString(ModelSc
> reen
>
> Widget.java:220)
>
> org
> .ofbiz
> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widg
>
> et.java:134)
>
> org.ofbiz.widget.screen.ModelScreenWidget
> $Container.renderWidgetString(Model
> Scre
>
> enWidget.java:279)
>
> org
> .ofbiz
> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widg
>
> et.java:134)
>
> org.ofbiz.widget.screen.ModelScreenWidget
> $Container.renderWidgetString(Model
> Scre
>
> enWidget.java:279)
>
> org
> .ofbiz
> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widg
>
> et.java:134)
>
> org.ofbiz.widget.screen.ModelScreenWidget
> $Section.renderWidgetString(ModelSc
> reen
>
> Widget.java:220)
>
> org
> .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
> 142)
>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:131)
>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:94)
>
> org
> .ofbiz
> .widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
> er.j
>
> ava:96)
>
> org
> .ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:
> 651)
>
> org
> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 442)
>
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
>
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
> org
> .apache
> .catalina.core.ApplicationFilterChain.internalDoFilter(Application
> Filt
>
> erChain.java:269)
>
> org
> .apache
> .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.
>
> java:188)
>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 248)
>
> org
> .apache
> .catalina.core.ApplicationFilterChain.internalDoFilter(Application
> Filt
>
> erChain.java:215)
>
> org
> .apache
> .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.
>
> java:188)
>
> org
> .apache
> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:2
>
> 10)
>
> org
> .apache
> .catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:1
>
> 74)
>
> org
> .apache
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
> )
>
> org
> .apache
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
> )
>
> org
> .apache
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :108
>
> )
>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 542)
>
> org
> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 151)
>
> org
> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 870)
>
> org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.processC
> onne
>
> ction(Http11BaseProtocol.java:665)
>
> org
> .apache
> .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:52
>
> 8)
>
> org
> .apache
> .tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rker
>
> Thread.java:81)
>
> org.apache.tomcat.util.threads.ThreadPool
> $ControlRunnable.run(ThreadPool.jav
> a:68
>
> 5)
>
> java.lang.Thread.run(Thread.java:595)
>
>
----------------------------------------------------------------------------
> ----
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Help with CMSSite Example

David E Jones
In reply to this post by John M. Rinck

John,

After that first little test to try to reproduce it on the demo server  
I haven't had a chance to look at it, and probably won't have a chance  
for a few days.

My recommendation would be to continue looking into it and writing  
more comments and questions to the mailing list.

Please be as detailed as possible. In general if someone looks at the  
information you've gathered and can see what it is you're running into  
it will get fixed quickly. If it is not something obvious and is  
difficult to reproduce then it may take longer as someone will have to  
find a larger block of free time to get to it.

-David


On Feb 13, 2008, at 12:04 AM, John M. Rinck wrote:

> Did you have any chance to look this over?
>
> Any hints or pointers of where I can look?
>
> Did you notice one other person had the same problem?
>
> -----Original Message-----
> From: David E Jones [mailto:[hidden email]]
> Sent: Monday, February 11, 2008 10:29 PM
> To: [hidden email]
> Subject: Re: Help with CMSSite Example
>
>
> Which version of OFBiz are you using? I tried it on the latest trunk
> (well from yesterday) on demo.hotwaxmedia.com and most of it was
> working. There appears to be a javascript error on that page though.
>
> -David
>
>
> On Feb 11, 2008, at 2:34 PM, John M. Rinck wrote:
>
>> I just downloaded Ofbiz and I was exploring some the features when I
>> ran
>> into a problem.
>>
>>
>>
>> I have navigated to "WebSites" tab in the Content application. I had
>> selected the "CMSSITE" website. Once that website is selected a sub
>> menu
>> with appears.
>>
>>
>>
>> The menu choices are: Website|Content|Parties|CMS.
>>
>>
>>
>> I have selected "CMS". The screen here gives me the "CMS Nav" in a
>> tree on
>> the left. If I click on any node I get the following stack trace.
>>
>>
>>
>> Any help would be appreciated.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Error rendering included template at location
>> [component://content/webapp/conten
>>
>> t/website/WebSiteCMSContent.ftl]:
>> freemarker.core.InvalidReferenceException:
>> Exp
>>
>> ression uiLabelMap is undefined on line 168, column 37 in
>> component://content/we
>>
>> bapp/content/website/WebSiteCMSContent.ftl.
>>
>> Exception: freemarker.core.InvalidReferenceException
>>
>> Message: Expression uiLabelMap is undefined on line 168, column 37 in
>> component:
>>
>> //content/webapp/content/website/WebSiteCMSContent.ftl.
>>
>> ---- stack trace
>> ---------------------------------------------------------------
>>
>>
>>
>> Expression uiLabelMap is undefined on line 168, column 37 in
>> component://content
>>
>> /webapp/content/website/WebSiteCMSContent.ftl.
>>
>> The problematic instruction:
>>
>> ----------
>>
>> ==> ${uiLabelMap.FormFieldTitle_contentId} [on line 168, column 35 in
>> component:
>>
>> //content/webapp/content/website/WebSiteCMSContent.ftl]
>>
>> ----------
>>
>> Java backtrace for programmers:
>>
>> ----------
>>
>> freemarker.core.InvalidReferenceException: Expression uiLabelMap is
>> undefined on
>>
>> line 168, column 37 in
>> component://content/webapp/content/website/WebSiteCMSCon
>>
>> tent.ftl.
>>
>> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
>>
>> freemarker
>> .core.TemplateObject.invalidTypeException(TemplateObject.java:134)
>>
>> freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
>>
>> freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
>>
>> freemarker.core.Expression.getStringValue(Expression.java:93)
>>
>> freemarker.core.DollarVariable.accept(DollarVariable.java:76)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.MixedContent.accept(MixedContent.java:92)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.MixedContent.accept(MixedContent.java:92)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.MixedContent.accept(MixedContent.java:92)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.Environment.process(Environment.java:176)
>>
>> org
>> .ofbiz
>> .base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
>> r.ja
>>
>> va:198)
>>
>> org
>> .ofbiz
>> .base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
>> r.ja
>>
>> va:163)
>>
>> org
>> .ofbiz
>> .base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeM
>> arke
>>
>> rWorker.java:136)
>>
>> org
>> .ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:
>> 96)
>>
>> org.ofbiz.widget.screen.HtmlWidget
>> $HtmlTemplate.renderWidgetString(HtmlWidge
>> t.ja
>>
>> va:139)
>>
>> org
>> .ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:
>> 68)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $PlatformSpecific.renderWidgetStrin
>> g(Mo
>>
>> delScreenWidget.java:780)
>>
>> org
>> .ofbiz
>> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $Section.renderWidgetString(ModelSc
>> reen
>>
>> Widget.java:220)
>>
>> org
>> .ofbiz
>> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $Container.renderWidgetString(Model
>> Scre
>>
>> enWidget.java:279)
>>
>> org
>> .ofbiz
>> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $Container.renderWidgetString(Model
>> Scre
>>
>> enWidget.java:279)
>>
>> org
>> .ofbiz
>> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $Section.renderWidgetString(ModelSc
>> reen
>>
>> Widget.java:220)
>>
>> org
>> .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
>> 142)
>>
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:
>> 131)
>>
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:94)
>>
>> org
>> .ofbiz
>> .widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
>> er.j
>>
>> ava:96)
>>
>> org
>> .ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:
>> 651)
>>
>> org
>> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 442)
>>
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:
>> 193)
>>
>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:
>> 78)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>
>> org
>> .apache
>> .catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> Filt
>>
>> erChain.java:269)
>>
>> org
>> .apache
>> .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.
>>
>> java:188)
>>
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
>> 248)
>>
>> org
>> .apache
>> .catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> Filt
>>
>> erChain.java:215)
>>
>> org
>> .apache
>> .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.
>>
>> java:188)
>>
>> org
>> .apache
>> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>> va:2
>>
>> 10)
>>
>> org
>> .apache
>> .catalina.core.StandardContextValve.invoke(StandardContextValve.ja
>> va:1
>>
>> 74)
>>
>> org
>> .apache
>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
>> )
>>
>> org
>> .apache
>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
>> )
>>
>> org
>> .apache
>> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>> :108
>>
>> )
>>
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
>> 542)
>>
>> org
>> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
>> 151)
>>
>> org
>> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>> 870)
>>
>> org.apache.coyote.http11.Http11BaseProtocol
>> $Http11ConnectionHandler.processC
>> onne
>>
>> ction(Http11BaseProtocol.java:665)
>>
>> org
>> .apache
>> .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:52
>>
>> 8)
>>
>> org
>> .apache
>> .tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rker
>>
>> Thread.java:81)
>>
>> org.apache.tomcat.util.threads.ThreadPool
>> $ControlRunnable.run(ThreadPool.jav
>> a:68
>>
>> 5)
>>
>> java.lang.Thread.run(Thread.java:595)
>>
>>
> ----------------------------------------------------------------------------
>> ----
>>
>>
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Help with CMSSite Example

Jacques Le Roux
Administrator
In reply to this post by John M. Rinck
FYI, I Just had a look, I confirm it does not wok in trunk, it works in release4.0.

I had a look in trunk, but as Adrian signaled, it's not obvious. I will continue a bit this aftrenoon though...

Jacques

> Did you have any chance to look this over?
>
> Any hints or pointers of where I can look?
>
> Did you notice one other person had the same problem.
>
> -----Original Message-----
> From: David E Jones [mailto:[hidden email]]
> Sent: Monday, February 11, 2008 10:29 PM
> To: [hidden email]
> Subject: Re: Help with CMSSite Example
>
>
> Which version of OFBiz are you using? I tried it on the latest trunk  
> (well from yesterday) on demo.hotwaxmedia.com and most of it was  
> working. There appears to be a javascript error on that page though.
>
> -David
>
>
> On Feb 11, 2008, at 2:34 PM, John M. Rinck wrote:
>
>> I just downloaded Ofbiz and I was exploring some the features when I  
>> ran
>> into a problem.
>>
>>
>>
>> I have navigated to "WebSites" tab in the Content application. I had
>> selected the "CMSSITE" website. Once that website is selected a sub  
>> menu
>> with appears.
>>
>>
>>
>> The menu choices are: Website|Content|Parties|CMS.
>>
>>
>>
>> I have selected "CMS". The screen here gives me the "CMS Nav" in a  
>> tree on
>> the left. If I click on any node I get the following stack trace.
>>
>>
>>
>> Any help would be appreciated.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Error rendering included template at location
>> [component://content/webapp/conten
>>
>> t/website/WebSiteCMSContent.ftl]:  
>> freemarker.core.InvalidReferenceException:
>> Exp
>>
>> ression uiLabelMap is undefined on line 168, column 37 in
>> component://content/we
>>
>> bapp/content/website/WebSiteCMSContent.ftl.
>>
>> Exception: freemarker.core.InvalidReferenceException
>>
>> Message: Expression uiLabelMap is undefined on line 168, column 37 in
>> component:
>>
>> //content/webapp/content/website/WebSiteCMSContent.ftl.
>>
>> ---- stack trace
>> ---------------------------------------------------------------
>>
>>
>>
>> Expression uiLabelMap is undefined on line 168, column 37 in
>> component://content
>>
>> /webapp/content/website/WebSiteCMSContent.ftl.
>>
>> The problematic instruction:
>>
>> ----------
>>
>> ==> ${uiLabelMap.FormFieldTitle_contentId} [on line 168, column 35 in
>> component:
>>
>> //content/webapp/content/website/WebSiteCMSContent.ftl]
>>
>> ----------
>>
>> Java backtrace for programmers:
>>
>> ----------
>>
>> freemarker.core.InvalidReferenceException: Expression uiLabelMap is
>> undefined on
>>
>> line 168, column 37 in
>> component://content/webapp/content/website/WebSiteCMSCon
>>
>> tent.ftl.
>>
>> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
>>
>> freemarker
>> .core.TemplateObject.invalidTypeException(TemplateObject.java:134)
>>
>> freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
>>
>> freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
>>
>> freemarker.core.Expression.getStringValue(Expression.java:93)
>>
>> freemarker.core.DollarVariable.accept(DollarVariable.java:76)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.MixedContent.accept(MixedContent.java:92)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.MixedContent.accept(MixedContent.java:92)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.MixedContent.accept(MixedContent.java:92)
>>
>> freemarker.core.Environment.visit(Environment.java:196)
>>
>> freemarker.core.Environment.process(Environment.java:176)
>>
>> org
>> .ofbiz
>> .base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
>> r.ja
>>
>> va:198)
>>
>> org
>> .ofbiz
>> .base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorke
>> r.ja
>>
>> va:163)
>>
>> org
>> .ofbiz
>> .base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeM
>> arke
>>
>> rWorker.java:136)
>>
>> org
>> .ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:96)
>>
>> org.ofbiz.widget.screen.HtmlWidget
>> $HtmlTemplate.renderWidgetString(HtmlWidge
>> t.ja
>>
>> va:139)
>>
>> org
>> .ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:68)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $PlatformSpecific.renderWidgetStrin
>> g(Mo
>>
>> delScreenWidget.java:780)
>>
>> org
>> .ofbiz
>> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $Section.renderWidgetString(ModelSc
>> reen
>>
>> Widget.java:220)
>>
>> org
>> .ofbiz
>> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $Container.renderWidgetString(Model
>> Scre
>>
>> enWidget.java:279)
>>
>> org
>> .ofbiz
>> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $Container.renderWidgetString(Model
>> Scre
>>
>> enWidget.java:279)
>>
>> org
>> .ofbiz
>> .widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widg
>>
>> et.java:134)
>>
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $Section.renderWidgetString(ModelSc
>> reen
>>
>> Widget.java:220)
>>
>> org
>> .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
>> 142)
>>
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:131)
>>
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:94)
>>
>> org
>> .ofbiz
>> .widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
>> er.j
>>
>> ava:96)
>>
>> org
>> .ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:
>> 651)
>>
>> org
>> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 442)
>>
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
>>
>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>
>> org
>> .apache
>> .catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> Filt
>>
>> erChain.java:269)
>>
>> org
>> .apache
>> .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.
>>
>> java:188)
>>
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
>> 248)
>>
>> org
>> .apache
>> .catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> Filt
>>
>> erChain.java:215)
>>
>> org
>> .apache
>> .catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.
>>
>> java:188)
>>
>> org
>> .apache
>> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>> va:2
>>
>> 10)
>>
>> org
>> .apache
>> .catalina.core.StandardContextValve.invoke(StandardContextValve.ja
>> va:1
>>
>> 74)
>>
>> org
>> .apache
>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
>> )
>>
>> org
>> .apache
>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
>> )
>>
>> org
>> .apache
>> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>> :108
>>
>> )
>>
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
>> 542)
>>
>> org
>> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
>> 151)
>>
>> org
>> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>> 870)
>>
>> org.apache.coyote.http11.Http11BaseProtocol
>> $Http11ConnectionHandler.processC
>> onne
>>
>> ction(Http11BaseProtocol.java:665)
>>
>> org
>> .apache
>> .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:52
>>
>> 8)
>>
>> org
>> .apache
>> .tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rker
>>
>> Thread.java:81)
>>
>> org.apache.tomcat.util.threads.ThreadPool
>> $ControlRunnable.run(ThreadPool.jav
>> a:68
>>
>> 5)
>>
>> java.lang.Thread.run(Thread.java:595)
>>
>>
> ----------------------------------------------------------------------------
>> ----
>>
>>
>>
>>
>>
>
>