Re: using OpenCMS with ofbiz
Sorry, we don't have a demo server now. Thanks, Shi Jinghai/Beijing Langhua Ltd. Shi Jinghai, do you happen to have a demo server set up where we could view this? I bet that this would spur adoption if people saw an improved, yet integrated interface. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595
new to ofbiz
what technologies i need to learn to develop application using ofbiz -- View this message in context: http://www.nabble.com/new-to-ofbiz-tf3814608.html#a10798227 Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: using OpenCMS with ofbiz
Do you have a patch or anything you can submit to JIRA? I too would love to see this in action. If we can work through any license issues (I'm not sure of the OpenCMS license) it would be nice to include in the trunk. If not, we can always add it to the OFBiz extensions repository if you are interested! Andrew On May 25, 2007, at 2:40 AM, Shi Jinghai wrote: Sorry, we don't have a demo server now. Thanks, Shi Jinghai/Beijing Langhua Ltd. Shi Jinghai, do you happen to have a demo server set up where we could view this? I bet that this would spur adoption if people saw an improved, yet integrated interface. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 smime.p7s Description: S/MIME cryptographic signature
Re: using OpenCMS with ofbiz
The license is LGPL: http://www.opencms.org/opencms/en/support/faq.html OpenCms uses the lesser GNU general public license, or LGPL, version 2.1. Jacopo Andrew Zeneski wrote: Do you have a patch or anything you can submit to JIRA? I too would love to see this in action. If we can work through any license issues (I'm not sure of the OpenCMS license) it would be nice to include in the trunk. If not, we can always add it to the OFBiz extensions repository if you are interested! Andrew On May 25, 2007, at 2:40 AM, Shi Jinghai wrote: Sorry, we don't have a demo server now. Thanks, Shi Jinghai/Beijing Langhua Ltd. Shi Jinghai, do you happen to have a demo server set up where we could view this? I bet that this would spur adoption if people saw an improved, yet integrated interface. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595
compilation error
i created a new service in hello3 example here is code for that package org.ofbiz.hello3; import java.util.HashMap; import java.util.Map; import org.ofbiz.base.util.Debug;// uses Log4J import org.ofbiz.base.util.UtilMisc; // helpful utility for working with Maps, Lists, etc. import org.ofbiz.entity.GenericDelegator; import org.ofbiz.entity.GenericEntityException; import org.ofbiz.entity.GenericValue; import org.ofbiz.service.DispatchContext; import org.ofbiz.service.ServiceUtil; public class Hello3Services { public static final String module = Hello3Services.class.getName(); // used for debugging public static Map createHelloPerson(DispatchContext dctx, Map context) { GenericDelegator delegator = dctx.getDelegator(); // always passed in with DispatchContext try { String helloPersonId = delegator.getNextSeqId(HelloPerson); // gets next available key for HelloPerson Debug.logInfo(helloPersonId = + helloPersonId, module); // prints to the console or console.log GenericValue helloPerson = delegator.makeValue(HelloPerson, UtilMisc.toMap(helloPersonId, helloPersonId)); // create a GenericValue from ID we just got helloPerson.setNonPKFields(context); // move non-primary key fields from input parameters to GenericValue delegator.create(helloPerson); // store the generic value, ie persists it Map result = ServiceUtil.returnSuccess(); // gets standard Map for successful service operations result.put(helloPersonId, helloPersonId); // puts output parameter into Map to return return result; // return Map } catch (GenericEntityException ex) { // required if you use delegator in Java return ServiceUtil.returnError(ex.getMessage()); } } public static Map findHelloPerson(DispatchContext dctx, Map Context) { return context; } } i get following compilation error [javac] /home/vinod/Desktop/amit/ofbiz/hot-deploy/hello3/src/org/ofbiz/hello3/Hello3Services.java:30: package org.ofbiz.base.util does not exist [javac] import org.ofbiz.base.util.Debug;// uses Log4J [javac]^ [javac] /home/vinod/Desktop/amit/ofbiz/hot-deploy/hello3/src/org/ofbiz/hello3/Hello3Services.java:31: package org.ofbiz.base.util does not exist [javac] import org.ofbiz.base.util.UtilMisc; // helpful utility for working with Maps, Lists, etc. [javac]^ [javac] /home/vinod/Desktop/amit/ofbiz/hot-deploy/hello3/src/org/ofbiz/hello3/Hello3Services.java:47: cannot find symbol [javac] symbol : variable Debug [javac] location: class org.ofbiz.hello3.Hello3Services [javac] Debug.logInfo(helloPersonId = + helloPersonId, module); // prints to the console or console.log [javac] ^ [javac] /home/vinod/Desktop/amit/ofbiz/hot-deploy/hello3/src/org/ofbiz/hello3/Hello3Services.java:49: cannot find symbol [javac] symbol : variable UtilMisc [javac] location: class org.ofbiz.hello3.Hello3Services [javac] UtilMisc.toMap(helloPersonId, helloPersonId)); // create a GenericValue from ID we just got [javac] ^ [javac] /home/vinod/Desktop/amit/ofbiz/hot-deploy/hello3/src/org/ofbiz/hello3/Hello3Services.java:45: cannot access org.ofbiz.base.util.GeneralException [javac] file org/ofbiz/base/util/GeneralException.class not found [javac] try { [javac] ^ -- View this message in context: http://www.nabble.com/compilation-error-tf3815449.html#a10800864 Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: call-simple-method to allow for call stack and private scope?
It would have to be an option specified in an attribute or something. Most of the code that uses this expects it to be an in-line call and share the same scope, basically running as if the code were inserted where the call-simple-method tag is. Changing the default behavior would break a lot of stuff, so we won't be doing that. Adding an option to run in a separate scope is fine (the MapStack in OFBiz used by the Screen Widget and other things is helpful for this). -David Jonathon -- Improov wrote: Does call-simple-method call a simple-method that has private scope and local variables? I gather not. If not, is it alright to do so? I don't mind submitting the code for this. Yes, I understand that services are the right way to go. But if it's not too much trouble, do we mind adding private scope and local variables to simple-methods called via call-simple-method? Any repercussions? Jonathon
Party specific security control
Hi, I am very new to OFbiz (discovered it very recently). It is a treasure trove. :-) Have been dabbling with it for a brief while now and looking to learn more about security and access control. I am trying to work out a multi-organization hosted model scenario and as such would like to limit all users to their party related data only. For example an order Entry for a user 'User A' for Company 'A' should not be visible to 'userB' for 'CompanyB'. Exceptions could be if 'CompanyB' is the customer for the order, in which case 'userB' should be able to see the same. I played around with some examples but couldn't get this kind of control.. All orders created seem to be visible to ALL. Going through some of the documentation I found some reference to control based on Party. http://ofbizwiki.go-integral.com/Wiki.jsp?page=SecurityAdministration The above link seems to suggest Category #2 (Party-driven) as a feature, but can't figure out how it works.. Would really appreciate if anyone has any inputs. Thanks Sandeep PS: Just started looking at SharedOFBiz to see if that throws up something.
Entity error
Hi all - I get the following error when I try this: entity-condition entity-name=modelNumber delegator-name=partslookup list-name=models condition-expr field-name=modelValue env-name=modelValue/ order-by field-name=modelnu/ /entity-condition error: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#DisplayFoundModels]: java.lang.IllegalArgumentException: Error in Entity Find: could not find entity with name [modelNumber] (Error in Entity Find: could not find entity with name [modelNumber]) entity-def: entity-group group=org.ofbiz.lookup entity=ModelNumber/ delegator-def: delegator name=partslookup entity-model-reader=main entity-group-reader=main entity-eca-reader=main group-map group-name=org.ofbiz.lookup datasource-name=lookuppostgres/ /delegator The entity engine does create the table in the remote database using the correct delegator. Do I need to set the delegator someother place? Rick
Re: Entity error
before looking into it closer, is your entity name modelNumber or ModelNumber? If it follows other ofbiz convention, entity names are upper camel case (UpperCamelCase) and not lower camel case (lowerCamelCase) --- Richard Fleming [EMAIL PROTECTED] wrote: Hi all - I get the following error when I try this: entity-condition entity-name=modelNumber delegator-name=partslookup list-name=models condition-expr field-name=modelValue env-name=modelValue/ order-by field-name=modelnu/ /entity-condition error: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#DisplayFoundModels]: java.lang.IllegalArgumentException: Error in Entity Find: could not find entity with name [modelNumber] (Error in Entity Find: could not find entity with name [modelNumber]) entity-def: entity-group group=org.ofbiz.lookup entity=ModelNumber/ delegator-def: delegator name=partslookup entity-model-reader=main entity-group-reader=main entity-eca-reader=main group-map group-name=org.ofbiz.lookup datasource-name=lookuppostgres/ /delegator The entity engine does create the table in the remote database using the correct delegator. Do I need to set the delegator someother place? Rick
Re: using OpenCMS with ofbiz
From what I can see, there is still no file to download on Sourceforge. Please correct me if I'm wrong. Tim Ruppert wrote: Here's Shi's original email to the dev list which will probably point us to the patches: Hi list, I just uploaded the source code and OpenCms module to sourceforge.net: https://sourceforge.net/projects/opencms-ofbiz Using this module, you can setup an opencms ecommerce website easily. There are 3 major pathes under /opencms-ofbiz/trunk/ in cvs: rmiclient: there's an opencms module file in rmiclient/moduels/. The rmi client source code is under this folder. rmiservice: copy this fold to ${ofbiz-home}/specialpurpose/ and add to ofbiz as a module and rebuild ofbiz. sslcert: create jks files for RMI server and client. If you find any bugs in this module, please send an email to me or to this list. Thanks. Regards, Shi Yusen/Beijing Langhua Ltd. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On May 25, 2007, at 1:24 AM, Andrew Zeneski wrote: Do you have a patch or anything you can submit to JIRA? I too would love to see this in action. If we can work through any license issues (I'm not sure of the OpenCMS license) it would be nice to include in the trunk. If not, we can always add it to the OFBiz extensions repository if you are interested! Andrew On May 25, 2007, at 2:40 AM, Shi Jinghai wrote: Sorry, we don't have a demo server now. Thanks, Shi Jinghai/Beijing Langhua Ltd. Shi Jinghai, do you happen to have a demo server set up where we could view this? I bet that this would spur adoption if people saw an improved, yet integrated interface. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 -- View this message in context: http://www.nabble.com/using-OpenCMS-with-ofbiz-tf3810868.html#a10810321 Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: using OpenCMS with ofbiz
There is code in their CVS http://opencms-ofbiz.cvs.sourceforge.net/opencms-ofbiz/opencms-ofbiz/trunk/ --- Scott A [EMAIL PROTECTED] wrote: From what I can see, there is still no file to download on Sourceforge. Please correct me if I'm wrong. Tim Ruppert wrote: Here's Shi's original email to the dev list which will probably point us to the patches: Hi list, I just uploaded the source code and OpenCms module to sourceforge.net: https://sourceforge.net/projects/opencms-ofbiz Using this module, you can setup an opencms ecommerce website easily. There are 3 major pathes under /opencms-ofbiz/trunk/ in cvs: rmiclient: there's an opencms module file in rmiclient/moduels/. The rmi client source code is under this folder. rmiservice: copy this fold to ${ofbiz-home}/specialpurpose/ and add to ofbiz as a module and rebuild ofbiz. sslcert: create jks files for RMI server and client. If you find any bugs in this module, please send an email to me or to this list. Thanks. Regards, Shi Yusen/Beijing Langhua Ltd. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On May 25, 2007, at 1:24 AM, Andrew Zeneski wrote: Do you have a patch or anything you can submit to JIRA? I too would love to see this in action. If we can work through any license issues (I'm not sure of the OpenCMS license) it would be nice to include in the trunk. If not, we can always add it to the OFBiz extensions repository if you are interested! Andrew On May 25, 2007, at 2:40 AM, Shi Jinghai wrote: Sorry, we don't have a demo server now. Thanks, Shi Jinghai/Beijing Langhua Ltd. Shi Jinghai, do you happen to have a demo server set up where we could view this? I bet that this would spur adoption if people saw an improved, yet integrated interface. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 -- View this message in context: http://www.nabble.com/using-OpenCMS-with-ofbiz-tf3810868.html#a10810321 Sent from the OFBiz - User mailing list archive at Nabble.com.
opentravelsystem
Hi All, When reading about details in opentravelsystem.org we can see that it uses the open travel standard, does this mean that if I deploy ofbiz for a customer who is a travel agency, he can update the reservation data about airline tickets or rooms of his suppliers regularly using web services. Can the system replace for instance the Amadeus system that is used widely by our travel agencies in algeria to book airline tickets and hotel rooms worlwide for their customers? Thanks for the reply in advance. Amine.
Resolve conflictign jars
I am working on an Xindice xml database integration that depends on xmlrpc-1.1.jar. This conflicts with the recently added xmlrpc-common-3.0.jar in the webapp libs. What are my options?
Linking Purchase/Sales Invoice with Customer Return Invoice?
Hi everyone, Here's a question that seems basic but I can't seem to find the answer in the documentations. I have users who wants to link Purchase/Sales invoice with Customer Return invoices, basically counting the CR invoices as a sort of payment. I saw the code that calculate the total amount, applied amount (and hence unapplied amount) of an invoice and they only take PaymentApplication into account and nothing else. Here's a use case that we're running into: A Purchase Invoice has been posted. Before we pay it, we realize the vendor is overcharging us, so ideally, we want to create a CR invoice, attach it to the Purchase Invoice and when we pay the reminder (through Payment and PaymentApplication), the invoice can be moved to Paid state. Is this something that opentaps/ofbiz supports? Also, since I'm a neophyte in both opentaps and accounting in general, is this usually a generally accepted practice? thanks, wan