--- On Wed, 2/3/10, Erwan de FERRIERES <[email protected]> wrote:

> From: Erwan de FERRIERES <[email protected]>
> Subject: Re: svn commit: r906020 - 
> /ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
> To: [email protected]
> Date: Wednesday, February 3, 2010, 11:16 AM
> Le 03/02/2010 16:56, Erwan de
> FERRIERES a écrit :
> > Le 03/02/2010 16:41, Adrian Crum a écrit :
> >> This commit introduces a framework dependency on
> applications.
> >> 
> >> -Adrian
> >> 
> >> [email protected]
> wrote:
> >>> Author: erwan
> >>> Date: Wed Feb  3 12:05:22 2010
> >>> New Revision: 906020
> >>> 
> >>> URL: http://svn.apache.org/viewvc?rev=906020&view=rev
> >>> Log:
> >>> changeOrgPartyId.groovy wasn't called in the
> example component, and then was producing errors when
> accessing the component with dropping crumbs theme
> >>> 
> >>> Modified:
> >>> 
>    ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
> >>> 
> >>> Modified:
> ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
> >>> URL: 
> >>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/CommonScreens.xml?rev=906020&r1=906019&r2=906020&view=diff
> 
> >>>
> ==============================================================================
> 
> >>> ---
> ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
> (original)
> >>> +++
> ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
> Wed Feb  3 12:05:22 2010
> >>> @@ -45,6 +45,7 @@
> >>> <!--set field="appheaderTemplate"
> value="component://example/webapp/appheader.ftl"/-->
> >>> <set field="parameters.parentPortalPageId"
> from-field="parameters.parentPortalPageId"
> default-value="EXAMPLE"/>
> >>> <script
> location="component://common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy"/>
> 
> >>> + <script
> location="component://commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy"/>
> 
> >>> <set field="applicationTitle"
> value="${uiLabelMap.ExampleApplication}" global="true"/>
> >>> </actions>
> >>> <widgets>
> >>> 
> >>> 
> >>> 
> >> 
> > Yes, I didn't saw that... what can I do then to make
> menus working in Example with the dropping crumbs theme ?
> > 
> Adrian,
> we have the same problem with the BI and webtools
> applications. As dropping crumbs needs
> changeOrgPartyId.groovy to build the menus, what should be
> done ?

Remove the dependency in the theme. Why would a visual theme need party 
organization setup information?

-Adrian




Reply via email to