Problem with Autocomplete in ofbiz?

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

Problem with Autocomplete in ofbiz?

Vasu .T
Hai,this is Vasu.I am a beginner with some knowledge in ofbiz.When i was using ofbiz i found that :

Two fields named userlogin Id and customer is not giving autocomplete i.e drop down list when i typed letter 'a' in those fields in the link:  

https://localhost:8443/ordermgr/control/orderentry 

But i got autocomplete output when i typed letter 'a' in partyid field in the link:

https://localhost:8443/humanres/control/FindEmplLeaves


Similar,problems i found are in the links below:

https://localhost:8443/catalog/control/EditProdCatalogParties?prodCatalogId=DemoCatalog
https://localhost:8443/facility/control/EditFacility

The images to the right of that field is an indication.


Please,somebody help me what should i do to get autocomplete output in the above links.
URGENT please..................................................................................................................................................
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Autocomplete in ofbiz?

Rishi Solanki
Hi Vasu,
The links you are referring in your email and the fields are not supporting
the auto completion.
That means userLoginIdm Customer at orderentry screen and the partyId at
FindEmplLeaves.
FYI, you need to get the list of the values from DB to show them on a field
for auto completion. Let me know if you did something on the fields where
you want auto completer.

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Sun, Mar 7, 2010 at 9:22 PM, Vasu .T <[hidden email]> wrote:

>
> Hai,this is Vasu.I am a beginner with some knowledge in ofbiz.When i was
> using ofbiz i found that :
>
> Two fields named userlogin Id and customer is not giving autocomplete i.e
> drop down list when i typed letter 'a' in those fields in the link:
>
> https://localhost:8443/ordermgr/control/orderentry
>
> But i got autocomplete output when i typed letter 'a' in partyid field in
> the link:
>
> https://localhost:8443/humanres/control/FindEmplLeaves
>
>
> Similar,problems i found are in the links below:
>
>
> https://localhost:8443/catalog/control/EditProdCatalogParties?prodCataloagId=DemoCatalog<https://localhost:8443/catalog/control/EditProdCatalogParties?prodCatalogId=DemoCatalog>
> https://localhost:8443/facility/control/EditFacility
>
> The images to the right of that field is an indication.
>
>
> Please,somebody help me what should i do to get autocomplete output in the
> above links.
> URGENT
>
> please..................................................................................................................................................
> --
> View this message in context:
> http://n4.nabble.com/Problem-with-Autocomplete-in-ofbiz-tp1583635p1583635.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Autocomplete in ofbiz?

Vasu .T
In reply to this post by Vasu .T
Hai,Rishi
Thanks for reply.

No,just i opened that screen for the fist time after installing ofbiz and typed letter 'a' and i could not see any autocomplete ouput because when i typed letter 'a' in partyid field i got some autocomplete output.
Am i wrong in typing letter 'a' in userloginid and customer to see autocomplete ouput.
If i am what should i need to do to get autocomplete output.

Please some steps.......
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Autocomplete in ofbiz?

Bilgin Ibryam-2
In reply to this post by Vasu .T
Hi Vasu,

In ofbiz you can create html forms in two ways: using freemarker and
using form widget. When form widget is used all lookup fields have also
autocompleter, but in freemarker forms this feature is missing. That's
why there is no autocompleter in some fields as you noticed.
> Hai,this is Vasu.I am a beginner with some knowledge in ofbiz.When i was
> using ofbiz i found that :
>
> Two fields named userlogin Id and customer is not giving autocomplete i.e
> drop down list when i typed letter 'a' in those fields in the link:  
>
> https://localhost:8443/ordermgr/control/orderentry 
>  
The above form is created using freemarker, so there is no autocompleter


> But i got autocomplete output when i typed letter 'a' in partyid field in
> the link:
>
> https://localhost:8443/humanres/control/FindEmplLeaves
>
>  
The above form is created with form widget.

> Similar,problems i found are in the links below:
>
> https://localhost:8443/catalog/control/EditProdCatalogParties?prodCatalogId=DemoCatalog
> https://localhost:8443/facility/control/EditFacility
>
> The images to the right of that field is an indication.
>
>
> Please,somebody help me what should i do to get autocomplete output in the
> above links.
>  
Thanks to Bruno, now https://issues.apache.org/jira/browse/OFBIZ-3541 is
completed, which means it is possible to replace all the freemarker
lookups with "new lookup macros" and have autocompleter also in
freemarker forms.
If you want to help us and also have autocompleter in all the places,
you should start from
http://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices,
then create a jira issue and start replacing old lookups with new ones.
For an exmple on how to replace the old lookup with new ones (with
autocompleter support) you can check the attached patch in OFBIZ-3541

Internally autocompleters use scriptaculous library, you can read about
it here
http://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices

HTH
Bilgin

> URGENT
> please..................................................................................................................................................
>  

Reply | Threaded
Open this post in threaded view
|

Re: Problem with Autocomplete in ofbiz?

Bilgin Ibryam-2
 
>
> Internally autocompleters use scriptaculous library, you can read
> about it here
> http://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices 
>
>
 I gave a wrong link, the correct one is this
http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Autocomplete in ofbiz?

Rishi Solanki
In reply to this post by Vasu .T
Hi Vasu,
Here I'm giving an example of autocompleter using ftl. Refer the
geoAutoCompleter.js here you can see the 2 functions as follows ;
getCountryList() and callCountryAutocompleter(transport).
Here are pre-requested things which needs to be get when you want
autocompleter on a field. For example on country the field on which you want
autocompleter is shipToCountryGeo, the value which pass when form is submit
is shipToCountryGeoId, the div in which the autocomplete list show on typing
a letter is shipToCountries.
For the all above we get the list from a service which we get in the
getCountryList function and then prepare it to pass into the AutoCompleter
constructor. For now you can ignore the afterUpdateElement.
Note: For all these needs to be done we need to include the prototype.js and
controls.js in our screen.

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Mon, Mar 8, 2010 at 2:12 PM, Vasu .T <[hidden email]> wrote:

>
> Hai,Rishi
> Thanks for reply.
>
> No,just i opened that screen for the fist time after installing ofbiz and
> typed letter 'a' and i could not see any autocomplete ouput because when i
> typed letter 'a' in partyid field i got some autocomplete output.
> Am i wrong in typing letter 'a' in userloginid and customer to see
> autocomplete ouput.
> If i am what should i need to do to get autocomplete output.
>
> Please some steps.......
> --
> View this message in context:
> http://n4.nabble.com/Problem-with-Autocomplete-in-ofbiz-tp1583635p1584213.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Autocomplete in ofbiz?

Vasu .T
In reply to this post by Bilgin Ibryam-2
Hai Bilgin i just got this error when i used patch in the link https://issues.apache.org/jira/browse/OFBIZ-3541
any help.......................

Edit Category with Category ID:
Expression formrenderer is undefined on line 39, column 15 in component://product/webapp/catalog/main.ftl. The problematic instruction: ---------- ==> user-directive formrenderer.renderLookupField [on line 39, column 13 in component://product/webapp/catalog/main.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression formrenderer is undefined on line 39, column 15 in component://product/webapp/catalog/main.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134) at freemarker.core.Dot._getAsTemplateModel(Dot.java:78) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:97) 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 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.Environment.process(Environment.java:189) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:205) at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1001) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:704) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:736) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:296) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:296) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:296) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:704) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:736) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:296) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:672) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:576) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:672) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) at org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:831) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:550) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:223) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Error rendering included template at location [component://product/webapp/catalog/main.ftl]: freemarker.core.InvalidReferenceException: Expression formrenderer is undefined on line 39, column 15 in component://product/webapp/catalog/main.ftl.
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Autocomplete in ofbiz?

Vasu .T
In reply to this post by Bilgin Ibryam-2
Sir,There is FreeMarkerWorker.class and there is no freemarkerworker.java When we search we l get .java file but physically it is not existing in folder then changes made to .java to be should be reflected in .class file to overcome error .How to do it any help.The reason for error is this?.
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Autocomplete in ofbiz?

BJ Freeman
In reply to this post by Bilgin Ibryam-2
trunk shows
\framework\base\src\org\ofbiz\base\util\template\FreeMarkerWorker.java
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java?view=markup&pathrev=883217

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Vasu .T sent the following on 3/9/2010 8:24 AM:
> Sir,There is FreeMarkerWorker.class and there is no freemarkerworker.java
> When we search we l get .java file but physically it is not existing in
> folder then changes made to .java to be should be reflected in .class file
> to overcome error .How to do it any help.The reason for error is this?.
>


Reply | Threaded
Open this post in threaded view
|

Re: Problem with Autocomplete in ofbiz?

Bilgin Ibryam-2
In reply to this post by Vasu .T
Did you compiled and restarted after applying the patch?
BTW the patch is already in trunk, so you can simply update (if you are
using trunk), compile, restart and start replacing lookups.

Bilgin

Vasu .T wrote:

> Hai Bilgin i just got this error when i used patch in the link
> https://issues.apache.org/jira/browse/OFBIZ-3541
> any help.......................
>
> Edit Category with Category ID:
> Expression formrenderer is undefined on line 39, column 15 in
> component://product/webapp/catalog/main.ftl. The problematic instruction:
> ---------- ==> user-directive formrenderer.renderLookupField [on line 39,
> column 13 in component://product/webapp/catalog/main.ftl] ---------- Java
> backtrace for programmers: ----------
> freemarker.core.InvalidReferenceException: Expression formrenderer is
> undefined on line 39, column 15 in
> component://product/webapp/catalog/main.ftl. at
> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at
> freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
> at freemarker.core.Dot._getAsTemplateModel(Dot.java:78) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.UnifiedCall.accept(UnifiedCall.java:97) 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
> 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.Environment.process(Environment.java:189) at
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:205)
> at
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
> at
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
> at
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1001)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:704)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:736)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:296)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:296)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:242)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:296)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:704)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:736)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:296)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:672)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:576)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:672)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:228)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) at
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
> at
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:831)
> at
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:550)
> at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:223) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:619) Error rendering included template
> at location [component://product/webapp/catalog/main.ftl]:
> freemarker.core.InvalidReferenceException: Expression formrenderer is
> undefined on line 39, column 15 in
> component://product/webapp/catalog/main.ftl.
>