getProductCategoryAndLimitedMembers

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

getProductCategoryAndLimitedMembers

Grant Edwards-2
Hi

Running a find on my system looking for *.bsh and within each file found
looking for "getProductCategoryAndLimitedMembers" list the following file:

./applications/product/webapp/catalog/WEB-INF/actions/category/EditCategoryProducts.bsh
./applications/product/webapp/catalog/WEB-INF/actions/find/miniproductlist.bsh
./applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/quickadd.bsh
./applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/categorydetail.bsh

At the top of each file just after the import statements I have placed
the following line of code:

        System.out.println("-=-=-=- TEST BSH SERVICE -=-=-=-  
miniproductlist");



I have replace the service getProductCategoryAndLimitedMembers with a
local implementation and the results are as expected. I need to do a bit
more debugging and hence the System.out.println above, however I do not
see the results of the System.out.println in the console or any of the
other log files.

Have I missed something ?


Kind regards

Grant Edwards



Reply | Threaded
Open this post in threaded view
|

Re: getProductCategoryAndLimitedMembers

Scott Gray
Hi Grant

I can't comment on why System.out wouldn't work but I always use:
import org.ofbiz.base.util.*;
Debug.log("Message");

Regards
Scott

On 26/03/2008, Grant Edwards <[hidden email]> wrote:

>
> Hi
>
> Running a find on my system looking for *.bsh and within each file found
> looking for "getProductCategoryAndLimitedMembers" list the following file:
>
>
> ./applications/product/webapp/catalog/WEB-INF/actions/category/EditCategoryProducts.bsh
>
> ./applications/product/webapp/catalog/WEB-INF/actions/find/miniproductlist.bsh
>
> ./applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/quickadd.bsh
>
> ./applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/categorydetail.bsh
>
> At the top of each file just after the import statements I have placed
> the following line of code:
>
>         System.out.println("-=-=-=- TEST BSH SERVICE -=-=-=-
> miniproductlist");
>
>
>
> I have replace the service getProductCategoryAndLimitedMembers with a
> local implementation and the results are as expected. I need to do a bit
> more debugging and hence the System.out.println above, however I do not
> see the results of the System.out.println in the console or any of the
> other log files.
>
> Have I missed something ?
>
>
> Kind regards
>
>
> Grant Edwards
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: getProductCategoryAndLimitedMembers

Jacques Le Roux
Administrator
If you want to go quicker (not have to put import) you can use print("message");
(it should do the same than what you tried)

Jacques

From: "Scott Gray" <[hidden email]>

> Hi Grant
>
> I can't comment on why System.out wouldn't work but I always use:
> import org.ofbiz.base.util.*;
> Debug.log("Message");
>
> Regards
> Scott
>
> On 26/03/2008, Grant Edwards <[hidden email]> wrote:
>>
>> Hi
>>
>> Running a find on my system looking for *.bsh and within each file found
>> looking for "getProductCategoryAndLimitedMembers" list the following file:
>>
>>
>> ./applications/product/webapp/catalog/WEB-INF/actions/category/EditCategoryProducts.bsh
>>
>> ./applications/product/webapp/catalog/WEB-INF/actions/find/miniproductlist.bsh
>>
>> ./applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/quickadd.bsh
>>
>> ./applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/categorydetail.bsh
>>
>> At the top of each file just after the import statements I have placed
>> the following line of code:
>>
>>         System.out.println("-=-=-=- TEST BSH SERVICE -=-=-=-
>> miniproductlist");
>>
>>
>>
>> I have replace the service getProductCategoryAndLimitedMembers with a
>> local implementation and the results are as expected. I need to do a bit
>> more debugging and hence the System.out.println above, however I do not
>> see the results of the System.out.println in the console or any of the
>> other log files.
>>
>> Have I missed something ?
>>
>>
>> Kind regards
>>
>>
>> Grant Edwards
>>
>>
>>
>>
>