Re: Generic Roles in Shopping Cart

2007-12-14 Thread David E Jones
<[EMAIL PROTECTED]> To: dev@ofbiz.apache.org Sent: Friday, December 14, 2007 10:39:45 PM Subject: Re: Generic Roles in Shopping Cart Now it is clearer to me too: I actually misunderstood too, like David (or you didn't explain it very well). I'd say that is doable, but it seems lik

Re: Generic Roles in Shopping Cart

2007-12-14 Thread Chris Howe
--- Original Message From: Jacopo Cappellato <[EMAIL PROTECTED]> To: dev@ofbiz.apache.org Sent: Friday, December 14, 2007 10:39:45 PM Subject: Re: Generic Roles in Shopping Cart Now it is clearer to me too: I actually misunderstood too, like David (or you didn't explain it very well).

Re: Generic Roles in Shopping Cart

2007-12-14 Thread Jacopo Cappellato
we end up with a good approach. Jacopo - Original Message From: David E Jones <[EMAIL PROTECTED]> To: dev@ofbiz.apache.org Sent: Friday, December 14, 2007 4:28:37 PM Subject: Re: Generic Roles in Shopping Cart You mean to go into the OFBiz trunk? In the main code base we want

Re: Generic Roles in Shopping Cart

2007-12-14 Thread Chris Howe
<[EMAIL PROTECTED]> To: dev@ofbiz.apache.org Sent: Friday, December 14, 2007 4:28:37 PM Subject: Re: Generic Roles in Shopping Cart You mean to go into the OFBiz trunk? In the main code base we want things to be flexibe, and it happens that people want more than one party associated with the

Re: Generic Roles in Shopping Cart

2007-12-14 Thread David E Jones
Subject: Re: Generic Roles in Shopping Cart Sounds like it's a custom requirement (not really a general/generic requirement), so custom code would be the way to go. You should be able to write a custom event that enacts this constraint and not modify any of the main OFBiz code. -David On Dec

Re: Generic Roles in Shopping Cart

2007-12-14 Thread Chris Howe
7 3:56:01 PM Subject: Re: Generic Roles in Shopping Cart Sounds like it's a custom requirement (not really a general/generic requirement), so custom code would be the way to go. You should be able to write a custom event that enacts this constraint and not modify any of the main

Re: Generic Roles in Shopping Cart

2007-12-14 Thread David E Jones
14, 2007 11:57:38 AM Subject: Re: Generic Roles in Shopping Cart I'm wondering why you want to do that? Are you trying to tie a shopping cart to an individual user? On Dec 14, 2007 10:41 AM, Chris Howe <[EMAIL PROTECTED]> wrote: I'm needing to restrict a custom roleTypeId t

Re: Generic Roles in Shopping Cart

2007-12-14 Thread Chris Howe
8 AM Subject: Re: Generic Roles in Shopping Cart I'm wondering why you want to do that? Are you trying to tie a shopping cart to an individual user? On Dec 14, 2007 10:41 AM, Chris Howe <[EMAIL PROTECTED]> wrote: > I'm needing to restrict a custom roleTypeId to 1 per shoppi

Re: Generic Roles in Shopping Cart

2007-12-14 Thread Jim Barrows
t fail safe. > > - Original Message > From: Jim Barrows <[EMAIL PROTECTED]> > To: dev@ofbiz.apache.org > Sent: Friday, December 14, 2007 11:35:31 AM > Subject: Re: Generic Roles in Shopping Cart > > > What problem are you trying to solve? > > On Dec 14, 2007

Re: Generic Roles in Shopping Cart

2007-12-14 Thread Chris Howe
m the addAdditionalRole.roleTypeId before adding the limiting role, but it's not fail safe. - Original Message From: Jim Barrows <[EMAIL PROTECTED]> To: dev@ofbiz.apache.org Sent: Friday, December 14, 2007 11:35:31 AM Subject: Re: Generic Roles in Shopping Cart What problem a

Re: Generic Roles in Shopping Cart

2007-12-14 Thread Jim Barrows
What problem are you trying to solve? On Dec 14, 2007 10:19 AM, Chris Howe <[EMAIL PROTECTED]> wrote: > I'm needing to restrict a custom roleTypeId to 1 per shopping cart and I'm > not finding a way to do that. Would there be any objection to changing the > way the roles are handled in the shopp

Generic Roles in Shopping Cart

2007-12-14 Thread Chris Howe
I'm needing to restrict a custom roleTypeId to 1 per shopping cart and I'm not finding a way to do that. Would there be any objection to changing the way the roles are handled in the shopping cart? I would like to change all of the roles that should be restricted to 1 per shopping cart from spe