Re: whenever i am trying to run ofbiz-10-Aug-2010 code on windows platform using mysql db i get following exceptions

2010-08-19 Thread Hans Bakker
You ran out of memory, use the startofbiz.bat which has a larger memory
allocation than the default.

-- 
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.

On Thu, 2010-08-19 at 22:03 -0700, PrateekJain wrote:
> 10:19:35,094 ERROR [[/accounting]] Exception starting filter ContextFilter
> java.lang.OutOfMemoryError: unable to create new native thread
> at java.lang.Thread.start0(Native Method)
> at java.lang.Thread.start(Thread.java:597)
> at
> org.ofbiz.entity.transaction.GenericXaResource.start(GenericXaResource.java:101)
> at
> com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:776)
> at
> com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:499)
> at
> org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:71)
> at
> org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:54)
> at
> org.ofbiz.entity.transaction.DebugXaResource.enlist(DebugXaResource.java:53)
> at
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:191)
> at
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
> at
> org.ofbiz.entity.GenericDelegator.store(GenericDelegator.java:1329)
> at
> org.ofbiz.entity.GenericDelegator.store(GenericDelegator.java:1319)
> at
> org.ofbiz.service.job.JobManager.reloadCrashedJobs(JobManager.java:246)
> at org.ofbiz.service.job.JobPoller.(JobPoller.java:63)
> at org.ofbiz.service.job.JobManager.(JobManager.java:82)
> at org.ofbiz.service.job.JobManager.getInstance(JobManager.java:90)
> at
> org.ofbiz.service.ServiceDispatcher.(ServiceDispatcher.java:113)
> at
> org.ofbiz.service.ServiceDispatcher.(ServiceDispatcher.java:130)
> at
> org.ofbiz.service.ServiceDispatcher.getInstance(ServiceDispatcher.java:164)
> at
> org.ofbiz.service.ServiceDispatcher.getInstance(ServiceDispatcher.java:139)
> at
> org.ofbiz.service.GenericDispatcher.getLocalDispatcher(GenericDispatcher.java:78)
> at
> org.ofbiz.service.GenericDispatcher.getLocalDispatcher(GenericDispatcher.java:43)
> at
> org.ofbiz.entityext.EntityServiceFactory.getLocalDispatcher(EntityServiceFactory.java:34)
> at
> org.ofbiz.entityext.EntityServiceFactory.getDispatchContext(EntityServiceFactory.java:39)
> at
> org.ofbiz.entityext.eca.DelegatorEcaHandler.setDelegator(DelegatorEcaHandler.java:53)
> at
> org.ofbiz.entity.GenericDelegator.initEntityEcaHandler(GenericDelegator.java:342)
> at
> org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:42)
> at
> org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:347)
> at
> org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:108)
> at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
> at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
> at
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
> at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3722)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4367)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
> at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at
> org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
> at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.ja

whenever i am trying to run ofbiz-10-Aug-2010 code on windows platform using mysql db i get following exceptions

2010-08-19 Thread PrateekJain

10:19:35,094 ERROR [[/accounting]] Exception starting filter ContextFilter
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:597)
at
org.ofbiz.entity.transaction.GenericXaResource.start(GenericXaResource.java:101)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:776)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:499)
at
org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:71)
at
org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:54)
at
org.ofbiz.entity.transaction.DebugXaResource.enlist(DebugXaResource.java:53)
at
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:191)
at
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:131)
at
org.ofbiz.entity.GenericDelegator.store(GenericDelegator.java:1329)
at
org.ofbiz.entity.GenericDelegator.store(GenericDelegator.java:1319)
at
org.ofbiz.service.job.JobManager.reloadCrashedJobs(JobManager.java:246)
at org.ofbiz.service.job.JobPoller.(JobPoller.java:63)
at org.ofbiz.service.job.JobManager.(JobManager.java:82)
at org.ofbiz.service.job.JobManager.getInstance(JobManager.java:90)
at
org.ofbiz.service.ServiceDispatcher.(ServiceDispatcher.java:113)
at
org.ofbiz.service.ServiceDispatcher.(ServiceDispatcher.java:130)
at
org.ofbiz.service.ServiceDispatcher.getInstance(ServiceDispatcher.java:164)
at
org.ofbiz.service.ServiceDispatcher.getInstance(ServiceDispatcher.java:139)
at
org.ofbiz.service.GenericDispatcher.getLocalDispatcher(GenericDispatcher.java:78)
at
org.ofbiz.service.GenericDispatcher.getLocalDispatcher(GenericDispatcher.java:43)
at
org.ofbiz.entityext.EntityServiceFactory.getLocalDispatcher(EntityServiceFactory.java:34)
at
org.ofbiz.entityext.EntityServiceFactory.getDispatchContext(EntityServiceFactory.java:39)
at
org.ofbiz.entityext.eca.DelegatorEcaHandler.setDelegator(DelegatorEcaHandler.java:53)
at
org.ofbiz.entity.GenericDelegator.initEntityEcaHandler(GenericDelegator.java:342)
at
org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:42)
at
org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:347)
at
org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3722)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4367)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
   

Re: Wicket Component

2010-08-19 Thread Brian Topping
Yes, I would like to work with this too.  I am a very active Wicket user and 
have done a number of sites with it.  Last year, I built an application and 
converted a couple of GWT users over to it -- if by conversion I mean that the 
next sites they did for their own companies now use it!

On Aug 19, 2010, at 9:29 PM, james_sg wrote:

> 
> Hi all,
> 
> Thanks for the interest.
> 
> I will try to get the patch done over the weekends.
> 
> Regards,
> James
> 
> 
> Bilgin Ibryam-2 wrote:
>> 
>> I'd like to see it.
>> Please would you create a jira issue and attach your code?
>> 
>> Bilgin
>> 
>> On Thu, Aug 19, 2010 at 3:27 AM, james_sg  wrote:
>> 
>>> 
>>> Hi,
>>> 
>>> I would like to know if any developer be interested in my code
>>> contribution
>>> for a Wicket component.
>>> The Wicket component allows the developer to code content using java.
>>> My intention is for the code contribution to eventually go to the svn
>>> repository.
>>> 
>>> Regards,
>>> James
>>> 
>> 
>> 
> 
> -- 
> View this message in context: 
> http://ofbiz.135035.n4.nabble.com/Wicket-Component-tp2330577p2332078.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
> 



Re: and

2010-08-19 Thread BJ Freeman
since the link I gave is what drives the XML editors that are aware of 
the xsd and it has documents,  I feel it is as good, if not better than 
the other link you gave.
Now if that link had lots of examples for each then I would say it rates 
better.

just my opinion.

Jacques Le Roux sent the following on 8/19/2010 4:11 PM:


=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Maybe easier
https://cwiki.apache.org/confluence/display/OFBIZ/Mini-Language+Guide

Jacques

From: "BJ Freeman" 

http://ofbiz.apache.org/dtds/simple-methods.xsd

=
BJ Freeman 
Strategic Power Office with Supplier Automation

Specialtymarket.com 
Systems Integrator-- Glad to Assist

Chat Y! messenger: bjfr33man


Aayush sent the following on 8/19/2010 6:27 AM:


i want to know how and tags work
and what are the actual meaning of the fields involved in their working.

Aayush Garg
Mobile no ::09009080180
Software Engineer







Re: Wicket Component

2010-08-19 Thread james_sg

Hi all,

Thanks for the interest.

I will try to get the patch done over the weekends.

Regards,
James


Bilgin Ibryam-2 wrote:
> 
> I'd like to see it.
> Please would you create a jira issue and attach your code?
> 
> Bilgin
> 
> On Thu, Aug 19, 2010 at 3:27 AM, james_sg  wrote:
> 
>>
>> Hi,
>>
>> I would like to know if any developer be interested in my code
>> contribution
>> for a Wicket component.
>> The Wicket component allows the developer to code content using java.
>> My intention is for the code contribution to eventually go to the svn
>> repository.
>>
>> Regards,
>> James
>>
> 
> 

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Wicket-Component-tp2330577p2332078.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: and

2010-08-19 Thread Jacques Le Roux

BTW I just realize that it would need more cleanup :/

Jacques

From: "Jacques Le Roux" 

Maybe easier 
https://cwiki.apache.org/confluence/display/OFBIZ/Mini-Language+Guide

Jacques

From: "BJ Freeman" 

http://ofbiz.apache.org/dtds/simple-methods.xsd

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Aayush sent the following on 8/19/2010 6:27 AM:


i want to know how  and  tags work
and what are the actual meaning of the fields involved in their working.

Aayush Garg
Mobile no ::09009080180
Software Engineer






Re: and

2010-08-19 Thread Jacques Le Roux

Maybe easier 
https://cwiki.apache.org/confluence/display/OFBIZ/Mini-Language+Guide

Jacques

From: "BJ Freeman" 

http://ofbiz.apache.org/dtds/simple-methods.xsd

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Aayush sent the following on 8/19/2010 6:27 AM:


i want to know how  and  tags work
and what are the actual meaning of the fields involved in their working.

Aayush Garg
Mobile no ::09009080180
Software Engineer






Re: and

2010-08-19 Thread BJ Freeman

http://ofbiz.apache.org/dtds/simple-methods.xsd

=
BJ Freeman  
Strategic Power Office with Supplier Automation  

Specialtymarket.com  
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Aayush sent the following on 8/19/2010 6:27 AM:


i want to know how  and  tags work
and what are the actual meaning of the fields involved in their working.

Aayush Garg
Mobile no ::09009080180
Software Engineer




Re: meaning of tag

2010-08-19 Thread Patrick
Look at a service*.xml file.  They will have a number of mandatory
fields.  Some of these fields you want to submit but you do not want
to display to the user.  For this we use 


On Thu, Aug 19, 2010 at 10:17 AM, Aayush  wrote:
>
> what is the purpose of  tag in  tag
>
> Aayush garg
>
> --
> View this message in context: 
> http://ofbiz.135035.n4.nabble.com/meaning-of-hidden-tag-tp2331378p2331378.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


meaning of tag

2010-08-19 Thread Aayush

what is the purpose of  tag in  tag

Aayush garg

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/meaning-of-hidden-tag-tp2331378p2331378.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


and

2010-08-19 Thread Aayush

i want to know how  and   tags work 
and what are the actual meaning of the fields involved in their working.

Aayush Garg
Mobile no ::09009080180
Software Engineer
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/entity-one-and-entity-and-tp2331177p2331177.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Problem with Paypal Express Checkout

2010-08-19 Thread hdv

I am referring to this link "ecommerce/control/setPayPalCheckout".
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Problem-with-Paypal-Express-Checkout-tp2323947p2331035.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


GlAccountClass & GlAccountType question

2010-08-19 Thread Jonatan Soto
After a huge research on that topic I found very useful information about
it, but still having doubts about what will be the effect if I try to change
the GlAccountClass hierarchy.

This topic (http://osdir.com/ml/user.ofbiz.apache.org/2009-07/msg00484.html)
 describes
very well the difference between them so in short my conclusions are:

GlAccountType:  It is used to map GlAccounts for automatic posts purposes on
the GL.
GlAccountClass: It is basically used for reporting purposes.

(Please correct me if my assumptions are wrong)

I've spent few hours reviewing the code seeking for the impact of doing
this. I believe that other companies/projects based in Ofbiz have had to do
it in some way in order to adapt it to their corresponding accountancy
models. I really appreciate if someone can share a similar experience about
this task.

On the other hand, I think GlAccountType is harder to redefine. The reason
that makes me think so is because needs recheck every service where an
automatic post is involved and in some cases changing the whole
implementation. BTW I believe (not sure at all) it's reusable using the OOTB
values, at least in my case.


TIA

*
*


-- 
-

Jonatan Soto


Re: Wicket Component

2010-08-19 Thread Bilgin Ibryam
I'd like to see it.
Please would you create a jira issue and attach your code?

Bilgin

On Thu, Aug 19, 2010 at 3:27 AM, james_sg  wrote:

>
> Hi,
>
> I would like to know if any developer be interested in my code contribution
> for a Wicket component.
> The Wicket component allows the developer to code content using java.
> My intention is for the code contribution to eventually go to the svn
> repository.
>
> Regards,
> James
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Wicket-Component-tp2330577p2330577.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: How to include a product in promotion ?

2010-08-19 Thread Gaurav Kalia
Thanks Raj, till now I have learned many things like this and will keep 
doing this no worries. :)


Thanks
Gaurav

On Thursday 19 August 2010 08:33 PM, Raj Saini wrote:

Gaurav,

As I said before there is a lot of hidden information in the demo data 
in the OFBiz. Demo data demonstrate common use case of the 
functionality. If you can get little time to explore the data (and 
learn how to explore this), this will help you in the long run. This 
is the way, how I learned and I would strongly recommend this to you.


Thanks,

Raj

On 19/08/10 19:32, Gaurav Kalia wrote:
I just find that your are talking about changing the product type to 
marketing package.


It will be great if anyone can let me know some quick steps to 
achieve this.


Thanks
Gaurav

On Thursday 19 August 2010 07:06 PM, Gaurav Kalia wrote:

Hi Scott

Can you please give me some idea where i can find this.

Thanks
Gaurav
That would be a marketing package typed product, there are a 
couple of examples of this in the demo product data in OFBiz.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com 



On Thursday 19 August 2010 05:15 PM, Gaurav Kalia wrote:


Hi Rishi

Thanks for quick reply.

I have tried what you have suggested and I added two product in 
rule and I can see them in special offer items.


But what I want to achieve is one new package, this package will 
consist of three different products from three different 
categories and then I would like  promote this package on 
discounted price.


Please let me know if I can achieve this or not and how ?

TIA

Thanks

Gaurav



Hi Gaurav,
Goto -
https://localhost:8443/catalog/control/EditProductPromoRules?productPromoId=1 

Add a rule for your promo, after adding the rule for it you will 
get the
conditions section where you can use the drop down to include the 
particular
category in the promotion. If you do not specified it then by 
default it
applies to complete range of products which are available for 
your store.


Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com 

On Thursday 19 August 2010 04:31 PM, Gaurav Kalia wrote:

Hi All

I have few products under a category and I would like one of 
them to be included in promotion.


Please suggest how can i do it?

Thanks
Gaurav















Re: How to include a product in promotion ?

2010-08-19 Thread Raj Saini

Gaurav,

As I said before there is a lot of hidden information in the demo data 
in the OFBiz. Demo data demonstrate common use case of the 
functionality. If you can get little time to explore the data (and learn 
how to explore this), this will help you in the long run. This is the 
way, how I learned and I would strongly recommend this to you.


Thanks,

Raj

On 19/08/10 19:32, Gaurav Kalia wrote:
I just find that your are talking about changing the product type to 
marketing package.


It will be great if anyone can let me know some quick steps to achieve 
this.


Thanks
Gaurav

On Thursday 19 August 2010 07:06 PM, Gaurav Kalia wrote:

Hi Scott

Can you please give me some idea where i can find this.

Thanks
Gaurav
That would be a marketing package typed product, there are a 
couple of examples of this in the demo product data in OFBiz.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com 



On Thursday 19 August 2010 05:15 PM, Gaurav Kalia wrote:


Hi Rishi

Thanks for quick reply.

I have tried what you have suggested and I added two product in 
rule and I can see them in special offer items.


But what I want to achieve is one new package, this package will 
consist of three different products from three different categories 
and then I would like  promote this package on discounted price.


Please let me know if I can achieve this or not and how ?

TIA

Thanks

Gaurav



Hi Gaurav,
Goto -
https://localhost:8443/catalog/control/EditProductPromoRules?productPromoId=1 

Add a rule for your promo, after adding the rule for it you will 
get the
conditions section where you can use the drop down to include the 
particular
category in the promotion. If you do not specified it then by 
default it
applies to complete range of products which are available for your 
store.


Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com 

On Thursday 19 August 2010 04:31 PM, Gaurav Kalia wrote:

Hi All

I have few products under a category and I would like one of them 
to be included in promotion.


Please suggest how can i do it?

Thanks
Gaurav













Re: How to include a product in promotion ?

2010-08-19 Thread Gaurav Kalia
I just find that your are talking about changing the product type to 
marketing package.


It will be great if anyone can let me know some quick steps to achieve this.

Thanks
Gaurav

On Thursday 19 August 2010 07:06 PM, Gaurav Kalia wrote:

Hi Scott

Can you please give me some idea where i can find this.

Thanks
Gaurav
That would be a marketing package typed product, there are a 
couple of examples of this in the demo product data in OFBiz.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com 



On Thursday 19 August 2010 05:15 PM, Gaurav Kalia wrote:


Hi Rishi

Thanks for quick reply.

I have tried what you have suggested and I added two product in rule 
and I can see them in special offer items.


But what I want to achieve is one new package, this package will 
consist of three different products from three different categories 
and then I would like  promote this package on discounted price.


Please let me know if I can achieve this or not and how ?

TIA

Thanks

Gaurav



Hi Gaurav,
Goto -
https://localhost:8443/catalog/control/EditProductPromoRules?productPromoId=1
Add a rule for your promo, after adding the rule for it you will 
get the
conditions section where you can use the drop down to include the 
particular
category in the promotion. If you do not specified it then by 
default it
applies to complete range of products which are available for your 
store.


Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com 

On Thursday 19 August 2010 04:31 PM, Gaurav Kalia wrote:

Hi All

I have few products under a category and I would like one of them 
to be included in promotion.


Please suggest how can i do it?

Thanks
Gaurav










Re: Gift Cards

2010-08-19 Thread Mridul Pathak
Craig,

Please see my comments inline.

On Thu, Aug 19, 2010 at 12:01 AM, Craig Ambrose wrote:

> Hello,
>
> I am implementing gift cards for our eCommerce application and I'm not
> getting a clear picture from what is implemented on the sample eCommerce
> site. Here is how I am expecting it to work
>
> - Customer purchases gift card from eCommerce site, lets say a $50,
> pre-specified gift card
> - Upon submission of the order some sort of account is created where $50
> can be debited on future orders.
> - After the order is submitted and approved, the customer will receive an
> e-mail with the gift card number to be used on subsequent purchases
> - When doing a subsequent purchase the customer can input the unique Gift
> Card identifier to be used as a payment method
> - If the gift card does not contain enough value to pay for the entire
> order, a credit card or additional gift card can be used for the remaining
> balance
>
> From the eCommerce sample web site I can purchase a gift card and receive
> the e-mail with my order confirmation. But it doesn't contain any gift card
> identification. I only see the product ID.
>

OFBiz generates gift card number and pin and they should be sent in the
email.


>
> I see GiftCard and GiftCardFulfillment entities, but not sure how to use
> them.
>
> So, some of my questions are:
> - What is the entity that encapsulates the Gift Card account?
>

It's FinAccount of type "GIFTCERT_ACCOUNT".


> - Is there an ECA service that generates the Gift Card account
> automatically when an order is approved that contains a Gift Card in the
> order items?
>

No, it's a digital fulfillment service associated to gift card product.  See
more details below.



> - Is there any special attributes of a product that is a gift card that
> will trigger the account creation?
>

A gift card product should be a DIGITAL product.  There is OOTB service
"ofbizGcPurchase" which acts as a digital fulfillment service and is
associated to the gift card in form of ProductContent of type
"FULFILLMENT_EXTSYNC" or "FULFILLMENT_EXTASYNC".  A digital product is
fulfilled right away without needing order approval. The digital fulfillment
service is triggered as soon as the digital item (gift card) is fulfilled.


> - Is there any weirdness in having more than one PAYMENT_METHOD per order?
> Does ofbiz allow for this easily?
>

Not at all.  You might not find OOTB UI for setting multiple payment methods
at the time of order checkout but you can set them in your custom app
without any issues.


>
> Thanks for any clarity on gift cards
>
> -craig
>
>


-- 
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
mridul.pat...@hotwaxmedia.com
-
direct: +91 - 942.592.6892


Re: How to include a product in promotion ?

2010-08-19 Thread Gaurav Kalia

Hi Scott

Can you please give me some idea where i can find this.

Thanks
Gaurav
That would be a marketing package typed product, there are a 
couple of examples of this in the demo product data in OFBiz.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com 



On Thursday 19 August 2010 05:15 PM, Gaurav Kalia wrote:


Hi Rishi

Thanks for quick reply.

I have tried what you have suggested and I added two product in rule 
and I can see them in special offer items.


But what I want to achieve is one new package, this package will 
consist of three different products from three different categories 
and then I would like  promote this package on discounted price.


Please let me know if I can achieve this or not and how ?

TIA

Thanks

Gaurav



Hi Gaurav,
Goto -
https://localhost:8443/catalog/control/EditProductPromoRules?productPromoId=1
Add a rule for your promo, after adding the rule for it you will get 
the
conditions section where you can use the drop down to include the 
particular
category in the promotion. If you do not specified it then by 
default it
applies to complete range of products which are available for your 
store.


Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com 

On Thursday 19 August 2010 04:31 PM, Gaurav Kalia wrote:

Hi All

I have few products under a category and I would like one of them 
to be included in promotion.


Please suggest how can i do it?

Thanks
Gaurav








Re: Calling OFBiz services from Liferay using SOAP

2010-08-19 Thread Jacques Le Roux

Thanks Vignesh,

I will handle it...

Jacques

vignesh sabapathi wrote:

Dear Fellow OFBizers

Last week we were working on some integration of OFBiz services in Liferay.
So i thought of sharing you some hints on doing this. I created a file and
shared my views and ideas of why and how we integrate both products in that.
Hope it will be helpful for others. I request admin to Move the doc to
appropriate location. I hope Our forum friends Ravindra, Jaques , Freeman or
some admin will take care of it...
Link is here
https://cwiki.apache.org/confluence/display/OFBIZ/Calling+OFBiz+services+from+Liferay+using+SOAP

Thanks and Regards

Vignesh sabapathi
mail to : vignesh.sabapa...@tcs.com
9930081383




Calling OFBiz services from Liferay using SOAP

2010-08-19 Thread vignesh sabapathi


Dear Fellow OFBizers

Last week we were working on some integration of OFBiz services in Liferay.
So i thought of sharing you some hints on doing this. I created a file and
shared my views and ideas of why and how we integrate both products in that.
Hope it will be helpful for others. I request admin to Move the doc to
appropriate location. I hope Our forum friends Ravindra, Jaques , Freeman or
some admin will take care of it...
Link is here
https://cwiki.apache.org/confluence/display/OFBIZ/Calling+OFBiz+services+from+Liferay+using+SOAP

Thanks and Regards

Vignesh sabapathi
mail to : vignesh.sabapa...@tcs.com
9930081383
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Calling-OFBiz-services-from-Liferay-using-SOAP-tp2331145p2331145.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Strange behaviour in menu item

2010-08-19 Thread Scott Gray
Here you go:
 



Disclaimer: I'm just guessing on the javascript in the target attribute.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/08/2010, at 11:55 PM, Pierre Smits wrote:

> Hi all,
> 
> In a menuappbar file I have following menu item:
> 
> title="${uiLabelMap.GenerateSP}">
> target="javascript:window.open(document.ExperiencesOverview.selectedExperiences.value,
> 'newwindow');" url-mode="plain"/>
>
> 
> When in the browser and I clik on the generated menu a new window is opened
> and the expected result is shown (based on the generated url in field
> selectedExperiences), but the originating window changes to a blank screen
> with only
> 
> *[object Window]*
> 
> in stead of displaying the original page.
> 
> Somewhere I am doing something wrong, but what? And how do I resolve this?
> 
> Any pointer would be appreciated.
> 
> Regards,
> 
> Pierre



smime.p7s
Description: S/MIME cryptographic signature


Strange behaviour in menu item

2010-08-19 Thread Pierre Smits
Hi all,

In a menuappbar file I have following menu item:





When in the browser and I clik on the generated menu a new window is opened
and the expected result is shown (based on the generated url in field
selectedExperiences), but the originating window changes to a blank screen
with only

*[object Window]*

in stead of displaying the original page.

Somewhere I am doing something wrong, but what? And how do I resolve this?

Any pointer would be appreciated.

Regards,

Pierre


Re: How to include a product in promotion ?

2010-08-19 Thread Scott Gray
That would be a marketing package typed product, there are a couple of examples 
of this in the demo product data in OFBiz.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/08/2010, at 11:45 PM, Gaurav Kalia wrote:

> 
> Hi Rishi
> 
> Thanks for quick reply.
> 
> I have tried what you have suggested and I added two product in rule and I 
> can see them in special offer items.
> 
> But what I want to achieve is one new package, this package will consist of 
> three different products from three different categories and then I would 
> like  promote this package on discounted price.
> 
> Please let me know if I can achieve this or not and how ?
> 
> TIA
> 
> Thanks
> 
> Gaurav
> 
> 
>>Hi Gaurav,
>> Goto -
>> https://localhost:8443/catalog/control/EditProductPromoRules?productPromoId=1
>> Add a rule for your promo, after adding the rule for it you will get the
>> conditions section where you can use the drop down to include the particular
>> category in the promotion. If you do not specified it then by default it
>> applies to complete range of products which are available for your store.
>> 
>> Rishi Solanki
>> Manager, Enterprise Software Development
>> HotWax Media Pvt. Ltd.
>> Direct: +91-9893287847
>> http://www.hotwaxmedia.com 
>> 
>> On Thursday 19 August 2010 04:31 PM, Gaurav Kalia wrote:
>>> Hi All
>>> 
>>> I have few products under a category and I would like one of them to be 
>>> included in promotion.
>>> 
>>> Please suggest how can i do it?
>>> 
>>> Thanks
>>> Gaurav
> 
> 
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: How to include a product in promotion ?

2010-08-19 Thread Gaurav Kalia


Hi Rishi

Thanks for quick reply.

I have tried what you have suggested and I added two product in rule and 
I can see them in special offer items.


But what I want to achieve is one new package, this package will consist 
of three different products from three different categories and then I 
would like  promote this package on discounted price.


Please let me know if I can achieve this or not and how ?

TIA

Thanks

Gaurav



Hi Gaurav,
Goto -
https://localhost:8443/catalog/control/EditProductPromoRules?productPromoId=1
Add a rule for your promo, after adding the rule for it you will get the
conditions section where you can use the drop down to include the 
particular

category in the promotion. If you do not specified it then by default it
applies to complete range of products which are available for your store.

Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com 

On Thursday 19 August 2010 04:31 PM, Gaurav Kalia wrote:

Hi All

I have few products under a category and I would like one of them to 
be included in promotion.


Please suggest how can i do it?

Thanks
Gaurav






Re: How to include a product in promotion ?

2010-08-19 Thread Rishi Solanki
Hi Gaurav,
Goto -
https://localhost:8443/catalog/control/EditProductPromoRules?productPromoId=1
Add a rule for your promo, after adding the rule for it you will get the
conditions section where you can use the drop down to include the particular
category in the promotion. If you do not specified it then by default it
applies to complete range of products which are available for your store.

Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com


On Thu, Aug 19, 2010 at 4:31 PM, Gaurav Kalia
wrote:

> Hi All
>
> I have few products under a category and I would like one of them to be
> included in promotion.
>
> Please suggest how can i do it?
>
> Thanks
> Gaurav
>


How to include a product in promotion ?

2010-08-19 Thread Gaurav Kalia

Hi All

I have few products under a category and I would like one of them to be 
included in promotion.


Please suggest how can i do it?

Thanks
Gaurav


JUnit Ofbiz Test

2010-08-19 Thread rrhati2010

Hi All,

Can anybody suggest me which all methods needs to tested using Junit test
cases.

Till now I could only find that the ServiceList available in the webtools
can only be tested using JUnit.

Is this fine or is there any other way to find methods to be tested using
Junit test-case or test-suite.

Regards,

-
RRH
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/JUnit-Ofbiz-Test-tp2330738p2330738.html
Sent from the OFBiz - User mailing list archive at Nabble.com.