Re: Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

2009-12-06 Thread Jacques Le Roux

From: "Jacques Le Roux" 

Hi André,

I have seen also such problems but in other ways. For intance I worked for a client where they prefer to use fckeditor. So I used 
it in place of Dojo htmlarea
It was not working well in Firefox but perfectly with Chrome (I always use last versions) :/ There was other issues with Chrome 
that were not with Chrome.


were not with FF
Jacques


Often when I want a good arbiter I use Opera. But it does not fill all either :(

The devils is in details and we opened the can of worms... Easier for user, worse for programmers... Not sure this will soften one 
day, too much in play behind...


Jacques
PS : today I'm more worried about that actually http://uclue.com/index.php?xq=724. Especially since I have seen something on TV 
about Google and Co plans about their data centers.


Just a little effort
()  ascii ribbon campaign against HTML e-mail
/\  www.asciiribbon.org

From: "André Herbst" 

Hi Jaques,

I get this error from both my local installation (Linux)  and from the demo
server: https://demo.ofbiz.org/content/control/WebSiteCms?webSiteId=CmsSite

When I under the Web Site CMS Nav click the "CMS Site Demo Home Page" link I
get the error in IE and Opera and the RTE box is empty or completely missing
when I afterwards click OK to the error box. I Have tested this with Opera
and FF from a Suse Linux client and with IE8 from a Windows 7 client.

With FF the text shows nicely in the RTE box on the lower part of the screen.

-André


On Thursday den 3. December 2009 13:03:59 Jacques Le Roux wrote:

Ha,  I see now, when you use
https://localhost:58443/content/control/WebSiteCms?webSiteId=CmsSite and
try to edit CMS Site Demo Page 1_1 you get this error message. But it's not
blocking and as soons as you click on the error message, enter something in
the decription and validate, the error does not occur anymore

Another rejoicing delightful side effect of Ajax/javascript :D

Jacques

From: "Jacques Le Roux" 

> Hi André,
>
> Not sure what you did exactly, could you post the URL? And also the exact
> sequence leading to this error.
>
> Using
> https://localhost:8443/content/control/EditWebSite?webSiteId=CmsSite and
> https://localhost:8443/content/control/UpdateWebSiteContent
> and also
> https://localhost:58443/content/control/WebSiteCms?webSiteId=CmsSite I
> tried on Windows with last avialable version of FF (3.5.5), Opera, IE8
> and Chrome without issues
>
> Jacques
>
> From: "André Herbst" 
>
>> Hi,
>>
>> I have tested this function on a local Linux server as well as on the
>> demo site with the same result:
>>
>> 
>> An error occured loading editor! : XMLHttpTransport.watchInFlight Error:
>> [Error:
>> name: TypeError
>> message: Statement on line 9856: Type mismatch (usually non-object value
>> supplied where object required)
>> stacktrace: n/a; see  opera:config#UserPrefs|Exceptions Have Stacktrace
>> ]
>>
>> The test included Opera 10, IE 8 and Firefor 3.5.3. Only Firefox is
>> working.
>>
>>>From the log:
>>
>> 2009-12-03 08:41:50,269 (http-0.0.0.0-8443-4) [
>> ControlServlet.java:137:INFO ] [[[views] Request Begun,
>> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
>> 2009-12-03 08:41:50,346 (http-0.0.0.0-8443-4) [
>> ConfigXMLReader.java:118:INFO ] controller loaded: 0.0010s, 18 requests,
>> 14 views in
>> file:/home/ah/ofbiz/framework/common/webcommon/WEB-INF/common-controller
>>.xml 2009-12-03 08:41:50,355 (http-0.0.0.0-8443-4) [
>> ConfigXMLReader.java:118:INFO ] controller loaded: 0.0s, 5 requests, 2
>> views in
>> file:/home/ah/ofbiz/applications/commonext/webapp/WEB-INF/controller.xml
>> 2009-12-03 08:41:50,373 (http-0.0.0.0-8443-4) [
>> ConfigXMLReader.java:118:INFO ] controller loaded: 0.041s, 377 requests,
>> 162 views in jndi:/0.0.0.0/content/WEB-INF/controller.xml
>> 2009-12-03 08:41:50,375 (http-0.0.0.0-8443-4) [
>> Parameters.java:386:WARN ] Parameters: Invalid chunk ignored.
>> 2009-12-03 08:41:50,381 (http-0.0.0.0-8443-4) [
>> RequestHandler.java:514:INFO ] [RequestHandler.doRequest]: Response is a
>> chained request. sessionId=08C4629D0705FD71BAF50C3314C86D60.jvm1
>> 2009-12-03 08:41:50,382 (http-0.0.0.0-8443-4) [
>> RequestHandler.java:160:INFO ] [RequestHandler]: Chain in place:
>> requestUri=main overrideViewUri=WebSiteCMSContent
>> sessionId=08C4629D0705FD71BAF50C3314C86D60.jvm1
>> 2009-12-03 08:41:50,397 (http-0.0.0.0-8443-4) [
>> RequestHandler.java:733:INFO ] Rendering View [WebSiteCMSContent],
>> sessionId=08C4629D0705FD71BAF50C3314C86D60.jvm1
>> 2009-12-03 08:41:50,577 (http-0.0.0.0-8443-4) [
>> ScreenFactory.java:128:INFO ] Got 11 screens in 0.025s from:
>> file:/home/ah/ofbiz/applications/content/widget/WebSiteScreens.xml
>> 2009-12-03 08:41:50,734 (http-0.0.0.0-8443-4) [
>> GenericEntity.java:420:WARN ]
>>  exception
>> report --
>> =-=-=-=-=-=-=-=-= Database type warning GenericEntity.set
>> =-=-=-=-=-=-=-=-= In entity field [ContentAssoc.fromDate] set the value
>> passed in
>

Re: How to set permissions to all new users?

2009-12-06 Thread Rishi Solanki
Thanks Jacques,
I thought mario has user data available and whenever he loads the data he
again needs to assign the same permission to that particular user. So
suggest that way, I see ECA is better option whenever a user created.
Mario, Please ignore my comment as Jacques already provided better way to
handle.
Jacques I will try to remember this and try to get better on which kind of
help actually a subscriber needs.

Thanks Again !

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Sun, Dec 6, 2009 at 4:19 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Rishi,
> I wonder if Mario is no looking for a dynamically way to give permissions
> to each new registered user.
> Did you intend to answer to this question ?
>
> Mario,
> If it was your question and you don't find Rishi's answer a solution I
> guess you have simply to use an ECA which will fires and give some
> permission each time a new user is registered. I let you fill the
> "details"...
>
> HTH
> Jacques
>
> From: "Rishi Solanki" 
>
>  Hi Mario,
>> Add its UserLoginSecurityGroup data and associate the permission you want.
>> Once the data load and even you drop the DB instance it will loaded again
>> on
>> ant targets.
>> This way you won't need to assign permission again and again to your user
>> from party application.
>>
>> Rishi Solanki
>> Enterprise Software Developer
>> HotWax Media Pvt. Ltd.
>>
>>
>> On Fri, Dec 4, 2009 at 3:19 PM, MarioF  wrote:
>>
>>
>>> Hi all,
>>>
>>> I want that the new registered users have always some permissions. How
>>> can
>>> I
>>> do that without the admin has to set one by one in the party application?
>>>
>>> Thanks in advance.
>>> --
>>> View this message in context:
>>>
>>> http://n4.nabble.com/How-to-set-permissions-to-all-new-users-tp948378p948378.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>>
>>
>
>


Re: attribute of a action service

2009-12-06 Thread Jacques Le Roux
The service triggered by the SECA (in your case service1) can only use parameters in the trigerring service (in your case 
createPartyGroup)

See for instance http://markmail.org/message/grj4lqpocrjandir (BTW any attempts 
Rashko ? ;o)
And at large 
http://cwiki.apache.org/confluence/display/OFBTECH/Service+Engine+Guide#ServiceEngineGuide-ECAs

Jacques
()  ascii ribbon campaign against HTML e-mail
/\  www.asciiribbon.org

From: "zhiyongcui" 

I am wondering how to set the attributes of a eca's action service ?for
example, I defined a service named service1 which has two attributes named
attribute1 and attribute2. and this service as a action service of a seca
service as below:
  
 
 
  
  
   
   
   
How to set the value of service1 When I use the service createPartyGroup .
--
View this message in context: 
http://n4.nabble.com/attribute-of-a-action-service-tp949513p949513.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






Re: How to set permissions to all new users?

2009-12-06 Thread Jacques Le Roux

Thanks for all your valuable help Rishi!

I'm not quite sure either of my answer, will see...

Jacques
()  ascii ribbon campaign against HTML e-mail
/\  www.asciiribbon.org

From: "Rishi Solanki" 

Thanks Jacques,
I thought mario has user data available and whenever he loads the data he
again needs to assign the same permission to that particular user. So
suggest that way, I see ECA is better option whenever a user created.
Mario, Please ignore my comment as Jacques already provided better way to
handle.
Jacques I will try to remember this and try to get better on which kind of
help actually a subscriber needs.

Thanks Again !

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Sun, Dec 6, 2009 at 4:19 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:


Hi Rishi,
I wonder if Mario is no looking for a dynamically way to give permissions
to each new registered user.
Did you intend to answer to this question ?

Mario,
If it was your question and you don't find Rishi's answer a solution I
guess you have simply to use an ECA which will fires and give some
permission each time a new user is registered. I let you fill the
"details"...

HTH
Jacques

From: "Rishi Solanki" 

 Hi Mario,

Add its UserLoginSecurityGroup data and associate the permission you want.
Once the data load and even you drop the DB instance it will loaded again
on
ant targets.
This way you won't need to assign permission again and again to your user
from party application.

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Fri, Dec 4, 2009 at 3:19 PM, MarioF  wrote:



Hi all,

I want that the new registered users have always some permissions. How
can
I
do that without the admin has to set one by one in the party application?

Thanks in advance.
--
View this message in context:

http://n4.nabble.com/How-to-set-permissions-to-all-new-users-tp948378p948378.html
Sent from the OFBiz - User mailing list archive at Nabble.com.













Re: Questions about rental products and shipments

2009-12-06 Thread Anil Patel
Cimbaili,
The requirements you have are achievable in Ofbiz with some customization. The 
Products will have serialized inventory, this will allow you to track movement 
of exact item.

First time shipment will not be issue, Problem is when you take it back in 
stock. The OOTB process to take item back in stock may not fit you needs.

Ofbiz has set of tables modeled to track shipments (delivery and pickup) and UI 
is very flexible, may be too much. You may like to customize UI flow.
  
Thanks and Regards
Anil Patel
HotWax Media Inc
Find us on the web at www.hotwaxmedia.com or Google Keyword "ofbiz"

On Dec 5, 2009, at 11:34 PM, Cimballi wrote:

> Hi,
> 
> I try to use OFBiz for a rental business.
> The goal is to rent products and provide a delivery-pickup service
> with each order.
> 
> I am facing two problems :
> 1. Is it possible to have shipments with rental products ?
> 2. Is there a way to represent these 2 shipments, delivery and pickup ?
> 
> Thanks,
> 
> Cimballi



Re: workeffort

2009-12-06 Thread Anil Patel
Bob,
Best place to start is The Data Model Resource Book Vol 1. Before you do 
anything with Workeffort component its very important. 

Workeffort component in itself may seem too generic, look at Manufacturing, 
Project, AssetMaint components and their documents. These two components use 
Workeffort to solve certain business problem. Nice thing is, you will be able 
to find some good documentation wiki or discussions on mailing list achieve. 

Thanks and Regards
Anil Patel
HotWax Media Inc
Find us on the web at www.hotwaxmedia.com or Google Keyword "ofbiz"

On Dec 3, 2009, at 5:46 AM, Bob.Bee wrote:

> 
> Can U plz post some documents or provide url regarding the workeffort and its
> functions 
> 
> Bob.
> -- 
> View this message in context: 
> http://n4.nabble.com/workeffort-tp947539p947539.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.



Bug in demo 9.04 when adding COMPANY_VEHICLE to an order

2009-12-06 Thread Cimballi
Hi,

I was doing a test on the demo 9.04 server, I tried to create an order
with the COMPANY_VEHICLE product and here is what I get :
Company Vehicle
Company Vehicle.
COMPANY_VEHICLE
Your Price: US$0.00
Maximum Expression product.reservMaxPersons is undefined on line 345,
column 189 in component://order/webapp/ordermgr/entry/catalog/productdetail.ftl.
The problematic instruction: -- ==>
${product.reservMaxPersons} [on line 345, column 187 in
component://order/webapp/ordermgr/entry/catalog/productdetail.ftl]
-- Java backtrace for programmers: --
freemarker.core.InvalidReferenceException: Expression
product.reservMaxPersons is undefined on line 345, column 189 in
component://order/webapp/ordermgr/entry/catalog/productdetail.ftl. at
freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.getStringValue(Expression.java:118) at
freemarker.core.Expression.getStringValue(Expression.java:93) at
freemarker.core.DollarVariable.accept(DollarVariable.java:76) at
freemarker.core.Environment.visit(Environment.java:209) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:209) at
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
freemarker.core.Environment.visit(Environment.java:209) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:209) at
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
freemarker.core.Environment.visit(Environment.java:209) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:209) at
freemarker.core.Environment.process(Environment.java:189) at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:205)
at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:201)
at 
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:245)
at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:107)
at 
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:976)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
at 
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676)
at 
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167)
at 
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676)
at 
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167)
at 
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
at 
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at 
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWi

Possible bug in demo data

2009-12-06 Thread Cimballi
Hi,

Using demo 9.0, trying to create an order with BoatRowSimple and I got
the following error message :
Could not find a related Fixed Asset for the product: BoatRowSimple

I look in webtools and there is no Fixed Asset for BoatRowSimple.
In fact there is only 2 FixedAssetProduct, one for RoomStd and one for RoomLux.

But there are more products of type ASSET_USAGE, should be a problem, no ?

Cimballi


Re: Questions about rental products and shipments

2009-12-06 Thread Cimballi
Hey Anil !

Thanks for your answer.

Here are some comments about my "researches" :
- By default, OFBiz doens't reserve RENTAL_ORDER_ITEM and so cannot
create a shipment with such an item.
- I updated the OrderServices class to allow this reservation, and now
it is working.
- This solution is not perfect because now the inventory item is mark
as delivered but in fact as it is a rental item, delivered is not a
final state, the item will be taken back to the company. Also, maybe
by updating the OrderServices class to allow reservation for
RENTAL_ORDER_ITEM I broke some logic, I don't know.

So, my next questions would be :
- Does anybody use OFBiz to manage rental business, like renting DVDs
? And if so, which solution do they use ?
- About the way OFBiz implements RENTAL_ORDER_ITEM, is there any
reason to not allow inventory reservation for these items ?

Thanks !

Cimballi


On Sun, Dec 6, 2009 at 8:43 AM, Anil Patel  wrote:
> Cimbaili,
> The requirements you have are achievable in Ofbiz with some customization. 
> The Products will have serialized inventory, this will allow you to track 
> movement of exact item.
>
> First time shipment will not be issue, Problem is when you take it back in 
> stock. The OOTB process to take item back in stock may not fit you needs.
>
> Ofbiz has set of tables modeled to track shipments (delivery and pickup) and 
> UI is very flexible, may be too much. You may like to customize UI flow.
>
> Thanks and Regards
> Anil Patel
> HotWax Media Inc
> Find us on the web at www.hotwaxmedia.com or Google Keyword "ofbiz"
>
> On Dec 5, 2009, at 11:34 PM, Cimballi wrote:
>
>> Hi,
>>
>> I try to use OFBiz for a rental business.
>> The goal is to rent products and provide a delivery-pickup service
>> with each order.
>>
>> I am facing two problems :
>> 1. Is it possible to have shipments with rental products ?
>> 2. Is there a way to represent these 2 shipments, delivery and pickup ?
>>
>> Thanks,
>>
>> Cimballi
>
>


Re: Dropdown menu in Ofbiz

2009-12-06 Thread Bruno Busco
You can even try the multiflex theme in the ecommerce application.
More drop down menus there!

-Bruno

2009/12/2 Erwan de FERRIERES :
>
> Le 02/12/2009 17:03, sac sha a écrit :
>>
>> Hi All
>>
>> I am developing a website using ofbiz. I will display my products there
>> for
>> the users to buy. I am able to bring the site up and running fine with the
>> use of existing ecommerce module.
>>
>> All I now want is to add some drop down menus to my site displaying the
>> product categories etc. Is there any inbuilt facility available in ofbiz
>> to
>> create drop down menus?
>
> You can look at the dropping crumbs and the bluelight themes, which contains
> some dropdonw menus
>
>>
>> Or I have to use my own concept like(AJAX or jquery) to produce the drop
>> down sub menus?
>>
>
> --
> Erwan
>


Re: about using ofbiz as a platform

2009-12-06 Thread Bruno Busco
Should we try to write a "framework-only" feature proposal page like
the one Scott has writted for "Saved Searches"
http://cwiki.apache.org/confluence/display/OFBIZ/Saved+Searches
collecting all requirements from the mails?

Having the path written could help volunteers to contribute in the
right direction.

-Bruno

2009/12/4 Christopher Snow :
> That makes a lot of sense - thanks again Scott!
>
> Scott Gray wrote:
>> That risk is run by anybody who gets the ball rolling on any new
>> proposal, be it a contributor, committer or PMC member.  Nobody is
>> capable of pushing through substantial change without the approval of
>> the community at large.
>>
>> The key for any amount of work is to collaborate with the community as
>> much as possible, if something is large then just break it down and
>> discuss each change piece by piece.  An approach such as this
>> substantially reduces the risk that any work done will be wasted and
>> generally improves the overall design.
>>
>> Regards
>> Scott
>>
>> On 4/12/2009, at 7:27 PM, chris snow wrote:
>>
>>>
>>> Hi Adrian,
>>>
>>> For a change that may be substantial, could this approach be quite risky
>>> that a lot of time could be spent developing something that may not be
>>> accepted?
>>>
>>> Many thanks,
>>>
>>> Chris
>>>
>>>
>>> Adrian Crum wrote:

 That is not how the open source community works. If anyone wants to see
 this move along, they need to make the desired changes to their local
 copy, create a patch, and submit it to Jira.

 As far as coordination is concerned, there is an "umbrella" Jira issue
 for this already. Just make new Jira issues sub-tasks of it.

 -Adrian

 Michael Xu (xudong) wrote:
> hi,
>
> Like Bruno mentioned, this topic has been discussed over many
> times. And
> it
> is time to take some actions. I really think one or more leaders
> should
> lead
> the process. Otherwise, the discussion might be around for a long long
> time.
>
> --
> Regards,
> Michael Xu (xudong)
> www.wizitsoft.com
>
>
> On Wed, Dec 2, 2009 at 7:41 PM, chris snow 
> wrote:
>
>> Hi Bruno,
>>
>> I would like to help.  Are you coordinating efforts?
>>
>> Many thanks,
>>
>> Chris
>>
>>
>>
>> Bruno Busco wrote:
>>> Hi Michael,
>>> the framework isolation and a framework-only installation is
>>> definitely something the community as talken about many times. You
>>> will find several conversations searching the mailing list.
>>>
>>> We will have it sooner or later and any help you could provide on
>>> this
>>> topic will be much appreciated.
>>>
>>> -Bruno
>>>
>>> 2009/11/24 Michael Xu (xudong) :
 hmm...I compared the article and the latest code from trunk. I
 don't
 think
 the diagram is consistent with codes.

 For example, from the diagram party doesn't depend on marketing;
>> however,
 as
 I mentioned in previous email, party entity definition does use
 ContactListParty from marketing.

 --
 Regards,
 Michael Xu (xudong)
 www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86)
 135
 0135
 9807 | Fax: (8610) 62670096


 On Tue, Nov 24, 2009 at 9:16 PM, Michael Xu (xudong)
 wrote:

> Just found an article about the dependency:
>
>> http://docs.ofbiz.org/display/OFBADMIN/Component+and+Component+Set+Dependencies
>>
>
> <
>> http://docs.ofbiz.org/display/OFBADMIN/Component+and+Component+Set+Dependencies
>>
>>> From
> the component relationship diagram, it seems I have to include all
> components under framework and application in my new
> application. Is
> it
> correct?
>
> --
> Regards,
> Michael Xu (xudong)
> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile:
> (86)
>> 135
> 0135 9807 | Fax: (8610) 62670096
>
>
>
> On Tue, Nov 24, 2009 at 9:07 PM, Michael Xu (xudong) <
> dong...@wizitsoft.com> wrote:
>
>> hi all,
>>
>> I try to build a new application using ofbiz. Basically, I
>> want to
>> use
>> the
>> nice overall architect of ofbiz, theme mechanism and
>> Party/Permission/SecurityGroup. However, I found it is very
>> difficult
>> to
>> remove unnecessary components.
>>
>> For example, entitymodel.xml from applications/party
>> uses ContactListParty, which is from marketing component. I think
>> such
>> dependency doesn't make much sense, as marketing is only an
>> optional
>> component but party is a must.

Re: Questions about rental products and shipments

2009-12-06 Thread Anil Patel
I know there was some effort to implement Real Estate Rental long back. More 
recently there is other thread on list where people mention about what they 
have implemented as solution for Rental business.

I have to admit, Its not available OOTB in shape you will like it. Also quick 
work around will not get you the solution that will last.

If you have enough time, Please put your requirements on Apache Ofbiz wiki and 
send link to it on this list. If you lead the conversation appropriately there 
will be people who will help you model the system and to some extent help you 
implement as well. 

In my opinion, implementation of such system will require help of experienced 
ofbiz developer. 

Thanks and Regards
Anil Patel
HotWax Media Inc
Find us on the web at www.hotwaxmedia.com or Google Keyword "ofbiz"

On Dec 6, 2009, at 5:26 PM, Cimballi wrote:

> Hey Anil !
> 
> Thanks for your answer.
> 
> Here are some comments about my "researches" :
> - By default, OFBiz doens't reserve RENTAL_ORDER_ITEM and so cannot
> create a shipment with such an item.
> - I updated the OrderServices class to allow this reservation, and now
> it is working.
> - This solution is not perfect because now the inventory item is mark
> as delivered but in fact as it is a rental item, delivered is not a
> final state, the item will be taken back to the company. Also, maybe
> by updating the OrderServices class to allow reservation for
> RENTAL_ORDER_ITEM I broke some logic, I don't know.
> 
> So, my next questions would be :
> - Does anybody use OFBiz to manage rental business, like renting DVDs
> ? And if so, which solution do they use ?
> - About the way OFBiz implements RENTAL_ORDER_ITEM, is there any
> reason to not allow inventory reservation for these items ?
> 
> Thanks !
> 
> Cimballi
> 
> 
> On Sun, Dec 6, 2009 at 8:43 AM, Anil Patel  wrote:
>> Cimbaili,
>> The requirements you have are achievable in Ofbiz with some customization. 
>> The Products will have serialized inventory, this will allow you to track 
>> movement of exact item.
>> 
>> First time shipment will not be issue, Problem is when you take it back in 
>> stock. The OOTB process to take item back in stock may not fit you needs.
>> 
>> Ofbiz has set of tables modeled to track shipments (delivery and pickup) and 
>> UI is very flexible, may be too much. You may like to customize UI flow.
>> 
>> Thanks and Regards
>> Anil Patel
>> HotWax Media Inc
>> Find us on the web at www.hotwaxmedia.com or Google Keyword "ofbiz"
>> 
>> On Dec 5, 2009, at 11:34 PM, Cimballi wrote:
>> 
>>> Hi,
>>> 
>>> I try to use OFBiz for a rental business.
>>> The goal is to rent products and provide a delivery-pickup service
>>> with each order.
>>> 
>>> I am facing two problems :
>>> 1. Is it possible to have shipments with rental products ?
>>> 2. Is there a way to represent these 2 shipments, delivery and pickup ?
>>> 
>>> Thanks,
>>> 
>>> Cimballi
>> 
>> 



Re: Questions about rental products and shipments

2009-12-06 Thread Hans Bakker
Hi Cimballi

The current rental facilities within ofbiz are based on the rental of
non movable objects like hotelrooms. These rooms are represented as
fixed assets and a calendar is maintained if and how many are rented
out. So the system does know if a fixed asset is available or not.

The reason of using fixed assets is the possibility to have maintenance
activities on these fixed assets which make them unavailable for
renting.

You could make an function on top of the fixed asset,  registering if a
fixed asset is picked up or not with a connection to the order.
A screen for fixed assets expected to go out and a list of fixed assets
expected to come in.

sounds not too difficult?

Regards,
Hans


On Sat, 2009-12-05 at 23:34 -0500, Cimballi wrote:
> Hi,
> 
> I try to use OFBiz for a rental business.
> The goal is to rent products and provide a delivery-pickup service
> with each order.
> 
> I am facing two problems :
> 1. Is it possible to have shipments with rental products ?
> 2. Is there a way to represent these 2 shipments, delivery and pickup ?
> 
> Thanks,
> 
> Cimballi
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: Questions about rental products and shipments

2009-12-06 Thread Cimballi
Hi Anil and Hans !

Thanks a lot for your contribution and let's continue this thread,
maybe we will finish with detailed specs for new functionalities ! :-)

So, I will first explain what we want to do.
Our goal is to build a rental business, rental of "movable objects"
like you said. These can be DVDs, books, computers, anything you can
rent and which need shipping.
Furthermore, we want to provide a delivery-pickup with the renting. It
means we deliver the rented product to the customer, and when the
rental period is finished, we go to pick up the product.
I think that the functionalities are pretty simple to understand, let
me know if there is something unclear.

Now, here are some comments about what I've seen in OFBiz.
As you said and as I discovered, the rental module of OFBiz has been
designed for non-movable objects, or at least products you don't have
to ship.
There is also a shipment module, which, from my point of view, has
been designed to handle standard one way shipment.

So, here is what we miss :
- The rental system seems to work for any kind of products but I have
not sure it's necessary to create work items in all cases. I still
don't understand well this notion of work item, I suppose it is to
track the use of human resources. I think there should be a
distinction between rental products which requires work items and
rental products which do not.
- About the duration of a rent, it seems to me that the duration
precision level is the day, it should be possible to have a precision
level of the hour, maybe less.
- About the price of the rented product, for now the price is a base
price pe time, then it is multiplied by the duration. It should be
interesting to have a way to specify more complex prices. No concrete
sample to provide here, I still have to think about it.
- Have the shipment module work with rental items and service items.
This one is a big change I think. For rental products, one change
could be to associate an InventoryItem to the product and then use the
exisitng functionalities. Not sure if it can work because in this case
the item is not sold but rented, and maybe this specific state
requires more changes in the current services. For service items, the
goal is to handle the fact that when you sell a service, this service
may require shipments (or at least movements, not sure if the word
shipment is appropriate here).

Thanks for your time !

Cimballi


Re: about using ofbiz as a platform

2009-12-06 Thread Christopher Snow

Sounds good to me!

Bruno Busco wrote:

Should we try to write a "framework-only" feature proposal page like
the one Scott has writted for "Saved Searches"
http://cwiki.apache.org/confluence/display/OFBIZ/Saved+Searches
collecting all requirements from the mails?

Having the path written could help volunteers to contribute in the
right direction.

-Bruno

2009/12/4 Christopher Snow :
  

That makes a lot of sense - thanks again Scott!

Scott Gray wrote:


That risk is run by anybody who gets the ball rolling on any new
proposal, be it a contributor, committer or PMC member.  Nobody is
capable of pushing through substantial change without the approval of
the community at large.

The key for any amount of work is to collaborate with the community as
much as possible, if something is large then just break it down and
discuss each change piece by piece.  An approach such as this
substantially reduces the risk that any work done will be wasted and
generally improves the overall design.

Regards
Scott

On 4/12/2009, at 7:27 PM, chris snow wrote:

  

Hi Adrian,

For a change that may be substantial, could this approach be quite risky
that a lot of time could be spent developing something that may not be
accepted?

Many thanks,

Chris


Adrian Crum wrote:


That is not how the open source community works. If anyone wants to see
this move along, they need to make the desired changes to their local
copy, create a patch, and submit it to Jira.

As far as coordination is concerned, there is an "umbrella" Jira issue
for this already. Just make new Jira issues sub-tasks of it.

-Adrian

Michael Xu (xudong) wrote:
  

hi,

Like Bruno mentioned, this topic has been discussed over many
times. And
it
is time to take some actions. I really think one or more leaders
should
lead
the process. Otherwise, the discussion might be around for a long long
time.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com


On Wed, Dec 2, 2009 at 7:41 PM, chris snow 
wrote:



Hi Bruno,

I would like to help.  Are you coordinating efforts?

Many thanks,

Chris



Bruno Busco wrote:
  

Hi Michael,
the framework isolation and a framework-only installation is
definitely something the community as talken about many times. You
will find several conversations searching the mailing list.

We will have it sooner or later and any help you could provide on
this
topic will be much appreciated.

-Bruno

2009/11/24 Michael Xu (xudong) :


hmm...I compared the article and the latest code from trunk. I
don't
think
the diagram is consistent with codes.

For example, from the diagram party doesn't depend on marketing;
  

however,
  

as
I mentioned in previous email, party entity definition does use
ContactListParty from marketing.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86)
135
0135
9807 | Fax: (8610) 62670096


On Tue, Nov 24, 2009 at 9:16 PM, Michael Xu (xudong)
wrote:

  

Just found an article about the dependency:



http://docs.ofbiz.org/display/OFBADMIN/Component+and+Component+Set+Dependencies

  

<


http://docs.ofbiz.org/display/OFBADMIN/Component+and+Component+Set+Dependencies

  

From


the component relationship diagram, it seems I have to include all
components under framework and application in my new
application. Is
it
correct?

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile:
(86)


135
  

0135 9807 | Fax: (8610) 62670096



On Tue, Nov 24, 2009 at 9:07 PM, Michael Xu (xudong) <
dong...@wizitsoft.com> wrote:



hi all,

I try to build a new application using ofbiz. Basically, I
want to
use
the
nice overall architect of ofbiz, theme mechanism and
Party/Permission/SecurityGroup. However, I found it is very
difficult
to
remove unnecessary components.

For example, entitymodel.xml from applications/party
uses ContactListParty, which is from marketing component. I think
such
dependency doesn't make much sense, as marketing is only an
optional
component but party is a must.

What's the best practice for my case? Advices and clues will
be very
appreciated. Thanks in advance.

--
Regards,
Michael Xu



  

--
View this message in context:
http://n4.nabble.com/about-using-ofbiz-as-a-platform-tp786778p933001.html

Sent from the OFBiz - User mailing list archive at Nabble.com.

  
  

--
View this message in context:
http://n4.nabble.com/about-using-ofbiz-as-a-platform-tp786778p948290.html

Sent from the OFBiz - User mailing list archive at Nabble.com.


--
Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP

Tel: 01453 890660
Mob: 07944 880950
Www: www.snowconsulting.co.uk






--
Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP

Tel: 01453 89066