You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2012/05/12 23:17:23 UTC

Re: OFBiz Tutorial - A Beginners Development Guide some plase is wrong

I replaced 2 occurences of MainAppBar by PracticeAppBar in 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide page

I did not test anything, please let me know if it's correct

Thanks

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
> 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 <jacques.le.roux@les7arts.com
>>> het volgende:
>>
>>> Is this a real issue, has it been fixed?
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>> From: "赵忠诚" <zh...@163.com>
>>>
>>>  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
>>>> .