You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2010/02/03 13:05:24 UTC
svn commit: r906020 -
/ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
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>
Re: svn commit: r906020 - /ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
Posted by Adrian Crum <ad...@yahoo.com>.
--- On Wed, 2/3/10, Erwan de FERRIERES <er...@nereide.fr> wrote:
> From: Erwan de FERRIERES <er...@nereide.fr>
> Subject: Re: svn commit: r906020 - /ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
> To: dev@ofbiz.apache.org
> 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
> >>
> >> erwan@apache.org
> 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
Re: svn commit: r906020 - /ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
Posted by Erwan de FERRIERES <er...@nereide.fr>.
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
>>
>> erwan@apache.org 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 ?
--
Erwan de FERRIERES
www.nereide.biz
Re: svn commit: r906020 - /ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
Posted by Erwan de FERRIERES <er...@nereide.fr>.
Le 03/02/2010 16:41, Adrian Crum a écrit :
> This commit introduces a framework dependency on applications.
>
> -Adrian
>
> erwan@apache.org 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 ?
--
Erwan de FERRIERES
www.nereide.biz
Re: svn commit: r906020 - /ofbiz/trunk/framework/example/widget/example/CommonScreens.xml
Posted by Adrian Crum <ad...@hlmksw.com>.
This commit introduces a framework dependency on applications.
-Adrian
erwan@apache.org 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>
>
>
>