File upload controller
Dear all, It seems ofbiz form (Single form and list form) doesn't support file type field. Anyone can give some advices to implement such a controller? I am not a technical guy..but it seems we have to touch the form schema itself. I know the good thing here is to enable IDE to speed up form programming, however the bad thing here is it is a trouble for controller implementation. Have to touch core code if we need to implement a new controller or replace a standard controller. And that's a disaster for further upgrade. Is there a more elegant way to loose the couple and make writing new controller much easier. Furthermore, it would be great, if the controller can be used in a consistent way in both FTL and form. -- Regards, Michael Xu (xudong)
Re: File upload controller
Hans, Thanks. I cannot check it now..but have some questions: 1) those uploading single or multiple files controllers are supported in ofbiz form? 2) how to extend those controller if we need ajax support or extra validation rules (like file maximum size or type)? Thanks in advance! -- Regards, Michael Xu (xudong) On Sat, Mar 12, 2011 at 2:35 PM, Hans Bakker mailingl...@antwebsystems.comwrote: check the content component there are examples of uploading single files or the imagemanagement function in the product component where you can upload multiple files. Regards, Hans -- Ofbiz on twitter: http://twitter.com/apache_ofbiz Myself on twitter: http://twitter.com/hansbak Antwebsystems.com: Quality services for competitive rates. On Sat, 2011-03-12 at 14:24 +0800, Michael Xu (xudong) wrote: Dear all, It seems ofbiz form (Single form and list form) doesn't support file type field. Anyone can give some advices to implement such a controller? I am not a technical guy..but it seems we have to touch the form schema itself. I know the good thing here is to enable IDE to speed up form programming, however the bad thing here is it is a trouble for controller implementation. Have to touch core code if we need to implement a new controller or replace a standard controller. And that's a disaster for further upgrade. Is there a more elegant way to loose the couple and make writing new controller much easier. Furthermore, it would be great, if the controller can be used in a consistent way in both FTL and form. -- Regards, Michael Xu (xudong)
Re: OFBiz: The road ahead RE the framework
I also suggested that before. What I like is JIRA plugin framework, which is on top of OSGI. OSGI brings the ability that plugin could be loaded runtime, which is very important to bring ofbiz up to cloud.. -- Regards, Michael Xu (xudong) On Fri, Jan 28, 2011 at 3:59 PM, Adrian Crum adrian.c...@sandglass-software.com wrote: Thanks Scott! We will keep that in mind. -Adrian On 1/27/2011 11:49 PM, Scott Gray wrote: On 28/01/2011, at 8:37 PM, Adrian Crum wrote: There is no doubt there will be problems. We can tackle them one at a time in a Jira issue. I wasn't aware that entity-ext depends on the service engine. Maybe a Jira sub-task could break that dependency. That's kind of the point of entity-ext, to supplement the entity engine with service engine capabilities. I think the entityengine.xml file issue can be resolved through standard Java resource loader methods. In other words, applications will name their XML files according to a pre-defined format, and the entity-engine jar file will find and load all matching XML files. Just think of them as a resource file. Again - these details should be discussed further in a Jira issue. -Adrian On 1/27/2011 11:23 PM, Raj Saini wrote: I tried to use the entity engine exactly the way you have described. I faced the problems as entity engine depends entity-ext (for some cache management) and entity-ext depends on service engine. If we resolve this dependency, entity engine can certainly be a standalone jar and as you said it can be packaged as OSGi bundle. We will also need to take care of entityengine.xml configuration so that it can be loaded from a pre-defined location instead of a classpath. Raj On Friday 28 January 2011 12:28 PM, Adrian Crum wrote: I was picturing the entity engine as a lower level artifact - like a jar file. I don't have all of the details worked out yet, but what I picture is this: 1. An application needs a database-agnostic data store. 2. The application accesses the data store though the entity engine API/ jar library. Ofbiz has a very convenient way of defining databases, tables, and views as XML files. Plus, it has the ability to create/modify table/index structures during start-up. I believe that would be a very handy tool for anyone wanting to create any application that requires data storage. Wrapping the entity engine jar file in an OSGI bundle would be trivial. If anyone is interested in exploring this further, then they should create a Jira issue and we can take it from there. -Adrian On 1/27/2011 10:21 PM, Raj Saini wrote: I will certainly be glad to help in this. I had re-packaged the entity engine as and OSGi bundle and exposed the delegator as osgi service. I found minor issues like loading of entityengine.xml from classpath and this did not go well with the OSGi. Let us wait for the the restructuring of the OFBiz project. Thanks, Raj On Friday 28 January 2011 10:58 AM, Adrian Crum wrote: Cool. If anyone is interested in working on that, I am available to help. -Adrian On 1/27/2011 9:23 PM, Raj Saini wrote: Yes, I agree. Entity Engine and Service Engine are two such marvellous pieces of technologies. Entity engine can very well compete with Java Persistence API (JPA) if it is separated from the OFBiz runtime. Raj On Friday 28 January 2011 10:26 AM, Adrian Crum wrote: I have suggested that in the past. OFBiz has spawned some great technology that, if modified to be stand-alone subsystems, could be their own projects. -Adrian On 1/27/2011 8:52 PM, Raj Saini wrote: One thing I would like to see is to use the OSGi runtime for framework. This will help modularising efforts. For example entity engine, service engine, security etc. will be OSGi bundles running on top of OSGi framework such Apache Karaf. Apache ServiceMix is already using Karaf ( http://karaf.apache.org). I did a prototype and embedded the OFBiz in OSGi runtime ( http://sourceforge.net/projects/ofbiz-osgi/) and it worked well. Thanks, Raj On Thursday 27 January 2011 03:01 PM, Pierre Smits wrote: Hi All, This thread is about where you want the community to go with the underlying core components of OFBiz (aka the Framework). The framework is the enables of all applications and business processes and users of the product. It is about security, and about a future proof and reliable platform for developing applications on. What do feel is important? What should be removed from the framework. what should be included? What can be enhanced? And what not? Please let all of us know what you think is important regarding the framework so that we (the community) can take stock and draw up a plan for comming releases. Regards, Pierre
Groupby in list form
hi all, I want to implement a groupby feature in list form. Basically, with this feature user can group results by any field. Ofbiz has such features already or have to customize the current list form? If have to customize, how to do it? Is it possible to integrate ext-js or any other existing mature javascript library for form list? Thanks in advance for any advice. (BTW: if list form has some more features, like export, show/hide columns, that would be even greater.) -- Regards, Michael Xu (xudong)
Re: about new theme
Thanks. On Sat, Sep 25, 2010 at 6:55 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: IMO the last one : Tomahawk except it you need RTL languages (Hebrew, Arab, etc.) then Flat Grey. Jacques From: Michael Xu (xudong) dong...@wizitsoft.com hmmBut we still need to pick up one at first and then maybe merge some special features from other themes. So my question here basically is which existing theme is the best one. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Sat, Sep 25, 2010 at 5:17 PM, BJ Freeman bjf...@free-man.net wrote: I suggest you review each and include those parts you find valuable. Michael Xu (xudong) sent the following on 9/25/2010 12:59 AM: hi all, We are going to implement a new theme, starting from an existing one. Which one is the best (or most active now)? Really appreciate for any advice. -- Regards, Michael Xu (xudong) -- -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096
Re: about new theme
hmmBut we still need to pick up one at first and then maybe merge some special features from other themes. So my question here basically is which existing theme is the best one. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Sat, Sep 25, 2010 at 5:17 PM, BJ Freeman bjf...@free-man.net wrote: I suggest you review each and include those parts you find valuable. Michael Xu (xudong) sent the following on 9/25/2010 12:59 AM: hi all, We are going to implement a new theme, starting from an existing one. Which one is the best (or most active now)? Really appreciate for any advice. -- Regards, Michael Xu (xudong)
multiple columns in single form
hi all, I really enjoy ofbiz form widget. But now I have a problem when handing form widget which is how to show many fields in a form as single type. By default, all fields are shown in a single column, which is not that friendly if fields are too many. So I wonder whether there is an elegant way to add (or use if existed) a new style for single form to allow form to show fields in two or even more columns. (I know we can use FTL, but we really want to stick to form) Really appreciate for any advice. -- Regards, Michael Xu (xudong)
Re: multiple columns in single form
My colleague has figured out how to achieve it. Basically there is a position attribute for form field. If we set position = 2, then there will be a new column. Ofbiz rocks! -- Regards, Michael Xu (xudong) On Tue, Aug 10, 2010 at 4:27 PM, Michael Xu (xudong) dong...@wizitsoft.comwrote: hi all, I really enjoy ofbiz form widget. But now I have a problem when handing form widget which is how to show many fields in a form as single type. By default, all fields are shown in a single column, which is not that friendly if fields are too many. So I wonder whether there is an elegant way to add (or use if existed) a new style for single form to allow form to show fields in two or even more columns. (I know we can use FTL, but we really want to stick to form) Really appreciate for any advice. -- Regards, Michael Xu (xudong)
Re: replace list form with extjs
hi Jacques, Thanks. I know it is not Apache license compatible. However, for some reasons, we have already used extjs tables for many requirements during customizing ofbiz for that specific customer. So now we are looking for an elegant approach to replace default implementation of list form with extjs table without breaking the existing popup lookup forms and many other list forms. Can we replace some template or render java methods to acheive this? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Sat, Jul 24, 2010 at 4:13 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Not OOTB: GPL3 Jacques From: Michael Xu (xudong) dong...@wizitsoft.com hi all, Is it possible to replace default implementation for list form with extjs? Any advices are greatly appreciated. -- Regards, Michael Xu (xudong)
about static resources
hi all, How can I set up ofbiz to allow those static resources rendered by Apache Web Server instead of tomcat? For example, all those images, css files under a specific theme dynamically configured by user? Thanks in advance! -- Regards, Michael Xu (xudong)
about CMS
hi all, Customer needs a portal to display information. Some information is from other ofbiz modules. And some other information is manually maintained by customer. And they need a friendly UI (WYSIWYG) to compose/submit content. I am not sure which solution is better, enhancing current ofbiz CMS module or integrating a mature third party CMS, like liferay or openCMS. Really appreciate any advice and reasons behind. -- Regards, Michael Xu (xudong)
Re: OFBiz eProcurement .
We are building an eSourcing system based on ofbiz, including RFX, negotiation, reverse and forward auction modules. Now we are still in the process of development. I don't know whether there is a ready-to-go auction engine. What we are doing is to build it by ourselves. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, Jun 16, 2010 at 6:02 PM, rrhati2010 rr.h...@tcs.com wrote: Hi Michael, Did your company integrate the eProcurement system and auctioning engine into ofbiz??? Actually I also need help to integrate auctioning as well as reverse auctioning system into ofbiz. Any idea will be helpful Thanks - RRH -- View this message in context: http://ofbiz.135035.n4.nabble.com/OFBiz-eProcurement-tp162521p2257136.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Query regarding BIRT report generation in OFBiz
hi Hans, Thanks. I tried pentaho and found the ad hoc report is really useful. With such a feature, then end user can design report through web UI. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 19, 2010 at 4:25 PM, Hans Bakker mailingl...@antwebsystems.comwrote: Probably sure that can be done, however remember that currently the report is prepared outside ofbiz, within eclipse and imported into OFBiz. This means that a simple version of the report preparation function should be duplicated within the ofbiz environment which does not really sound as an easy task. Regards, Hans On Tue, 2010-01-19 at 15:43 +0800, Michael Xu (xudong) wrote: hi Hans, A quick question. Is it feasible to implement ad hoc report on top of birt in ofbiz? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 19, 2010 at 3:14 PM, Hans Bakker mailingl...@antwebsystems.comwrote: I can only advise you to study the existing reports, especially how the data is retrieved with minilanguage. Regards, Hans On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote: Hi Hans, what I have done so far is: 1. I have generated a .rptdesign file through Birt RCP designer 2_5_1. 2. Now in ofbiz I m trying to display this report file. 3.When I try to display the default .rptdesign file provided in ofbiz i.e. product.rptdesign file it is successfully displayed in ofbiz. 4. But when I try to display the .rptdesign file generated by me in RCP designer I get an error i.e. Cannot find or process the org.eclipse.birt.report.data.oda.jdbc driver's data source extension configuration. org.eclipse.birt.report.data.oda.jdbc 5. While trying to resolve this error I compared the two .rptdesign file and found some differences which are: product.rptdesign(Default file in OFbiz) test.rptdesign(generated in RCP designer) I) data-sources data-sources script-data-source name=OFBiz id=8/ oda-data-source extensionID=org.eclipse.birt.report.data.oda.jdbc name=Data Source id=9 /data-sources 2) data-sets script-data-set name=Product id=9 data-sets oda-data-set extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet name=Data Set id=43 Also in the default file there some code (looks like groovy code)is written to fetch the field values but no such code is there in the file generated in RCP designer. Please help me out in resolving this problem. This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. __ -- Antwebsystems.com: Quality OFBiz services for competitive rates -- Antwebsystems.com: Quality OFBiz services for competitive rates
Re: Query regarding BIRT report generation in OFBiz
hi Hans, What is the advantages of using delegator? What I can think of is that we can reuse existing logic (maybe for access control and other purpose). Any other advantages? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 19, 2010 at 4:32 PM, Hans Bakker mailingl...@antwebsystems.comwrote: Look at the data source, we are using minilanguage which is using the delegator. You want to talk directly to the jdbc driver We are not in favor of that and never used this route. We can only advise you to use the delegator either with minilanguage of groovyscript. Regards, Hans On Tue, 2010-01-19 at 13:58 +0530, Ashish Tiwari wrote: hi hans, I have studied the existing reports that's is why I have shown the comparison between the report file providede in ofbiz and the one I genenrated in RCP designer please go through my previous mail once again and help me to solve the problem -Original Message- From: Hans Bakker [mailto:mailingl...@antwebsystems.com] Sent: Tuesday, January 19, 2010 12:44 PM To: user@ofbiz.apache.org Subject: Re: Query regarding BIRT report generation in OFBiz I can only advise you to study the existing reports, especially how the data is retrieved with minilanguage. Regards, Hans On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote: Hi Hans, what I have done so far is: 1. I have generated a .rptdesign file through Birt RCP designer 2_5_1. 2. Now in ofbiz I m trying to display this report file. 3.When I try to display the default .rptdesign file provided in ofbiz i.e. product.rptdesign file it is successfully displayed in ofbiz. 4. But when I try to display the .rptdesign file generated by me in RCP designer I get an error i.e. Cannot find or process the org.eclipse.birt.report.data.oda.jdbc driver's data source extension configuration. org.eclipse.birt.report.data.oda.jdbc 5. While trying to resolve this error I compared the two .rptdesign file and found some differences which are: product.rptdesign(Default file in OFbiz) test.rptdesign(generated in RCP designer) I) data-sources data-sources script-data-source name=OFBiz id=8/ oda-data-source extensionID=org.eclipse.birt.report.data.oda.jdbc name=Data Source id=9 /data-sources 2) data-sets script-data-set name=Product id=9 data-sets oda-data-set extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet name=Data Set id=43 Also in the default file there some code (looks like groovy code)is written to fetch the field values but no such code is there in the file generated in RCP designer. Please help me out in resolving this problem. This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. __ -- Antwebsystems.com: Quality OFBiz services for competitive rates __ This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. __ -- Antwebsystems.com: Quality OFBiz services for competitive rates
Re: Query regarding BIRT report generation in OFBiz
hi Hans, Another quick question: is it feasible to embed birt list report or chart in portlet? I can see you contribute a lot in the two components. Any advice? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 19, 2010 at 4:37 PM, Michael Xu (xudong) dong...@wizitsoft.comwrote: hi Hans, What is the advantages of using delegator? What I can think of is that we can reuse existing logic (maybe for access control and other purpose). Any other advantages? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 19, 2010 at 4:32 PM, Hans Bakker mailingl...@antwebsystems.com wrote: Look at the data source, we are using minilanguage which is using the delegator. You want to talk directly to the jdbc driver We are not in favor of that and never used this route. We can only advise you to use the delegator either with minilanguage of groovyscript. Regards, Hans On Tue, 2010-01-19 at 13:58 +0530, Ashish Tiwari wrote: hi hans, I have studied the existing reports that's is why I have shown the comparison between the report file providede in ofbiz and the one I genenrated in RCP designer please go through my previous mail once again and help me to solve the problem -Original Message- From: Hans Bakker [mailto:mailingl...@antwebsystems.com] Sent: Tuesday, January 19, 2010 12:44 PM To: user@ofbiz.apache.org Subject: Re: Query regarding BIRT report generation in OFBiz I can only advise you to study the existing reports, especially how the data is retrieved with minilanguage. Regards, Hans On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote: Hi Hans, what I have done so far is: 1. I have generated a .rptdesign file through Birt RCP designer 2_5_1. 2. Now in ofbiz I m trying to display this report file. 3.When I try to display the default .rptdesign file provided in ofbiz i.e. product.rptdesign file it is successfully displayed in ofbiz. 4. But when I try to display the .rptdesign file generated by me in RCP designer I get an error i.e. Cannot find or process the org.eclipse.birt.report.data.oda.jdbc driver's data source extension configuration. org.eclipse.birt.report.data.oda.jdbc 5. While trying to resolve this error I compared the two .rptdesign file and found some differences which are: product.rptdesign(Default file in OFbiz) test.rptdesign(generated in RCP designer) I) data-sources data-sources script-data-source name=OFBiz id=8/ oda-data-source extensionID=org.eclipse.birt.report.data.oda.jdbc name=Data Source id=9 /data-sources 2) data-sets script-data-set name=Product id=9 data-sets oda-data-set extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet name=Data Set id=43 Also in the default file there some code (looks like groovy code)is written to fetch the field values but no such code is there in the file generated in RCP designer. Please help me out in resolving this problem. This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. __ -- Antwebsystems.com: Quality OFBiz services for competitive rates __ This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. __ -- Antwebsystems.com: Quality OFBiz services for competitive rates
Re: Query regarding BIRT report generation in OFBiz
hi Hans, A quick question. Is it feasible to implement ad hoc report on top of birt in ofbiz? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 19, 2010 at 3:14 PM, Hans Bakker mailingl...@antwebsystems.comwrote: I can only advise you to study the existing reports, especially how the data is retrieved with minilanguage. Regards, Hans On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote: Hi Hans, what I have done so far is: 1. I have generated a .rptdesign file through Birt RCP designer 2_5_1. 2. Now in ofbiz I m trying to display this report file. 3.When I try to display the default .rptdesign file provided in ofbiz i.e. product.rptdesign file it is successfully displayed in ofbiz. 4. But when I try to display the .rptdesign file generated by me in RCP designer I get an error i.e. Cannot find or process the org.eclipse.birt.report.data.oda.jdbc driver's data source extension configuration. org.eclipse.birt.report.data.oda.jdbc 5. While trying to resolve this error I compared the two .rptdesign file and found some differences which are: product.rptdesign(Default file in OFbiz) test.rptdesign(generated in RCP designer) I) data-sources data-sources script-data-source name=OFBiz id=8/ oda-data-source extensionID=org.eclipse.birt.report.data.oda.jdbc name=Data Source id=9 /data-sources 2) data-sets script-data-set name=Product id=9 data-sets oda-data-set extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet name=Data Set id=43 Also in the default file there some code (looks like groovy code)is written to fetch the field values but no such code is there in the file generated in RCP designer. Please help me out in resolving this problem. This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. __ -- Antwebsystems.com: Quality OFBiz services for competitive rates
Re: Small help icon next the form field title
hi David, Thanks for your advice. Yes, auto-completion in XML editor is good. However, I think there are many other criteria should be considered as well. I guess I have already mentioned some in previous emails. BTW: I don't have much programing skill and cannot contribute codes together with thoughts. Maybe talking without implementation is not that welcomed. But that's the only way I can help...very sorry about that. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, Jan 13, 2010 at 2:38 PM, David E Jones d...@me.com wrote: I like the form widget better how it is. At least now you can use auto-completion in your XML editor to remind you of options and to save typing (and to do some validation too). It sounds like you are proposing to create an alternative to the current form widget. I suppose you could build it, contribute it, and try to convince other people to use it (which is exactly what I had to do originally with the current form widget). Aside from that, I can't think of any other advice. -David On Jan 12, 2010, at 10:37 PM, Michael Xu (xudong) wrote: any advice? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 5:58 PM, Michael Xu (xudong) dong...@wizitsoft.comwrote: Just an example to demonstrate my personal opinion: form name=name type=single target=createGlAccountOrganization title= default-map-name=account field name=field1 !-- if no controller element, then default controller will be used based on field type from entity metadata -- controller name=xxx.extend.Flex.RealTimePricing !-- parameters can be added in such style. Not like current design that we have to put attributes or sub elements -- param name=style value=bluelight/ /controller visbility !-- here ofbiz can define a set of default implementation. Also, developers can implement new ones based on interface -- !-- Maybe it is even better to introduce AND and OR to combine multiple conditions together -- condition implementation=org.ofbiz.core.condition.NonEmptyField/ /visbility !-- Ofbiz can use appropripate validation java implementaiton if the validation is on server side or can render javascript if on clientside.-- validity And !-- client side validitor sample -- validitor name=org.ofbiz.core.ClientSide.NotEmpty/ !-- server side validitor sample -- validitor name=org.ofbiz.core.ServerSide.BetweenOf param name=startValue value=1/ param name=endValue value=5/ /validitor /And /validity !-- ofbiz can use different css style for editable and non editable context -- editability condidtions Or condition implementaiton=org.ofbiz.core.condition.hasPermission param name=permission value=admin/ /condition condition implementaiton=xxx.extension.blabla /condition /Or /conditions /editablity /field /field /form BTW: In order to keep back compatible, we can use a new tag ofbizForm or something and then implement a new form render. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 5:43 PM, Michael Xu (xudong) dong...@wizitsoft.com wrote: hi Jacques, So you mean you agree the solution that a new attribute should be added, right? I still doubt it. I don't think it is the best idea to add attributes for such requirements. Such creep changes without an elegant overall solution is kind of dangerous. Maybe it is time to refactor our design to allow customization without changing core schema. Just my personal opinion. Look forward to more comments. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 4:55 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Hi, I agree with Hans and Raj on this. There has been a related discussion on this subject in the past. http://markmail.org/message/ed4l4trj3cotnuvv From this thread, I collected some ideas here http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document
Re: Small help icon next the form field title
hi Raj, What's the difference between 'help' and 'tooltip'? Help is a more complicated tooltip. In order to keep UI consistent, I would like to propose to embed the help (Maybe as more information) within the tooltip. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini rajsa...@gmail.com wrote: Thanks Michael, Tool tips are used for other purposes and user may need both of them. Would it not be okay add another attribute say help attribute to the form element? What does other in the community think of it as I want to go for this extension. Thanks, Raj Michael Xu (xudong) wrote: hi Raj, You can use tooltip feature for this requirement plus the following customizations: 1) customize form render to show tooltip right after label instead of controller. 2) customize theme to show tooltip as ? and a new message layer will be popped up if user clicks it. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini rajsa...@gmail.com wrote: Hi, I want to show a small help icon (?) next to the form field title. Clicking on the icon should open a pop up describing the function of the field. I searched around and could not find if it is possible with the form widget. Thanks, Raj
Re: Small help icon next the form field title
hi Raj, From your case, I can see the form widget design is not flexible enough (I list my ideas in previous emails but nobody responds. Will paste it here). I think it is not good to touch the basic xml schema in most time if customization is required. Maybe we can borrow IoC idea from spring to allow developer to inject changes without touching core code. For your reference, my old questions and ideas are here: - hi all, In ofbiz form, we can use lookup controller for fields which link to entities. But the lookup controller only support to return single value. How to implement a multiple lookup? Looking into source code, it seems that we have to extend a new controller in form widget schema and implement it in the form render. Is it a correct way to go? BTW: In my opinion, it is not flexible to extend form widget in current design. (correct me if I am wrong). Let's take one example. form name=AssignGlAccount type=single target=createGlAccountOrganization title= default-map-name=account header-row-style=header-row default-table-style=basic-table field name=glAccountId drop-down entity-options entity-name=GlAccount description=${accountCode} - ${accountName} [${glAccountId}] entity-order-by field-name=accountCode/ /entity-options /drop-down /field ... /form Here, we have to use drop-down tag to tell system to render a HTML drop-down component. But what if a customized field? Then do we have to change form widget schema for that field? And then add the render logic in the long switch-cases? Maybe we can refactor the design, like this: form name=AssignGlAccount type=single target=createGlAccountOrganization title= default-map-name=account header-row-style=header-row default-table-style=basic-table field name=glAccountId controller name=drop-down !-- for new non-standard controller, we can define like this: controller name=org.ofbiz.FancyDropDown -- param key=entity-name value=GLAccount/ param key=description value=/ param key=entity-order-by value=accountCode/ !-- for new non-standard controller, we can define new parameters -- /field ... /form with the new design, then we don't need to break the schema and change the core code of render logic. Instead, we just need to implement a new controller from a predefined controller interface. And then we can reuse it in all forms. (In here, due to the limitation of current form widget, we have to give up form and use FTL directly.) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 4:27 PM, Michael Xu (xudong) dong...@wizitsoft.comwrote: hi Raj, What's the difference between 'help' and 'tooltip'? Help is a more complicated tooltip. In order to keep UI consistent, I would like to propose to embed the help (Maybe as more information) within the tooltip. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini rajsa...@gmail.com wrote: Thanks Michael, Tool tips are used for other purposes and user may need both of them. Would it not be okay add another attribute say help attribute to the form element? What does other in the community think of it as I want to go for this extension. Thanks, Raj Michael Xu (xudong) wrote: hi Raj, You can use tooltip feature for this requirement plus the following customizations: 1) customize form render to show tooltip right after label instead of controller. 2) customize theme to show tooltip as ? and a new message layer will be popped up if user clicks it. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini rajsa...@gmail.com wrote: Hi, I want to show a small help icon (?) next to the form field title. Clicking on the icon should open a pop up describing the function of the field. I searched around and could not find if it is possible with the form widget. Thanks, Raj
Re: Small help icon next the form field title
hi Jacques, So you mean you agree the solution that a new attribute should be added, right? I still doubt it. I don't think it is the best idea to add attributes for such requirements. Such creep changes without an elegant overall solution is kind of dangerous. Maybe it is time to refactor our design to allow customization without changing core schema. Just my personal opinion. Look forward to more comments. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 4:55 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Hi, I agree with Hans and Raj on this. There has been a related discussion on this subject in the past. http://markmail.org/message/ed4l4trj3cotnuvv From this thread, I collected some ideas here http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities(creation,etc .) I'd suggest to create an umbrella Jira issue and to create a subtask for the Small help icon next the form field title idea Thanks Jacques From: Hans Bakker mailingl...@antwebsystems.com I would think that: help: description of the field and the purpose within the system. tooltip: some other info: optional/required or empty for new number Regards, Hans On Tue, 2010-01-12 at 16:27 +0800, Michael Xu (xudong) wrote: hi Raj, What's the difference between 'help' and 'tooltip'? Help is a more complicated tooltip. In order to keep UI consistent, I would like to propose to embed the help (Maybe as more information) within the tooltip. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini rajsa...@gmail.com wrote: Thanks Michael, Tool tips are used for other purposes and user may need both of them. Would it not be okay add another attribute say help attribute to the form element? What does other in the community think of it as I want to go for this extension. Thanks, Raj Michael Xu (xudong) wrote: hi Raj, You can use tooltip feature for this requirement plus the following customizations: 1) customize form render to show tooltip right after label instead of controller. 2) customize theme to show tooltip as ? and a new message layer will be popped up if user clicks it. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini rajsa...@gmail.com wrote: Hi, I want to show a small help icon (?) next to the form field title. Clicking on the icon should open a pop up describing the function of the field. I searched around and could not find if it is possible with the form widget. Thanks, Raj -- Antwebsystems.com: Quality OFBiz services for competitive rates
Re: Small help icon next the form field title
Just an example to demonstrate my personal opinion: form name=name type=single target=createGlAccountOrganization title= default-map-name=account field name=field1 !-- if no controller element, then default controller will be used based on field type from entity metadata -- controller name=xxx.extend.Flex.RealTimePricing !-- parameters can be added in such style. Not like current design that we have to put attributes or sub elements -- param name=style value=bluelight/ /controller visbility !-- here ofbiz can define a set of default implementation. Also, developers can implement new ones based on interface -- !-- Maybe it is even better to introduce AND and OR to combine multiple conditions together -- condition implementation=org.ofbiz.core.condition.NonEmptyField/ /visbility !-- Ofbiz can use appropripate validation java implementaiton if the validation is on server side or can render javascript if on clientside.-- validity And !-- client side validitor sample -- validitor name=org.ofbiz.core.ClientSide.NotEmpty/ !-- server side validitor sample -- validitor name=org.ofbiz.core.ServerSide.BetweenOf param name=startValue value=1/ param name=endValue value=5/ /validitor /And /validity !-- ofbiz can use different css style for editable and non editable context -- editability condidtions Or condition implementaiton=org.ofbiz.core.condition.hasPermission param name=permission value=admin/ /condition condition implementaiton=xxx.extension.blabla /condition /Or /conditions /editablity /field /field /form BTW: In order to keep back compatible, we can use a new tag ofbizForm or something and then implement a new form render. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 5:43 PM, Michael Xu (xudong) dong...@wizitsoft.comwrote: hi Jacques, So you mean you agree the solution that a new attribute should be added, right? I still doubt it. I don't think it is the best idea to add attributes for such requirements. Such creep changes without an elegant overall solution is kind of dangerous. Maybe it is time to refactor our design to allow customization without changing core schema. Just my personal opinion. Look forward to more comments. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 4:55 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Hi, I agree with Hans and Raj on this. There has been a related discussion on this subject in the past. http://markmail.org/message/ed4l4trj3cotnuvv From this thread, I collected some ideas here http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities(creation,etc .) I'd suggest to create an umbrella Jira issue and to create a subtask for the Small help icon next the form field title idea Thanks Jacques From: Hans Bakker mailingl...@antwebsystems.com I would think that: help: description of the field and the purpose within the system. tooltip: some other info: optional/required or empty for new number Regards, Hans On Tue, 2010-01-12 at 16:27 +0800, Michael Xu (xudong) wrote: hi Raj, What's the difference between 'help' and 'tooltip'? Help is a more complicated tooltip. In order to keep UI consistent, I would like to propose to embed the help (Maybe as more information) within the tooltip. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini rajsa...@gmail.com wrote: Thanks Michael, Tool tips are used for other purposes and user may need both of them. Would it not be okay add another attribute say help attribute to the form element? What does other in the community think of it as I want to go for this extension. Thanks, Raj Michael Xu (xudong) wrote: hi Raj, You can use tooltip feature for this requirement plus the following customizations: 1) customize form render to show tooltip right after label instead of controller. 2) customize theme to show tooltip as ? and a new message layer will be popped up if user clicks
Re: Small help icon next the form field title
any advice? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 5:58 PM, Michael Xu (xudong) dong...@wizitsoft.comwrote: Just an example to demonstrate my personal opinion: form name=name type=single target=createGlAccountOrganization title= default-map-name=account field name=field1 !-- if no controller element, then default controller will be used based on field type from entity metadata -- controller name=xxx.extend.Flex.RealTimePricing !-- parameters can be added in such style. Not like current design that we have to put attributes or sub elements -- param name=style value=bluelight/ /controller visbility !-- here ofbiz can define a set of default implementation. Also, developers can implement new ones based on interface -- !-- Maybe it is even better to introduce AND and OR to combine multiple conditions together -- condition implementation=org.ofbiz.core.condition.NonEmptyField/ /visbility !-- Ofbiz can use appropripate validation java implementaiton if the validation is on server side or can render javascript if on clientside.-- validity And !-- client side validitor sample -- validitor name=org.ofbiz.core.ClientSide.NotEmpty/ !-- server side validitor sample -- validitor name=org.ofbiz.core.ServerSide.BetweenOf param name=startValue value=1/ param name=endValue value=5/ /validitor /And /validity !-- ofbiz can use different css style for editable and non editable context -- editability condidtions Or condition implementaiton=org.ofbiz.core.condition.hasPermission param name=permission value=admin/ /condition condition implementaiton=xxx.extension.blabla /condition /Or /conditions /editablity /field /field /form BTW: In order to keep back compatible, we can use a new tag ofbizForm or something and then implement a new form render. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 5:43 PM, Michael Xu (xudong) dong...@wizitsoft.com wrote: hi Jacques, So you mean you agree the solution that a new attribute should be added, right? I still doubt it. I don't think it is the best idea to add attributes for such requirements. Such creep changes without an elegant overall solution is kind of dangerous. Maybe it is time to refactor our design to allow customization without changing core schema. Just my personal opinion. Look forward to more comments. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 4:55 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Hi, I agree with Hans and Raj on this. There has been a related discussion on this subject in the past. http://markmail.org/message/ed4l4trj3cotnuvv From this thread, I collected some ideas here http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities(creation,etc .) I'd suggest to create an umbrella Jira issue and to create a subtask for the Small help icon next the form field title idea Thanks Jacques From: Hans Bakker mailingl...@antwebsystems.com I would think that: help: description of the field and the purpose within the system. tooltip: some other info: optional/required or empty for new number Regards, Hans On Tue, 2010-01-12 at 16:27 +0800, Michael Xu (xudong) wrote: hi Raj, What's the difference between 'help' and 'tooltip'? Help is a more complicated tooltip. In order to keep UI consistent, I would like to propose to embed the help (Maybe as more information) within the tooltip. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini rajsa...@gmail.com wrote: Thanks Michael, Tool tips are used for other purposes and user may need both of them. Would it not be okay add another attribute say help attribute to the form element? What does other in the community think of it as I want to go for this extension. Thanks, Raj Michael Xu (xudong) wrote
Re: Small help icon next the form field title
hi Raj, You can use tooltip feature for this requirement plus the following customizations: 1) customize form render to show tooltip right after label instead of controller. 2) customize theme to show tooltip as ? and a new message layer will be popped up if user clicks it. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini rajsa...@gmail.com wrote: Hi, I want to show a small help icon (?) next to the form field title. Clicking on the icon should open a pop up describing the function of the field. I searched around and could not find if it is possible with the form widget. Thanks, Raj
Re: How to show form field tool tip on mouse over
hi Bruno, However, such improvement needs to change the form widget schema and the render. I proposed another way to make form widget more flexible. For your reference, I pasted it here: hi all, In ofbiz form, we can use lookup controller for fields which link to entities. But the lookup controller only support to return single value. How to implement a multiple lookup? Looking into source code, it seems that we have to extend a new controller in form widget schema and implement it in the form render. Is it a correct way to go? BTW: In my opinion, it is not flexible to extend form widget in current design. (correct me if I am wrong). Let's take one example. form name=AssignGlAccount type=single target=createGlAccountOrganization title= default-map-name=account header-row-style=header-row default-table-style=basic-table field name=glAccountId drop-down entity-options entity-name=GlAccount description=${accountCode} - ${accountName} [${glAccountId}] entity-order-by field-name=accountCode/ /entity-options /drop-down /field ... /form Here, we have to use drop-down tag to tell system to render a HTML drop-down component. But what if a customized field? Then do we have to change form widget schema for that field? And then add the render logic in the long switch-cases? Maybe we can refactor the design, like this: form name=AssignGlAccount type=single target=createGlAccountOrganization title= default-map-name=account header-row-style=header-row default-table-style=basic-table field name=glAccountId controller name=drop-down !-- for new non-standard controller, we can define like this: controller name=org.ofbiz.FancyDropDown -- param key=entity-name value=GLAccount/ param key=description value=/ param key=entity-order-by value=accountCode/ !-- for new non-standard controller, we can define new parameters -- /field ... /form with the new design, then we don't need to break the schema and change the core code of render logic. Instead, we just need to implement a new controller from a predefined controller interface. And then we can reuse it in all forms. (In here, due to the limitation of current form widget, we have to give up form and use FTL directly.) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Sat, Jan 9, 2010 at 1:17 AM, Bruno Busco bruno.bu...@gmail.com wrote: Having a field widget property that renders to the title property to the input field seems much simpler. -Bruno 2010/1/8 Parimal Gain parimal.g...@hotwaxmedia.com: Hello Raj, One way to do this might be call javascript method from the form field and write necessary code that you want to display as tooltip within the method. You can call javascript method by following manner : field name=abc event=onmouseover action=javascript:methodName();/ Regards -- Parimal Gain On Fri, 2010-01-08 at 13:50 +0530, Raj Saini wrote: Hi, I want to show the tool tip for a form field on mouse over. All examples Various forms I found in OFBiz, render the tool tip as hint label. Is it possible to show the tool tip on mouse over on a form field? Thanks, Raj
about multiple lookup
hi all, In ofbiz form, we can use lookup controller for fields which link to entities. But the lookup controller only support to return single value. How to implement a multiple lookup? Looking into source code, it seems that we have to extend a new controller in form widget schema and implement it in the form render. Is it a correct way to go? BTW: In my opinion, it is not flexible to extend form widget in current design. (correct me if I am wrong). Let's take one example. form name=AssignGlAccount type=single target=createGlAccountOrganization title= default-map-name=account header-row-style=header-row default-table-style=basic-table field name=glAccountId drop-down entity-options entity-name=GlAccount description=${accountCode} - ${accountName} [${glAccountId}] entity-order-by field-name=accountCode/ /entity-options /drop-down /field ... /form Here, we have to use drop-down tag to tell system to render a HTML drop-down component. But what if a customized field? Then do we have to change form widget schema for that field? And then add the render logic in the long switch-cases? Maybe we can refactor the design, like this: form name=AssignGlAccount type=single target=createGlAccountOrganization title= default-map-name=account header-row-style=header-row default-table-style=basic-table field name=glAccountId controller name=drop-down !-- for new non-standard controller, we can define like this: controller name=org.ofbiz.FancyDropDown -- param key=entity-name value=GLAccount/ param key=description value=/ param key=entity-order-by value=accountCode/ !-- for new non-standard controller, we can define new parameters -- /field ... /form with the new design, then we don't need to break the schema and change the core code of render logic. Instead, we just need to implement a new controller from a predefined controller interface. And then we can reuse it in all forms. (In here, due to the limitation of current form widget, we have to give up form and use FTL directly.) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096
Re: [ANN] New modules: OpenCms-OFBiz and OFBiz-Portlet
hi Shi, Thanks for sharing the two modules. Just some quick questions for you: 1) Why not use MyPortal component in ofbiz? I guess you need a standard portal to show information not only from ofbiz but also from other applications. Or you had any problem with MyPortal? 2) Why you choose jboss portal? It seems there are a lot of open source portals over there, like jetspeed, liferay, etc. Any special reasons? 3) Is it possible to integrate jetspeed into Ofbiz? Now we have MyPortal there. But it doesn't follow JSR 168 and as such external portlets cannot be integrated seamlessly. Once I tried to integrate a commercial report tool with ofbiz and that report tool provides a lot of fancy report portlets. But things get difficult when I tried to reuse those portlets. (To be honest, I still don't understand why committees don't use Apache jetspeed but chose to reinvent the wheel. A nice and existing portal and no legal issue.) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Oct 12, 2009 at 1:37 PM, Shi Jinghai sh...@langhua.cn wrote: Hi list, We at Langhua Opensource Foundation has released two new modules: OpenCms-OFBiz and OFBiz-Portlet. Both depend on OFBiz-RMI module. OpenCms-OFBiz supports OpenCms 7.0.5 and OFBiz 09.04. OFBiz-Portlet supports OFBiz 09.04 and JBoss Portal 2.7.2. For details, please visit: http://langhua.org/portal/portal/default/OFBiz Kind Regards, Shi Jinghai/Beijing Langhua Ltd.
Re: question on docbook help system
hi Hans, I understand docbook now is used for online help system. Is it possible to output the help content to pdf? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, Oct 14, 2009 at 11:35 AM, Hans Bakker mailingl...@antwebsystems.com wrote: Hi Erwan, the help system is part of the documentation system. The links you mention are part of the Apache OFBiz document you can view at: http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML and in the content component content - content - navigation - documents - view apache ofbiz html So in other words the help page information is included in the ofbiz document, however not the other way around. Regards, Hans On Tue, 2009-10-13 at 22:43 +0200, Erwan de FERRIERES wrote: Hi Hans and all, While looking at the help system you put in place, there is a question I have : in the applications/accounting/data/helpdata/HELP_ACCOUNTING_invoices.xml file, you put xi:include href=.../ after the last paragraph. I've seen it is to make links between documents but I can't see the links displayed in the help window. So, have I misunderstood the goal of those elements or is that the displaying of the links is not yet implemented ? thanks in advance, -- Antwebsystems.com: Quality OFBiz services for competitive rates
Re: question on docbook help system
hi Hans, Another question is how to internationalize online help system? Any advice? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Dec 14, 2009 at 8:52 PM, Michael Xu (xudong) dong...@wizitsoft.comwrote: hi Hans, I understand docbook now is used for online help system. Is it possible to output the help content to pdf? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, Oct 14, 2009 at 11:35 AM, Hans Bakker mailingl...@antwebsystems.com wrote: Hi Erwan, the help system is part of the documentation system. The links you mention are part of the Apache OFBiz document you can view at: http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML and in the content component content - content - navigation - documents - view apache ofbiz html So in other words the help page information is included in the ofbiz document, however not the other way around. Regards, Hans On Tue, 2009-10-13 at 22:43 +0200, Erwan de FERRIERES wrote: Hi Hans and all, While looking at the help system you put in place, there is a question I have : in the applications/accounting/data/helpdata/HELP_ACCOUNTING_invoices.xml file, you put xi:include href=.../ after the last paragraph. I've seen it is to make links between documents but I can't see the links displayed in the help window. So, have I misunderstood the goal of those elements or is that the displaying of the links is not yet implemented ? thanks in advance, -- Antwebsystems.com: Quality OFBiz services for competitive rates
about macro in freemarker
hi all, Macro is a great feature in freemarker. But How much impact on performance will be caused by Macro? Any best practice for macro? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096
two features request
hi all, In ofbiz, we can build UI components on top of other components and all components can be defined in metadata. So I am wondering whether it is achievable/necessary to implement a debug mode to allow user to see the component stack in a popup window by moving mouse around web pages. User even can open the related files if he clicks any entry in the component stack. Another feature request is for internationalization. Is it achievable/necessary to allow user to translate or modify labels directly in the UI? My rough idea is that user can turn on some specific mode and then in such mode all labels and tips are editable. The beauty here is that this feature can grant the power to business person to do the translation in an incremental mode. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096
Re: about macro in freemarker
hi Jacques, Thanks. Will do some load testing to find out more. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Dec 14, 2009 at 9:29 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: I guess it get cached so maybe not a big deal... Jacques From: Michael Xu (xudong) dong...@wizitsoft.com hi all, Macro is a great feature in freemarker. But How much impact on performance will be caused by Macro? Any best practice for macro? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096
Re: two features request
hi Jacques, For the first point, the target user could be supporters who might have no enough ofbiz knowledge but has to do some minor enhancement. Maybe this feature is also helpful for UI designers. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Dec 14, 2009 at 11:01 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Hi Michael, The 2d point is a great idea. For the moment there is only the label manager in Webtools For the 1st point what kind of users are your target? Are you aware of Artifact Info in Webtools? Jacques From: Michael Xu (xudong) dong...@wizitsoft.com hi all, In ofbiz, we can build UI components on top of other components and all components can be defined in metadata. So I am wondering whether it is achievable/necessary to implement a debug mode to allow user to see the component stack in a popup window by moving mouse around web pages. User even can open the related files if he clicks any entry in the component stack. Another feature request is for internationalization. Is it achievable/necessary to allow user to translate or modify labels directly in the UI? My rough idea is that user can turn on some specific mode and then in such mode all labels and tips are editable. The beauty here is that this feature can grant the power to business person to do the translation in an incremental mode. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096
Re: two features request
Should I create two issues in JIRA? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Dec 14, 2009 at 11:09 PM, Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com wrote: IMO they are great ideas. Jacopo On Dec 14, 2009, at 3:40 PM, Michael Xu (xudong) wrote: hi all, In ofbiz, we can build UI components on top of other components and all components can be defined in metadata. So I am wondering whether it is achievable/necessary to implement a debug mode to allow user to see the component stack in a popup window by moving mouse around web pages. User even can open the related files if he clicks any entry in the component stack. Another feature request is for internationalization. Is it achievable/necessary to allow user to translate or modify labels directly in the UI? My rough idea is that user can turn on some specific mode and then in such mode all labels and tips are editable. The beauty here is that this feature can grant the power to business person to do the translation in an incremental mode. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096
Re: question on docbook help system
hi Erwan, Thanks for your info, which is really helpful. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Dec 14, 2009 at 9:03 PM, Erwan de FERRIERES erwan.de-ferrie...@nereide.biz wrote: Hi Michael, just go to this address : http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML#N21FF6 This will explain you how to internationalize the help system. Le 14/12/2009 13:54, Michael Xu (xudong) a écrit : hi Hans, Another question is how to internationalize online help system? Any advice? ../.. -- Erwan de FERRIERES www.nereide.biz
Re: about using ofbiz as a platform
hi Chris, Thanks. For me, I need user, organization, role, permission functionalities from party management. But I think you are right that maybe we need a more elegant party management from framework perspective. Or maybe we even don't need party in the framework. (Just like JIRA did. JIRA implemented its own user/permission/role) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Thu, Dec 10, 2009 at 4:21 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi Michael, The problem with putting in the Party component is that it will throw up errors due to dependencies on other components. (Try it and see!) It is likely that a new component will be required (i.e. developed) for a standalone framework that has basic user account management functionality. What party management functionality would you want to see in the standalone framework? Cheers, Chris Michael Xu (xudong) wrote: hi Christopher, That wiki page looks great. Thanks. Do we need to remain Party there as part of framework? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Dec 7, 2009 at 7:52 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: I've also started putting a page together on the steps for manually separating the core framework: http://cwiki.apache.org/confluence/display/OFBIZ/Ofbiz+as+a+development+framework The pages are just my documentation of the steps needed. I still think its a good idea to have a page for collecting the requirements. Christopher Snow wrote: Sounds good to me! Bruno Busco wrote: Should we try to write a framework-only feature proposal page like the one Scott has writted for Saved Searches http://cwiki.apache.org/confluence/display/OFBIZ/Saved+Searches collecting all requirements from the mails? Having the path written could help volunteers to contribute in the right direction. -Bruno 2009/12/4 Christopher Snow sno...@snowconsulting.co.uk: 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
Re: about using ofbiz as a platform
hi Chris, I think account and permission management are enough for framework and party/organization probably should not be in the scope of framework. Using LDAP is definitely a good idea. But I think that should be only a option, because not all customers have LDAP. -- Regards, Michael Xu (xudong) On Thu, Dec 10, 2009 at 4:53 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi Michael, Does the framework just need user account and permission management? or, does it need party/organisation management too? Perhaps even using an external framework like ldap would be better for managing the organisational structures, user accounts and permissions? Cheers, Chris Michael Xu (xudong) wrote: hi Chris, Thanks. For me, I need user, organization, role, permission functionalities from party management. But I think you are right that maybe we need a more elegant party management from framework perspective. Or maybe we even don't need party in the framework. (Just like JIRA did. JIRA implemented its own user/permission/role) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Thu, Dec 10, 2009 at 4:21 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi Michael, The problem with putting in the Party component is that it will throw up errors due to dependencies on other components. (Try it and see!) It is likely that a new component will be required (i.e. developed) for a standalone framework that has basic user account management functionality. What party management functionality would you want to see in the standalone framework? Cheers, Chris
Re: about using ofbiz as a platform
hi Chris, Not sure what kind of help you need for next step. I would love to help if I can. -- Regards, Michael Xu (xudong) www.wizitsoft.com On Thu, Dec 10, 2009 at 5:47 PM, Michael Xu (xudong) dong...@wizitsoft.comwrote: hi Chris, I think account and permission management are enough for framework and party/organization probably should not be in the scope of framework. Using LDAP is definitely a good idea. But I think that should be only a option, because not all customers have LDAP. -- Regards, Michael Xu (xudong) On Thu, Dec 10, 2009 at 4:53 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi Michael, Does the framework just need user account and permission management? or, does it need party/organisation management too? Perhaps even using an external framework like ldap would be better for managing the organisational structures, user accounts and permissions? Cheers, Chris Michael Xu (xudong) wrote: hi Chris, Thanks. For me, I need user, organization, role, permission functionalities from party management. But I think you are right that maybe we need a more elegant party management from framework perspective. Or maybe we even don't need party in the framework. (Just like JIRA did. JIRA implemented its own user/permission/role) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Thu, Dec 10, 2009 at 4:21 PM, Christopher Snow sno...@snowconsulting.co.uk wrote: Hi Michael, The problem with putting in the Party component is that it will throw up errors due to dependencies on other components. (Try it and see!) It is likely that a new component will be required (i.e. developed) for a standalone framework that has basic user account management functionality. What party management functionality would you want to see in the standalone framework? Cheers, Chris
Re: about using ofbiz as a platform
I agree with Jacopo. Basically each ofbiz component can define its own admin stuff (like user management in security). In terms of how to show those stuff, that should be left to framework users. Maybe some users prefer to aggregate all admin stuff from different components into webtools or MyPortals. Maybe some users prefer to put admin stuff in each component. Just an idea: If webtools is the central place for administration, can we implement it like MyPortal that webtools can automatically load admin stuff from different components? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Thu, Dec 10, 2009 at 6:03 PM, Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com wrote: Hi Christopher, On Dec 10, 2009, at 9:43 AM, Christopher Snow wrote: Hi Jacopo, I was originally thinking about putting this stuff in the webtools until I thought that user account management may be done by a user that is not a system administrator (e.g. helpdesk level one support). Webtools seems to be more system administration type stuff. The webtools could provide basic interface for user management for administrators; this doesn't preclude other components from implementing custom and process oriented screens for user management (like the helpdesk component you mention); in fact this is already happening in the ecommerce and party components (and should not change); however helpdesk etc.. will need much more than users and roles; they will probably need persons, parties etc... What are the pros and cons of using a separate component versus using webtools for this functionality? This is not a big deal, we can do both ways. But instead of a new component we should consider adding a new webapp to an existing one (it could be the security one). Jacopo Many thanks, Chris Jacopo Cappellato wrote: You are right Christopher. We will have to migrate (and integrate) the user interface for SecurityGroups and User Login management from the Party to a framework component: this could be a new one, the webtools (I like the idea of having them in the webtools), a new webapp under security etc... I am sure that Adrian started this effort and put his code in Jira. Jacopo On Dec 10, 2009, at 9:21 AM, Christopher Snow wrote: Hi Michael, The problem with putting in the Party component is that it will throw up errors due to dependencies on other components. (Try it and see!) It is likely that a new component will be required (i.e. developed) for a standalone framework that has basic user account management functionality. What party management functionality would you want to see in the standalone framework? Cheers, Chris
Re: about ofbiz comopnent
hi Abdullah, Thanks. So it seems there is no big difference between commenting out a component from component-load.xml and removing it from file system. Yes, I am following up some ML threads and JIRA issues for how to make ofbiz as a framework. -- Regards, Michael Xu (xudong) www.wizitsoft.com On Thu, Dec 3, 2009 at 11:38 PM, Abdullah Shaikh abdullah.sha...@viithiisys.com wrote: 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 eProcurement .
hi Ritika, My company is building a tendering system on top of ofbiz, which will support RFX, auction and reverse auction. We plan to release the first version in three months. -- Regards, Michael Xu (xudong) www.wizitsoft.com On Sun, May 31, 2009 at 8:09 PM, Ritika Agrawal ritika.of...@gmail.comwrote: Hello users, I've a question, Is OFBIz provide any user interface for eProcurement and tendering ? Any help would be highly appreciated. Thanks Ritika
Re: about theme i18n
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
about ofbiz comopnent
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: about using ofbiz as a platform
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.
about theme i18n
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
about report
hi all, We are trying to use BIRT in ofbiz and I found there is two related JIRA issues: 1) http://issues.apache.org/jira/browse/OFBIZ-1348 2) http://issues.apache.org/jira/browse/OFBIZ-2347https://issues.apache.org/jira/browse/OFBIZ-2347 There is a release for each issue. Which release is preferred? -- Regards, Michael Xu (xudong) www.wizitsoft.com
Re: about report
hi Hans, Thanks for your info. Will try the branch you mentioned. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, Dec 2, 2009 at 12:32 PM, Hans Bakker mailingl...@antwebsystems.comwrote: Currently use the birt branch at: http://svn.apache.org/repos/asf/ofbiz/branches/addbirt the implementation as described in these jira issues is not supported anymore. Regards, Hans On Wed, 2009-12-02 at 12:06 +0800, Michael Xu (xudong) wrote: hi all, We are trying to use BIRT in ofbiz and I found there is two related JIRA issues: 1) http://issues.apache.org/jira/browse/OFBIZ-1348 2) http://issues.apache.org/jira/browse/OFBIZ-2347 https://issues.apache.org/jira/browse/OFBIZ-2347 There is a release for each issue. Which release is preferred? -- Regards, Michael Xu (xudong) www.wizitsoft.com -- Antwebsystems.com: Quality OFBiz services for competitive rates
Re: about using ofbiz as a platform
hi Bruno, Thanks for your reply. I wish I could make it by myself. However, it turns out too challenging for me. I think it is more piratical if one or more committer could lead the overall process. At this moment, what I can suggest is that the current big ofbiz might need to be split into sub projects, like framework, ERP, CRM, eCommerce, etc. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, Nov 25, 2009 at 4:30 AM, Bruno Busco bruno.bu...@gmail.com 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
about using ofbiz as a platform
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
Re: about using ofbiz as a platform
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+DependenciesFrom 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.comwrote: 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
Re: about using ofbiz as a platform
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+DependenciesFrom 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
Re: OFBiz in Canada?
hi Ruth, I do agree with you that it is time for a fork in the road. But before that, maybe it is better to split ofbiz into subprojects, like framework, BI, etc. Then we can choose where to fork. And also the future merge should be easier. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Nov 13, 2009 at 9:05 PM, Ruth Hoffman rhoff...@aesolves.com wrote: Hi Chris: IMHO: Having watched the project for a long time now, I think it is time for a fork in the road. There are too many competing interests here. This sort of reminds me of Unix before AT T let BSD birth. No? And look what that spawned :-) Ruth Christopher Snow wrote: Thanks BJ - that's the conclusion I'm starting to reach. Perhaps it would be worth some of us like minded people to getting together? BJ Freeman wrote: I had the same complaint at one time. I now keep my own version under a different brand name. That is about all you can do. Christopher Snow sent the following on 11/13/2009 2:40 AM: Jacopo Cappellato wrote: On Nov 13, 2009, at 11:26 AM, Christopher Snow wrote: I was thinking about your comment of leaving the components in place even though they are not used. Does leaving unused components in place have a performance impact on ofbiz? Do those components consume memory? - they are certainly using disk space. Some of the components for example BIRT consume a fair amount of space. Disk and memory are very cheap nowadays... I think I have answered your other concerns in another email. Jacopo Disk and memory are cheap nowadays, but small businesses don't see it like that, for example David Jones' ezBiz will be competing with lightweight applications like OpenERP. Also, there's the security issues of having code running that isn't required. Anyway, I get the picture. A modular ofbiz is not an option! People in control like ofbiz just the way it is - it suits their business model.
Re: about entity engine
hi Scott, Thanks. Please see my inline comments. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Oct 16, 2009 at 2:14 PM, Scott Gray scott.g...@hotwaxmedia.comwrote: The problem is that with a generic data model many entities are used in many different places and in different contexts, My idea is to use different GROUPs for different contexts. if you tried to encapsulate all of those differences within a single entity definition you are very quickly going to end up with a very messy entity model. Yes, you are right. Can we split a big entity definition file into many? Does it help? IMO separation of concerns is a good thing, you're complaining about having to make changes in many places, but at least you know what effect each change is having, in your model I would need to check everywhere that an entity is used before making a change to be sure of what effect a seemingly minor adjustment would have. I think GROUP is a way to control such affects, because GROUP will be used in UI in my idea. The pain point with current design is that the developer (for some customers, we even cannot assume they have a java developer) has to understand the overall infrastructure for such minor customization. But if we put them in one place using xml format, even a business guy can implement such customization without any java knowledge. For senior ofbiz developers, like you, the current design is very flexible. But it might be another story for other people. Regards Scott On 16/10/2009, at 6:58 PM, Michael Xu (xudong) wrote: hi Scott, I got your points. Actually, form widgets are still required to show the GROUP with a set of predefined fields. But such form widget will be very generic, which is just show the group in the way defined in the entity model. And as such the benefits are: 1) a single point to define entity behavior (not just data structure) 2) UI gets configurable directly in the single point (no need to change form widgets or ftl in many places) 3) less java codes and widgets are required. In a summary, bringing more power to entity definition. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Oct 16, 2009 at 1:39 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: I think to be able to generate a reasonably functional UI from something like this you'd end up with so much complexity in your entity model that someone would come up with a new idea to solve that problem and they'd call it the form widget. Regards Scott HotWax Media http://www.hotwaxmedia.com On 16/10/2009, at 5:22 PM, Hans Bakker wrote: In general, this looks like a pretty good idea. The visibility tag would be nice if the widgets took advantage of that. then i would be easy to let a field disappear in the whole system when a if a simple 'true/false' would be possible. More complicated ones like the ones mentioned below could also be interesting but the integration in the widgets is a must. ftl's will me more difficult (macros), jsp, not sure if we should support that. trigger and validation will be more complex but sure we could look at that. In general a good idea Regards, Hans On Fri, 2009-10-16 at 05:16 +0800, Michael Xu (xudong) wrote: hi all, We can define entities in XML files. However, only database specific semantics could be defined there. For those application level semantics (like trigger, visiblity, validation) has to be defined in different places. The lack of a single place to define such metadata makes ofbiz hard to maintain. (Correct me if I am wrong) Let's take OrderHeader as an example. I copy the latest entity definition as below: entity entity-name=OrderHeader package-name=org.ofbiz.order.order never-cache=true title=Order Header Entity field name=orderId type=id-ne/field field name=orderTypeId type=id/field field name=orderName type=name/field field name=externalId type=id/field field name=salesChannelEnumId type=id/field field name=orderDate type=date-time/field field name=entryDate type=date-time/field field name=visitId type=id/field field name=statusId type=id/field field name=createdBy type=id-vlong/field field name=firstAttemptOrderId type=id/field field name=currencyUom type=id/field field name=syncStatusId type=id/field field name=billingAccountId type=id/field field name=originFacilityId type=id/field field name=webSiteId type=id/field field name=productStoreId type=id/field field name=terminalId type=id-long/field field name=transactionId type=id-long/field field name=autoOrderShoppingListId type=id/field field name=needsInventoryIssuance type=indicator/field field name=isRushOrder type=indicator/field field name
Re: about entity engine
BTW, I think My idea can be implemented in a backword compatible way. So at least that will be another choice to implement new ofbiz applications. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Oct 16, 2009 at 2:42 PM, Michael Xu (xudong) dong...@wizitsoft.comwrote: hi Scott, Thanks. Please see my inline comments. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Oct 16, 2009 at 2:14 PM, Scott Gray scott.g...@hotwaxmedia.comwrote: The problem is that with a generic data model many entities are used in many different places and in different contexts, My idea is to use different GROUPs for different contexts. if you tried to encapsulate all of those differences within a single entity definition you are very quickly going to end up with a very messy entity model. Yes, you are right. Can we split a big entity definition file into many? Does it help? IMO separation of concerns is a good thing, you're complaining about having to make changes in many places, but at least you know what effect each change is having, in your model I would need to check everywhere that an entity is used before making a change to be sure of what effect a seemingly minor adjustment would have. I think GROUP is a way to control such affects, because GROUP will be used in UI in my idea. The pain point with current design is that the developer (for some customers, we even cannot assume they have a java developer) has to understand the overall infrastructure for such minor customization. But if we put them in one place using xml format, even a business guy can implement such customization without any java knowledge. For senior ofbiz developers, like you, the current design is very flexible. But it might be another story for other people. Regards Scott On 16/10/2009, at 6:58 PM, Michael Xu (xudong) wrote: hi Scott, I got your points. Actually, form widgets are still required to show the GROUP with a set of predefined fields. But such form widget will be very generic, which is just show the group in the way defined in the entity model. And as such the benefits are: 1) a single point to define entity behavior (not just data structure) 2) UI gets configurable directly in the single point (no need to change form widgets or ftl in many places) 3) less java codes and widgets are required. In a summary, bringing more power to entity definition. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Oct 16, 2009 at 1:39 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: I think to be able to generate a reasonably functional UI from something like this you'd end up with so much complexity in your entity model that someone would come up with a new idea to solve that problem and they'd call it the form widget. Regards Scott HotWax Media http://www.hotwaxmedia.com On 16/10/2009, at 5:22 PM, Hans Bakker wrote: In general, this looks like a pretty good idea. The visibility tag would be nice if the widgets took advantage of that. then i would be easy to let a field disappear in the whole system when a if a simple 'true/false' would be possible. More complicated ones like the ones mentioned below could also be interesting but the integration in the widgets is a must. ftl's will me more difficult (macros), jsp, not sure if we should support that. trigger and validation will be more complex but sure we could look at that. In general a good idea Regards, Hans On Fri, 2009-10-16 at 05:16 +0800, Michael Xu (xudong) wrote: hi all, We can define entities in XML files. However, only database specific semantics could be defined there. For those application level semantics (like trigger, visiblity, validation) has to be defined in different places. The lack of a single place to define such metadata makes ofbiz hard to maintain. (Correct me if I am wrong) Let's take OrderHeader as an example. I copy the latest entity definition as below: entity entity-name=OrderHeader package-name=org.ofbiz.order.order never-cache=true title=Order Header Entity field name=orderId type=id-ne/field field name=orderTypeId type=id/field field name=orderName type=name/field field name=externalId type=id/field field name=salesChannelEnumId type=id/field field name=orderDate type=date-time/field field name=entryDate type=date-time/field field name=visitId type=id/field field name=statusId type=id/field field name=createdBy type=id-vlong/field field name=firstAttemptOrderId type=id/field field name=currencyUom type=id/field field name=syncStatusId type=id/field field name=billingAccountId type=id/field
Re: about entity engine
hi Bruno, Thanks for your explanation. Really look forward to the XML driven widgets. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Oct 16, 2009 at 3:13 PM, Bruno Busco bruno.bu...@gmail.com wrote: Hi Michael, actually OFBiz offers the possibility of designing UI without knowing the java language. There are powerfull widgets that are being developed further day by day to let you design UI using XML. There is a minilanguage that lets you collect and prepare de data to be presented using XML. Very often it is necessary to group in a single screen data coming from different entities and this would be even more difficult to be described in the entity itself. More generally the model you propose puts toghether the database layer and the presentation layer that we always try to keep separated. My two cents, Bruno 2009/10/16 Michael Xu (xudong) dong...@wizitsoft.com: BTW, I think My idea can be implemented in a backword compatible way. So at least that will be another choice to implement new ofbiz applications. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Oct 16, 2009 at 2:42 PM, Michael Xu (xudong) dong...@wizitsoft.comwrote: hi Scott, Thanks. Please see my inline comments. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Oct 16, 2009 at 2:14 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: The problem is that with a generic data model many entities are used in many different places and in different contexts, My idea is to use different GROUPs for different contexts. if you tried to encapsulate all of those differences within a single entity definition you are very quickly going to end up with a very messy entity model. Yes, you are right. Can we split a big entity definition file into many? Does it help? IMO separation of concerns is a good thing, you're complaining about having to make changes in many places, but at least you know what effect each change is having, in your model I would need to check everywhere that an entity is used before making a change to be sure of what effect a seemingly minor adjustment would have. I think GROUP is a way to control such affects, because GROUP will be used in UI in my idea. The pain point with current design is that the developer (for some customers, we even cannot assume they have a java developer) has to understand the overall infrastructure for such minor customization. But if we put them in one place using xml format, even a business guy can implement such customization without any java knowledge. For senior ofbiz developers, like you, the current design is very flexible. But it might be another story for other people. Regards Scott On 16/10/2009, at 6:58 PM, Michael Xu (xudong) wrote: hi Scott, I got your points. Actually, form widgets are still required to show the GROUP with a set of predefined fields. But such form widget will be very generic, which is just show the group in the way defined in the entity model. And as such the benefits are: 1) a single point to define entity behavior (not just data structure) 2) UI gets configurable directly in the single point (no need to change form widgets or ftl in many places) 3) less java codes and widgets are required. In a summary, bringing more power to entity definition. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Oct 16, 2009 at 1:39 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: I think to be able to generate a reasonably functional UI from something like this you'd end up with so much complexity in your entity model that someone would come up with a new idea to solve that problem and they'd call it the form widget. Regards Scott HotWax Media http://www.hotwaxmedia.com On 16/10/2009, at 5:22 PM, Hans Bakker wrote: In general, this looks like a pretty good idea. The visibility tag would be nice if the widgets took advantage of that. then i would be easy to let a field disappear in the whole system when a if a simple 'true/false' would be possible. More complicated ones like the ones mentioned below could also be interesting but the integration in the widgets is a must. ftl's will me more difficult (macros), jsp, not sure if we should support that. trigger and validation will be more complex but sure we could look at that. In general a good idea Regards, Hans On Fri, 2009-10-16 at 05:16 +0800, Michael Xu (xudong) wrote
about entity engine
=id-vlong/field field name=firstAttemptOrderId type=id/field field name=currencyUom type=id/field field name=syncStatusId type=id/field field name=billingAccountId type=id/field field name=originFacilityId type=id/field field name=webSiteId type=id/field field name=productStoreId type=id/field field name=terminalId type=id-long/field field name=transactionId type=id-long/field field name=autoOrderShoppingListId type=id/field field name=needsInventoryIssuance type=indicator/field field name=isRushOrder type=indicator/field field name=internalCode type=id-long/field field name=remainingSubTotal type=currency-amount/field field name=grandTotal type=currency-amount/field prim-key field=orderId/ relation type=one fk-name=ORDER_HDR_TYPE rel-entity-name=OrderType key-map field-name=orderTypeId/ /relation relation type=one fk-name=ORDER_HDR_SCENUM title=SalesChannel rel-entity-name=Enumeration key-map field-name=salesChannelEnumId rel-field-name=enumId/ /relation relation type=one fk-name=ORDER_HDR_OFAC title=Origin rel-entity-name=Facility key-map field-name=originFacilityId rel-field-name=facilityId/ /relation relation type=many rel-entity-name=OrderTypeAttr key-map field-name=orderTypeId/ /relation relation type=one fk-name=ORDER_HDR_BACCT rel-entity-name=BillingAccount key-map field-name=billingAccountId/ /relation relation type=one fk-name=ORDER_HDR_PDSTR rel-entity-name=ProductStore key-map field-name=productStoreId/ /relation relation type=one fk-name=ORDER_HDR_AOSHLST title=AutoOrder rel-entity-name=ShoppingList key-map field-name=autoOrderShoppingListId rel-field-name=shoppingListId/ /relation relation type=one fk-name=ORDER_HDR_CBUL title=CreatedBy rel-entity-name=UserLogin key-map field-name=createdBy rel-field-name=userLoginId/ /relation relation type=one fk-name=ORDER_HDR_STTS rel-entity-name=StatusItem key-map field-name=statusId/ /relation relation type=one fk-name=ORDER_HDR_SYST title=Sync rel-entity-name=StatusItem key-map field-name=syncStatusId rel-field-name=statusId/ /relation relation type=one fk-name=ORDER_HDR_CUOM rel-entity-name=Uom key-map field-name=currencyUom rel-field-name=uomId/ /relation relation type=many rel-entity-name=OrderHeaderNoteView key-map field-name=orderId/ /relation relation type=many rel-entity-name=OrderItemAndShipGroupAssoc key-map field-name=orderId/ /relation index name=ORDEREXT_ID_IDX index-field name=externalId/ /index !- !! !- In different context, maybe different set of fields need to show. So my idea here is to use group to group fields for different scenario. And then in UI level, we can define a jsp tag or something to only show fields within this group. - group name=summary field name=orderId rank=1/ field name=orderTypeId rank=10/ field name=orderName rank=11/ /group group name=details field name=orderId rank=1/ field name=orderTypeId rank=10/ field name=orderName rank=11/ field name=externalId rank=20 !- Note: Though visibility is definded above with another condition. However, in this group (Scenario), externalID will always be visible. - visbility value=true/ field /group !!!- /entity Such an idea to make entity definition as a single point of configuration/customization might make system easier to maintain/customize. Am I right? If yes, anybody could suggest me how to implement it. (BTW: we are going to use ofbiz entity engine for our products just like what JIRA did. It would be great if such enhancement could be done direct under apache. Otherwise, we might have to maintain a customized ofbiz entity engine by ourselves.) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096
Re: about entity engine
hi Scott, I got your points. Actually, form widgets are still required to show the GROUP with a set of predefined fields. But such form widget will be very generic, which is just show the group in the way defined in the entity model. And as such the benefits are: 1) a single point to define entity behavior (not just data structure) 2) UI gets configurable directly in the single point (no need to change form widgets or ftl in many places) 3) less java codes and widgets are required. In a summary, bringing more power to entity definition. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Oct 16, 2009 at 1:39 PM, Scott Gray scott.g...@hotwaxmedia.comwrote: I think to be able to generate a reasonably functional UI from something like this you'd end up with so much complexity in your entity model that someone would come up with a new idea to solve that problem and they'd call it the form widget. Regards Scott HotWax Media http://www.hotwaxmedia.com On 16/10/2009, at 5:22 PM, Hans Bakker wrote: In general, this looks like a pretty good idea. The visibility tag would be nice if the widgets took advantage of that. then i would be easy to let a field disappear in the whole system when a if a simple 'true/false' would be possible. More complicated ones like the ones mentioned below could also be interesting but the integration in the widgets is a must. ftl's will me more difficult (macros), jsp, not sure if we should support that. trigger and validation will be more complex but sure we could look at that. In general a good idea Regards, Hans On Fri, 2009-10-16 at 05:16 +0800, Michael Xu (xudong) wrote: hi all, We can define entities in XML files. However, only database specific semantics could be defined there. For those application level semantics (like trigger, visiblity, validation) has to be defined in different places. The lack of a single place to define such metadata makes ofbiz hard to maintain. (Correct me if I am wrong) Let's take OrderHeader as an example. I copy the latest entity definition as below: entity entity-name=OrderHeader package-name=org.ofbiz.order.order never-cache=true title=Order Header Entity field name=orderId type=id-ne/field field name=orderTypeId type=id/field field name=orderName type=name/field field name=externalId type=id/field field name=salesChannelEnumId type=id/field field name=orderDate type=date-time/field field name=entryDate type=date-time/field field name=visitId type=id/field field name=statusId type=id/field field name=createdBy type=id-vlong/field field name=firstAttemptOrderId type=id/field field name=currencyUom type=id/field field name=syncStatusId type=id/field field name=billingAccountId type=id/field field name=originFacilityId type=id/field field name=webSiteId type=id/field field name=productStoreId type=id/field field name=terminalId type=id-long/field field name=transactionId type=id-long/field field name=autoOrderShoppingListId type=id/field field name=needsInventoryIssuance type=indicator/field field name=isRushOrder type=indicator/field field name=internalCode type=id-long/field field name=remainingSubTotal type=currency-amount/field field name=grandTotal type=currency-amount/field prim-key field=orderId/ relation type=one fk-name=ORDER_HDR_TYPE rel-entity-name=OrderType key-map field-name=orderTypeId/ /relation relation type=one fk-name=ORDER_HDR_SCENUM title=SalesChannel rel-entity-name=Enumeration key-map field-name=salesChannelEnumId rel-field-name=enumId/ /relation relation type=one fk-name=ORDER_HDR_OFAC title=Origin rel-entity-name=Facility key-map field-name=originFacilityId rel-field-name=facilityId/ /relation relation type=many rel-entity-name=OrderTypeAttr key-map field-name=orderTypeId/ /relation relation type=one fk-name=ORDER_HDR_BACCT rel-entity-name=BillingAccount key-map field-name=billingAccountId/ /relation relation type=one fk-name=ORDER_HDR_PDSTR rel-entity-name=ProductStore key-map field-name=productStoreId/ /relation relation type=one fk-name=ORDER_HDR_AOSHLST title=AutoOrder rel-entity-name=ShoppingList key-map field-name=autoOrderShoppingListId rel-field-name=shoppingListId/ /relation relation type=one fk-name=ORDER_HDR_CBUL title=CreatedBy rel-entity-name=UserLogin key-map field-name=createdBy rel-field-name=userLoginId/ /relation relation type=one fk-name=ORDER_HDR_STTS rel-entity-name=StatusItem key-map field-name=statusId/ /relation relation type=one fk-name=ORDER_HDR_SYST title=Sync rel-entity-name=StatusItem key-map field-name=syncStatusId
Re: Multiple Product Images?
hi Sam, Per my understanding, you have to customize product and ecommerce module to support multiple picture. This is not very difficult. You can take a look at this website where all items have multiple pictures: www.xuandoo.com (this site is in chinese) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Thu, Jun 4, 2009 at 11:52 AM, Sam Hamilton sam.hamil...@virtualvillage.com wrote: Perhaps this is a really simple but I cant seem to find an example on the demo ecommerce site of one product with more than one image?
Re: gmail contacts sync in ofbiz SFA
hi Aswatch, I like your idea. Anyway, I have some points: 1) It might be better to maintain gmail account info in user profile. Then users don't need to input input/password everytime. 2) Need to considering both one-way and two-way sync. (As sometime it doesn't make sense to sync your private friends info into CRM from gmail.) 3) Besides the sync button, You can implement a scheduled task which can sync automatically. 4) Considering not all users are using gmail, it might make more business sense to sync lead/account/contact between SFA and outlook/thundbird. Then users can access those info in offline mode. Furthermore, users can install some tools (like google outlook sync tool) to sync between outlook and gmail. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, May 6, 2009 at 4:34 PM, aswath narayana aswath.satras...@gmail.comwrote: Hello All, I plan to write the sync between Gmail Contacts and OFBiz Leads and Contacts. I will be using GData API to accomplish this. Following are the steps. * A sub tab menu item - 'Sync to Gmail' is added to SFA * The user presses on 'Sync to Gmail' tab * The user is prompted for Gmail userid and password * User enters the Gmail user id and password ( Gmail userid and password will not be stored in the OFBiz system) * Gmail to OFBiz : Each Gmail contact is checked against the Leads in the OFBiz using email address as the primary comparison. If the Gmail contact is not found in OFBiz leads, then it will be checked against the OFBiz contacts. If it is not found then, the user will be prompted to be put either in Leads or Contacts. * OFBiz to Gmail: Each OFBiz lead and OFBiz contact is checked against Gmail contact, and if it is not available in Gmail, a Gmail contact gets created. Please provide your inputs. -Aswath
Re: gmail contacts sync in ofbiz SFA
Hi Aswath, Please see my inline comments. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Thu, May 7, 2009 at 10:00 AM, aswath narayana aswath.satras...@gmail.com wrote: Hello Michael, inline... On Wed, May 6, 2009 at 2:19 PM, Michael Xu (xudong) dong...@wizitsoft.com wrote: hi Aswatch, I like your idea. Anyway, I have some points: 1) It might be better to maintain gmail account info in user profile. Then users don't need to input input/password everytime. I think it may not be a good idea to store gmail passwords in the OFBiz user profile. A better idea, in the long term, is to do SSO to Google Apps. As I know, only enterprise version supports SSO, right? 2) Need to considering both one-way and two-way sync. (As sometime it doesn't make sense to sync your private friends info into CRM from gmail.) Current plan is to sync interactively, hence the user can skip the private friends. hmm...but does that mean every time the user has to manually uncheck those private friends? It might not be that user friendly. 3) Besides the sync button, You can implement a scheduled task which can sync automatically. Sure., if we can address 1) 2) above 4) Considering not all users are using gmail, it might make more business sense to sync lead/account/contact between SFA and outlook/thundbird. Then users can access those info in offline mode. Furthermore, users can install some tools (like google outlook sync tool) to sync between outlook and gmail. Agreed. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, May 6, 2009 at 4:34 PM, aswath narayana aswath.satras...@gmail.com wrote: Hello All, I plan to write the sync between Gmail Contacts and OFBiz Leads and Contacts. I will be using GData API to accomplish this. Following are the steps. * A sub tab menu item - 'Sync to Gmail' is added to SFA * The user presses on 'Sync to Gmail' tab * The user is prompted for Gmail userid and password * User enters the Gmail user id and password ( Gmail userid and password will not be stored in the OFBiz system) * Gmail to OFBiz : Each Gmail contact is checked against the Leads in the OFBiz using email address as the primary comparison. If the Gmail contact is not found in OFBiz leads, then it will be checked against the OFBiz contacts. If it is not found then, the user will be prompted to be put either in Leads or Contacts. * OFBiz to Gmail: Each OFBiz lead and OFBiz contact is checked against Gmail contact, and if it is not available in Gmail, a Gmail contact gets created. Please provide your inputs. -Aswath
Re: Adding components to an instance of OFBiz
I have the same question as Ruth had: Is anyone working on such Add-on management or do we have any plan for this feature? Furthermore, now I can see some other softwares, which are on top of ofbiz, are having more and more features which actually should be in ofbiz framework or core application level, like Add-on management, domain driven support, Ajax, more friendly report or dashboard, etc. (I am not that technical, so maybe I am wrong) As end customer or service vendor, if we choose any of those softwares, then we have to face a big problem that is how to sync ofbiz and that chosen software. (Normally, those softwares will get synced with ofbiz trunk in every big release. That means we have to wait...but sometimes we just cannot.) I know it is easy to just throw such a question but hard to come up with a solution. But I still want to know what's your thought at this point :-) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Apr 20, 2009 at 10:27 PM, Ruth Hoffman rhoff...@aesolves.comwrote: Hi Jacques: Thanks for the update. This is what I was wondering - if anyone was working on this. Ruth Jacques Le Roux wrote: At this stage 2 points : 1) In OFBiz, there is already a basic ant task to create a component structure * ant -help and* ant -projecthelp are your friends * ant create-component is the task 2) Currently the Neogia team is buildind a concept of add-ons for OFBiz * It's not yet finished * But promising, see (mostly in French but there is an option to translate in English using when only in French) ** http://www.neogia.org/Add-on_Manager_Design ** http://www.neogia.org/OFBiz_add-on/fr#Qu.27est_ce_qu.27un_Addon ** http://www.neogia.org/Add-on_Manager Beware I don't think it's operational yet, but the documents above can give you an idea of the concept HTH Jacques From: aswath narayana aswath.satras...@gmail.com I think it will be a good idea to do administration of components in OFBiz. OFBiz might get bloated with infrastructure and maintainance, when we start doing component development within OFBiz itself. An alternate would be to have a plugin in Eclipse that will help in building of OFBiz components (A wizard interface to build a directory structure and ability to create database and view entities visually). -Aswath On Mon, Apr 20, 2009 at 8:25 AM, Michael Xu (xudong) dong...@wizitsoft.comwrote: hi Ruth, I really like your idea, which is very similar with JIRA and Confluence's plugin model. If users can use such a wizard to install/uninstall new component on the fly (without restart), that would be more helpful to promote ofbiz to next level in SaaS wise. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Apr 20, 2009 at 9:10 AM, Ruth Hoffman rhoff...@aesolves.com wrote: Hi David: Thanks for the quick reply. Given your response - I'm wondering if a useful addition to OFBiz would be a feature in webtools to manage OFBiz components. I can envision a wizard driven interface that builds the basic directory structure and config file(s) such as the ofbiz-component.xml file necessary to get a new component operational? This could be extended to allow for the (sort-of) dynamic removal of components. What do you think? Ruth David E Jones wrote: The best way to do this is just put it in the hot-deploy directory. When OFBiz starts up it will look in that directory for sub-directories that have a ofbiz-component.xml file which it will read to load resources for that component. -David P.S. It's good to see you around again Ruth! On Apr 19, 2009, at 10:31 AM, Ruth Hoffman wrote: Hello All: I'm a big fan of OFBiz - nice job on the Apache site, BTW. Congratulations - it is World class! I've been using OFBiz off and on for a few years now for a number of different projects. Recently, I had a requirement to add a custom component to the application section of the framework. After a brief search of the mailing lists (I have been away from the OFBiz collaborative tools for sometime) and documentation I have the following question: Is there an automatic way to add a component to the framework - or is this still a manual process? I don't see any obvious webtool or other mechanism for doing this through OFBiz. Regards, Ruth Hoffman
Re: Adding components to an instance of OFBiz
hi Ruth, I really like your idea, which is very similar with JIRA and Confluence's plugin model. If users can use such a wizard to install/uninstall new component on the fly (without restart), that would be more helpful to promote ofbiz to next level in SaaS wise. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Apr 20, 2009 at 9:10 AM, Ruth Hoffman rhoff...@aesolves.com wrote: Hi David: Thanks for the quick reply. Given your response - I'm wondering if a useful addition to OFBiz would be a feature in webtools to manage OFBiz components. I can envision a wizard driven interface that builds the basic directory structure and config file(s) such as the ofbiz-component.xml file necessary to get a new component operational? This could be extended to allow for the (sort-of) dynamic removal of components. What do you think? Ruth David E Jones wrote: The best way to do this is just put it in the hot-deploy directory. When OFBiz starts up it will look in that directory for sub-directories that have a ofbiz-component.xml file which it will read to load resources for that component. -David P.S. It's good to see you around again Ruth! On Apr 19, 2009, at 10:31 AM, Ruth Hoffman wrote: Hello All: I'm a big fan of OFBiz - nice job on the Apache site, BTW. Congratulations - it is World class! I've been using OFBiz off and on for a few years now for a number of different projects. Recently, I had a requirement to add a custom component to the application section of the framework. After a brief search of the mailing lists (I have been away from the OFBiz collaborative tools for sometime) and documentation I have the following question: Is there an automatic way to add a component to the framework - or is this still a manual process? I don't see any obvious webtool or other mechanism for doing this through OFBiz. Regards, Ruth Hoffman
Re: workflow engine
As I know, ofbiz uses its own workflow engine. You can get more information here: http://ofbiz.apache.org/docs/workflow.html -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Thu, Apr 9, 2009 at 11:40 AM, Jack Liu jack@aicent.com wrote: Hi, all What's the recommended workflow engine in OFBiz? Is it Shark? Best Regards, Jack Liu
Re: OfBiz readiness for multi-tenancy
It depends on how you define multi-tenancy. In my understanding, there could be two definitions: 1) multiple instance withhin single box It is not difficult to install multiple instances in one single box. Just make sure no port conflict. 2) multiple tenants in single instance I think you have to do customization, especially on access control part, to make sure one tenant cannot access data owned by the other one. The challenge here might be how to grant appropriate admin permissions to different tenants. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, Apr 8, 2009 at 4:19 PM, Gopikrishna Gade gopi.g...@valuemomentum.com wrote: Hi, I just started exploring OfBiz for some of our initiatives. I wanted to understand if OfBiz is architected for Multi-Tenancy scenarios. Can someone provide insight? Regards, Gopi Gade
Re: Have you ever integrated pentaho with ofbiz
hi Thuan, You can take a look at opentaps, which is on top of ofbiz. And opentaps supports pentaho. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Apr 7, 2009 at 11:45 PM, Vu Hong Thuan thua...@gmail.com wrote: Hi all, I see that the reports in ofbiz is very simple. I want to integrate third-party report into ofbiz. I prefer pentaho. Could you give me some suggestion about the integration. Thanks.
Re: Have you ever integrated pentaho with ofbiz
hi Tim, Actually, pentaho technically can integrate with all database applications. But point here is pentaho is ready in opentaps but not in ofbiz. When I consider which one to go with if BI is a must, I still prefer opentaps. No offense. Just list my simple reason here :-) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, Apr 8, 2009 at 1:12 PM, Tim Ruppert tim.rupp...@hotwaxmedia.comwrote: If I were you, I'd probably talk with others in the community rather than moving to opentaps. There are people who have integrated pentaho into Apache OFBiz successfully too. I think that Marco Risaliti - one of the committers here did - but I can't remember if it was him for sure. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 - Michael Xu (xudong) dong...@wizitsoft.com wrote: hi Thuan, You can take a look at opentaps, which is on top of ofbiz. And opentaps supports pentaho. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Apr 7, 2009 at 11:45 PM, Vu Hong Thuan thua...@gmail.com wrote: Hi all, I see that the reports in ofbiz is very simple. I want to integrate third-party report into ofbiz. I prefer pentaho. Could you give me some suggestion about the integration. Thanks.
Re: Marketing OFBiz
hi Tim, Great job. Really look forward to seeing the new theme in trunk. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Mon, Mar 30, 2009 at 10:46 PM, Tim Ruppert tim.rupp...@hotwaxmedia.comwrote: As many of you know, coming out of ApacheCon US (and now ApacheCon EU), one of the main focuses was on the marketing and productizing of the OFBiz applications. Over the past few months, Erik Schuessler of Brainfood came up with an amazing new concept that I believe will allow OFBiz to continue to make a large splash in the ERP, ecommerce and custom software development space. A few of the desigerns at HotWax furthered his look and feel on the backend applications and docs.ofbiz.org sites in hopes that we can take full advantage of the press we're about to get for the upcoming release. I have created a number of issues to track the progress and thoughts of the community here: https://issues.apache.org/jira/browse/OFBIZ-2261 - ofbiz.apache.orgscreenshots https://issues.apache.org/jira/browse/OFBIZ-2262 - docs.ofbiz.orgscreenshots https://issues.apache.org/jira/browse/OFBIZ-2263 - backend theme to match ofbiz.apache.org You can also download the screenshots from this URL as well to get your juices flowing. http://download.hotwaxmedia.com/829705645/OFBizFaceliftScreenshots.zip We are looking forward to hearing everyone's thoughts and getting these changes and any of your modifications in before the release. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595