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

2009-12-03 Thread André Herbst
Hi,

I have tested this function on a local Linux server as well as on the demo 
site with the same result:

localhost
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 
[java.lang.String] is not compatible with the Java type of the field 
[java.sql.Timestamp]
Exception: java.lang.Exception
Message: Location of database type warning
 stack 
trace ---
java.lang.Exception: Location of database type warning
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:420)
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:367)
org.ofbiz.entity.GenericEntity.setAllFields(GenericEntity.java:882)
org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:105)
org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:81)
org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelScreenAction.java:523)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:221)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:96)
org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:831)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:550)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:83)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

Re: about theme i18n

2009-12-03 Thread Bilgin Ibryam

Michael Xu (xudong) wrote:

hi,

In theme selection screen, how to internationalize theme description? I
found it is hard coded in themes/**/data/**ThemeData.xml

Appreciate any advice.

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

  

Hi Michael,

in r886701 I did a fix to theme list, so if you go now the way Erwan 
described, it should work.

Feel free to open jira issue and provide the fix if you like.

Bilgin


Re: Java 6 Question

2009-12-03 Thread Shi Jinghai
That's the pain to follow trunk.

Not sure whether OFBiz has used the Hudson. If yes, I think Hudson report
will help you to know which the latest version has passed build and test
without any errors.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


在 2009-12-03四的 11:42 +0800,Sam Hamilton写道:
 Shi - yep the branch builds fine but the trunk errors out with the 
 following error:
 
 classes:
   [javac15] Compiling 54 source files to 
 /opt/ofbiz/applications/product/build/classes
   [javac15] 
 /opt/ofbiz/applications/product/src/org/ofbiz/product/config/ProductConfigWorker.java:139:
  
 warning: [deprecation] 
 getProductvirtualVariantMethod(org.ofbiz.entity.Delegator,java.lang.String) 
 in org.ofbiz.product.product.ProductWorker has been deprecated
   [javac15] if 
 (VV_FEATURETREE.equals(ProductWorker.getProductvirtualVariantMethod((Delegator)request.getAttribute(delegator),
  
 selectedProdcutId))) {
   
 [javac15] 
  
 ^
   [javac15] 
 /opt/ofbiz/applications/product/src/org/ofbiz/product/product/ProductSearchSession.java:1220:
  
 cannot find symbol
   [javac15] symbol  : method 
 add(java.util.Mapjava.lang.String,java.lang.Object)
   [javac15] location: interface 
 java.util.Listjava.util.Mapjava.lang.String,java.lang.String
   [javac15] 
 featureCountList.add(UtilMisc.toMap(productFeatureId, (String) 
 searchResult.get(pfacProductFeatureId), productFeatureTypeId, 
 (String) searchResult.get(pfcProductFeatureTypeId), description, 
 (String) searchResult.get(pfcDescription), featureCount, 
 Long.toString((Long) searchResult.get(featureCount;
   [javac15] ^
   [javac15] Note: 
 /opt/ofbiz/applications/product/src/org/ofbiz/product/product/ProductSearch.java
  
 uses unchecked or unsafe operations.
   [javac15] Note: Recompile with -Xlint:unchecked for details.
   [javac15] 1 error
   [javac15] 1 warning
 
 BUILD FAILED
 /opt/ofbiz/build.xml:192: The following error occurred while executing 
 this line:
 /opt/ofbiz/applications/build.xml:67: The following error occurred while 
 executing this line:
 /opt/ofbiz/macros.xml:27: The following error occurred while executing 
 this line:
 /opt/ofbiz/applications/product/build.xml:67: Compile failed; see the 
 compiler error output for details.
 
 
 
 
 BJ Freeman wrote:
  comes with centos 5 and works out of the box
  java version 1.6.0
  OpenJDK  Runtime Environment (build 1.6.0-b09)
  OpenJDK Client VM (build 1.6.0-b09, mixed mode)
 
 
  Sam Hamilton sent the following on 12/1/2009 5:49 AM:

  I dug this out from the fedora wiki -
  http://fedoraproject.org/wiki/PackageMaintainers which explains how to
  get a package submitted but at the moment the trunk r885762 fails to
  build so I am guessing Shi that you have fixed a few things to get it
  working.
 
  Sam
 
 
  Shi Jinghai wrote:
  
  Yes, I see. That's a great idea. Not sure how Apache(httpd) and Tomcat
  became a part of Linux releases, create a self maintained repository at
  the 1st step and then try to merge it into Linux releases step by step?
 
  Shi Jinghai
 
  在 2009-12-01二的 10:53 +0100,Jacques Le Roux写道:
   

  This is very intereting because it allows to create packages for
  Linux systems. And this would increase much OFBiz visibility...
 
  Jacques
 
  From: Shi Jinghai sh...@langhua.cn
 
  
  We have used OpenJDK (on Fedora) for a while. There is no problem at
  all.
 
  Regards,
 
  Shi Jinghai/Beijing Langhua Ltd.
 
 
  在 2009-12-01二的 15:32 +0800,Sam Hamilton写道:
   

  Hi Guys,
 
  I see that there is a vote going on at the moment about java 6 - I am
  wondering if this would also mean that it would be possible to run
  OFBiz
  using openJDK once this migration has been done?
 
 
  Cheers
  Sam
  
  
  
  


  
 

 



Re: about theme i18n

2009-12-03 Thread Erwan de FERRIERES



Le 03/12/2009 08:41, Michael Xu (xudong) a écrit :

hi,

In theme selection screen, how to internationalize theme description? I
found it is hard coded in themes/**/data/**ThemeData.xml

Appreciate any advice.

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



This should do the trick !

Index: framework/common/config/CommonEntityLabels.xml 




===
--- framework/common/config/CommonEntityLabels.xml  (révision 886312)
+++ framework/common/config/CommonEntityLabels.xml  (copie de travail)
@@ -15068,4 +15068,19 @@
 value xml:lang=thน้ำหนัก/value
 value xml:lang=zh重量/value
 /property
+property key=VisualTheme.description.BIZZNESS_TIME
+value xml:lang=enIt's bizzness, it's bizzness time.  I 
couldn't have said it better myself. This theme gets down/value

+/property
+property key=VisualTheme.description.BLUELIGHT
+value xml:lang=enBlueLight Theme: Breadcrumbs, drop-down 
menus and rounded corners/value

+/property
+property key=VisualTheme.description.DROPPINGCRUMBS
+value xml:lang=enDropping Crumbs: Includes a drop down menu 
embedded in the breadcrumbs bar/value

+/property
+property key=VisualTheme.description.FLAT_GREY
+value xml:lang=enFlat Grey - Old OFBiz Standard Floating 
Layout/value

+/property
+property key=VisualTheme.description.MULTIFLEX
+value xml:lang=enAlternative VisualTheme for Ecommerce/value
+/property
 /resource
Index: framework/common/entitydef/entitymodel.xml
===
--- framework/common/entitydef/entitymodel.xml  (révision 886312)
+++ framework/common/entitydef/entitymodel.xml  (copie de travail)
@@ -574,6 +574,7 @@

 entity entity-name=VisualTheme
 package-name=org.ofbiz.common.theme
+default-resource-name=CommonEntityLabels
 title=Defines a Visual Theme
   descriptionThe VisualTheme entity contains one entry per 
visual theme./description

   field name=visualThemeId type=id-ne/field


--
Erwan


How to implement and EDA

2009-12-03 Thread ramram

Hi All,

I am new to OfBiz. I was wondering how I can implement and EDA in the Ofbiz
and see the related task created in the workeffort?
Please can you also provide documents on how is the EDA is implemented and
how it works in OfBiz?

Thnx for the help
-- 
View this message in context: 
http://n4.nabble.com/How-to-implement-and-EDA-tp947491p947491.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to implement and EDA

2009-12-03 Thread Jacques Le Roux
Not sure what you are exactly looking for, maybe this will help 
http://cwiki.apache.org/confluence/display/OFBIZ/Is+OFBiz+for+Me#IsOFBizforMe-OFBizWorkflow(EDAArchitecture


Jacques

From: ramram ramram...@gmail.com

Hi All,

I am new to OfBiz. I was wondering how I can implement and EDA in the Ofbiz
and see the related task created in the workeffort?
Please can you also provide documents on how is the EDA is implemented and
how it works in OfBiz?

Thnx for the help
--
View this message in context: 
http://n4.nabble.com/How-to-implement-and-EDA-tp947491p947491.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: How to implement and EDA

2009-12-03 Thread ramram

thnx for ur reply Jacques 
What I am looking for is the following: to be able to create user tasks
according to events that occur in the system. 
I couldn't find any document explaining how the EDA is implemented in OfBiz.
And how we can apply a scenario based on an EDA rather than a workflow. If
there is any documents about these subjects I will be great full.
What I am looking forward to is to evaluate the workflow engine or the EDA
of OfBiz and the functionalities that are available by it?

Regards


-- 
View this message in context: 
http://n4.nabble.com/How-to-implement-and-EDA-tp947491p947518.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: about theme i18n

2009-12-03 Thread Michael Xu (xudong)
hi Erwan,

Thanks. It seems you have already created an issue in JIRA and put a patch
there. Will try that.

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


On Thu, Dec 3, 2009 at 5:36 PM, Erwan de FERRIERES 
erwan.de-ferrie...@nereide.biz wrote:



 Le 03/12/2009 08:41, Michael Xu (xudong) a écrit :

 hi,


 In theme selection screen, how to internationalize theme description? I
 found it is hard coded in themes/**/data/**ThemeData.xml

 Appreciate any advice.

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


 This should do the trick !

 Index: framework/common/config/CommonEntityLabels.xml


 ===
 --- framework/common/config/CommonEntityLabels.xml  (révision 886312)
 +++ framework/common/config/CommonEntityLabels.xml  (copie de travail)
 @@ -15068,4 +15068,19 @@
 value xml:lang=thน้ำหนัก/value
 value xml:lang=zh重量/value
 /property
 +property key=VisualTheme.description.BIZZNESS_TIME
 +value xml:lang=enIt's bizzness, it's bizzness time.  I
 couldn't have said it better myself. This theme gets down/value
 +/property
 +property key=VisualTheme.description.BLUELIGHT
 +value xml:lang=enBlueLight Theme: Breadcrumbs, drop-down menus
 and rounded corners/value
 +/property
 +property key=VisualTheme.description.DROPPINGCRUMBS
 +value xml:lang=enDropping Crumbs: Includes a drop down menu
 embedded in the breadcrumbs bar/value
 +/property
 +property key=VisualTheme.description.FLAT_GREY
 +value xml:lang=enFlat Grey - Old OFBiz Standard Floating
 Layout/value
 +/property
 +property key=VisualTheme.description.MULTIFLEX
 +value xml:lang=enAlternative VisualTheme for Ecommerce/value
 +/property
  /resource
 Index: framework/common/entitydef/entitymodel.xml
 ===
 --- framework/common/entitydef/entitymodel.xml  (révision 886312)
 +++ framework/common/entitydef/entitymodel.xml  (copie de travail)
 @@ -574,6 +574,7 @@

 entity entity-name=VisualTheme
 package-name=org.ofbiz.common.theme
 +default-resource-name=CommonEntityLabels
 title=Defines a Visual Theme
   descriptionThe VisualTheme entity contains one entry per visual
 theme./description
   field name=visualThemeId type=id-ne/field


 --
 Erwan



workeffort

2009-12-03 Thread Bob.Bee

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.


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

2009-12-03 Thread 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 a...@softmatic.dk

Hi,

I have tested this function on a local Linux server as well as on the demo
site with the same result:

localhost
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
[java.lang.String] is not compatible with the Java type of the field
[java.sql.Timestamp]
Exception: java.lang.Exception
Message: Location of database type warning
 stack
trace ---
java.lang.Exception: Location of database type warning
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:420)
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:367)
org.ofbiz.entity.GenericEntity.setAllFields(GenericEntity.java:882)
org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:105)
org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:81)
org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelScreenAction.java:523)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:221)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:96)
org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:831)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:550)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:83)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

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

2009-12-03 Thread Jacques Le Roux

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 jacques.le.r...@les7arts.com

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 a...@softmatic.dk

Hi,

I have tested this function on a local Linux server as well as on the demo
site with the same result:

localhost
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
[java.lang.String] is not compatible with the Java type of the field
[java.sql.Timestamp]
Exception: java.lang.Exception
Message: Location of database type warning
 stack
trace ---
java.lang.Exception: Location of database type warning
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:420)
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:367)
org.ofbiz.entity.GenericEntity.setAllFields(GenericEntity.java:882)
org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:105)
org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:81)
org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelScreenAction.java:523)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:221)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:96)
org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:831)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:550)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:83)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

Re: Ofbiz for Real Estate Management

2009-12-03 Thread Jeroen van der Wal
To answer your question: yes, we use Ofbiz trunk as the foundation of the
project so everything fix or enhancement that we do in Ofbiz will be
committed back by Bilgin, our ASF committor on the project.

The solution is tailored to Real Estate Management and we prefer to manage
that seperately. I don't think Ofbiz benefits by adding industry specifc
features; keeping the existing codebase stable and testable already requires
a lot of effort from the community. I personally would like a clearer
separtion between the Framework, Core modules and Add-ons but that is a
different discussion.

We are also thinking of using a different licence to make sure that derative
works are available on the same licence. We're currently looking at Open
Software Licence 3.0. Perhaps other Ofbiz partners can share their
experiences on using a different OS licence?

Jeroen van der Wal
+31 655 874050
jer...@stromboli.it


On Wed, Dec 2, 2009 at 3:33 AM, Anil Patel anil.pa...@hotwaxmedia.comwrote:

 Jeroen,
 Do you plan to contribute your enhancements back to project?

 Thanks and Regards
 Anil Patel
 HotWax Media Inc

 http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/

 On Nov 29, 2009, at 7:59 PM, Jeroen van der Wal wrote:

  We've developed a quite sophisticated solution for managing (commercial)
  properties on top of Ofbiz. It will be available in Q1 2010 but if
 anybody
  is interested I'm happy to give preview. Some features:
 
  Asset Management
  - Show your assets in a tree view with unlimited levels (complex,
 building,
  floor, unit, etc.)
  - Define custom attributes
  Lease Management
  - Base rent
  - Turnover rent
  - Rent indexation
  - Discounts
  Service Charges
  - Budget on property level and divide to individual tenants
  - Reconciliation of purchase invoices
  Metrics
  - Store any type of data on any level of an agreement that you want to be
  used in lease calculation. Example: the monthly turnover of the tentants.
  Invoicing
  - Choose any invoice frequency and offset (in advance vs. afterwards)
  - Automatic reconciliation when lease details change
  - Calculates the total value of a lease and compares that to already
  invoiced amounts
 
  Best,
 
  Jeroen van der Wal
  Stromboli b.v.
  +31 655 874050
  jer...@stromboli.it




Error installing OFBiz on external tomcat

2009-12-03 Thread sac sha
Hi All

I am trying to install ofbiz on external tomcat. It is building fine but
when I start tomcat
by ./catalina.sh run it gives error as attached.

I am referring to:
http://cwiki.apache.org/confluence/display/OFBTECH/Tomcat

My specifications are:
Ofbiz: 9.04
Tomcat: 5.5.28
Java: java-6-sun

TIA.

-- 
Regards
Sac


Re: Error installing OFBiz on external tomcat

2009-12-03 Thread sac sha
Attached log file.
Sorry for inconvenience.

On Thu, Dec 3, 2009 at 1:15 PM, sac sha sacsh...@gmail.com wrote:

 Hi All

 I am trying to install ofbiz on external tomcat. It is building fine but
 when I start tomcat
 by ./catalina.sh run it gives error as attached.

 I am referring to:
 http://cwiki.apache.org/confluence/display/OFBTECH/Tomcat

 My specifications are:
 Ofbiz: 9.04
 Tomcat: 5.5.28
 Java: java-6-sun

 TIA.

 --
 Regards
 Sac




-- 
Regards
Sachin Sharma
2009-12-03 13:03:53,621 (main) [  GenericDispatcher.java:61 :INFO ] Creating new dispatcher [oagismgr] (main)
2009-12-03 13:03:53,653 (main) [ ApplicationContext.java:682:ERROR] StandardWrapper.Throwable
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
	at org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:65)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:448)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
	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.catalina.startup.Bootstrap.start(Bootstrap.java:295)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
2009-12-03 13:03:53,695 (main) [StandardContext.java:3998:ERROR] Servlet /oagis threw load() exception
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
	at org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:65)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:448)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
	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.catalina.startup.Bootstrap.start(Bootstrap.java:295)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
2009-12-03 13:03:59,138 (main) [  GenericDispatcher.java:61 :INFO ] Creating new dispatcher [facility] (main)
2009-12-03 13:03:59,141 (main) [ ApplicationContext.java:682:ERROR] StandardWrapper.Throwable
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
	at org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:65)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:448)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 

about ofbiz comopnent

2009-12-03 Thread Michael Xu (xudong)
hi all,

If I comment out a component from component-load.xml, what is expected to
happen?

1) all database tables related to that component will still be created?
2) the other component which depends on this component can work or not?
3) what's the difference if I just remove that component from file system?

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


Re: Ofbiz for Real Estate Management

2009-12-03 Thread Info Olagos
Hello,

When will you give us the url for the preview?

Heidi
Olagos bvba

2009/12/3 Jeroen van der Wal jvander...@stromboli.it

 To answer your question: yes, we use Ofbiz trunk as the foundation of the
 project so everything fix or enhancement that we do in Ofbiz will be
 committed back by Bilgin, our ASF committor on the project.

 The solution is tailored to Real Estate Management and we prefer to manage
 that seperately. I don't think Ofbiz benefits by adding industry specifc
 features; keeping the existing codebase stable and testable already
 requires
 a lot of effort from the community. I personally would like a clearer
 separtion between the Framework, Core modules and Add-ons but that is a
 different discussion.

 We are also thinking of using a different licence to make sure that
 derative
 works are available on the same licence. We're currently looking at Open
 Software Licence 3.0. Perhaps other Ofbiz partners can share their
 experiences on using a different OS licence?

 Jeroen van der Wal
 +31 655 874050
 jer...@stromboli.it


 On Wed, Dec 2, 2009 at 3:33 AM, Anil Patel anil.pa...@hotwaxmedia.com
 wrote:

  Jeroen,
  Do you plan to contribute your enhancements back to project?
 
  Thanks and Regards
  Anil Patel
  HotWax Media Inc
 
 
 http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/
 
  On Nov 29, 2009, at 7:59 PM, Jeroen van der Wal wrote:
 
   We've developed a quite sophisticated solution for managing
 (commercial)
   properties on top of Ofbiz. It will be available in Q1 2010 but if
  anybody
   is interested I'm happy to give preview. Some features:
  
   Asset Management
   - Show your assets in a tree view with unlimited levels (complex,
  building,
   floor, unit, etc.)
   - Define custom attributes
   Lease Management
   - Base rent
   - Turnover rent
   - Rent indexation
   - Discounts
   Service Charges
   - Budget on property level and divide to individual tenants
   - Reconciliation of purchase invoices
   Metrics
   - Store any type of data on any level of an agreement that you want to
 be
   used in lease calculation. Example: the monthly turnover of the
 tentants.
   Invoicing
   - Choose any invoice frequency and offset (in advance vs. afterwards)
   - Automatic reconciliation when lease details change
   - Calculates the total value of a lease and compares that to already
   invoiced amounts
  
   Best,
  
   Jeroen van der Wal
   Stromboli b.v.
   +31 655 874050
   jer...@stromboli.it
 
 



Error while Deploying custom jasperreport in ofbiz

2009-12-03 Thread su2

Hi,

I am trying to deploy a custom report in ofbiz application.

I have created a JRXML report template using iReport and in the
controller.xml I have added the following handler

handler name=jasperreports type=view
class=org.opentaps.common.reporting.jasper.JasperReportsViewHandler/

The request-uri definition for the report in controller.xml is

 request-map uri=findProducts.csv
security https=true auth=true/
response name=success type=view value=findProductsCSV/
/request-map 

The corresponding view-map is

 view-map name=findProductsCSV type=jasperreports
page=component://product/webapp/reports/repository/findProductsReport.jrxml
content-type=text/csv encoding=none/ 

in main.ftl file I have link to access the report.

div class=screenlet 
 findProducts.csv Create EXCEL Sheet 
/div

When I access the url I am getting the Error: File not found

ERROR: can't find the file at
https://localhost:8443/catalog/control/findProducts.csv.

I really appreciate if someone can assist me with this.

Thank you in advance.
Su- 
-- 
View this message in context: 
http://n4.nabble.com/Error-while-Deploying-custom-jasperreport-in-ofbiz-tp947699p947699.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


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

2009-12-03 Thread 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 jacques.le.r...@les7arts.com

  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 a...@softmatic.dk
 
  Hi,
 
  I have tested this function on a local Linux server as well as on the
  demo site with the same result:
 
  localhost
  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
  [java.lang.String] is not compatible with the Java type of the field
  [java.sql.Timestamp]
  Exception: java.lang.Exception
  Message: Location of database type warning
   stack
  trace ---
  java.lang.Exception: Location of database type warning
  org.ofbiz.entity.GenericEntity.set(GenericEntity.java:420)
  org.ofbiz.entity.GenericEntity.set(GenericEntity.java:367)
  org.ofbiz.entity.GenericEntity.setAllFields(GenericEntity.java:882)
  org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:1
 05)
  org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:8
 1)
  org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelScree
 nAction.java:523)
  org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActio
 n.java:118)
  org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
 

Re: about ofbiz comopnent

2009-12-03 Thread Abdullah Shaikh
Hi Michael,

If you comment out a component, it will throw you some database related
errors  ofbiz won't start.

Ideally following should have happened, but it doesn't,
1) Database tables shouldn't be created for that components
2) The other component should complain if it depends on the
commented/removed component

etc

There was a discussion on ML regarding making the components independent, I
guess this would be a good feature.

Thanks,
Abdullah

On Thu, Dec 3, 2009 at 7:04 PM, Michael Xu (xudong)
dong...@wizitsoft.comwrote:

 hi all,

 If I comment out a component from component-load.xml, what is expected to
 happen?

 1) all database tables related to that component will still be created?
 2) the other component which depends on this component can work or not?
 3) what's the difference if I just remove that component from file system?

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



Re: Ofbiz for Real Estate Management

2009-12-03 Thread Adrian Crum

Jeroen van der Wal wrote:

I don't think Ofbiz benefits by adding industry specifc
features; keeping the existing codebase stable and testable already requires
a lot of effort from the community. I personally would like a clearer
separtion between the Framework, Core modules and Add-ons but that is a
different discussion.


The specialpurpose folder is intended to be used for industry-specific 
or role-based applications. Apache OFBiz encourages that type of 
development, and Apache OFBiz does, indeed, benefit from it.


-Adrian



Re: about using ofbiz as a platform

2009-12-03 Thread Adrian Crum
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 chsnow...@gmail.com 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) dong...@wizitsoft.com:

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)
dong...@wizitsoft.comwrote:


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.





Re: Ofbiz for Real Estate Management

2009-12-03 Thread Jeroen van der Wal
On Thu, Dec 3, 2009 at 5:14 PM, Adrian Crum adri...@hlmksw.com wrote:

 Jeroen van der Wal wrote:

 I don't think Ofbiz benefits by adding industry specifc
 features; keeping the existing codebase stable and testable already
 requires
 a lot of effort from the community. I personally would like a clearer
 separtion between the Framework, Core modules and Add-ons but that is a
 different discussion.


 The specialpurpose folder is intended to be used for industry-specific or
 role-based applications. Apache OFBiz encourages that type of development,
 and Apache OFBiz does, indeed, benefit from it.


So far no industry-specific solution made it to the special purpose folder
(perhaps maybe e-commerce), has no one buillt a solution on top of Ofbiz
before? And if everybody would contribute their specific solutions will
Ofbiz then not end up being all but nothing?

-Jeroen


Re: Ofbiz for Real Estate Management

2009-12-03 Thread Jacques Le Roux

From: Adrian Crum adri...@hlmksw.com

Jeroen van der Wal wrote:

I don't think Ofbiz benefits by adding industry specifc
features; keeping the existing codebase stable and testable already requires
a lot of effort from the community. I personally would like a clearer
separtion between the Framework, Core modules and Add-ons but that is a
different discussion.


The specialpurpose folder is intended to be used for industry-specific 
or role-based applications. Apache OFBiz encourages that type of 
development, and Apache OFBiz does, indeed, benefit from it.


-Adrian


Very true!

Jacques



Re: Ofbiz for Real Estate Management

2009-12-03 Thread Adrian Crum

Jeroen van der Wal wrote:

On Thu, Dec 3, 2009 at 5:14 PM, Adrian Crum adri...@hlmksw.com wrote:


Jeroen van der Wal wrote:


I don't think Ofbiz benefits by adding industry specifc
features; keeping the existing codebase stable and testable already
requires
a lot of effort from the community. I personally would like a clearer
separtion between the Framework, Core modules and Add-ons but that is a
different discussion.


The specialpurpose folder is intended to be used for industry-specific or
role-based applications. Apache OFBiz encourages that type of development,
and Apache OFBiz does, indeed, benefit from it.



So far no industry-specific solution made it to the special purpose folder
(perhaps maybe e-commerce), has no one buillt a solution on top of Ofbiz
before? And if everybody would contribute their specific solutions will
Ofbiz then not end up being all but nothing?


Well, maybe you could help make real estate management one of the first 
industry-specific solutions to be included with OFBiz.


If Apache OFBiz included several industry-specific applications, those 
applications would demonstrate the abilities of OFBiz. What better way 
to show off the platform than to have different applications built from it?


-Adrian



Re: Ofbiz for Real Estate Management

2009-12-03 Thread Al Byers
I don't think it is realistic to expect anyone to contribute a quality
add-on back to the project and maintain it. All of us that work (or
have worked) on the project do so because it contributes financially
to us in other ways.

If someone was to create a commercially viable add-on, then I think
the smart thing to do would be to contribute back a community
version that captures the essence of the customizations needed for
that niche, but reserves a lot of the value added that comes from
being experienced in that field for a commercial version. The
commercial version could also include support.

-Al


Re: Promotion - FREE Shipping on product/category

2009-12-03 Thread Jacques Le Roux

It's not complete but a I have added a link to Jacopo's tutorial
http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/
In production section in FAQ. For now, I have tried to complete it by linking 
also to
http://markmail.org/message/4mmgumepxjopmntu
Thanks Jacopo, with these tips I think the community will be more aware of the initial good practices which are fundamental for a 
project to follow the trunk and for the Apache OFBiz project to broaden its contributors community.


BTW, Jacopo could you please import your personnal space in cwiki ? It is 
referenced at least in FAQ
I have to clean this page also, lot of broken links, from transfer and also 
time passing ...
A good thing though, now we can edit in Rich Mode without breaking pages

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

What meaned Anil is that you can follow some best practices which allow easier 
update
I think we still need a clear document (wiki page with a link from FAQ) with 
few lines to clearly explain these simple best
practices, am I wrong ?
I'd like to write such a document but did not find the time yet

Jacques

From: su2 shu...@pexsupply.com


Sorry Anil, But I do not agree with you as all organizations have their own
requirement so customization is expected.

Anil Patel-3 wrote:



On Nov 23, 2009, at 11:34 AM, su2 wrote:



I understand what you are saying, but the version i have is totally
customized according to organization needs. Thats why its little
difficult
to upgrade!


A lesson learned :)

There are known ways to customize ofbiz that will allow you to upgrade
without much effort.




Jacques Le Roux wrote:


Mmm... depending of the version you are using it may be difficult : this
has been completly refactored some months ago...
That's a good example why we suggest to use trunk. Even if some
revisions
are really not stable, you can go from one and correct the
problems you get using recent patches... With old releases with cases
like
this you are trapped...

Sorry

Jacques

From: su2 shu...@pexsupply.com


Do you know if there is any patch?

Actually I have older version of ofbiz which does not have shipping X%
discount promo option. If there is any patch available it will be
really
helpful.

Thank you.
su-


Jacques Le Roux wrote:


Quick answer : ProductPromoWorker.java

Jacques

From: su2 shu...@pexsupply.com


Thanks Jacques,


From developer's point of, where can I find the code? the actual
promo

code

and the check on checkout page?

It would be helpful if I get little inside as developer's point of
view.

Thank you.
su -

Jacques Le Roux wrote:


From: Jacques Le Roux jacques.le.r...@les7arts.com

Yes, it is: select your product/category in condition and  in
action
shipping X% discount vit X=100


Yes, it is: select your product/category in condition and  in action
shipping X% discount with X=100


Jacques

From: su2 shu...@pexsupply.com


Hello Freinds,

Is it possible to create a promotion - FREE SHIPPING for certain
products/category ?

Please let me know the steps.

I really appreciate the help.

Thank you.
Su-
--
View this message in context:
http://n4.nabble.com/Promotion-FREE-Shipping-on-product-category-tp628137p628137.html
Sent from the OFBiz - User mailing list archive at Nabble.com.









--
View this message in context:
http://n4.nabble.com/Promotion-FREE-Shipping-on-product-category-tp628137p768173.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







--
View this message in context:
http://n4.nabble.com/Promotion-FREE-Shipping-on-product-category-tp628137p786068.html
Sent from the OFBiz - User mailing list archive at Nabble.com.








--
View this message in context:
http://n4.nabble.com/Promotion-FREE-Shipping-on-product-category-tp628137p786168.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






--
View this message in context: 
http://n4.nabble.com/Promotion-FREE-Shipping-on-product-category-tp628137p786203.html
Sent from the OFBiz - User mailing list archive at Nabble.com.








Re: Ofbiz for Real Estate Management

2009-12-03 Thread Adrian Crum

Al,

It appears you're arguing against the success of companies like Red Hat, 
JBoss, and Novell - who all maintain open source software and offer it 
for free.


If I developed a vertical application, I wouldn't hesitate to contribute 
it back to the project. Why should I pay a staff of programmers to 
maintain it when a community of volunteers is willing to do it for free? 
I'd rather focus my resources on installation, training, and support.


-Adrian

Al Byers wrote:

I don't think it is realistic to expect anyone to contribute a quality
add-on back to the project and maintain it. All of us that work (or
have worked) on the project do so because it contributes financially
to us in other ways.

If someone was to create a commercially viable add-on, then I think
the smart thing to do would be to contribute back a community
version that captures the essence of the customizations needed for
that niche, but reserves a lot of the value added that comes from
being experienced in that field for a commercial version. The
commercial version could also include support.

-Al



Re: Ofbiz for Real Estate Management

2009-12-03 Thread Jacques Le Roux

From: Jeroen van der Wal jvander...@stromboli.it

On Thu, Dec 3, 2009 at 5:14 PM, Adrian Crum adri...@hlmksw.com wrote:


Jeroen van der Wal wrote:


I don't think Ofbiz benefits by adding industry specifc
features; keeping the existing codebase stable and testable already
requires
a lot of effort from the community. I personally would like a clearer
separtion between the Framework, Core modules and Add-ons but that is a
different discussion.



The specialpurpose folder is intended to be used for industry-specific or
role-based applications. Apache OFBiz encourages that type of development,
and Apache OFBiz does, indeed, benefit from it.



So far no industry-specific solution made it to the special purpose folder
(perhaps maybe e-commerce), has no one buillt a solution on top of Ofbiz
before? And if everybody would contribute their specific solutions will
Ofbiz then not end up being all but nothing?

-Jeroen


The POS is also a kind of specific...

Jacques



Re: Ofbiz for Real Estate Management

2009-12-03 Thread Jacques Le Roux

From: Al Byers bye...@automationgroups.com

I don't think it is realistic to expect anyone to contribute a quality
add-on back to the project and maintain it. All of us that work (or
have worked) on the project do so because it contributes financially
to us in other ways.

If someone was to create a commercially viable add-on, then I think
the smart thing to do would be to contribute back a community
version that captures the essence of the customizations needed for
that niche, but reserves a lot of the value added that comes from
being experienced in that field for a commercial version. The
commercial version could also include support.

-Al


That's also very true. 


Jacques



Re: Ofbiz for Real Estate Management

2009-12-03 Thread Al Byers
Adrian,

I think you have a valid point. But the companies that you named are
just support companies and that has a different financial model than
companies that profit from IP. You have to make a choice between
making money via the support mode or the IP mode. If you choose the IP
mode, then you do take on the task of maintaining software - but just
the part that is proprietary. I, personally, do not want to be in the
support mode; it is too much work.

-Al


Re: Ofbiz for Real Estate Management

2009-12-03 Thread Anil Patel
Jeroen,
AssetMaint application was developed to support maintenance of fleet or other 
kind of machines and is still used by more then two parties (Adrian's employer 
and my previous employer) in community for sure.
I also have started (not made lot of progress yet because of time constraint) 
to built asset maintenance application tuned for IT shop. So really Ofbiz does 
have lot of examples of verticals. 

No pressure, its upto developer of software to decide if it should be given 
away and under what license. We love all the framework contributions coming 
from your company. Thanks for that.

Thanks and Regards
Anil Patel
HotWax Media Inc
http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/

On Dec 3, 2009, at 12:22 PM, Adrian Crum wrote:

 Jeroen van der Wal wrote:
 On Thu, Dec 3, 2009 at 5:14 PM, Adrian Crum adri...@hlmksw.com wrote:
 Jeroen van der Wal wrote:
 
 I don't think Ofbiz benefits by adding industry specifc
 features; keeping the existing codebase stable and testable already
 requires
 a lot of effort from the community. I personally would like a clearer
 separtion between the Framework, Core modules and Add-ons but that is a
 different discussion.
 
 The specialpurpose folder is intended to be used for industry-specific or
 role-based applications. Apache OFBiz encourages that type of development,
 and Apache OFBiz does, indeed, benefit from it.
 
 So far no industry-specific solution made it to the special purpose folder
 (perhaps maybe e-commerce), has no one buillt a solution on top of Ofbiz
 before? And if everybody would contribute their specific solutions will
 Ofbiz then not end up being all but nothing?
 
 Well, maybe you could help make real estate management one of the first 
 industry-specific solutions to be included with OFBiz.
 
 If Apache OFBiz included several industry-specific applications, those 
 applications would demonstrate the abilities of OFBiz. What better way to 
 show off the platform than to have different applications built from it?
 
 -Adrian
 



Re: Promotion - FREE Shipping on product/category

2009-12-03 Thread Jacques Le Roux

Have we any docs about the Setup component outside of OFBiz ?

Thanks

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

The reason I'd like a clear and simple document  introducing the *latest* best 
practices regarding OFBiz customisation is because
I believe the lack of this document is one of the reason we only slowly build a 
stronger user commity...
There have been some very good enhancements recently regarding this aspect (new 
ant tasks, Setup application, etc.) and I believe
we should create a document to clearly explain how to get benefits from them.
Who will take the time to begin this work is another question...

My 2 cts

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

What meaned Anil is that you can follow some best practices which allow easier 
update
I think we still need a clear document (wiki page with a link from FAQ) with 
few lines to clearly explain these simple best
practices, am I wrong ?
I'd like to write such a document but did not find the time yet

Jacques

From: su2 shu...@pexsupply.com


Sorry Anil, But I do not agree with you as all organizations have their own
requirement so customization is expected.

Anil Patel-3 wrote:



On Nov 23, 2009, at 11:34 AM, su2 wrote:



I understand what you are saying, but the version i have is totally
customized according to organization needs. Thats why its little
difficult
to upgrade!


A lesson learned :)

There are known ways to customize ofbiz that will allow you to upgrade
without much effort.




Jacques Le Roux wrote:


Mmm... depending of the version you are using it may be difficult : this
has been completly refactored some months ago...
That's a good example why we suggest to use trunk. Even if some
revisions
are really not stable, you can go from one and correct the
problems you get using recent patches... With old releases with cases
like
this you are trapped...

Sorry

Jacques

From: su2 shu...@pexsupply.com


Do you know if there is any patch?

Actually I have older version of ofbiz which does not have shipping X%
discount promo option. If there is any patch available it will be
really
helpful.

Thank you.
su-


Jacques Le Roux wrote:


Quick answer : ProductPromoWorker.java

Jacques

From: su2 shu...@pexsupply.com


Thanks Jacques,


From developer's point of, where can I find the code? the actual
promo

code

and the check on checkout page?

It would be helpful if I get little inside as developer's point of
view.

Thank you.
su -

Jacques Le Roux wrote:


From: Jacques Le Roux jacques.le.r...@les7arts.com

Yes, it is: select your product/category in condition and  in
action
shipping X% discount vit X=100


Yes, it is: select your product/category in condition and  in action
shipping X% discount with X=100


Jacques

From: su2 shu...@pexsupply.com


Hello Freinds,

Is it possible to create a promotion - FREE SHIPPING for certain
products/category ?

Please let me know the steps.

I really appreciate the help.

Thank you.
Su-
--
View this message in context:
http://n4.nabble.com/Promotion-FREE-Shipping-on-product-category-tp628137p628137.html
Sent from the OFBiz - User mailing list archive at Nabble.com.









--
View this message in context:
http://n4.nabble.com/Promotion-FREE-Shipping-on-product-category-tp628137p768173.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







--
View this message in context:
http://n4.nabble.com/Promotion-FREE-Shipping-on-product-category-tp628137p786068.html
Sent from the OFBiz - User mailing list archive at Nabble.com.








--
View this message in context:
http://n4.nabble.com/Promotion-FREE-Shipping-on-product-category-tp628137p786168.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






--
View this message in context: 
http://n4.nabble.com/Promotion-FREE-Shipping-on-product-category-tp628137p786203.html
Sent from the OFBiz - User mailing list archive at Nabble.com.











Re: Ofbiz for Real Estate Management

2009-12-03 Thread Jacques Le Roux

From: Adrian Crum adri...@hlmksw.com

Al,

It appears you're arguing against the success of companies like Red Hat, 
JBoss, and Novell - who all maintain open source software and offer it 
for free.


If I developed a vertical application, I wouldn't hesitate to contribute 
it back to the project. Why should I pay a staff of programmers to 
maintain it when a community of volunteers is willing to do it for free? 
I'd rather focus my resources on installation, training, and support.


Short term competition

Jacques


-Adrian

Al Byers wrote:

I don't think it is realistic to expect anyone to contribute a quality
add-on back to the project and maintain it. All of us that work (or
have worked) on the project do so because it contributes financially
to us in other ways.

If someone was to create a commercially viable add-on, then I think
the smart thing to do would be to contribute back a community
version that captures the essence of the customizations needed for
that niche, but reserves a lot of the value added that comes from
being experienced in that field for a commercial version. The
commercial version could also include support.

-Al







Re: Not finding pages

2009-12-03 Thread BJ Freeman
the pages exist just the content is gone
http://cwiki.apache.org/confluence/display/OFBIZ/Demo+PC001+walk+through


Jacques Le Roux sent the following on 12/2/2009 11:25 PM:
 Which pages precisely, at least one, I can see most of them...
 
 Jacques
 
 From: BJ Freeman bjf...@free-man.net
 I can't find the pages on the old or new on some of the stuff I have
 done.
 the hierarchy shows the pages but no content
 http://cwiki.apache.org/confluence/pages/listpages-dirview.action?key=OFBIZopenId=6553843#selectedPageInHierarchy

 see catalog Module and all the pages below.
 I would expect links if they were moved.
 I did a search and not find a new location for these.

 
 



Product feature - country

2009-12-03 Thread V.S.

Good evening.
Two small questions:
1. For what field HAS_TABLE in table PRODUCT_FEATURE_TYPE is intended
2. I need to use the country as feature for products. Whether there is a
possibility in any way to use as values for feature data from GeoData
(together with localisation), not to create one more list of the countries.

Thanks.
-- 
View this message in context: 
http://n4.nabble.com/Product-feature-country-tp947956p947956.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Not finding pages

2009-12-03 Thread Scott Gray

It doesn't look like there ever was any content on that page: 
http://olddocs.ofbiz.org/display/OFBIZ/Demo+PC001+walk+through

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 4/12/2009, at 8:29 AM, BJ Freeman wrote:


the pages exist just the content is gone
http://cwiki.apache.org/confluence/display/OFBIZ/Demo+PC001+walk+through


Jacques Le Roux sent the following on 12/2/2009 11:25 PM:

Which pages precisely, at least one, I can see most of them...

Jacques

From: BJ Freeman bjf...@free-man.net

I can't find the pages on the old or new on some of the stuff I have
done.
the hierarchy shows the pages but no content
http://cwiki.apache.org/confluence/pages/listpages-dirview.action?key=OFBIZopenId=6553843#selectedPageInHierarchy

see catalog Module and all the pages below.
I would expect links if they were moved.
I did a search and not find a new location for these.










smime.p7s
Description: S/MIME cryptographic signature


Re: How to implement and EDA

2009-12-03 Thread Anil Patel
Hi,
Please elaborate on EDA. What does it mean? How do you plan to it with (in) 
Ofbiz?

Thanks and Regards
Anil Patel
HotWax Media Inc
http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/

On Dec 3, 2009, at 5:20 AM, ramram wrote:

 
 thnx for ur reply Jacques 
 What I am looking for is the following: to be able to create user tasks
 according to events that occur in the system. 
 I couldn't find any document explaining how the EDA is implemented in OfBiz.
 And how we can apply a scenario based on an EDA rather than a workflow. If
 there is any documents about these subjects I will be great full.
 What I am looking forward to is to evaluate the workflow engine or the EDA
 of OfBiz and the functionalities that are available by it?
 
 Regards
 
 
 -- 
 View this message in context: 
 http://n4.nabble.com/How-to-implement-and-EDA-tp947491p947518.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: How to implement and EDA

2009-12-03 Thread Jacques Le Roux

Sorry, not sure why but I did not receive your message ramram

Jacques
PS: Hey Anil, nice way to educate people ;o)

From: Anil Patel anil.pa...@hotwaxmedia.com

Hi,
Please elaborate on EDA. What does it mean? How do you plan to it with (in) 
Ofbiz?

Thanks and Regards
Anil Patel
HotWax Media Inc
http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/

On Dec 3, 2009, at 5:20 AM, ramram wrote:



thnx for ur reply Jacques 
What I am looking for is the following: to be able to create user tasks
according to events that occur in the system. 
I couldn't find any document explaining how the EDA is implemented in OfBiz.

And how we can apply a scenario based on an EDA rather than a workflow. If
there is any documents about these subjects I will be great full.
What I am looking forward to is to evaluate the workflow engine or the EDA
of OfBiz and the functionalities that are available by it?

Regards


--
View this message in context: 
http://n4.nabble.com/How-to-implement-and-EDA-tp947491p947518.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







Re: Not finding pages

2009-12-03 Thread BJ Freeman
I remember witting this a while ago
but can't remember what I wrote.
but the whole catalog is that way.
just pages with no content.
I did find one page with a link to this page.

Scott Gray sent the following on 12/3/2009 1:52 PM:
 It doesn't look like there ever was any content on that page:
 http://olddocs.ofbiz.org/display/OFBIZ/Demo+PC001+walk+through
 
 Regards
 Scott
 
 HotWax Media
 http://www.hotwaxmedia.com
 
 On 4/12/2009, at 8:29 AM, BJ Freeman wrote:
 
 the pages exist just the content is gone
 http://cwiki.apache.org/confluence/display/OFBIZ/Demo+PC001+walk+through


 Jacques Le Roux sent the following on 12/2/2009 11:25 PM:
 Which pages precisely, at least one, I can see most of them...

 Jacques

 From: BJ Freeman bjf...@free-man.net
 I can't find the pages on the old or new on some of the stuff I have
 done.
 the hierarchy shows the pages but no content
 http://cwiki.apache.org/confluence/pages/listpages-dirview.action?key=OFBIZopenId=6553843#selectedPageInHierarchy


 see catalog Module and all the pages below.
 I would expect links if they were moved.
 I did a search and not find a new location for these.




 



Re: Not finding pages

2009-12-03 Thread Scott Gray
I've been receiving email notifications on each space for a few years  
now and a gmail search doesn't show any edits after the page was  
created (except for an attachment being added).


I'll gladly take a look at any other specific examples you have.

Regards
Scott

On 4/12/2009, at 12:53 PM, BJ Freeman wrote:


I remember witting this a while ago
but can't remember what I wrote.
but the whole catalog is that way.
just pages with no content.
I did find one page with a link to this page.

Scott Gray sent the following on 12/3/2009 1:52 PM:

It doesn't look like there ever was any content on that page:
http://olddocs.ofbiz.org/display/OFBIZ/Demo+PC001+walk+through

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 4/12/2009, at 8:29 AM, BJ Freeman wrote:


the pages exist just the content is gone
http://cwiki.apache.org/confluence/display/OFBIZ/Demo+PC001+walk+through


Jacques Le Roux sent the following on 12/2/2009 11:25 PM:

Which pages precisely, at least one, I can see most of them...

Jacques

From: BJ Freeman bjf...@free-man.net
I can't find the pages on the old or new on some of the stuff I  
have

done.
the hierarchy shows the pages but no content
http://cwiki.apache.org/confluence/pages/listpages-dirview.action?key=OFBIZopenId=6553843#selectedPageInHierarchy


see catalog Module and all the pages below.
I would expect links if they were moved.
I did a search and not find a new location for these.














smime.p7s
Description: S/MIME cryptographic signature


Re: about using ofbiz as a platform

2009-12-03 Thread Michael Xu (xudong)
hi Adrian,

Yes, I agree with you for most issues. However, in my opinion this one seems
special, which might cause many fundamental changes. I guess a top-down
approach is more practical.

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


On Fri, Dec 4, 2009 at 12:20 AM, Adrian Crum adri...@hlmksw.com 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 chsnow...@gmail.com 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) dong...@wizitsoft.com:

 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)
 dong...@wizitsoft.comwrote:

  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.





order re-submission !

2009-12-03 Thread Prashant Punekar
Hi,

Background:

-  Order is created but the payment authorization fails (may be because 
of wrong credit card number entered).

-  The inventory gets release and the order is cancelled.

Requeirment:

-  User should be able to re-submit the same order again after 
correcting the credit card number.

Doubts:

-  If we use the same order to be re-submitted again ofbiz will throw 
and error saying the Cannot create an order with same order id because we 
call createOrder().

Does ofbiz support Order resubmission(in the above context) OFTB ?

Regards,
Prashant


http://www.mindtree.com/email/disclaimer.html


Re: order re-submission !

2009-12-03 Thread Sumit Pandit
Hi Prashant, 

During chceckout you have to provide CC information, if it fails then it does 
not allow you to proceed. And hence order can not submitted. Can you please 
reproduce it on Demo server - 
eCommerce - http://demo.ofbiz.org/ecommerce/control/main OR 
BackEnd order manager - http://demo.ofbiz.org/ordermgr/control/main

And BTW if you want to resubmit the order then please look at following 

https://demo.ofbiz.org/ordermgr/control/orderview?orderId=WSCO1  - (user 
name/password = admin/ofbiz)
Here you can find a New Order button, you can place a new order from here. 

--
Thanks And Regards
Sumit Pandit



On Dec 3, 2009, at 7:18 PM, Prashant Punekar wrote:

 Hi,
 
 Background:
 
 -  Order is created but the payment authorization fails (may be 
 because of wrong credit card number entered).
 
 -  The inventory gets release and the order is cancelled.
 
 Requeirment:
 
 -  User should be able to re-submit the same order again after 
 correcting the credit card number.
 
 Doubts:
 
 -  If we use the same order to be re-submitted again ofbiz will throw 
 and error saying the Cannot create an order with same order id because we 
 call createOrder().
 
 Does ofbiz support Order resubmission(in the above context) OFTB ?
 
 Regards,
 Prashant
 
 
 http://www.mindtree.com/email/disclaimer.html



Re: Java 6 Question

2009-12-03 Thread Sam Hamilton

Thanks Shi.

I found that OFBiz trunk is in Hudson and from what I can tell is only 
building against sun-java6-jdk-1.6.0.10 
(http://ci.apache.org/builders/ofbiz-trunk) but I totally could be 
reading this wrong.


Does it make sense to add openJDK to the build list to make sure that 
ofbiz is compatible - I ask this as a total layman and only for the POV 
that being able to one day yum install ofbiz-trunk / apt-get install 
ofbiz-trunk would be a great way to get the project into many more less 
technical hands.


Sam


Shi Jinghai wrote:

That's the pain to follow trunk.

Not sure whether OFBiz has used the Hudson. If yes, I think Hudson report
will help you to know which the latest version has passed build and test
without any errors.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


在 2009-12-03四的 11:42 +0800,Sam Hamilton写道:
  
Shi - yep the branch builds fine but the trunk errors out with the 
following error:


classes:
  [javac15] Compiling 54 source files to 
/opt/ofbiz/applications/product/build/classes
  [javac15] 
/opt/ofbiz/applications/product/src/org/ofbiz/product/config/ProductConfigWorker.java:139: 
warning: [deprecation] 
getProductvirtualVariantMethod(org.ofbiz.entity.Delegator,java.lang.String) 
in org.ofbiz.product.product.ProductWorker has been deprecated
  [javac15] if 
(VV_FEATURETREE.equals(ProductWorker.getProductvirtualVariantMethod((Delegator)request.getAttribute(delegator), 
selectedProdcutId))) {
  
[javac15]  
^
  [javac15] 
/opt/ofbiz/applications/product/src/org/ofbiz/product/product/ProductSearchSession.java:1220: 
cannot find symbol
  [javac15] symbol  : method 
add(java.util.Mapjava.lang.String,java.lang.Object)
  [javac15] location: interface 
java.util.Listjava.util.Mapjava.lang.String,java.lang.String
  [javac15] 
featureCountList.add(UtilMisc.toMap(productFeatureId, (String) 
searchResult.get(pfacProductFeatureId), productFeatureTypeId, 
(String) searchResult.get(pfcProductFeatureTypeId), description, 
(String) searchResult.get(pfcDescription), featureCount, 
Long.toString((Long) searchResult.get(featureCount;

  [javac15] ^
  [javac15] Note: 
/opt/ofbiz/applications/product/src/org/ofbiz/product/product/ProductSearch.java 
uses unchecked or unsafe operations.

  [javac15] Note: Recompile with -Xlint:unchecked for details.
  [javac15] 1 error
  [javac15] 1 warning

BUILD FAILED
/opt/ofbiz/build.xml:192: The following error occurred while executing 
this line:
/opt/ofbiz/applications/build.xml:67: The following error occurred while 
executing this line:
/opt/ofbiz/macros.xml:27: The following error occurred while executing 
this line:
/opt/ofbiz/applications/product/build.xml:67: Compile failed; see the 
compiler error output for details.





BJ Freeman wrote:


comes with centos 5 and works out of the box
java version 1.6.0
OpenJDK  Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)


Sam Hamilton sent the following on 12/1/2009 5:49 AM:
  
  

I dug this out from the fedora wiki -
http://fedoraproject.org/wiki/PackageMaintainers which explains how to
get a package submitted but at the moment the trunk r885762 fails to
build so I am guessing Shi that you have fixed a few things to get it
working.

Sam


Shi Jinghai wrote:



Yes, I see. That's a great idea. Not sure how Apache(httpd) and Tomcat
became a part of Linux releases, create a self maintained repository at
the 1st step and then try to merge it into Linux releases step by step?

Shi Jinghai

在 2009-12-01二的 10:53 +0100,Jacques Le Roux写道:
 
  
  

This is very intereting because it allows to create packages for
Linux systems. And this would increase much OFBiz visibility...

Jacques

From: Shi Jinghai sh...@langhua.cn
   



We have used OpenJDK (on Fedora) for a while. There is no problem at
all.

Regards,

Shi Jinghai/Beijing Langhua Ltd.


在 2009-12-01二的 15:32 +0800,Sam Hamilton写道:
 
  
  

Hi Guys,

I see that there is a vote going on at the moment about java 6 - I am
wondering if this would also mean that it would be possible to run
OFBiz
using openJDK once this migration has been done?


Cheers
Sam






  
  
  


  
  


  




Re: Not finding pages

2009-12-03 Thread BJ Freeman
it is interesting because I wrote this based on some emails.
so you don't show the fact I even created the pages, which are there.

interesting to say the least

Scott Gray sent the following on 12/3/2009 4:30 PM:
 I've been receiving email notifications on each space for a few years
 now and a gmail search doesn't show any edits after the page was created
 (except for an attachment being added).
 
 I'll gladly take a look at any other specific examples you have.
 
 Regards
 Scott
 
 On 4/12/2009, at 12:53 PM, BJ Freeman wrote:
 
 I remember witting this a while ago
 but can't remember what I wrote.
 but the whole catalog is that way.
 just pages with no content.
 I did find one page with a link to this page.

 Scott Gray sent the following on 12/3/2009 1:52 PM:
 It doesn't look like there ever was any content on that page:
 http://olddocs.ofbiz.org/display/OFBIZ/Demo+PC001+walk+through

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com

 On 4/12/2009, at 8:29 AM, BJ Freeman wrote:

 the pages exist just the content is gone
 http://cwiki.apache.org/confluence/display/OFBIZ/Demo+PC001+walk+through



 Jacques Le Roux sent the following on 12/2/2009 11:25 PM:
 Which pages precisely, at least one, I can see most of them...

 Jacques

 From: BJ Freeman bjf...@free-man.net
 I can't find the pages on the old or new on some of the stuff I have
 done.
 the hierarchy shows the pages but no content
 http://cwiki.apache.org/confluence/pages/listpages-dirview.action?key=OFBIZopenId=6553843#selectedPageInHierarchy



 see catalog Module and all the pages below.
 I would expect links if they were moved.
 I did a search and not find a new location for these.






 



Re: Not finding pages

2009-12-03 Thread Scott Gray

On 4/12/2009, at 4:17 PM, BJ Freeman wrote:


it is interesting because I wrote this based on some emails.
so you don't show the fact I even created the pages, which are there.



I received notifications for:
- the page being created (but empty)
- the attachment being added
- the page being referred to from another page

But I never received any notifications for edits to that page and  
confluence shows no history of any edits so I'm fairly confident in  
saying that there never were any edits and the page has always been  
blank.  Perhaps you ended up putting the content somewhere else  
without realizing?



interesting to say the least

Scott Gray sent the following on 12/3/2009 4:30 PM:

I've been receiving email notifications on each space for a few years
now and a gmail search doesn't show any edits after the page was  
created

(except for an attachment being added).

I'll gladly take a look at any other specific examples you have.

Regards
Scott

On 4/12/2009, at 12:53 PM, BJ Freeman wrote:


I remember witting this a while ago
but can't remember what I wrote.
but the whole catalog is that way.
just pages with no content.
I did find one page with a link to this page.

Scott Gray sent the following on 12/3/2009 1:52 PM:

It doesn't look like there ever was any content on that page:
http://olddocs.ofbiz.org/display/OFBIZ/Demo+PC001+walk+through

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 4/12/2009, at 8:29 AM, BJ Freeman wrote:


the pages exist just the content is gone
http://cwiki.apache.org/confluence/display/OFBIZ/Demo+PC001+walk+through



Jacques Le Roux sent the following on 12/2/2009 11:25 PM:

Which pages precisely, at least one, I can see most of them...

Jacques

From: BJ Freeman bjf...@free-man.net
I can't find the pages on the old or new on some of the stuff  
I have

done.
the hierarchy shows the pages but no content
http://cwiki.apache.org/confluence/pages/listpages-dirview.action?key=OFBIZopenId=6553843#selectedPageInHierarchy



see catalog Module and all the pages below.
I would expect links if they were moved.
I did a search and not find a new location for these.


















smime.p7s
Description: S/MIME cryptographic signature


Re: Product feature - country

2009-12-03 Thread Rishi Solanki
#1 The HAS_TABLE field in any entity have 2 values Y and N. Which tells that
whether the particular Id has a entity available to set its value or not.
Better to look at PARTY_TYPE in which for the type PERSON and PARTY_GROUP
entities are maintained.
#2 You can do it add new feature type as COUNTRY_FTR or FTR_COUNTRY. Put its
HAS_TABLE to Y. As you put Y here you already have the entity available for
it Geo.
Now go to ProductFeature entity and add countryIds as productFeatureIds
without maintaining any relations. Just make sure you pass the
productFeatureTypeId which you have created just as COUNTRY_FTR or
FTR_COUNTRY. How it will work can be easily understand by
/ecommerce/DemoProduct.xml, but you won't find any direct example.

HTH !


Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Fri, Dec 4, 2009 at 1:47 AM, V.S. valentin.soborni...@premiumwine.com.ua
 wrote:


 Good evening.
 Two small questions:
 1. For what field HAS_TABLE in table PRODUCT_FEATURE_TYPE is intended
 2. I need to use the country as feature for products. Whether there is a
 possibility in any way to use as values for feature data from GeoData
 (together with localisation), not to create one more list of the countries.

 Thanks.
 --
 View this message in context:
 http://n4.nabble.com/Product-feature-country-tp947956p947956.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Entity Data Maintenance screen not showing up

2009-12-03 Thread Beejal Kamdar
Hey Amit,

Just wanted to update you that the problem has got resolved.  It was a
browser issue.  Thanks for your help.

Regards,
Beejal

On Wed, Dec 2, 2009 at 2:36 PM, Amit Sharma amit.sha...@hotwaxmedia.comwrote:

 Are you getting error on console ?

 --
 Amit


 Beejal Kamdar wrote:

 Hi Amit,

 Thank you for prompt response.  I tried using ant clean-all, still I get
 the
 blank page.

 Regards,
 Beejal




 On Wed, Dec 2, 2009 at 10:57 AM, Amit Sharma amit.sha...@hotwaxmedia.com
 wrote:



 Hi Beejal,

 If you are using derby data base then you should have to use

 1. ant clean-all  (Remove all files with log files and drop your derby
 database)

 2. ant run-install
 4. startofbiz.bat

 Please try this one and check it again.

 Thanks And Regards
 --
 Amit Sharma


 Beejal Kamdar wrote:



 Hi,
  I am having problem bringing up the Entity Data Maintenance page.  I
 executed the following commands in sequence from command prompt.
  1. ant clean
 2. ant.bat
 3. ant run-install
 4. startofbiz.bat
  I navigated to https://localhost:8443/webtools/control/main,  and
 login
 (as admin, ofbiz), the Webtools Main page is displayed.  Now when I
 click on
 Entity Data Maintenance or XML Data Import, I get a blank page.  Please
 see
 the attached screenshot.  Though if I navigate to the application
 components
 like PartyMgr, Catalog or Content, those pages are all displayed
 properly
 and working very well.
  I cannot see anything in the error.log file also.  Can someone please
 help me to troubleshoot this problem.
  Thanks  Regards,
 Beejal












Re: about using ofbiz as a platform

2009-12-03 Thread chris snow

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 chsnow...@gmail.com 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) dong...@wizitsoft.com:
 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)
 dong...@wizitsoft.comwrote:

 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.


Re: about using ofbiz as a platform

2009-12-03 Thread Scott Gray
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 chsnow...@gmail.com  
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) dong...@wizitsoft.com:
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)
dong...@wizitsoft.comwrote:


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.




smime.p7s
Description: S/MIME cryptographic signature


Re: Java 6 Question

2009-12-03 Thread Shi Jinghai
Exciting...

As Jacques mentioned 'packages', the packages may look like

yum install ofbiz-framework-9.04
yum install ofbiz-applications-9.04
yum install ofbiz-specailpurpose-pos-9.04
...

We'll make such a try (setup a repository). I'll let you know if we make
any progress.



在 2009-12-04五的 11:10 +0800,Sam Hamilton写道:
 Thanks Shi.
 
 I found that OFBiz trunk is in Hudson and from what I can tell is only 
 building against sun-java6-jdk-1.6.0.10 
 (http://ci.apache.org/builders/ofbiz-trunk) but I totally could be 
 reading this wrong.
 
 Does it make sense to add openJDK to the build list to make sure that 
 ofbiz is compatible - I ask this as a total layman and only for the POV 
 that being able to one day yum install ofbiz-trunk / apt-get install 
 ofbiz-trunk would be a great way to get the project into many more less 
 technical hands.
 
 Sam
 
 
 Shi Jinghai wrote:
  That's the pain to follow trunk.
 
  Not sure whether OFBiz has used the Hudson. If yes, I think Hudson report
  will help you to know which the latest version has passed build and test
  without any errors.
 
  Good luck,
 
  Shi Jinghai/Beijing Langhua Ltd.
 
 
  在 2009-12-03四的 11:42 +0800,Sam Hamilton写道:

  Shi - yep the branch builds fine but the trunk errors out with the 
  following error:
 
  classes:
[javac15] Compiling 54 source files to 
  /opt/ofbiz/applications/product/build/classes
[javac15] 
  /opt/ofbiz/applications/product/src/org/ofbiz/product/config/ProductConfigWorker.java:139:
   
  warning: [deprecation] 
  getProductvirtualVariantMethod(org.ofbiz.entity.Delegator,java.lang.String)
   
  in org.ofbiz.product.product.ProductWorker has been deprecated
[javac15] if 
  (VV_FEATURETREE.equals(ProductWorker.getProductvirtualVariantMethod((Delegator)request.getAttribute(delegator),
   
  selectedProdcutId))) {

  [javac15]  
  
  ^
[javac15] 
  /opt/ofbiz/applications/product/src/org/ofbiz/product/product/ProductSearchSession.java:1220:
   
  cannot find symbol
[javac15] symbol  : method 
  add(java.util.Mapjava.lang.String,java.lang.Object)
[javac15] location: interface 
  java.util.Listjava.util.Mapjava.lang.String,java.lang.String
[javac15] 
  featureCountList.add(UtilMisc.toMap(productFeatureId, (String) 
  searchResult.get(pfacProductFeatureId), productFeatureTypeId, 
  (String) searchResult.get(pfcProductFeatureTypeId), description, 
  (String) searchResult.get(pfcDescription), featureCount, 
  Long.toString((Long) searchResult.get(featureCount;
[javac15] ^
[javac15] Note: 
  /opt/ofbiz/applications/product/src/org/ofbiz/product/product/ProductSearch.java
   
  uses unchecked or unsafe operations.
[javac15] Note: Recompile with -Xlint:unchecked for details.
[javac15] 1 error
[javac15] 1 warning
 
  BUILD FAILED
  /opt/ofbiz/build.xml:192: The following error occurred while executing 
  this line:
  /opt/ofbiz/applications/build.xml:67: The following error occurred while 
  executing this line:
  /opt/ofbiz/macros.xml:27: The following error occurred while executing 
  this line:
  /opt/ofbiz/applications/product/build.xml:67: Compile failed; see the 
  compiler error output for details.
 
 
 
 
  BJ Freeman wrote:
  
  comes with centos 5 and works out of the box
  java version 1.6.0
  OpenJDK  Runtime Environment (build 1.6.0-b09)
  OpenJDK Client VM (build 1.6.0-b09, mixed mode)
 
 
  Sam Hamilton sent the following on 12/1/2009 5:49 AM:


  I dug this out from the fedora wiki -
  http://fedoraproject.org/wiki/PackageMaintainers which explains how to
  get a package submitted but at the moment the trunk r885762 fails to
  build so I am guessing Shi that you have fixed a few things to get it
  working.
 
  Sam
 
 
  Shi Jinghai wrote:
  
  
  Yes, I see. That's a great idea. Not sure how Apache(httpd) and Tomcat
  became a part of Linux releases, create a self maintained repository at
  the 1st step and then try to merge it into Linux releases step by step?
 
  Shi Jinghai
 
  在 2009-12-01二的 10:53 +0100,Jacques Le Roux写道:
   


  This is very intereting because it allows to create packages for
  Linux systems. And this would increase much OFBiz visibility...
 
  Jacques
 
  From: Shi Jinghai sh...@langhua.cn
 
  
  
  We have used OpenJDK (on Fedora) for a while. There is no problem at
  all.
 
  Regards,
 
  Shi Jinghai/Beijing Langhua Ltd.
 
 
  在 2009-12-01二的 15:32 +0800,Sam Hamilton写道:
   


  Hi Guys,
 
  I see that there is a vote going on at the moment about java 6 - I am
  wondering if this would also mean that it would be possible to run
  OFBiz
  using openJDK once this migration has been done?
 
 
  Cheers
  Sam
  
  
  
  
  
 

Re: about using ofbiz as a platform

2009-12-03 Thread 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 chsnow...@gmail.com
 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) dong...@wizitsoft.com:
 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)
 dong...@wizitsoft.comwrote:

 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 



Re: Product feature - country

2009-12-03 Thread V.S.


Rishi Solanki wrote:
 
 

Many thanks
-- 
View this message in context: 
http://n4.nabble.com/Product-feature-country-tp947956p948309.html
Sent from the OFBiz - User mailing list archive at Nabble.com.