Re: No service to get party postal address

2009-09-18 Thread Vikas Mayur
I do not see any harm in adding a service if this is ultimately used and I see a scope of usage in various scripts written for profile and other pages. Vikas On Sep 18, 2009, at 2:54 AM, Jacques Le Roux wrote: There are ContactMechWorker.getCurrentPostalAddress ContactMechWorker.getPartyPo

Form in ofbiz

2009-09-18 Thread Anil Sharma
Hello Guys, I am new to ofbiz. We can generate a screen in two ways they are using FTL and Forms(ie XML). Can any one please tell me how this form are converted into screens. I really face difficulty with forms when I need to work with java-script Thanks, Anil Sharma -- View this message in con

Re: No service to get party postal address

2009-09-18 Thread Jacques Le Roux
Hi Abdullah, I had a quick look and it seems good. I will commit I guess. Thanks (and thank you to Sumit for the link and 1st review) Jacques From: "Abdullah Shaikh" I feel that we should have this service, 1) To get party's data, either we should have all the code in a class or all should

Convert form(XML)to FTL

2009-09-18 Thread Anil Sharma
Hello Guys, I am facing problem understanding form. I am planning to convert this forms into FTL.Can any one please tell me the process to convert forms into ftl and is this a good idea? Thanks, Anil Sharma -- View this message in context: http://www.nabble.com/Convert-form%28XML%29to-FTL-tp2

Re: modal forms in ofbiz

2009-09-18 Thread Ryan Foster
Erwan, The Prototype and Scriptaculous libraries are included in the OFBiz framework and there are many methods for creating modal windows using these libraries. The default back office theme (bizznesstime) uses modal windows for theme selection, language selection, and time selection.

How to Create Own Store

2009-09-18 Thread Jitender Kumar Maurya
Hi, can u please help : How to Create Own Store using ofbiz. wating for reply Thanks. Kumar

Re: No service to get party postal address

2009-09-18 Thread Abdullah Shaikh
Hi Jacques, I will provide the patch as discussed. Just to be sure, what I need to do is : 1) Create a service to get party postaladdress (getPartyPostalAddress) 2) Call this service from the ContactMechWorker.getCurrentPostalAddress & ContactMechWorker.getPartyPostalAddresses The patch that I

How change the currency in the store?

2009-09-18 Thread MarioF
Hi all, I am trying to change the currency of the store. From USD to EUR. I changed this value in the following places: - framework\common\config\general.properties: # -- the default currency to use for prices, etc currency.uom.id.default=EUR - Applications -> Catalog Manager -> Stores -> Loca

Re: No service to get party postal address

2009-09-18 Thread Abdullah Shaikh
I got confused. You meant that you will commit the already provided patch ?. I was having ContactMechWorker.getCurrentPostalAddress & ContactMechWorker.getPartyPostalAddresses, in my mind, what I was thinking was that to make the getPartyPostalAddress service in java by taking the code out of the

Re: modal forms in ofbiz

2009-09-18 Thread Erwan de FERRIERES
Le 17/09/2009 22:13, Malin Nicolas a écrit : Erwan de FERRIERES a écrit : Hi all, has anyone tried to implement modal forms in ofbiz ? i'm looking for something similar to this : http://jqueryui.com/demos/dialog/modal-form.html Thanks in advance, Yes you can look dojo lib or Flex, but for

Re: Form in ofbiz

2009-09-18 Thread Sumit Pandit
Hello Anil, At your browser, you can see html code generated by Form-Widget. That would help you. BTW in example component, you can find few examples which explains how to use JS in Form-Widget. -- Regards Sumit Pandit On 18-Sep-09, at 12:48 PM, Anil Sharma wrote: Hello Guys, I am new

Re: How to Create Own Store

2009-09-18 Thread Sumit Pandit
Hi Kumar, Please refer eCommerce - DemoProduct.xml. -- Thanks and Regards Sumit Pandit On 18-Sep-09, at 12:54 PM, Jitender Kumar Maurya wrote: Hi, can u please help : How to Create Own Store using ofbiz. wating for reply Thanks. Kumar

Re: How to Create Own Store

2009-09-18 Thread Vivek Mishra
Hello, For setting up your e-commerce store you need to start with basic data setup. Refer DemoProduct.xml file, in this file you will see the store data setup using "ProductStore" entity. Thanks! -- Vivek Jitender Kumar Maurya wrote: Hi, can u please help : How to Create Own Store using o

Re: How change the currency in the store?

2009-09-18 Thread Sumit Pandit
Hi, Did you changed the defaultCurrencyUomId in ProductStore? -- Regards Sumit Pandit On 18-Sep-09, at 1:09 PM, MarioF wrote: Hi all, I am trying to change the currency of the store. From USD to EUR. I changed this value in the following places: - framework\common\config\general.properti

Re: How change the currency in the store?

2009-09-18 Thread MarioF
Hi Sumit, Thanks for the answer. Yes, I changed the value defaultCurrencyUomId in ProductStore. I changed the value in three places and doesn't work fine. I don't know where is the problem. Sumit Pandit-3 wrote: > > Hi, > > Did you changed the defaultCurrencyUomId in ProductStore? > >

Re: No service to get party postal address

2009-09-18 Thread Jacques Le Roux
From: "Abdullah Shaikh" I got confused. You meant that you will commit the already provided patch ?. It was really a cursory review and I must I did not thought about generalising. I was having ContactMechWorker.getCurrentPostalAddress & ContactMechWorker.getPartyPostalAddresses, in my mind,

Re: modal forms in ofbiz

2009-09-18 Thread Jacques Le Roux
Hi Erwan, Look for "dual licencing" recent thread in dev ML, in one word, you can use it, but please check the thread Jacques From: "Erwan de FERRIERES" jquery and jquery UI are under a MIT licence or a GPL one, you just have to choose which one to use when working with it. - Erwan -

Re: No service to get party postal address

2009-09-18 Thread Abdullah Shaikh
cool I will do that it's more clear now On Fri, Sep 18, 2009 at 2:41 PM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: > From: "Abdullah Shaikh" > >> I got confused. You meant that you will commit the already provided patch >> ?. >> > > It was really a cursory review and I must I d

Re: How change the currency in the store?

2009-09-18 Thread Sumit Pandit
Hey I did change currency UOM id at following places and found the functionalities running properly - 1) ProductStore 2) PartyAcctgPreference (I am not sure this would be optional) 3) ProductPrice. Please try above if this can help you. -- Thanks And Regards Sumit Pandit On 18-Sep-09, at 2:1

Re: MCS in USD and POS in EUR???

2009-09-18 Thread Jacques Le Roux
Hi Terence, Yes most of the time it's easier to set 2 (or more) instances. I think it's why we don't have much use of currencies rate in OFBiz. Maybe this link can convince you http://markmail.org/thread/lhq4sea2cthcm6cd You may also want to set different prices with differents currencies, but

Re: How to Create Own Store

2009-09-18 Thread Mridul Pathak
Jitender, This should definitely help you: http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide -- Thanks & Regards Mridul Pathak Hotwax Media http://www.hotwaxmedia.com mridul.pat...@hotwaxmedia.com - direct: +91 - 942.592

Re: How change the currency in the store?

2009-09-18 Thread MarioF
Hi Sumit, The points 1) and 3) are already done, but I cannot find the PartyAcctgPreference. Can you point me where can I find it? Thanks, Mario. Sumit Pandit-3 wrote: > > Hey I did change currency UOM id at following places and found the > functionalities running properly - > > 1) Produc

Re: How change the currency in the store?

2009-09-18 Thread MarioF
Hi all, At the end it works. I go into the debug mode and saw that in ShoppingCartItem, in the updatePrice method, the cart.getCurrency() was USD. I changed the value of this (in Eclipse debug mode) to EUR and now seemt to work fine. Thanks all for your help, especially thanks to Sumit, Mario.

JavaPOS exception with Epson TM-T88IV USB receipt printer

2009-09-18 Thread Beat Luginbühl
G'day list members Not quite sure if this is the right place, but here we go. I have an Epson TM-T88IV USB receipt printer connected to a machine running on Ubuntu Linux. When trying to connect to the printer, I get the following exception: The port name is illegal. or couldn't be connected to

Re: JavaPOS exception with Epson TM-T88IV USB receipt printer

2009-09-18 Thread ngterry
I guess in "PortName", you have to fill in/replace by something like "usb", "com1", etc. Terence Beat Luginbühl wrote: > > G'day list members > Not quite sure if this is the right place, but here we go. > I have an Epson TM-T88IV USB receipt printer connected to a machine > running on Ubuntu

Re: No service to get party postal address

2009-09-18 Thread Scott Gray
I wouldn't attempt to call the service from the worker method, doing so would require that the be signature changed which means you have to deprecate the existing method and create a new one (which is a bit pointless because callers might as well call the service themselves). I would eithe

Re: No service to get party postal address

2009-09-18 Thread Mridul Pathak
+1 for using service to wrap the worker method. -- Thanks & Regards Mridul Pathak Hotwax Media http://www.hotwaxmedia.com mridul.pat...@hotwaxmedia.com - direct: +91 - 942.592.6892 On Fri, Sep 18, 2009 at 6:00 PM, Scott Gray wrote: > I wouldn't att

Re: No service to get party postal address

2009-09-18 Thread Abdullah Shaikh
Yes, initially I thought of that, i.e. to wrap the worker method by service, but both the methods expects ServletRequest object as the parameter. Regarding moving the code to the service, there is another issue, the getPartyPostalAddresses returns contactMech, partyContactMech & partyContactMechPu

Re: No service to get party postal address

2009-09-18 Thread Abdullah Shaikh
Yes, initially I thought of that, i.e. to wrap the worker method by service, but both the methods expects ServletRequest object as the parameter. Regarding moving the code to the service, there is another issue, the getPartyPostalAddresses returns contactMech, partyContactMech & partyContactMechPu

Re: No service to get party postal address

2009-09-18 Thread Scott Gray
Hmm those methods do look a little bit out of the ordinary, perhaps it might be better to just implement the service from scratch. Just be sure to follow the same patterns as used by the other ContactMech services. Regards Scott On 19/09/2009, at 12:57 AM, Abdullah Shaikh wrote: Yes, ini

Re: No service to get party postal address

2009-09-18 Thread Jacques Le Roux
Hi Scott, Abdullah, Sorry I was busy ans did not read well Abdullah's message. Why would we neet to change worker methods (there are 2 related methods there) ? In my mind we would simply call the simple method (as a service) from worker methods. Replacing/modifying the Java code by a sync ser

Re: No service to get party postal address

2009-09-18 Thread Jacques Le Roux
OK, back to beginning :o) Jacques From: "Scott Gray" Hmm those methods do look a little bit out of the ordinary, perhaps it might be better to just implement the service from scratch. Just be sure to follow the same patterns as used by the other ContactMech services. Regards Scott On

Re: JavaPOS exception with Epson TM-T88IV USB receipt printer

2009-09-18 Thread Jacques Le Roux
If you are using RS232-COM1, on Linux use /dev/ttyS0 Jacques From: "ngterry" I guess in "PortName", you have to fill in/replace by something like "usb", "com1", etc. Terence Beat Luginbühl wrote: G'day list members Not quite sure if this is the right place, but here we go. I have an Epso

Adding a custom date field to a product within a certain category

2009-09-18 Thread Simon Hutchinson
Hi all, One of the items that our store is going to sell are publications. I want to know the best way to add a new "date published" property for products that are created in the "publications" category. I have looked into extending the Product entity but this solution makes a product too

Proposal on French translations

2009-09-18 Thread Erwan de FERRIERES
Hi all, some of the uilabels which are referring to the Ids are labelled, for example for partyId "Réf. de l'acteur". I think this notation is a bit long, and it would be a good idea to reduce the label only to "Acteur". Lots of users know that "Acteur" near a textbox or on a column header mea

Re: Manufacturing documentation

2009-09-18 Thread Jacques Le Roux
I put a link in a comment at http://docs.ofbiz.org/x/bxw Jacques From: "Jacques Le Roux" Hi, This page http://web.archive.org/web/20070424204429/ofbizwiki.go-integral.com/Wiki.jsp?page=Manufacturing still exists and I'd like to know if it's still accurate (sounds like it is) and if we could no

Re: JavaPOS exception with Epson TM-T88IV USB receipt printer

2009-09-18 Thread Beat Luginbühl
I had a quick idea, did it and it works like a charm. I set /dev/usbtm0 as the PortName in jpos.xml und provided write permissions for others: $ sudo chmod 666 /dev/usbtm0 Another way could be to chown root:openbravo /dev/usbtm0 and put the users into this group. Hope this might help othe

Re: JavaPOS exception with Epson TM-T88IV USB receipt printer

2009-09-18 Thread Jacques Le Roux
Thanks Beat, I put it directly as a comment in in jpos.xml BTW why openbravo (kidding) ? Jacques From: "Beat Luginbühl" I had a quick idea, did it and it works like a charm. I set /dev/usbtm0 as the PortName in jpos.xml und provided write permissions for others: $ sudo chmod 666 /dev/usb

Re: How change the currency in the store?

2009-09-18 Thread Carsten Schinzer
Sounds like hard-coded. Are you sure? Option 2) is on Accounting Module, General Ledger settings for Company. Regards Carsten 2009/9/18 MarioF > > Hi all, > > At the end it works. I go into the debug mode and saw that in > ShoppingCartItem, in the updatePrice method, the cart.getCurrency()

Linkshare on OFBiz

2009-09-18 Thread su2
Hello All, Has anybody had setup Linshare Affiliate services on OFBiz? Thanks. Su- -- View this message in context: http://www.nabble.com/Linkshare-on-OFBiz-tp25515207p25515207.html Sent from the OFBiz - User mailing list archive at Nabble.com.

magic

2009-09-18 Thread Jacques Le Roux
I gave up today removing magic everyday in wiki Jacques