Re: How to contribute
Should we create a Confluence page where these are managed as add-ons ? -Bruno 2010/1/13 Hans Bakker mailingl...@antwebsystems.com: It looks like this is an interface to a commercial product. Why not simply distribute this interface with your product because the interface is only useful with the product? On Wed, 2010-01-13 at 07:19 +0100, Enrique Ruiz-Valenciano wrote: Hi all, We have developed an addon to integrate Strands Recommender (http://recommender.strands.com/). We (DiSiD Strands) would like to contribute it to OFBiz but I don't know which is the process to do it. Can anyone send me doc/link/contact to contribute to OFBiz project? Thanks. -- Antwebsystems.com: Quality OFBiz services for competitive rates
Re: How to contribute
Hi Hans, The reason to contribute it to OFBiz is because we think it would be a good new feature for OFBiz. You are right, the recommendation is done by the Strands Recommender (commercial) but you are free to use this addon. I think it is similar to use UPS, DHL or FEDEX, eBay, Google Checkout, etc. Regards. It looks like this is an interface to a commercial product. Why not simply distribute this interface with your product because the interface is only useful with the product? On Wed, 2010-01-13 at 07:19 +0100, Enrique Ruiz-Valenciano wrote: Hi all, We have developed an addon to integrate Strands Recommender (http://recommender.strands.com/). We (DiSiD Strands) would like to contribute it to OFBiz but I don't know which is the process to do it. Can anyone send me doc/link/contact to contribute to OFBiz project? Thanks.
workeffort data modeling questions
Hi Forum, I have a requirement to represent some legal concepts in ofbiz. We are still clarifying the business data model, but roughly, we have a (court) hearing which consists of: - reading time - hearing duration - judgement time The hearing such as Smith vs. Jones will have a judge (i.e. party) associated it. The hearing duration will have a facility (court room) associated with it. The hearing duration may have audio/visual resources equipment (assets) associated with it. A hearing is associated with one case. I was thinking of extending WorkEffort to add the case id, then have a Work Effort to represent the Hearing and children WorkEffort's to represent the Reading Time, Hearing Duration and Judgement Time? Does this use of WorkEffort make sense in ofbiz? Many thanks in advance, Chris
Re: Projects, proposals ... also here?
Hello Carsten, Do you have already more information? regards, Heidi info.ola...@gmail.com 2010/1/12 Sharan-F sharan.f...@gmail.com Hi Carsten / Heidi If you need any help on OFBiz accounting then I'm happy to help. I've written a lot of the online help for the accounting module that's included as part of the trunk. The downside is that I dont speak German but do speak English and French fluently. Thanks Sharan Info Olagos wrote: Hello Carsten, PS.: My collegue speaks perfect German and Austrian . (20 year experience and lived in Germany). I am interested in working together with you. We have experience with the catalogue manager with multilingual product and page content. We are at the moment implementing and modifying http://www.olagos.eu/ecommerce/control/main for having a specific graphical layout as you can see in our trial which is also online at the moment. We have not yet experience in the accounting module. However we have experience in the inventory module. We speak also fluently French, Flemish, German, Austrian and English. Looking further, Heidi 2010/1/12 Carsten Schinzer c.schin...@googlemail.com Hi Heidi, they are end users (yeah, the real business guys; very close to zero clue of technology; have the budget, want the service to run and produce revenue for them ;-). In the first releases we will use: 1) Shop setup using i18n, hence namely: * Catalogue Management * CMS (for product and page content) * ecommerce (slightly customized) 2) Product website using the CMS features * Catalogue Management (for product data structure) * Content Management -- Later this site will be offering requests for proposals using OFBiz Order Management With both sites I expect localizations/customizations to German accounting (legislation, general ledger standards) later. Then also accounting module will be used. Even farther down the road, the supply chain stuff (Facility Inventory combined with workflow elements) is of interest as well. Let me know if you have further questions. Regards Carsten 2010/1/12 Info Olagos info.ola...@gmail.com Hello, A few questions: a) Are these customers endusers or a kind of developers? b) Which components of ofbiz will you use ? Regards, Heidi (i speak fluently german and austrian) 2010/1/12 Carsten Schinzer c.schin...@googlemail.com All, I do not want to bother you guys with the typical commercial mailings here: Any suggestions, where to post requests for proposals that are related to OFBiz? Concretely, I have two customers who want to use OFBiz, but will need help in the graphical layout and visual theme customisation (which I cannot deliver myself). Also, I am myself looking for a handful of people that would be able to help me with stand ins when I am unavailable for urgent support requests (I am providing a Managed Service model to my customers). Any hints? Tips? Replies? Let me know! Warm regards Carsten Schinzer PS: Note that in both of the abovementioned cases, native (or fluent) German language skills are a must. -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany -- View this message in context: http://n4.nabble.com/Projects-proposals-also-here-tp1012173p1012520.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Minimum Order Value
Hello Ofbiz-Users, how can I realize a Minimum Order Value process in Ofbiz? I mean, a order should only be possible if the order value is, let's say over 100 Dollar! Does someone has a solution for that? Thank you very much Mahesh
Conversion of sql query
Hi list, I have a sql query and I want to do the same with ofbiz entity model. The query is as follows: select p.* from product_attribute pa1,product_attribute pa2, product p where pa1.attr_name = 'language' and pa1.attr_value ='english' and pa2.attr_name = 'genres' and pa2.attr_value ='Romance' and pa1.product_id = pa2.product_id and pa1.product_id = p.product_id Please help if someone has any idea for doing so. Thanks in advance. Thanks and Regards Santosh Malviya
Re: Conversion of sql query
Hi Santosh , Create the view entity for all your tables and use delegator.findByCondition method. With regards, S K Pradeep kumar, On Wed, Jan 13, 2010 at 6:05 PM, Santosh Malviya santosh.of...@gmail.comwrote: Hi list, I have a sql query and I want to do the same with ofbiz entity model. The query is as follows: select p.* from product_attribute pa1,product_attribute pa2, product p where pa1.attr_name = 'language' and pa1.attr_value ='english' and pa2.attr_name = 'genres' and pa2.attr_value ='Romance' and pa1.product_id = pa2.product_id and pa1.product_id = p.product_id Please help if someone has any idea for doing so. Thanks in advance. Thanks and Regards Santosh Malviya
accounting
Hello, About accounting: a) Is it easy to change the ledger accounts to another schema used in another country for example? b) Has anyone already implemented the ledger schema used in Belgium in ofbiz? c) How to configure the journals for example a vendor journal and a buy journal and a bank journal? thanks, Heidi
Re: Conversion of sql query
Hi Pradeep, I did the same but in my view entity only one field for each attrName and attrValue, while I want two different attrName and attrValue, it may be because of over writing the fields. Following is my configuration: - view-entity entity-name=ProductAttrAndProductAttrAndProduct package-name=org.ofbiz.product.product title=ProductAttr And ProductAttr And Product View Entity member-entity entity-alias=PROD entity-name=Product/ member-entity entity-alias=PRODATTR1 entity-name=ProductAttribute/ member-entity entity-alias=PRODATTR2 entity-name=ProductAttribute/ alias-all entity-alias=PROD/ alias-all entity-alias=PRODATTR1 / alias-all entity-alias=PRODATTR2 / view-link entity-alias=PROD rel-entity-alias=PRODATTR1 key-map field-name=productId/ /view-link view-link entity-alias=PRODATTR1 rel-entity-alias=PRODATTR2 key-map field-name=productId/ /view-link /view-entity Thanks and Regards Santosh Malviya On Wed, Jan 13, 2010 at 6:13 PM, S K Pradeep kumar s.k.pradeepku...@gmail.com wrote: Hi Santosh , Create the view entity for all your tables and use delegator.findByCondition method. With regards, S K Pradeep kumar, On Wed, Jan 13, 2010 at 6:05 PM, Santosh Malviya santosh.of...@gmail.com wrote: Hi list, I have a sql query and I want to do the same with ofbiz entity model. The query is as follows: select p.* from product_attribute pa1,product_attribute pa2, product p where pa1.attr_name = 'language' and pa1.attr_value ='english' and pa2.attr_name = 'genres' and pa2.attr_value ='Romance' and pa1.product_id = pa2.product_id and pa1.product_id = p.product_id Please help if someone has any idea for doing so. Thanks in advance. Thanks and Regards Santosh Malviya
Re: Conversion of sql query
Hello Santosh, See my comment inline. On Wed, Jan 13, 2010 at 6:34 PM, Santosh Malviya santosh.of...@gmail.comwrote: Hi Pradeep, I did the same but in my view entity only one field for each attrName and attrValue, while I want two different attrName and attrValue, it may be because of over writing the fields. Following is my configuration: - view-entity entity-name=ProductAttrAndProductAttrAndProduct package-name=org.ofbiz.product.product title=ProductAttr And ProductAttr And Product View Entity member-entity entity-alias=PROD entity-name=Product/ member-entity entity-alias=PRODATTR1 entity-name=ProductAttribute/ member-entity entity-alias=PRODATTR2 entity-name=ProductAttribute/ alias-all entity-alias=PROD/ alias-all entity-alias=PRODATTR1 / alias-all entity-alias=PRODATTR2 / Try to use the prefix attribute in alias-all tag Ex : - alias-all entity-alias=PRODATTR2 prefix=xyz/ HTH -- -- Thanks Regards Awdesh Singh Parihar Hotwax Media http://www.hotwaxmedia.com awdesh.pari...@hotwaxmedia.com - direct: +91 - 989.335.1789
Re: Conversion of sql query
Thanks Awdesh, I'll give it a try. Thanks and Regards Santosh Malviya On Wed, Jan 13, 2010 at 6:48 PM, Awdesh Parihar awdesh.hot...@gmail.comwrote: Hello Santosh, See my comment inline. On Wed, Jan 13, 2010 at 6:34 PM, Santosh Malviya santosh.of...@gmail.com wrote: Hi Pradeep, I did the same but in my view entity only one field for each attrName and attrValue, while I want two different attrName and attrValue, it may be because of over writing the fields. Following is my configuration: - view-entity entity-name=ProductAttrAndProductAttrAndProduct package-name=org.ofbiz.product.product title=ProductAttr And ProductAttr And Product View Entity member-entity entity-alias=PROD entity-name=Product/ member-entity entity-alias=PRODATTR1 entity-name=ProductAttribute/ member-entity entity-alias=PRODATTR2 entity-name=ProductAttribute/ alias-all entity-alias=PROD/ alias-all entity-alias=PRODATTR1 / alias-all entity-alias=PRODATTR2 / Try to use the prefix attribute in alias-all tag Ex : - alias-all entity-alias=PRODATTR2 prefix=xyz/ HTH -- -- Thanks Regards Awdesh Singh Parihar Hotwax Media http://www.hotwaxmedia.com awdesh.pari...@hotwaxmedia.com - direct: +91 - 989.335.1789
Re: workeffort data modeling questions
A case could be considered a project in OFBiz. You could customize the project manager to change the terminology. -Adrian Christopher Snow wrote: Hi Forum, I have a requirement to represent some legal concepts in ofbiz. We are still clarifying the business data model, but roughly, we have a (court) hearing which consists of: - reading time - hearing duration - judgement time The hearing such as Smith vs. Jones will have a judge (i.e. party) associated it. The hearing duration will have a facility (court room) associated with it. The hearing duration may have audio/visual resources equipment (assets) associated with it. A hearing is associated with one case. I was thinking of extending WorkEffort to add the case id, then have a Work Effort to represent the Hearing and children WorkEffort's to represent the Reading Time, Hearing Duration and Judgement Time? Does this use of WorkEffort make sense in ofbiz? Many thanks in advance, Chris
Re: Unable to acquire a new connection from the pool
Hi Juan Pablo, I am having the same problem in my ofbiz instance till earlier of December, 2009. In my case I am using MySQL as database. After a long research on the database, we identified that *idle connection time outs* are happening with MySQL. If you are using MySQL as database, after changing configuration settings for idle connection in mysql, we haven't face this problem from then. On Wed, Jan 13, 2010 at 12:35 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: From: rohit rohitksur...@yahoo.com Hi, Please also check the jobsandbox database for any service not properly terminated, for eg. they are still in the running status. i had a lot of problem with us service not ending properly. even with the latest code running i have to manually delete some running process on the database. Each running process seems to block 1 - 2 pool connection and hence the error. currently for eg. the sendorderconfirmation email gets stuck as a running process for a long time. A Jira issue is pending for that https://issues.apache.org/jira/browse/OFBIZ-2974 Jacques Hope it help. Rohit Juan Pablo wrote: Hi Community. Today I had a lot of error messages when I execute some operations: Update Product, Facility Receipt, etc. This is one of the error messages: -- Error en la llamada el evento: org.ofbiz.webapp.event.EventHandlerException: Service invocation error (Could not commit transaction for service [updateProduct] call: Roll back error, could not commit transaction, was rolled back instead because of: Failure in findByCondition operation for entity [ProductDimension]: org.ofbiz.entity.GenericDataSourceException: Unable to esablish a connection with the database. (Unable to acquire a new connection from the pool). Rolling back transaction.org.ofbiz.entity.GenericDataSourceException: Unable to esablish a connection with the database. (Unable to acquire a new connection from the pool) (Unable to esablish a connection with the database. (Unable to acquire a new connection from the pool))) -- I understand that the main erro is Unable to acquire a new connection from the pool but I don´t understand how I can resolve. I use a local installation with a unique user! Thaks. -- Juan Pablo -- View this message in context: http://n4.nabble.com/Unable-to-acquire-a-new-connection-from-the-pool-tp1012609p1012691.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Thanks, Kumaraswamy.N 91-9866805250.
Re: accounting
I have done some prestudy on this, but actually I would really also like to understand whether anyone on the list has done such thing. I can forward a brief analysis that at least by Entity dataset assesses what needs to be change for customisation vs. localization. And I have started to work on adopting the GL structure for Germany. E.g. there is specific legislation as to how the Annual Balance sheet should be structured and we do also have an organisation in the german market which defines an Accoutnign Scheme (DATEV) that is implemented in most commercial accounting tools. I would like to get OFBiz using that scheme as well. So maybe if we do not find anyone, we start collaborating on this matter. I have started to depict certain aspects on a Technical Guide on the WIKI: http://cwiki.apache.org/confluence/display/OFBIZ/Guide+to+OFBiz-i18n%2C++Internationalisation+of+OFBiz Feel free to comment and adapt according to your findings. Also please let me know whether I need to explain more. Note that the doc is W.I.P. hence any feedback is welcome and appreciated. Regards Carsten 2010/1/13 Info Olagos info.ola...@gmail.com Hello, About accounting: a) Is it easy to change the ledger accounts to another schema used in another country for example? b) Has anyone already implemented the ledger schema used in Belgium in ofbiz? c) How to configure the journals for example a vendor journal and a buy journal and a bank journal? thanks, Heidi -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany
Re: Minimum Order Value
not sure you can do it OOTB, but the https://demo.ofbiz.org/catalog/control/FindProductPromo would be where I would attempt to make this work. Mahesh Bachchan sent the following on 1/13/2010 3:44 AM: Hello Ofbiz-Users, how can I realize a Minimum Order Value process in Ofbiz? I mean, a order should only be possible if the order value is, let's say over 100 Dollar! Does someone has a solution for that? Thank you very much Mahesh
Re: accounting
There are a couple that are very knowledgeable about this. here is what I know. in the demo data that loads you can use that as a model to make you own GL. the ledgers you call out are functional another way and are not called by those names. Info Olagos sent the following on 1/13/2010 5:03 AM: Hello, About accounting: a) Is it easy to change the ledger accounts to another schema used in another country for example? b) Has anyone already implemented the ledger schema used in Belgium in ofbiz? c) How to configure the journals for example a vendor journal and a buy journal and a bank journal? thanks, Heidi
Re: accounting
Hello Karsten, Yes it is interesting for me also to work together on accounting. I want to have an idea how the ledger is structured in Germany. I think as you said it is also like in Belgium legally binded. But i don´t find the legally minimum of the ledger or Hauptbuch from Germany. Can you spot on an copy of the Hauptbuch for me ? So i can compare the ledger of Germany with the ledger of Belgium. That is a first step, i think. PS.: nice document you made in the wiki. regards, Heidi 2010/1/13 Carsten Schinzer c.schin...@googlemail.com I have done some prestudy on this, but actually I would really also like to understand whether anyone on the list has done such thing. I can forward a brief analysis that at least by Entity dataset assesses what needs to be change for customisation vs. localization. And I have started to work on adopting the GL structure for Germany. E.g. there is specific legislation as to how the Annual Balance sheet should be structured and we do also have an organisation in the german market which defines an Accoutnign Scheme (DATEV) that is implemented in most commercial accounting tools. I would like to get OFBiz using that scheme as well. So maybe if we do not find anyone, we start collaborating on this matter. I have started to depict certain aspects on a Technical Guide on the WIKI: http://cwiki.apache.org/confluence/display/OFBIZ/Guide+to+OFBiz-i18n%2C++Internationalisation+of+OFBiz Feel free to comment and adapt according to your findings. Also please let me know whether I need to explain more. Note that the doc is W.I.P. hence any feedback is welcome and appreciated. Regards Carsten 2010/1/13 Info Olagos info.ola...@gmail.com Hello, About accounting: a) Is it easy to change the ledger accounts to another schema used in another country for example? b) Has anyone already implemented the ledger schema used in Belgium in ofbiz? c) How to configure the journals for example a vendor journal and a buy journal and a bank journal? thanks, Heidi -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany
Re: accounting
If I had time this would interest me as well, though in France there is already Neogia with its own implementation, and even now an implementation for SME (TerCompta) Sometimes I wonder if Jacopo will not work on this one day for Italia... I have also the felling that in EU the ledger are similar, isn'it? Also Carstein, I quickly saw that you put a Taxes section in your document. I suppose you are aware about the VAT page in the wiki? Jacques From: Info Olagos info.ola...@gmail.com Hello Karsten, Yes it is interesting for me also to work together on accounting. I want to have an idea how the ledger is structured in Germany. I think as you said it is also like in Belgium legally binded. But i don´t find the legally minimum of the ledger or Hauptbuch from Germany. Can you spot on an copy of the Hauptbuch for me ? So i can compare the ledger of Germany with the ledger of Belgium. That is a first step, i think. PS.: nice document you made in the wiki. regards, Heidi 2010/1/13 Carsten Schinzer c.schin...@googlemail.com I have done some prestudy on this, but actually I would really also like to understand whether anyone on the list has done such thing. I can forward a brief analysis that at least by Entity dataset assesses what needs to be change for customisation vs. localization. And I have started to work on adopting the GL structure for Germany. E.g. there is specific legislation as to how the Annual Balance sheet should be structured and we do also have an organisation in the german market which defines an Accoutnign Scheme (DATEV) that is implemented in most commercial accounting tools. I would like to get OFBiz using that scheme as well. So maybe if we do not find anyone, we start collaborating on this matter. I have started to depict certain aspects on a Technical Guide on the WIKI: http://cwiki.apache.org/confluence/display/OFBIZ/Guide+to+OFBiz-i18n%2C++Internationalisation+of+OFBiz Feel free to comment and adapt according to your findings. Also please let me know whether I need to explain more. Note that the doc is W.I.P. hence any feedback is welcome and appreciated. Regards Carsten 2010/1/13 Info Olagos info.ola...@gmail.com Hello, About accounting: a) Is it easy to change the ledger accounts to another schema used in another country for example? b) Has anyone already implemented the ledger schema used in Belgium in ofbiz? c) How to configure the journals for example a vendor journal and a buy journal and a bank journal? thanks, Heidi -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany
Re: accounting
Bonjour Jacques, I guess or i hope the ledgers in the different european countries are the same, but it is the first task i want to perform. Bien à vous, Heidi 2010/1/13 Jacques Le Roux jacques.le.r...@les7arts.com If I had time this would interest me as well, though in France there is already Neogia with its own implementation, and even now an implementation for SME (TerCompta) Sometimes I wonder if Jacopo will not work on this one day for Italia... I have also the felling that in EU the ledger are similar, isn'it? Also Carstein, I quickly saw that you put a Taxes section in your document. I suppose you are aware about the VAT page in the wiki? Jacques From: Info Olagos info.ola...@gmail.com Hello Karsten, Yes it is interesting for me also to work together on accounting. I want to have an idea how the ledger is structured in Germany. I think as you said it is also like in Belgium legally binded. But i don´t find the legally minimum of the ledger or Hauptbuch from Germany. Can you spot on an copy of the Hauptbuch for me ? So i can compare the ledger of Germany with the ledger of Belgium. That is a first step, i think. PS.: nice document you made in the wiki. regards, Heidi 2010/1/13 Carsten Schinzer c.schin...@googlemail.com I have done some prestudy on this, but actually I would really also like to understand whether anyone on the list has done such thing. I can forward a brief analysis that at least by Entity dataset assesses what needs to be change for customisation vs. localization. And I have started to work on adopting the GL structure for Germany. E.g. there is specific legislation as to how the Annual Balance sheet should be structured and we do also have an organisation in the german market which defines an Accoutnign Scheme (DATEV) that is implemented in most commercial accounting tools. I would like to get OFBiz using that scheme as well. So maybe if we do not find anyone, we start collaborating on this matter. I have started to depict certain aspects on a Technical Guide on the WIKI: http://cwiki.apache.org/confluence/display/OFBIZ/Guide+to+OFBiz-i18n%2C++Internationalisation+of+OFBiz Feel free to comment and adapt according to your findings. Also please let me know whether I need to explain more. Note that the doc is W.I.P. hence any feedback is welcome and appreciated. Regards Carsten 2010/1/13 Info Olagos info.ola...@gmail.com Hello, About accounting: a) Is it easy to change the ledger accounts to another schema used in another country for example? b) Has anyone already implemented the ledger schema used in Belgium in ofbiz? c) How to configure the journals for example a vendor journal and a buy journal and a bank journal? thanks, Heidi -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany
RE: svn commit: r897605 - in /ofbiz/trunk/framework/entity/src/org/ofbiz/entity: datasource/GenericDAO.java util/EntityListIterator.java
Hi, I don't think this commit is compatible with older database created by ofbiz. For eg. if you update the code without recreating the ofbiz database you get error as in http://n4.nabble.com/Error-in-product-search-result-when-using-multiple-keywords-td1012687.html#a1012687 I had to reverse this commit to remove the error. I guess there might be a better way to do this than to drop and recreate the tables for this commit to work. Rohit -- View this message in context: http://n4.nabble.com/RE-svn-commit-r897605-in-ofbiz-trunk-framework-entity-src-org-ofbiz-entity-datasource-GenericDAO-java-tp1013432p1013432.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Not able to locate OFBiz Tutorial in the wiki document list
Hello Team, On the OFBiz Tutorial http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide page bread crumbs say Dashboard http://cwiki.apache.org/confluence/dashboard.actionOFBiz (Open For Business) Project Open Wiki OFBiz Tutorial - A Beginners Development Guide http://cwiki.apache.org/confluence/display/OFBIZ But when I try to access OFBiz (Open For Business) Project Open http://cwiki.apache.org/confluence/display/OFBIZ Wiki it doesn't show OFBiz tutorial document in the list. Can anybody please provide a pointer on this? Thanks in advance. --- Kind Regards Pranay Pandey HotWax Media | www.hotwaxmedia.com
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