Sure, I know ;o)

It was more to know if someone knowledgeable about the tutorial (Pranay Pandey 
for instance) has an idea about it...

Thanks

Jacques

Pierre Smits wrote:
This is about
https://cwiki.apache.org/OFBIZ/ofbiz-tutorial-a-beginners-development-guide.html


It could be that the content there is outdated and related to prior
revisions than current state of the trunk.

Regards,

Pierre

Op 19 april 2012 23:21 schreef Jacques Le Roux <[email protected]
het volgende:

Is this a real issue, has it been fixed?

Thanks

Jacques

From: "赵忠诚" <[email protected]>

 hi:
  i was just learning ofbiz by OFBiz Tutorial - A Beginners
Development Guide webpage, but when i learned part 2, i was puzzled as
one problem appeared in console. finally i found the cause. In guide ,
the menu name is

name="MainAppBar"   in PracticeMenus.xml,but when you used the menu in
CommonScreens.xml ,
<set field="applicationMenuName"  value="PracticeAppBar"  global="true"/>

so the console will be report a wrong place ,


 * <http://localhost:8080/**mypractice/control/main;**jsessionid=**
442786E1DABE177398F6141E040251**25.jvm1<http://localhost:8080/mypractice/control/main;jsessionid=442786E1DABE177398F6141E04025125.jvm1>



Method public static org.ofbiz.widget.menu.**ModelMenu
org.ofbiz.widget.menu.**MenuFactory.**getMenuFromLocation(java.lang.**
String,java.lang.String,org.**ofbiz.entity.Delegator,org.**
ofbiz.service.LocalDispatcher)
throws
java.io.IOException,org.xml.**sax.SAXException,javax.xml.**parsers.**
ParserConfigurationException
threw an exception The problematic instruction: ---------- ==>
assignment:
appModelMenu=Static["org.**ofbiz.widget.menu.MenuFactory"**
].getMenuFromLocation(**applicationMenuLocation,**
applicationMenuName,delegator,**dispatcher)
[on line 27, column 1 in component://tomahawk/includes/**appbarOpen.ftl]
---------- Java backtrace for programmers: ---------- freemarker.template.
**TemplateModelException: Method public static
org.ofbiz.widget.menu.**ModelMenu................

i hope you can modify the wrong place , other readers will not be puzzled
.

Reply via email to