Re: Question: Free available skeleton of simple shop and portal solution based on OFBiz
Hi Mark, what in particular are you looking for? As mentioned previously, the problem if you just want to create a simple store is that you are probably going to have to rely on a third party application (of which only a few are free) or going to invest your time into reducing the already available ecommerce application to what is needed. I myself began learning ofbiz that way, btw, by using eCommerce as a basis and reducing it to my needs. So I would say its not a bad start. If you just want to hit it off, however, I would propose to contact one of the agencies (mine or otherwise) to discuss this further. With regards to books: I am referring to both http://www.packtpub.com/apache-ofbiz-development-beginners-tutorial/book and https://www.packtpub.com/apache-of-biz-cookbook-effective-recipes-for-of-biz/book Both I can recommend, though they target different audiences each. Ruths advice on myofbiz.org is also really good - she has a lot of sources there, too. Cheers, Paul -- View this message in context: http://ofbiz.135035.n4.nabble.com/Question-Free-available-skeleton-of-simple-shop-and-portal-solution-based-on-OFBiz-tp4637176p4637600.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Question: Free available skeleton of simple shop and portal solution based on OFBiz
Hi Mark, sorry for the long delay on an answer: The eCommerce app found within the special purpose directory is more of a demo-case rather than a complete store. It gives you all the functions you could ask for, but is agreeably very very difficult to use for smaller stores. Usually, people who want to use the OFBiz ERP Framework for something like this they: a) Either take the ecommerce component and reduce/simplify on their own or b) Turn to Third-Party implementers and use one of their standardized components. As an example for the latter: we on our hand have created our own simplified store, which you can take a sneak-peek here: http://www.syracus.net . It comes with some advanced features, like a fully integrated Solr Search, facetted navigation, responsive design and so on. There's been some discussions whether one of the agencies may contribute their own store to the project, but at the moment it is as it is ;) Apart from that: I can highly recommend both books and in particular the beginners tutorial. Regards, Paul P.S.: Da du ja deutsch zu seien scheinst - Wenn Du magst kannst Du natürlich auch gerne einmal durchrufen. Dann kann ich dir vielleicht ein paar gute Tipps geben. --- Paul Piper Geschäftsführer Web: http://www.ilscipio.com Tel: (+49) 611-94589441 Mobil: (+49) 176-63283066 Fax: (+49) 611-94589449 eMail: p...@ilscipio.com ilscipio GmbH Am Drosselschlag 7 D-35452 Heuchelheim Germany -- View this message in context: http://ofbiz.135035.n4.nabble.com/Question-Free-available-skeleton-of-simple-shop-and-portal-solution-based-on-OFBiz-tp4637176p4637499.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Has anyone implemented Faceted Search using SOLR?
Perhaps, you may be interested in this: https://issues.apache.org/jira/browse/OFBIZ-5042 -- View this message in context: http://ofbiz.135035.n4.nabble.com/Has-anyone-implemented-Faceted-Search-using-SOLR-tp4633260p4637019.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Apachecon EU 2012
I would love to participate as a speaker on Apache OFBiz. If interested, perhaps we can arrange that somehow? -- View this message in context: http://ofbiz.135035.n4.nabble.com/Apachecon-EU-2012-tp4633846p4634049.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Has anyone implemented Faceted Search using SOLR?
Hey Sanjeev, The key to it all is your solr template and how you integrate solr with your category tree. Cheers, Paul -- View this message in context: http://ofbiz.135035.n4.nabble.com/Has-anyone-implemented-Faceted-Search-using-SOLR-tp4633260p4633262.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Has anyone implemented Faceted Search using SOLR?
Also: www.syracus.net uses solr as a basis for alot of its output. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Has-anyone-implemented-Faceted-Search-using-SOLR-tp4633260p4633264.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Performance of Ofbiz
Well, there certainly are ways to push ofbiz. Have you taken a look at Syracus? www.syracus.net -- View this message in context: http://ofbiz.135035.n4.nabble.com/Performance-of-Ofbiz-tp4586418p4587352.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Free Audio-Books powered by OFbiz
Hi Robert, we are actually considering to commit our apache solr component (which is self-containing, btw, and not integrated into the ecommerce store). And apart from the shameless self-advertising, we of course also take an interest in bigfish and their upcoming commit. Cheers, Paul -- View this message in context: http://ofbiz.135035.n4.nabble.com/Free-Audio-Books-powered-by-OFbiz-tp4564360p4570614.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Free Audio-Books powered by OFbiz
Hi Ruth, thanks for the great feedback :) To answer your questions, I think you got a mixup in the paypal integration there. Without going over the details, I would recommend to implement paypal the following way: * Create User (use his paypal-eMailaddress in your form, you can prefill paypal with this, btw) * Create Order (needed for paypal processing anyhow) * Forward user to paypal (do handshake and all that in the background, depending on the implementation i believe you have to create a session?!) * Deliver paypal with a return url, pickup orderId with it, complete order; handle paypal status * Use email-Address to provide customers with a way of accessing the site and to provide them with an order status. I don't think there is much of a workaround otherwise, since you will require to create an order, which requires a user to be set up. If you want, contact me directly, and we can discuss it there in detail. Paypal, however, only allows two ways of implementation: by iFrame, or by a full redirect, so it leaves you with a limited amount of choices... About the product caching: it is not entirely true. See, the problem with the original eCommerce App is completed without performance in mind. If i recall correctly: Take the category screens for instance, which really on the large product widgets. If you look more carefully, you will notice that the widgets include a multitude of groovy files and so does the category widget. The reason being, that it was designed by reusing some already available groovy script that takes care of the actual data (some were chained because one delivers some informaton that is needed by another). The problem is, that groovy scripts are not handled in a global manner, but you iterate over them every time, just for data preparation. So yes, with caching you can somewhat control the database queries, but the groovy scripts for actually accessing the data are going to be called either way. There are many obstacles like this and there was alot of room for improvement ... The books are going to be our own little secret, but you can be sure they are your perfectly legal to download - have fun :) Cheers, Paul -- View this message in context: http://ofbiz.135035.n4.nabble.com/Free-Audio-Books-powered-by-OFbiz-tp4564360p4571645.html Sent from the OFBiz - User mailing list archive at Nabble.com.
RE: Brandsparadise.com - powered by OFBiz!
For the german speaking fellas among all of you: http://www.internetworld.de/Nachrichten/E-Commerce/Fabrikverkauf-im-Internet-20271.html ^we just got the first clipping - OFBiz is mentioned as well :) Dan Dodd wrote: Nice site, congratulations on such a polished look. What kinds of modifications did you need to make? Dan Dodd -Original Message- From: madppiper [mailto:p...@mutschler.ch] Sent: Friday, July 17, 2009 12:22 PM To: user@ofbiz.apache.org Subject: Brandsparadise.com - powered by Ofbiz! Hi everybody, with a tiny bit of pride, it is of my deepest pleasure to present to you http://www.brandsparadise.com http://www.brandsparadise.com ! The last few months have been quite an experience to me and I wanted to say thanks to all of you within this community. Our project is based upon the ofbiz framework (though we had to modify alot of the source :( ) and so I feel obliged to thank each and every one of you again for this marvelous software. I hope you folks will take a look at the application and present me with lots of feedback. Thanks! Cheers, Paul -- View this message in context: http://www.nabble.com/Brandsparadise.com---powered-by-Ofbiz%21-tp2453848 0p24538480.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Brandsparadise.com---powered-by-Ofbiz%21-tp24538480p24566476.html Sent from the OFBiz - User mailing list archive at Nabble.com.
RE: Brandsparadise.com - powered by OFBiz!
Oh several! As mentioned before, we couldn't keep the trunk afterall. Which is a bummer and I will probably try to modify our software to cope with a more recent trunk release (we ran into some heavy trouble ever since the huge revisions in Februaray/March). But I fear that only few elements remained untouched... On behalf of the polished look: thanks :) Dan Dodd wrote: Nice site, congratulations on such a polished look. What kinds of modifications did you need to make? Dan Dodd -Original Message- From: madppiper [mailto:p...@mutschler.ch] Sent: Friday, July 17, 2009 12:22 PM To: user@ofbiz.apache.org Subject: Brandsparadise.com - powered by Ofbiz! Hi everybody, with a tiny bit of pride, it is of my deepest pleasure to present to you http://www.brandsparadise.com http://www.brandsparadise.com ! The last few months have been quite an experience to me and I wanted to say thanks to all of you within this community. Our project is based upon the ofbiz framework (though we had to modify alot of the source :( ) and so I feel obliged to thank each and every one of you again for this marvelous software. I hope you folks will take a look at the application and present me with lots of feedback. Thanks! Cheers, Paul -- View this message in context: http://www.nabble.com/Brandsparadise.com---powered-by-Ofbiz%21-tp2453848 0p24538480.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Brandsparadise.com---powered-by-Ofbiz%21-tp24538480p24568698.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Brandsparadise.com - powered by Ofbiz!
Well, somewhat, yes. I used the trunk version February 18th, but I had to apply several hooks from later revisions and apply some major changes on my own, so this is not a trunk version anymore :( But it is dynamic :) Since Brandsparadise is a factory outlet center, we have to struggle with a constant limited number of products. It may be that our stock contains only 1-3 items of any given product, so it is crucial to remove those items from the list if they are not available. Same applies for categorical-filtering and so on... BJ Freeman wrote: looks dynamic is that a ofbiz trunk base? madppiper sent the following on 7/17/2009 10:21 AM: Hi everybody, with a tiny bit of pride, it is of my deepest pleasure to present to you http://www.brandsparadise.com http://www.brandsparadise.com ! The last few months have been quite an experience to me and I wanted to say thanks to all of you within this community. Our project is based upon the ofbiz framework (though we had to modify alot of the source :( ) and so I feel obliged to thank each and every one of you again for this marvelous software. I hope you folks will take a look at the application and present me with lots of feedback. Thanks! Cheers, Paul -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Systems Integrator. -- View this message in context: http://www.nabble.com/Brandsparadise.com---powered-by-Ofbiz%21-tp24538480p24545612.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Brandsparadise.com - powered by Ofbiz!
Hi everybody, with a tiny bit of pride, it is of my deepest pleasure to present to you http://www.brandsparadise.com http://www.brandsparadise.com ! The last few months have been quite an experience to me and I wanted to say thanks to all of you within this community. Our project is based upon the ofbiz framework (though we had to modify alot of the source :( ) and so I feel obliged to thank each and every one of you again for this marvelous software. I hope you folks will take a look at the application and present me with lots of feedback. Thanks! Cheers, Paul -- View this message in context: http://www.nabble.com/Brandsparadise.com---powered-by-Ofbiz%21-tp24538480p24538480.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Brandsparadise.com - powered by Ofbiz!
Absolutely - already on it. I'm glad you like it! There's definately room for improvement, but hey: I'm satisfied with this first set-up. David E Jones-4 wrote: Congratulations, the site looks very nice. Would you be okay with adding it to the User List page (it's an open wiki page so you can edit it as long as you are logged in there): http://docs.ofbiz.org/display/OFBIZ/Apache+OFBiz+User+List -David On Jul 17, 2009, at 11:21 AM, madppiper wrote: Hi everybody, with a tiny bit of pride, it is of my deepest pleasure to present to you http://www.brandsparadise.com http://www.brandsparadise.com ! The last few months have been quite an experience to me and I wanted to say thanks to all of you within this community. Our project is based upon the ofbiz framework (though we had to modify alot of the source :( ) and so I feel obliged to thank each and every one of you again for this marvelous software. I hope you folks will take a look at the application and present me with lots of feedback. Thanks! Cheers, Paul -- View this message in context: http://www.nabble.com/Brandsparadise.com---powered-by-Ofbiz%21-tp24538480p24538480.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Brandsparadise.com---powered-by-Ofbiz%21-tp24538480p24540842.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: QOT for virtual products
Digging deeper into the logic, i got the following setup that perhaps helps to demonstrate the problem i got: I created a virtual product with salesDiscWhenNotAvail =Y requireInventory=N taxable=Y chargeShipping=N autoCreateKeywords=Y isVirtual=Y isVariant=N productTypeId=FINISHED_GOOD and added a set of variant products to it, each differing in size and color. I now got a parent product (complete with productId) and differing physical products that are pointing towards this parent. Our warehouse reports to us the QOT of all the physical items, that way we have all of the physical items with an inventory 0 and the virtual product (or parent item) with an inventory = 0. I am now trying to display only the virtual products to a customer where the inventory of their physical items in total is 0. In addition, I want to allow the user to shop this very item, as long as there are variants available. However, on my ecommerce application I am receiving an error for such items, as long as I don't set requireInventory to N (which doesn't really make sense to me, as a virtual product should, by definition, never even have an inventory - at least thats how i understand the product page in the docs). How can I solve this issue without a draining performance loss? (I know that I could use the getProductInventoryAvailableFromAssocProducts service, but that requires another delegator call previous to the service itself and seems rather slow at the whole) madppiper wrote: Heya, I noticed that I am receiving a not available message on the ecommerce platform for a virtual product if it doesn't have a sufficient QOT. However, any ProductAssoc associated with this product has a QOT 0, so there really shouldn't be a problem as the user buys one of the assocs not the virtual product itself (just as with the Giant Widget - the user should be able to purchase the giant-widget-b3 variant even if the giant-widget has nothing on stock). Is this a common problem or is there an easy fix to this? Cheers, Paul -- View this message in context: http://www.nabble.com/QOT-for-virtual-products-tp23931046p23937441.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: QOT for virtual products
Ah and thanks for the reply, sounds like this could help me: https://issues.apache.org/jira/browse/OFBIZ-1887 BJ Freeman wrote: may not help but I remember something last year about setting the inventory to Y and N making a difference. about the time the drop shipper code was put in. don't have time to go dig it out madppiper sent the following on 6/9/2009 12:07 AM: Digging deeper into the logic, i got the following setup that perhaps helps to demonstrate the problem i got: I created a virtual product with salesDiscWhenNotAvail =Y requireInventory=N taxable=Y chargeShipping=N autoCreateKeywords=Y isVirtual=Y isVariant=N productTypeId=FINISHED_GOOD and added a set of variant products to it, each differing in size and color. I now got a parent product (complete with productId) and differing physical products that are pointing towards this parent. Our warehouse reports to us the QOT of all the physical items, that way we have all of the physical items with an inventory 0 and the virtual product (or parent item) with an inventory = 0. I am now trying to display only the virtual products to a customer where the inventory of their physical items in total is 0. In addition, I want to allow the user to shop this very item, as long as there are variants available. However, on my ecommerce application I am receiving an error for such items, as long as I don't set requireInventory to N (which doesn't really make sense to me, as a virtual product should, by definition, never even have an inventory - at least thats how i understand the product page in the docs). How can I solve this issue without a draining performance loss? (I know that I could use the getProductInventoryAvailableFromAssocProducts service, but that requires another delegator call previous to the service itself and seems rather slow at the whole) madppiper wrote: Heya, I noticed that I am receiving a not available message on the ecommerce platform for a virtual product if it doesn't have a sufficient QOT. However, any ProductAssoc associated with this product has a QOT 0, so there really shouldn't be a problem as the user buys one of the assocs not the virtual product itself (just as with the Giant Widget - the user should be able to purchase the giant-widget-b3 variant even if the giant-widget has nothing on stock). Is this a common problem or is there an easy fix to this? Cheers, Paul -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro Systems Integrator. -- View this message in context: http://www.nabble.com/QOT-for-virtual-products-tp23931046p23937977.html Sent from the OFBiz - User mailing list archive at Nabble.com.
QOT for virtual products
Heya, I noticed that I am receiving a not available message on the ecommerce platform for a virtual product if it doesn't have a sufficient QOT. However, any ProductAssoc associated with this product has a QOT 0, so there really shouldn't be a problem as the user buys one of the assocs not the virtual product itself (just as with the Giant Widget - the user should be able to purchase the giant-widget-b3 variant even if the giant-widget has nothing on stock). Is this a common problem or is there an easy fix to this? Cheers, Paul -- View this message in context: http://www.nabble.com/QOT-for-virtual-products-tp23931046p23931046.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Confused over Size Color
Yup, my code is custom. Perhaps I was missing out on a service that was already available for this? Or what am I missing here? As said: I tried to follow the ProductDemo.xml code, but couldn't get it all right. If there is no such service available, are my steps correct that I described above? BJ Freeman wrote: This is problem in your code that is custom if I understand the email. I suggest you follow the code that does use it, in ofbiz, to compare what you are doing to what ofbiz does. and after that why not use the ofbiz code? you can start from the page that displays it and work backwards. madppiper sent the following on 5/19/2009 10:28 AM: Hey everybody, I created a new product with locales and attributes just fine and wanted to add two new features/attributes to it: size color. Just like in WG-9943. I am doing the following steps, but neither color nor size show up: 1) check if product with detailed information exists, if not create 2) check if product is set to Virtual = Y, if not, edit and add Virtual Variant Method = varianttree 3) create a new product with id similar to originalproduct (eg: productIdcolor) with Virtual = No, Variant = Y 4) create ProductAssoc with createProductI18nRollup.productIdTo = productIdColor, productId = productId, productAssocTypeId= PRODUCT_VARIANT 5) create ProductFeatureCategory if needed 6) create ProductFeature with productFeatureTypeId = COLOR, productFeatureId= FproductIdcolor 7) create ProductFeatureAppl with productFeatureApplTypeId = SELECTABLE_FEATURE productId = productIdColor 8) iterate through available sizes do 8a) create ProductFeature with productFeatureTypeId=SIZE, productId= productIdColor, productFeatureId=FproductIdColorSize 8b) create ProductFeatureIactn with productFeatureIactnTypeId = FEATURE_IACTN_INCOMP, productFeatureIdTo = FproductIdColor, productFeatureId=FproductIdColorSize 8c) create ProductFeatureAppl with productFeatureId= FproductIdColorSize, productFeatureApplTypeId=STANDARD_FEATURE, productId= productIdColor 8d) create ProductAssoc with productAssocTypeId= PRODUCT_VARIANT, productIdTo= productIdColor, productId = product As I do here: entity-and entity-name=Product list=resourceList field-map field-name=productId from-field=parameters.productId/ /entity-and first-from-list entry=resource list=resourceList/ if-not-empty field=resource log level=warning message=Updating ${parameters.productId}/log set field=createProductI18nRollup.productId value=${parameters.productId}/ set field=createProductI18nRollup.isVirtual value=Y/ set field=createProductI18nRollup.isVariant value=N/ set field=createProductI18nRollup.virtualVariantMethodEnum value=VV_VARIANTTREE/ set-service-fields map=createProductI18nRollup service-name=editProductI18n to-map=createProductI18nMap/ call-service service-name=editProductI18n in-map-name=createProductI18nMap break-on-error=true / /if-not-empty call-bsh![CDATA[ color = parameters.get(color); if(color != null color !=){ parameters.put(colorId, color.substring(0, 3).replace( ,_)); } ]]/call-bsh !-- Create the basic item -- map-to-map map=parameters to-map=createProductI18nRollup
Confused over Size Color
Hey everybody, I created a new product with locales and attributes just fine and wanted to add two new features/attributes to it: size color. Just like in WG-9943. I am doing the following steps, but neither color nor size show up: 1) check if product with detailed information exists, if not create 2) check if product is set to Virtual = Y, if not, edit and add Virtual Variant Method = varianttree 3) create a new product with id similar to originalproduct (eg: productIdcolor) with Virtual = No, Variant = Y 4) create ProductAssoc with createProductI18nRollup.productIdTo = productIdColor, productId = productId, productAssocTypeId= PRODUCT_VARIANT 5) create ProductFeatureCategory if needed 6) create ProductFeature with productFeatureTypeId = COLOR, productFeatureId= FproductIdcolor 7) create ProductFeatureAppl with productFeatureApplTypeId = SELECTABLE_FEATURE productId = productIdColor 8) iterate through available sizes do 8a) create ProductFeature with productFeatureTypeId=SIZE, productId= productIdColor, productFeatureId=FproductIdColorSize 8b) create ProductFeatureIactn with productFeatureIactnTypeId = FEATURE_IACTN_INCOMP, productFeatureIdTo = FproductIdColor, productFeatureId=FproductIdColorSize 8c) create ProductFeatureAppl with productFeatureId= FproductIdColorSize, productFeatureApplTypeId=STANDARD_FEATURE, productId= productIdColor 8d) create ProductAssoc with productAssocTypeId= PRODUCT_VARIANT, productIdTo= productIdColor, productId = product As I do here: entity-and entity-name=Product list=resourceList field-map field-name=productId from-field=parameters.productId/ /entity-and first-from-list entry=resource list=resourceList/ if-not-empty field=resource log level=warning message=Updating ${parameters.productId}/log set field=createProductI18nRollup.productId value=${parameters.productId}/ set field=createProductI18nRollup.isVirtual value=Y/ set field=createProductI18nRollup.isVariant value=N/ set field=createProductI18nRollup.virtualVariantMethodEnum value=VV_VARIANTTREE/ set-service-fields map=createProductI18nRollup service-name=editProductI18n to-map=createProductI18nMap/ call-service service-name=editProductI18n in-map-name=createProductI18nMap break-on-error=true / /if-not-empty call-bsh![CDATA[ color = parameters.get(color); if(color != null color !=){ parameters.put(colorId, color.substring(0, 3).replace( ,_)); } ]]/call-bsh !-- Create the basic item -- map-to-map map=parameters to-map=createProductI18nRollup/ set field=createProductI18nRollup.taxable value=Y/ set field=createProductI18nRollup.chargeShipping value=Y/ set field=createProductI18nRollup.isVirtual value=N/ set field=createProductI18nRollup.isVariant value=Y/ log level=warning
Re: Order status
A screenshot to go along with the previous post... http://www.nabble.com/file/p23424425/OFBiz-%2BOrder%2BManager-%2BView%2BOrder_1241694167878.png -- View this message in context: http://www.nabble.com/Order-status-tp18605511p23424425.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Order status
Still digging. Got rid of the above errros (obviously, my ShipmentServices.xml file war erroneous). Now I am left with this one: 2009-05-07 20:03:01,128 (http-0.0.0.0-8443-3) [ ModelService.java:545:ERROR] [ModelService.validate] : {createPaymentApplication} : (IN) Required test error: org.ofbiz.service.ServiceValidationException: Type check failed for field [createPaymentApplication.amountApplied]; expected type is [BigDecimal]; actual type is [java.lang.Double] -- View this message in context: http://www.nabble.com/Order-status-tp18605511p23432256.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Order status
I'm beginning to think that I should just stop posting... Isn't there anybody familiar with the payment process? -- View this message in context: http://www.nabble.com/Order-status-tp18605511p23433931.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: entity-auto inser update
Isn't there anything like a replace-insert functionality available? Or may it perhaps help to simply override the error messages? -- View this message in context: http://www.nabble.com/entity-auto-inser-update-tp23275424p23384750.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Order status
I dug further into this problem, and figured out that this error only occurs when I do the following: 1) I create an order 2) I choose moneybookers as a payment method (we use moneybookers, so I wrote a new component for that, much like the paypal one) 3) I complete the order on the userSide (I get redirected to moneybookers and pay, the status is being returned to our system the payment is now set to Payment_Received and the order to Order_Approved) 4) I run the quickShipEntireOrder method Result: the known error. What really strikes me is, that if I skip Step3 and do NOT set the Payment statusId to Payment_Received, the quickShipEntireOrder service will run through just fine. Does anybody here have an idea for a simple workaround? -- View this message in context: http://www.nabble.com/Order-status-tp18605511p23393508.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: How do i get the value of OUT parameter from service method to the success form
well thats rather simple: use the serviceUtil classes to return a success or Error like the following context = ServiceUtil.returnSuccess(Your Sucess message); then return the context as appropriate... you may also want to add any other out parameter to the context as you wish context.put(out1,out1); whereas out1 is the key and out1 is the object -- View this message in context: http://www.nabble.com/How-do-i-get-the-value-of-OUT-parameter-from-service-method-to-the-success-form-tp23310231p23311285.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Order status
Sorry if I am bumping this old message, but I figured this would be the most appropriate way, since most of my questions have already been answered here... I just wanted to clarify the process once and for all: Step 1. User creates the Order -- ORDER_CREATED Step 2. User pays the darn money (using paypal) -- ORDER_APPROVED Step 3. Warehouse sets order_status to ORDER_PROCESSING System generates Shipping information -- Shipping is set to INPUT Step 4. Warehouse sends the stati in the following order: picking, packing, shipped, delivered Step 5. If all parameters are set: System sets ORDER_STATUS TO COMPLETE Step 6: User creates OrderReturn, specifying which items of which order are sent to which warehouse. Step 7 through ...: Warehouse returns return stati as needed. if that is correct, then I think the only thing I am missing out right now is the invoice setup. My problem is, that the warehouse is trying to set the ORDER_STATUS to Complete and create a return afterwards, which generates an error, as the order_shipping stati haven't been set correctly in our case and an invoice isn't generated either. Can I easily run through the stati using Secas? If so, which parameters would I need to set automatically to create the order_shipment stati in order and the invoices once the warehouse sends me the status order_processing...`? -- View this message in context: http://www.nabble.com/Order-status-tp18605511p23292492.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Order status
Update to my previous message: perhaps all I need to do is: eca service=changeOrderStatus event=global-commit run-on-error=false condition field-name=statusId operator=equals value=ORDER_APPROVED/ action service=quickShipEntireOrder mode=async persist=true/ /eca ? But somehwow this event isn't triggered correctly... -- View this message in context: http://www.nabble.com/Order-status-tp18605511p23292895.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Order status
Update: my SECA for this was seems to work when set to ORDER_APPROVED: eca service=changeOrderStatus event=global-commit run-on-error=false condition field-name=statusId operator=equals value=ORDER_APPROVED/ condition-field field-name=statusId operator=not-equals to-field-name=oldStatusId/ action service=quickShipEntireOrder mode=async persist=true/ /eca However, nothing is triggered on ORDER_PROCESSING. May this be a bug or a known issue? -- View this message in context: http://www.nabble.com/Order-status-tp18605511p23294859.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Order status
Update: tracked it down to the following. The event is triggered, but the service throws an error: Error: ERROR: Could not complete the Issue OrderItemShipGrpInvRes to Shipment [file:/opt/ofbiz/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml#issueOrderItemShipGrpInvResToShipment] process [problem removing the orderItemShipGrpInvRes value: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Service [convertUom] threw an unexpected exception/errororg.ofbiz.service.ServiceValidationException: Type check failed for field [convertUom.originalValue]; expected type is [Double]; actual type is [java.math.BigDecimal] (Type check failed for field [convertUom.originalValue]; expected type is [Double]; actual type is [java.math.BigDecimal])] calling service issueOrderItemShipGrpInvResToShipment in createShipmentForFacilityAndShipGroup think it has to do with the default currency uom of the store, may i be right? -- View this message in context: http://www.nabble.com/Order-status-tp18605511p23295833.html Sent from the OFBiz - User mailing list archive at Nabble.com.
entity-auto inser update
Hi Everyone, my following question is rather simple. I created simple crud services using the entity-auto engine. Now I want to check on whether or not duplicate entries already exist in the db and only create a new one if none is existent (update if otherwise). In SQL there is a command for that, but can I achieve anything similar using the entity-auto engine? Cheers, Paul -- View this message in context: http://www.nabble.com/entity-auto-inser-update-tp23275424p23275424.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: A simple SOAP Query?
Hmm, well the thing I personally don't understand is that the basic SOAP Interface integrated into OFBiz should work, if not used with complex datatypes, correct? Agreeably the WSDL provided by OFBIz when setting a service to export=true is not fully WSDL conform, but in theory this should work, right? The ping method is nothing I implemented, but was already existent in the ofbiz trunk and defined as such: ?xml version=1.0 encoding=UTF-8? wsdl:definitions targetNamespace=http://ofbiz.apache.org/service/; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tns=http://ofbiz.apache.org/service/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; wsdl:message name=pingRequest wsdl:part name=message type=xsd:string/ /wsdl:message wsdl:message name=pingResponse wsdl:part name=message type=xsd:string/ /wsdl:message wsdl:portType name=pingPortType wsdl:operation name=ping wsdl:input message=tns:pingRequest/ wsdl:output message=tns:pingResponse/ /wsdl:operation /wsdl:portType wsdl:binding name=pingSoapBinding type=tns:pingPortType soap:binding style=document transport=http://schemas.xmlsoap.org/soap/http/ wsdl:operation name=ping soap:operation soapAction=/ wsdl:input soap:body encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; namespace=http://ofbiz.apache.org/service/; use=literal/ /wsdl:input wsdl:output soap:body encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; namespace=http://ofbiz.apache.org/service/; use=literal/ /wsdl:output /wsdl:operation /wsdl:binding wsdl:service name=ping wsdl:port binding=tns:pingSoapBinding name=pingPort soap:address location=http://focworld.nine.ch:8080/webtools/control/SOAPService/ /wsdl:port /wsdl:service /wsdl:definitions So my xml file should have worked... yet it didn't... Perhaps implementing AXIS2 nonetheless and working all around the problem by creating pojo classes instead is one solution, but I was hoping that since we are not using complex data types we could rely on the soap client already implemented... -- View this message in context: http://www.nabble.com/A-simple-SOAP-Query--tp22946566p22947474.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: A simple SOAP Query?
Well, I tried ;) As far as I understand is this really only the code for the Client, so if I wanted to send an xml document using SOAP thats what I would use, however I am trying to understand the SOAP server really, or better, how OFBIz process those xml documents its receiving on the url... To clarify: I am trying to send an xml document as the above to the following url: http://focworld.nine.ch:8080/webtools/control/SOAPService/ping I am using a soapclient for that on an external machine... -- View this message in context: http://www.nabble.com/A-simple-SOAP-Query--tp22946566p22948284.html Sent from the OFBiz - User mailing list archive at Nabble.com.
A simple SOAP Query?
Hey, I am having real issues with soap. I am not using any complexe data types on my own services, but only strings and integers, so I was hoping that I could rely on the already implemented SOAP component in ofbiz without the need to integrate AXIS2. But even when calling the most simple of all webservices (ping), I am receiving the following error: 2009-04-08 11:08:20,411 (http-0.0.0.0-8080-8) [ RequestHandler.java:326:ERROR] Request SOAPService caused an error with the following message: Fehler beim Aufruf eines Events: org.ofbiz.webapp.event.EventHandlerException: Cannot locate service by name (message) (Cannot locate service by name (message)) So my conclusion is, if I am not mistaken, that the xml document I am sending is not well constructed. I am using the following: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Header/ soapenv:Body message?/message /soapenv:Body /soapenv:Envelope Is that wrong? If so, could anybody parse me a very simple xml document that would qualify for an ofbiz webservice? -- View this message in context: http://www.nabble.com/A-simple-SOAP-Query--tp22946566p22946566.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: A simple SOAP Query?
HA! Well, turns out that implementing AXIS2 as described on the wikipage (http://docs.ofbiz.org/display/OFBIZ/Export+Ofbiz+Services+that+use+complex+type+parameters+via+SOAP+using+AXIS2) was really the solution to it all. I'd argue that a basic implementation should be integrated into ofbiz period... Reminds me: I updated Alfredos great zip file a little and could supply you with a more basic alternative to the one uploaded (with the basic Weather Pojo integrated)... I am sure this would be of greater use for most people, since they can start editing the java files directly without having to be concerned about the implementation at all... -- View this message in context: http://www.nabble.com/A-simple-SOAP-Query--tp22946566p22955819.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: A simple SOAP Query?
Sure thing :) http://docs.ofbiz.org/pages/viewpageattachments.action?pageId=6090 Btw, I also edited the build file, so if you generate the service, it will automatically deploy it on the axis2-webapp as well... I think the zip file contains all the things you need to get stated, just unzip (actually unrar) it in your hotdeploy directory... Please give me feedback if all of the above works as inspected (I had to change a few references of our own project prior uploading) -- View this message in context: http://www.nabble.com/A-simple-SOAP-Query--tp22946566p22956638.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Marketing OFBiz
Well, if you apply this theme to the hotwax media demo and the general site, I'll gladly help to get the css stable on other browsers :) A great step forward: bravo! -- View this message in context: http://www.nabble.com/Marketing-OFBiz-tp22784938p22800773.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Smart search
On my application I have integrated SOLR into the system. SOLR is great for complex searches and comes with word filters and alike :) -- View this message in context: http://www.nabble.com/Smart-search-tp22731824p22737332.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Ofbiz with Magnolia
Ähm... nope, not at all. Perhaps you could give me the complete error? I am assuming that perhaps you did not add the correct folder for the service file to be loaded into your ofbiz-component file... Which reminds me: the given instruction is slightly incomplete, if you revise it, you will need to edit cmsUrl within the .java file here: public static String cmsUrl = http://www.google.com;; and change the location to your local path of the magnolia instance and I think you can safely remove the public static final String module = Magnolia.class.getName(); That should remove the dependency - it is not used within the script anyhow... -- View this message in context: http://www.nabble.com/Ofbiz-with-Magnolia-tp22715993p22717734.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Ofbiz with Magnolia
Oh and before I forget: you may also need to write your own bsh/groovy file with correct information on which data to fetch... For my own application I wrote a script that fetches data based on the context path and locale. I wrote a groovy file that will get the context path url and create a url string to be passed to the Magnolia java file. I also added a few more services, which then allow an easier access to the data... But in theory, the Magnolia.java file can be left mainly untouched and should work just as well as mine does... -- View this message in context: http://www.nabble.com/Ofbiz-with-Magnolia-tp22715993p22717801.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Ofbiz with Magnolia
@ Jacques: done :) http://docs.ofbiz.org/display/OFBIZ/Magnolia+CMS+Integration+Guide @vishnupriya : well, I myself have also completed the steps I mentioned at the bottom of the guide, so I can now skip through the content provided within the magnolia instance and then display the content at any location of my choice. All I need to do is add the cms groovy file, which is in parts similar to the code snipplet I now added to the guide, and then display the box I want at a location I want. As for Magnolia: you need to create your own ftl templates that serve your purpose. in magnolia-freemarker files you can define code that is displayed to the author-instance only and hence have single scripts that display editor-bars to the author instance, and display only the content on my ofbiz pages... -- View this message in context: http://www.nabble.com/Ofbiz-with-Magnolia-tp22715993p22725534.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Ofbiz with Magnolia
Magnolia_Ofbiz wrote: I have added magnolia.java inside hot-deploy/myapplication/src and the service.xml file inside hot-deploy/myapplication/servicedef and the path of service.xml is mentioned ofbiz-component.xml.I have downloaded and used Magnolia-bundled-webapp3.6.5 On executing Magnolia.java I have got the following result Looks to me like you haven't created the correct folders. Please note that the Magnolia.java file should be placed within hot-deploy/myapplication/src/org/brandsparadise/cms/ -- View this message in context: http://www.nabble.com/Ofbiz-with-Magnolia-tp22715993p22725596.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Setting up a warehouse
I think this is finally clearing up now... My real problem is, that our partner seems rather stubborn when it comes to this entire integration. So they will not be providing us with a url for a direct exchange of data (as OAGIS seems to be requiring), but an sftp server instead to which we shall upload those xml files. While this is very much possible, I would like to know If this is a deal-breaker for using the OAGIS component at all, or if I can simply use the auth and url settings defined in oagis.properties to do the very same? -- View this message in context: http://www.nabble.com/Setting-up-a-warehouse-tp22660311p22700841.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Setting up a warehouse
Yup, looking up ftpPutFile as we speak. Perhaps it really is easiest to write up a module of our own then. It is a bummer though. That OAGIS-stuff looks great! -- View this message in context: http://www.nabble.com/Setting-up-a-warehouse-tp22660311p22701328.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Setting up a warehouse
Ah, well, what I don't understand is why neither of the services is exportable (a webservice). So yes, we can call services that automatically send data to a specified url or create xml documents on the fly (which is great, because most of the reporting is done asynchroneously), but there is some exchange of information (eg the shipment status) from the logistics partner/warehouse to us, where I would have expected a simple webservice in place. Perhaps it is also a good idea to specify the purpose of the services and later update the wiki/description with that information? So as far as I understand, here's a non complete list of services and their purpose: 1. oagisReceiveSyncInventory Processes an XML document as defined in 068_sync_inventory_005.xsd (http://iscaservices.com/f1/scs_oagis_syncinventory_cyclecountinglistrequest.html , http://iscaservices.com/f1/scs_busdoc_oagis_sync_inventory_stocktakinglistresponse.html). Will sync the inventory of a given warehouse (specified by of:SITELEVEL) with the internal inventoryItems entity. Structure Overview SYNC_INVENTORY (INVENTORY) INVENTORY () 2. oagisReceiveShowShipment Process an incoming Status-Message from your logistics partner. The Status Message is defined in 161_show_shipment_005.xsd. Will update the current shipment status of a given inventory. Structure Overview SHOW_SHIPMENT (SHIPMENT, SHIPUNIT*) SHIPMENT ( PARTNER+, SHIPITEM+, ATTCHREF*, CHARGE*, DOCUMNTREF* ) SHIPITEM ( DOCUMNTREF*, INVDETAIL* ) DOCUMNTREF() INVDETAIL() DOCUMNTREF() SHIPUNIT ( PARTNER+, ATTCHREF*, CHARGE*, CONTAINER*, DOCUMNTREF*, INVITEM* ) CONTAINER( DOCUMNTREF*, INVITEM+ ) DOCUMNTREF() INVITEM ( DOCUMNTREF*, INVDETAIL* ) DOCUMNTREF() INVDETAIL() DOCUMNTREF() INVITEM ( DOCUMNTREF*, INVDETAIL* ) DOCUMNTREF() INVDETAIL() 3. oagisSendReceiveDelivery Creates a deliveryMessage as specified in 197_receive_delivery_001.xsd. Document location can be specified by path, document name and url. Will notify the warehouse of incoming deliveries defined in the shipment module. Structure Overview RECEIVE_DELIVERY ( RECEIPTHDR, ((RECEIPTLN+, RECEIPTUNT*) | RECEIPTUNT+) ) RECEIPTHDR ( ATTCHREF*, CHARGE*, DOCUMNTREF*, PARTNER*, RCPTDISCRP* ) RCPTDISCRP() RECEIPTLN ( ATTCHREF*, CHARGE*, DOCUMNTREF*, INVDETAIL*, RCPTDISCRP* ) INVDETAIL() RCPTDISCRP() RECEIPTUNT ( ATTCHREF*, CHARGE*, DOCUMNTREF*, PARTNER*, RCPTDISCRP*, RECEIPTITM* ) RCPTDISCRP() RECEIPTITM ( ATTCHREF*, CHARGE*, DOCUMNTREF*, INVDETAIL*, RCPTDISCRP* ) INVDETAIL() RCPTDISCRP() Please correct any of the above - I am still trying to put the pieces together ;) -- View this message in context: http://www.nabble.com/Setting-up-a-warehouse-tp22660311p22681722.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: proporties file
.properties files cannot be edited through the UI, but set general system variables, such as passwords, data lookup paths, email settings, fallbacks etc etc. I guess you could say that the settings set in .properties files affect the UI but cannot be accessed or set through the UI ;) -- View this message in context: http://www.nabble.com/proporties-file-tp22681079p22681777.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Setting up a warehouse
Hey everybody, I tried to read through the docs, but couldn't get my head arround this topic. I am currently trying to integrate our external logistics partner, who will be granted access to our productslist (for which I created an xml export function), and should receive notice about incoming shipments and general stock information. Could anybody provide me with a basic overview this topic? How are exernal logistic partners integrated into the system? I would suppose that I need to add the warehouse to the facility list, add the partner itself as a party and then create inventory items for the warehouse, correct? Salvete, Paul -- View this message in context: http://www.nabble.com/Setting-up-a-warehouse-tp22660311p22660311.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Setting up a warehouse
Ah, so in an overly-simplified manner: we'll simply exchange xml files as defined in the dtds directory using the oagis-services, correct? And any exchange will then be listed on the UI, right? Well, if that's it, than you are perfectly right: it is exactly what I was looking for :) -- View this message in context: http://www.nabble.com/Setting-up-a-warehouse-tp22660311p22666993.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Setting up a warehouse
Ah, so in an overly-simplified manner: we'll simply exchange xml files as defined in the dtds directory using the oagis-services, correct? And any exchange will then be listed on the UI, right? Well, if that's it, than you are perfectly right: it is exactly what I was looking for :) A follow-up though: can I edit the dtds in a way that is more fitting to our logistics partner, or is the whole idea of OAGIS a standardized concept that has been agreed upon from the OAGIS Group? -- View this message in context: http://www.nabble.com/Setting-up-a-warehouse-tp22660311p22667020.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: How to use Regular Expression for Search Replace in Eclipse ?
Well, the feature itself uses the standard java regular expressions and is actually fairly simple to understand. I would recommend to have a go at regular expressions before trying that feature. For instance, you can try http://www.gskinner.com/RegExr/ or http://www.regextester.com to test the results. Another great read is also: http://java.sun.com/developer/technicalArticles/releases/1.4regex/ Be aware that there are different types of regexp. So not all commands may work (luckily, eclipse displays the available commands on the input dialog) Btw, a great one I use quite often is this: TAG\b[^]*(.*?)/TAG It'll grab the start and ending ending of a specified html tag. You can then use the select the inner element using $1 :) -- View this message in context: http://www.nabble.com/How-to-use-Regular-Expression-for-Search---Replace-in-Eclipse---tp22593950p22596320.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Error in Messaging System up to R734301?
Update Turns out: this version has been working all along and I am an idiot for NOT testing this on the actual process. The Emails were sent just fine after all! But, the bright side is, that it is probably a good idea to take a second look at the partymgr new email screen. Right now those messages are not send whatsoever, they remain created in the background and are simply not set to the correct status. This is really misleading in my opinion and perhaps it is best to label that function appropriately so that others are not misguided by that feature as I was... alternatively, I would argue for a simple seca that simple changes the status of those mails, once created... -- View this message in context: http://www.nabble.com/Error-in-Messaging-System-up-to-R734301--tp22494971p22557942.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Error in Messaging System up to R734301?
Hehe, you got me there ;) Well, what is really odd is that no matter which Revision of CommunicationEventServices (xml / java, party/services.xml I use, I always end up with no email being sent, even though the event itself is stored in the database as intended... Perhaps to clarify: I am creating the emails using the PartyMgr New Email Feature (partymgr/control/createCommunicationEvent), after submit, I receive the following message onScreen: The following occurred: Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix: And the latter in the logs: 2009-03-16 14:02:11,633 (http-0.0.0.0-8443-2) [ ControlServlet.java:131:INFO ] [[[createCommunicationEvent] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]] 2009-03-16 14:02:11,633 (http-0.0.0.0-8443-2) [ ControlServlet.java:196:INFO ] [[[createCommunicationEvent] Setup done, doing Event(s) and View(s)- total:0.0,since last([createCommunicat...):0.0]] 2009-03-16 14:02:11,649 (http-0.0.0.0-8443-2) [ UtilXml.java:246:INFO ] XML Read 0.016s: jndi:/0.0.0.0/partymgr/WEB-INF/controller.xml 2009-03-16 14:02:11,665 (http-0.0.0.0-8443-2) [ UtilXml.java:246:INFO ] XML Read 0.016s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml 2009-03-16 14:02:11,665 (http-0.0.0.0-8443-2) [ UtilXml.java:246:INFO ] XML Read 0.0s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml 2009-03-16 14:02:11,665 (http-0.0.0.0-8443-2) [ UtilXml.java:246:INFO ] XML Read 0.0s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml 2009-03-16 14:02:11,680 (http-0.0.0.0-8443-2) [ UtilXml.java:246:INFO ] XML Read 0.015s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml 2009-03-16 14:02:11,680 (http-0.0.0.0-8443-2) [ UtilXml.java:246:INFO ] XML Read 0.0s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml 2009-03-16 14:02:11,727 (http-0.0.0.0-8443-2) [ UtilXml.java:246:INFO ] XML Read 0.047s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartyPermissionServices.xml 2009-03-16 14:02:11,743 (http-0.0.0.0-8443-2) [ UtilXml.java:246:INFO ] XML Read 0.016s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml 2009-03-16 14:02:11,821 (http-0.0.0.0-8443-2) [ UtilXml.java:246:INFO ] XML Read 0.016s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml 2009-03-16 14:02:11,836 (http-0.0.0.0-8443-2) [ UtilXml.java:246:INFO ] XML Read 0.015s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartyServices.xml 2009-03-16 14:02:11,977 (http-0.0.0.0-8443-2) [ ServiceDispatcher.java:578:INFO ] Sync service [partymgr/createCommunicationEvent] finished in [297] milliseconds 2009-03-16 14:02:12,258 (http-0.0.0.0-8443-2) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 188. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'. 2009-03-16 14:02:12,258 (http-0.0.0.0-8443-2) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 210. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'. 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 593. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'. 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 594. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'. 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 595. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'. 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [ UtilXml.java:665:ERROR] XmlFileLoader: File
Re: Error in Messaging System up to R734301?
Well, yeah... as writing, I'm currently digging through the commit list in hopes of slowly updating the xsds, java worker classes and whatnot arround the real issue... A quick question though, has there been alot of known issues with the SMTP Mailer prior January 18th? It is kinda hard to believe that I am not getting it to run at all, so i bet I just screwed up my properties file (on a sidenote: Thanks alot BJ, your help is as usual well appreciated): # -- unique instance id (20 char max) unique.instanceId=ofbiz1 # -- the default currency to use for prices, etc currency.uom.id.default=EUR # -- the default organizationPartyId for used in dropdowns and reports defaultOrganizationPartyId=Company # -- the default decimal format for currency currency.decimal.format=##0,00 # -- Properties fallback locale. Change this setting with caution. If you #start getting resource not found errors, then there are #properties missing in the locale you selected. locale.properties.fallback=en # -- locales made available separated by commas locales.available=de,en # -- time zone IDs made available separated by commas #timeZones.available=US/Eastern,US/Central,US/Mountain,US/Pacific,US/Alaska,US/Hawaii # -- the default country for drop downs country.geo.id.default=DEU # -- the default trackingCodeId to use for Partner Managed Tracking Codes partner.trackingCodeId.default= # -- USPS address matching string - should be all lower case, no spaces, pipe delimited usps.address.match=(^.*?p[\\. ]*o[\\. ]*box.*$)|(^.*?post.*?office.*?box.*$)|((^|(^.*? ))r[\\. ]*r[\\. ]*(( +)|([0-9#]+)).*$)|(^.*?rural.*?route.*$) # -- mail notifications enabled (Y|N) mail.notifications.enabled=Y # -- redirect all mail notifications to this address for testing mail.notifications.redirectto=*...@***.ch # -- the default mail server to use mail.smtp.relay.host=smtp..ch # -- SMTP Auth settings mail.smtp.auth.user=sys...@***.com mail.smtp.auth.password=* # -- Additional Required Fields needed for Gmail and other non traditional smtp servers # -- These added fields also work for Yahoo business mail for instance # -- Gmail smtp port can be either 465 or 587 #mail.smtp.port=465 # -- Gmail requires StartTLS #mail.smtp.starttls.enable=true # -- Gmail requires a JSSE socket factory, the following socketFactory settings will override JavaMail's default socketFactory settings # -- Port needs to be the same as mail.smtp.port #mail.smtp.socketFactory.port=465 #mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory #--Fallback [true|false] determines whether you will allow a non secure connection if you are unable to get a secure one #mail.smtp.socketFactory.fallback=false # -- how the address are matched with the CRM addresses mail.address.caseInsensitive=N # -- debug SMTP mail option enabled (Y|N) mail.debug.on=Y # -- HTTP upload settings # -- directory used to temporarily store files that are larger than the configured size threshold (10K) http.upload.max.sizethreshold=10240 # -- directory used to temporarily store files that are larger than the configured size threshold http.upload.tmprepository=runtime/tmp # -- max size in bytes (-1 for unlimited) http.upload.max.size=-1 # -- spam header name and value to block incoming spam detected by external spam checker, configured for spam assin mail.spam.name=X-Spam-Flag mail.spam.value=YES -- View this message in context: http://www.nabble.com/Error-in-Messaging-System-up-to-R734301--tp22494971p22548566.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Error in Messaging System up to R734301?
hmm, well I applied the Revision as a patch, meaning that I downloaded each file and replaced my own and followed the instructions on which other files i had to remove... Problems arose, however, on compiling and I ended up having to add the ESAPI packages as well and change the StringUtil Class which contains the StringWrapper. From there I now receive the same bugging error that initially forced me to apply a patch instead of doing a clean update to the most current revision. Within my groovy script I try to use the checkLoginUrl, but without the /checklogin/ location, which is why I am doing a simple String replace: context.get(checkLoginUrl).replace(/checkLogin/,) This concept used to work with the previous versions of the StringUtil class, but now, I receive the following error: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://brandsparadise/widget/BrandsparadiseScreens.xml#main]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error running BSH script at [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line [17]: Sourced file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in method invocation: Method replace( java.lang.String, java.lang.String ) not found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 : in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : .replace ( /checkLogin/ , ) (Sourced file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in method invocation: Method replace( java.lang.String, java.lang.String ) not found in class'org.ofbiz.base.util.StringUtil$StringWrapper')) (Error running BSH script at location [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error running BSH script at [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line [17]: Sourced file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in method invocation: Method replace( java.lang.String, java.lang.String ) not found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 : in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : .replace ( /checkLogin/ , ) (Sourced file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in method invocation: Method replace( java.lang.String, java.lang.String ) not found in class'org.ofbiz.base.util.StringUtil$StringWrapper'))) -- View this message in context: http://www.nabble.com/Error-in-Messaging-System-up-to-R734301--tp22494971p22521435.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Error in Messaging System up to R734301?
Hey everybody, I am facing a rather unusual problem that pretty much doesn't allow me to update to any recent Revision. (unneccesary sidenote: I am receiving an error on my groovy file where I try to use the String Method replace on a variable, stating that the StringWrapper class does not contain such method - everything worked fine in previouses releases... but anyhow...) So now I am wondering whether there was a known issue with the smtp mailing system up until that point (mid january), as I cannot send any emails. I am not receiving any error message either, even though I did setup general.properties file as explained in the wiki. Any thoughts on this? I know its rather difficult to answer a question on a revision almost 3 months back, but perhaps anyone remembers an issue which has been fixed as of late or an idea for where I could start digging? -- View this message in context: http://www.nabble.com/Error-in-Messaging-System-up-to-R734301--tp22494971p22494971.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Error in Messaging System up to R734301?
Hmm, yeah... well, to be honest: the email system seems to work on the more recent revision, so perhaps there have really been some changed made in february that fixed the issue. Is there a way to merge my revision (r734301) with the on in february without touching the other components? I don't really want to go through the hussle and update all and fall back on the problem which i had with my groovy files... (left alone the problem I got from changing the original css files :P) -- View this message in context: http://www.nabble.com/Error-in-Messaging-System-up-to-R734301--tp22494971p22495775.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Error in Messaging System up to R734301?
You know, sometimes you guys are just the best! Thanks a bunch, folks, you are great! -- View this message in context: http://www.nabble.com/Error-in-Messaging-System-up-to-R734301--tp22494971p22501434.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: FYI
Well, at least those stats show that IE6 is finally, but slowly, becoming obsolete. I really hate how I always end up creating those * html hacks just to make my website look good on stupid IE6 as well... -- View this message in context: http://www.nabble.com/FYI-tp22495774p22501435.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: View-Entities Group by month
Ah, well, I got myself around that problem by a simple groovy script. I wanted to share the result in case that anybody else got the problem. Note that the following approach is a fall-back to the classical SQL - commands and may therefore NOT be recommended! --- String sqlCommand = SELECT * FROM Products; records = []; String helperName = delegator.getGroupHelperName(org.ofbiz);// gets the helper (localderby, localmysql, localpostgres, etc.) for your entity group org.ofbiz SQLProcessor sqlproc = new SQLProcessor(helperName); rs = sqlproc.executeQuery(sqlCommand); records = []; numberOfColumns = rs.getMetaData().getColumnCount(); while (rs.next()) { record = [:]; rs.getMetaData() for (i = 1; i = numberOfColumns; i++) { record.put(rs.getMetaData().getColumnName(i),rs.getObject(i)); } records.add(record); } context.put(sqlresult,records); The above script should call any of your sql-statements in sqlCommand and return the results in a matter that can be easily processed by the freemarker templates (ftl files). The result is similar to any result given by a regular delegator call, so you can access the data in your ftl file via ${sqlresult.columnname} Cheers, Paul -- View this message in context: http://www.nabble.com/View-Entities-Group-by-month-tp22327481p22348087.html Sent from the OFBiz - User mailing list archive at Nabble.com.
View-Entities Group by month
Hey everyone, If I was to create the following statement: SELECT ORDER_HEADER.*,MONTH(created_stamp) as month, count(order_id) as ordersum FROM ORDER_HEADER GROUP BY Year(ORDER_HEADER.CREATED_STAMP), Month(ORDER_HEADER.CREATED_STAMP) Which is basically a simple View on the Order Header data where I group all orders by the month they occured in and the number of orders, how could I create the same within a view-entity where the month() command is not available? -- View this message in context: http://www.nabble.com/View-Entities-Group-by-month-tp22327481p22327481.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Confused over localeString
Perhaps the last message was a little premature. I changed the start.properties (default lang is now de) file and changed the general.properties file as you suggested (fallback is now en). Still the dropdowns in the ecommerce application remain de and en -- not the expected en_US and de_DE -- View this message in context: http://www.nabble.com/Confused-over-localeString-tp21952500p21972301.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Confused over localeString
Yup :) It reads: # -- locales made available separated by commas locales.available=de,en And again, the problem is not that only those two languages are available - that works as planned. The Problem is that the language.ftl file displays the values of the options on the selectbox as de and en instead of the de_DE and en_US values. So once anybody attempts to set the locale, it'll be defined as de or en and this gives me problems on the content management system (and localisation of products / categories) as the cms looks for a datasource with the localeString en_US or de_DE and not en or de... -- View this message in context: http://www.nabble.com/Confused-over-localeString-tp21952500p21979072.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Confused over localeString
Well, I am still confused. I got the part that I can change the available languages in the general.properties file. The confusion does not arise there. The confusion i got is the following: What is the difference between en and en_US and de/de_DE respectively? Why are there 2 different choices for the languages and if I want my page to run in English and German would I choose en and de or en_US and de_DE for it? If I choose en and de, how would that affect the DataResource-Entries in the OFBiz CMS? Do they still need to have the localeString set to en_US and or de_DE? And why would would the setting of de in the start.properties file still resolve to de_DE in the locale on startup, if de is set through the setSessionLocale command, the locale will change to de and not de_DE as on the start.properties file... It all comes down to this: why two different localeStrings (eg: de and de_DE) if they both mean the same? Sorry, if I still couldn't make myself clear about what my question is - your help is well appreciated... -- View this message in context: http://www.nabble.com/Confused-over-localeString-tp21952500p21981251.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Confused over localeString
Hey everyone, while trying to localise our webstore I got a little confused over the use of the localeString. I noticed that the setSessionLocale uses the simple 2 char string to set the locale (eg: en for English and de for German and so on), yet sometimes the longer form of 4chars is used, ie de_DE or en_US. Now this wouldn't really make a difference to me, but it really ruins all my efforts to localise the content. For some reason my webstore starts with en_US as the locale... but a click on the setSessionLocale widget changes this to de or en respectively, hence all the lookups wouldn't work... is this a known issue or how can i circumvent this? -- View this message in context: http://www.nabble.com/Confused-over-localeString-tp21952500p21952500.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Confused over localeString
ah, this is odd, on the demo server there isn't really anything wrong at all. Perhaps I should describe the problem on my server then. The language ftl file on my server produces the following code: div id=choose-language class=screenlet div class=screenlet-header div class=boxheadSprache/div /div div class=screenlet-body style=text-align: center; form method=post name=chooseLanguage action=/ecommerce/control/setSessionLocale style=margin: 0pt; select name=newLocale class=selectBox style=width: 95%; onchange=submit() option dir=ltr value=en lang=enEnglish/option option dir=ltr value=de lang=deDeutsch/option /select /form /div /div I left the language.ftl itself untouched: div id=choose-language class=screenlet div class=screenlet-header div class=boxhead${uiLabelMap.CommonLanguageTitle}/div /div div class=screenlet-body style=text-align: center; form method=post name=chooseLanguage action=@ofbizUrlsetSessionLocale/@ofbizUrl style=margin: 0; select name=newLocale class=selectBox style=width:95% onchange=submit() #assign availableLocales = Static[org.ofbiz.base.util.UtilMisc].availableLocales()/ #list availableLocales as availableLocale #assign langAttr = availableLocale.toString()?replace(_, -) #assign langDir = ltr #if ar.iw?contains(langAttr?substring(0, 2)) #assign langDir = rtl /#if option lang=${langAttr} dir=${langDir} value=${availableLocale.toString()}#if locale.toString() = availableLocale.toString() selected=selected/#if${availableLocale.getDisplayName(availableLocale)}/option /#list /select /form /div /div but I did edit the general.properties file and set the following: locale.properties.fallback=de # -- locales made available separated by commas locales.available=de,en Perhaps this is really a configuration mishap of mine (which would actually solve several problems of mine at once ;) ), but why would it only display the first two chars of the actual localeString? -- View this message in context: http://www.nabble.com/Confused-over-localeString-tp21952500p21958231.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Confused over localeString
Oh, yeah, but thats not quite what I meant. All availableLocales listed in the language.ftl file are displayed as two character values, eg: de instead of de_DE and en instead of en_US. The thing I don't really get is why that is the case... -- View this message in context: http://www.nabble.com/Confused-over-localeString-tp21952500p21962962.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Form-Widget call multiple services?
Well, thanks for the reply. :) The out parameters of createCategoryI18n is the productCategoryId (createCategoryI18n itself is a simple auto create function for ProductCategory). The difficulties I am having are from synching the both services just right... as with SECAs I could have called the second service on return, which would have allowed the productCategoryId parameter to be passed (but would have left the form parameters out of the equation), but as for service groups, I am now stuck with calling the two services in the correct order... Isn't there a way to call the second service on return here too? -- View this message in context: http://www.nabble.com/Form-Widget-call-multiple-services--tp21836332p21847294.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Form-Widget call multiple services?
Thanks, Divesh for such a detailed explanation :) (seriously, the above was well appreciated...) Well, I tried all of these scenarios: a) I tried setting the invoke of createCategoryI18nRollup (service_groups.xml) to async and the the optional to true. The Result was, that the first service creates an instance just fine, but createCategoryI18nRollup did not create an instance in ProductCategoryRollup b) I set the invoke of createCategoryI18nRollup to async and the optional to false. This will create the following error: Error doing entity-auto operation for entity [ProductCategoryRollup] in service [createCategoryRollupI18n]: org.ofbiz.service.GenericServiceException: In Service [createCategoryRollupI18n] which uses the entity-auto engine with the create invoke option: could not find a valid combination of primary key settings to do a known create operation; options include: 1. a single OUT pk for primary auto-sequencing, 2. a single INOUT pk for primary auto-sequencing with optional override, 3. a 2-part pk with one part IN (existing primary pk) and one part OUT (the secdonary pk to sub-sequence, 4. all pk fields are IN for a manually specified primary key c) I set the invoke of createCategoryI18nRollup to sync and the optional setting to false and the first service creates an instance, but the second would not touch the ProductCategoryRollup as planned... d) I set the invoke of createCategoryI18nRollup to sync and the optional setting to true and again the first service creates an instance, but the second would not touch the ProductCategoryRollup as planned... So setting the pk auto-attribute to optional doesn't really seem to matter much (on the tests above I restarted the server on both changes to the service_group.xml file and cleared the cache on the changes on the service.xml file)... -- View this message in context: http://www.nabble.com/Form-Widget-call-multiple-services--tp21836332p21850538.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Form-Widget call multiple services?
Well, could anybody please give me another hint? I hate to be an ass about this (I know that everybody on the list gets easily annoyed by posts like this) but I am in a really tight position here and stuck like... well, uhm Back to subject: My problem really remains: I am either left without any productCategoryId or without the input parameter given by the form. One or the other always gets lost in the process. I am quite certain that there must be another way or a workaround, I even tried using the minilang for that but without any luck whatsoever... I studied the docs carefully (disregarded the discrepency of all the different docs out there) and tried to understand anything like that in the framework, but the problems remain... ... My problem really seems like a trivial one to me: I want to create a Category with a rollup in the same form, I seriously can't believe that I am stuck like that... P.S.: I am truely sorry, I know that you guys got a whole different things on your mind and that this topic properly isn't of anybody's interest but mine... -- View this message in context: http://www.nabble.com/Form-Widget-call-multiple-services--tp21836332p21857441.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Form-Widget call multiple services?
Hey everyone, by pressing the submit button on a form, I am trying to call several services one after the other. First I want to call a service that creates a productCategory and then use the productCategoryId and the rest of the form field values to call the addProductCategoryToCategory service. Now my code looks like this: I created a form as the following Forms*xml: form name=test target=createCategoryI18n type=single !-- Create Category -- field name=productCategoryId title= display/ /field field name=productCategoryTypeId hidden value=QUICKADD_CATEGORY / /field !-- Add ParentRollup -- field name=fromDate date-time type=timestamp default-value=${nowTimestamp}/ /field field name=parentProductCategoryId title=${uiLabelMap.FormFieldTitle_parentCategoryId} tooltip=tooltip-text drop-down allow-empty=false current-description= current=selected no-current-selected-key=guys entity-options description=${categoryName} key-field-name=productCategoryId entity-name=ProductCategoryRollupAndChild entity-constraint name=parentProductCategoryId operator=equals value=bproot/ entity-order-by field-name=categoryName/ /entity-options /drop-down /field field name=submitButton title=${uiLabelMap.CommonAdd}submit button-type=button//field /form Then I added a service as such: service name=createCategoryI18n default-entity-name=ProductCategory engine=entity-auto invoke=create auth=true descriptionCreate a Category/description permission-service service-name=exampleGenericPermission main-action=CREATE/ auto-attributes include=pk mode=OUT optional=false/ auto-attributes include=nonpk mode=INOUT optional=true/ /service And lastly I tried to have a SECA create the needed Rollup once needed: eca service=createCategoryI18n event=commit action service=addProductCategoryToCategory mode=sync/ /eca But of course, this won't work, because then the form parameters go missing. I know that this makes sense, as the SECAs are not context related and the parameters not needed by a service are removed from the context... yet my question remains: how can I accomplish the above? is there a way to have a form call multiple services that are related to one another? -- View this message in context: http://www.nabble.com/Form-Widget-call-multiple-services--tp21836332p21836332.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Form-Widget call multiple services?
Ah, well. To be honest, I already gave that a try prior posting the last message. Here's what I got for the creation of the category Service (createCategoryRollupI18n = addProductCategoryToCategory ): group name=createCategoryI18nAndRollup send-mode=all invoke name=createCategoryI18n mode=async / invoke name=createCategoryRollupI18n mode=async/ /group Of course I disabled the eca before testing, yet the above misses the productCategoryId from working... -- View this message in context: http://www.nabble.com/Form-Widget-call-multiple-services--tp21836332p21836975.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Form-Widget call multiple services?
Well, perhaps to clarifily a little: I added the following service to the service.xml file, that will eventually call the service group: service name=createCategoryI18nAndRollup engine=group location=createCategoryI18nAndRollup invoke= auth=true descriptionCreates a WorkEffort entity and WorkEffortAssoc/description auto-attributes include=pk mode=INOUT optional=false entity-name=ProductCategory/ auto-attributes include=nonpk mode=IN optional=true entity-name=ProductCategory/ auto-attributes include=pk mode=INOUT optional=false entity-name=ProductCategoryRollup/ auto-attributes include=nonpk mode=IN optional=true entity-name=ProductCategoryRollup/ /service Still no luck, calling it... -- View this message in context: http://www.nabble.com/Form-Widget-call-multiple-services--tp21836332p21838402.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Form-Widget call multiple services?
Well, I have begun to wildly guess around now. As the OFBIZ Developer Beginners Guide seems to differ a lot from the Service Engine guide explanation of service groups. I have now tried the following: service name=createCategoryI18nAndRollupi engine=group auth=true descriptionCreates a party, person and party role Client/description group invoke name=createCategoryI18n result-to-context=true / invoke name=addProductCategoryToCategory / /group /service I added the above to the service.xml file and removed the service_groups.xml file altogether. That was, at least, what any example I could find would do... but, the error I receive remains: The Following Errors Occurred: The following required parameter is missing: [createCategoryI18nAndRollupi.productCategoryId] This doesn't make any sense anymore... -- View this message in context: http://www.nabble.com/Form-Widget-call-multiple-services--tp21836332p21839528.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: How to display a List of all uiLabels
Ha, great and there I thought I was actually contributing ;) Well in that case: perhaps the above is useful for anybody trying to figure out the content of any Map in the context ;) -- View this message in context: http://www.nabble.com/How-to-display-a-List-of-all-uiLabels-tp21792846p21793514.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: catalogs ? not multilingual
Well, I just wanted to stop by and say that whoever came up with the concept of Menu and Form Widgets is a Bloody Genius! Thank you so much for hinting me there, too. This concept makes everything alot easier!!! -- View this message in context: http://www.nabble.com/catalogs---not-multilingual-tp16493160p21789721.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Avoiding restart when changing services.xml or simple method declarations
I am receiving the following error when I try to do this (it doesn't seem to clear the cache properly either): Error calling event: org.ofbiz.webapp.event.EventHandlerException: Problems processing event: java.util.ConcurrentModificationException (null) -- View this message in context: http://www.nabble.com/Avoiding-restart-when-changing-services.xml-or-simple-method--declarations-tp21751442p21795710.html Sent from the OFBiz - User mailing list archive at Nabble.com.
How to display a List of all uiLabels
Hey everyone, well, I thought that this may be a neat little function that can possibly safe alot of your time ( which is why I wanted to share it with you ;)). In the past it has taken me an awful lot of time to figure out which uiLabels are avaialble in my screens. Since the corresponding uiLabelMaps are really scattered all over the place, I noticed that I tended to redo already existing once... So, here is help: Simply copy and paste the following into an ftl file: table #list uiLabelMap?keys as key #if uiLabelMap[key]?is_string tr td${key}/td td${uiLabelMap[key]}/td /tr /#if /#list /table It should create an easy to read table of available uiLabels... Cheers... -- View this message in context: http://www.nabble.com/How-to-display-a-List-of-all-uiLabels-tp21792846p21792846.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: catalogs ? not multilingual
Hmm, yeah :) Both files make a good read - thx! I think that as for the categories, I will probably just create an entity of my own (with productCategoryId, locale, name, description and imageUrl) and rework the Sidedeepcategory,categorydetail and breadcrumbs ftl files. Later in the process I am urged to create a new set of wizzards for the creation and editing of new categories anyway, so i got the feeling that this may actually be easier than to mess with the cms. Especially since I am using Magnolia for the real content anyway... It is a bummer though, looking at the logic behind the ofbiz cms, i can clearly see that everything is in place just fine - the structure is really well done and makes a whole lotta sense. It's just that as for categories and/or products, I don't really want to hussle with so many screens to go through... If it takes me more than 5min to create a product in multilanguages, I doubt that I can find coworkers who would even touch it at all... so perhaps it is best to do the workaround as i intend it for now... which reminds me, perhaps it would make more sense to auto-create the DataResources and Assocs when using the catalog/create button?! -- View this message in context: http://www.nabble.com/catalogs---not-multilingual-tp16493160p21762024.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: catalogs ? not multilingual
After banging my head for pretty much the entire day, could somebody guide me through this process?? I did the following: 1) I created a new category 2) clicked on content 3) chose Category Name from the Add Product Category Content table, clicked on Prepare Create 4) Chose From Date to yesterday 5) entered Locale String de 6) entered Text deutscher Text 7) clicked on Create repeated the very same for en and english Text. Yet, nothing changes when I change the locale in the ecommerce-application... I also tried the following, without any difference: 8) in category view clicked on Edit Content 9) clicked on Association 10) entered Webstore Content in Content Id To 11) Selected Content Assoc Type Id (Alternate Locale) 12) clicked on Create -- View this message in context: http://www.nabble.com/catalogs---not-multilingual-tp16493160p21750656.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: How to hide empty (no stock) products and empty (no stock) categories?
Well, I gave this some more thought. My first solution would be to run through each Product and check whether or not the quantityonhand is existent. So as for the productsummary screens, which are featured in the categories, I ran through the categorydetail.groovy page and added: [...] catResult = dispatcher.runSync(getProductCategoryAndLimitedMembers, andMap); //run through the products and sort out anything that isn't available productCategoryMembers = catResult.get(productCategoryMembers); for(int i = 0; iproductCategoryMembers.size(); i++){ quantity = dispatcher.runSync(getInventoryAvailableByFacility, [productId : productCategoryMembers[i].productId, facilityId : WebStoreWarehouse, useCache : true]).quantityOnHandTotal; //System.out.println(quantity); productCategoryMembers[i].put(quantity,quantity); } [...] I noticed that the quantity label is really not all that important (either that, or i didn't fully grasp the meaning ;) ), so I reused that mapping field to add the actual qualityathand to any GenericValue. I could then simply check within the ftl files whether or not quantity equals 0... But here's the thinker that really got to me: I personally don't think that this approach is either recommandable nor fast. This may work fine with a small quantity of products, but should really be a pain if that list increases... The categorylisting itself is actually a far bigger problem, since I would want to check for each category, whether or not any of their subcategories or the category itself has any products with a quantityathand != 0. So if I would do it in any way similar to the approach above, I would be stuck running through the categories, generating huge lists of products (this would have to be done on the fly also) and calling the above sequence over and over again - which again leads me to the conclusion, that anything like this approach is really dangerous with an increasing number of products... Of course there is a workaround using entitytables, that I could do. But it remains curious to me, that nobody ever wanted to achieve anything alike before me... Wouldn't you agree that it would be only userfriendly to add a check-mechanism to the categories, that removes the categories from the screen if no product is available? -- View this message in context: http://www.nabble.com/How-to-hide-empty-%28no-stock%29-products-and-empty-%28no-stock%29-categories--tp5758876p21701987.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: How to hide empty (no stock) products and empty (no stock) categories?
Well, a tiny update on my side (just in case that anybody else is interested in a solution). I did get around with that problem by introducing view-entities: I added the following to a entitymodel.xml file of my own: !-- View Entities for Categories -- view-entity entity-name=ProductsAndInventory package-name=org.brandsparadise.products description Returns all Products and the coherent Inventory /description member-entity entity-alias=products entity-name=ProductAndCategoryMember / member-entity entity-alias=inv entity-name=InventoryItem / alias-all entity-alias=products group-by=true /alias-all alias entity-alias=inv name=quantityOnHandTotal function=sum/ alias entity-alias=inv name=availableToPromiseTotal function=sum/ view-link entity-alias=products rel-entity-alias=inv rel-optional=true key-map field-name=productId / /view-link relation type=one rel-entity-name=InventoryItem key-map field-name=productId/ /relation /view-entity !-- -- view-entity entity-name=CategoryAndInventory package-name=org.brandsparadise.products description Returns all Categories and the coherent Inventory of all products belonging to the category /description member-entity entity-alias=products entity-name=ProductsAndInventory / member-entity entity-alias=cat entity-name=ProductCategory / alias-all entity-alias=cat group-by=true /alias-all alias entity-alias=products name=quantityOnHandTotal function=sum/ alias entity-alias=products name=availableToPromiseTotal function=sum/ view-link entity-alias=cat rel-entity-alias=products rel-optional=true key-map field-name=productCategoryId / /view-link relation type=one rel-entity-name=ProductsAndInventory key-map field-name=productCategoryId/ /relation /view-entity This will give me two tables: one of all products with their available inventory and the other a list of all categories with all of their available products... this is good news, because I can now skip through these tables in the ftl file and simply remove any category or product that doesn't happen to have any products available... Of course, as always: feel free to give feedback! I am more than open for improvements, so ... uhh... cheers :) -- View this message in context: http://www.nabble.com/How-to-hide-empty-%28no-stock%29-products-and-empty-%28no-stock%29-categories--tp5758876p21706845.html Sent from the OFBiz - User mailing list archive at Nabble.com.
RE: Currency UOM is not set in the shopping cart
Never mind, I absolutely screwed up - works now :) madppiper wrote: Has this one been fixed? I set the webstore default CurrencyUOM to EUR, as well as the general.properties entry and the one in the product***.xml file. Yet, my cart falls back to USD as currentCurrencyUOM... any idea? Passalacqua Nicolas wrote: That's done! Nick -Message d'origine- De : Jacques Le Roux [mailto:jacques.le.r...@les7arts.com] Envoyé : vendredi 24 novembre 2006 12:28 À : ofbiz-u...@incubator.apache.org Objet : Re: Currency UOM is not set in the shopping cart Hi Nicolas, I just tried and yes, this seems like a bug. Can you create a Jira issue please ? TIA Jacques - Original Message - From: Passalacqua Nicolas npassalac...@prosodie.com To: ofbiz-u...@incubator.apache.org Sent: Thursday, November 23, 2006 5:30 PM Subject: Currency UOM is not set in the shopping cart Hi guys, I'm sorry to bothering you one more time but I have to understand all the abilities of Ofbiz so I try all I can. Actually, I run through this: I switch the Auto Save Cart fields to Yes in the store OFBiz E-Commerce store. I add a product in the cart (FrontEnd) under a user. I go to the backend look at this user profil. I see the product I just add in the shopping list and click on edit. From there (backend) I want to purchase this order. So I click in the Shopping List Detail - autoSave tab on New Order. And there I've got this error: at Line: 50 : in file: component://order/webapp/ordermgr/WEB-INF/actions/entry/showcart.bsh : shoppingCart .getCurrency ( ) The Currency UOM is not set in the shopping cart, this is not a valid state, it should always be passed in when the cart is created. What could I do??? Thanks, Nick -- View this message in context: http://www.nabble.com/Currency-UOM-is-not-set-in-the-shopping-cart-tp7510792p21686841.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: How to hide empty (no stock) products and empty (no stock) categories?
Does anybody have an idea on how to solve this? -- View this message in context: http://www.nabble.com/How-to-hide-empty-%28no-stock%29-products-and-empty-%28no-stock%29-categories--tp5758876p21562761.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: feature internationalisation
Interesting Question, does anybody know an answer? Perhaps it is easiest to create a new entitytable that is linked to productId and features langCode and productName? Passalacqua Nicolas wrote: Hi, I wondering if there is any implementation or solution for using features (product features like color, size ..) in an internationalization context. Ie: Using DataResource like for product description, long description; but this time for the ProductFeatureType description. Regards, Nick -- View this message in context: http://www.nabble.com/feature-internationalisation-tp8711863p21565469.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: feature internationalisation
Would a similar approach also work for the internationalization of categories? -- View this message in context: http://www.nabble.com/feature-internationalisation-tp8711863p21566418.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: How to hide empty (no stock) products and empty (no stock) categories?
Sorry for bringing up this old discussion, but I think this is really a neat feature I would also be interested in. The Disc. - function only works for the products, but does not work for the category-trees. This becomes a real problem on my site, since products do not really last long, and it is a bad user experience to search through empty categories. I have already added a function that lists at least the products of the subcategories to a top level category, but I really think that it would be alot wiser to simply drop the category from the sidedeepcategory.ftl file, if no product is available. I was thinking about looping through the categories and using the getProductCategoryAndLimitedMembers function for each in order to find a solution, but I got a feeling that with an icnreasing number of products available this would result in a huge unesseary waste of heapspace - not too mention, that I am rather unsure about whether or not getProductCategoryAndLimitedMembers already filters the products or not... -- View this message in context: http://www.nabble.com/How-to-hide-empty-%28no-stock%29-products-and-empty-%28no-stock%29-categories--tp5758876p21544605.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Integrating War into Opentaps (OFBiz)
Same error as before, Quadri. Just refer to my previous answer ;) -- View this message in context: http://www.nabble.com/Integrating-War-into-Opentaps-%28OFBiz%29-tp20987940p21474986.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: scale images : general class to filter a xml tree (xml file)
I have done something similar in my app and used the Jakarta Image-Taglib for it (which is based on the Poor Mans Image Wrapper, btw - a great tool). It isn't a pretty solution however, since I had to work around to call a jsp (so that i could use the taglib) file from a service that would then create the scaled images and store them on the server... I would only run the service when I add new products and create all sizes I would need once. I would argue that perhaps it is easiest, if we would add a new ImagingUtil class to the project which is based on the Poor Mans Image Wrapper (http://www.mullassery.com/software/PMIW/index.jsp) and allows instant image resizing... -- View this message in context: http://www.nabble.com/scale-images-%3A-general-class-to-filter-a-xml-tree-%28xml-file%29-tp21412075p21432642.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Users - errorPage = request-map ?
I would be very interested in this as well, of course I could redirect using jsp, but isn't there an easier solution? -- View this message in context: http://www.nabble.com/Users---errorPage-%3D-request-map---tp4454613p21352395.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Odd ServiceValidationException in bsh script
Hey everyone. I created a service of my own and tested it carefully within the webtools component, where no errors occured (only 1 parameter is needed for input). Unfortunately, when I try to run the very same service from within my bsh script, it generates the following ServiceValidationException: Message: Type check failed for field [runSolrQuery.queryResult]; expected type is [org.apache.solr.common.SolrDocumentList]; actual type is [org.apache.solr.common.SolrDocumentList]Type check failed for field [runSolrQuery.queryHeader]; expected type is [org.apache.solr.common.util.SimpleOrderedMap]; actual type is [org.apache.solr.common.util.SimpleOrderedMap] I thought that was very unusual, since the actual type matches the expected type... Does anybody have an idea on what I am doing wrong? The bsh script looks as the following: [...] String searchString = request.getParameter(SEARCH_STRING); Map query = dispatcher.runSync(runSolrQuery,UtilMisc.toMap(query,searchString)); [...] And the service requires the following parameters: [...] attribute mode=IN name=query optional=false type=String / attribute name=queryResult type=org.apache.solr.common.SolrDocumentList mode=OUT optional=true/ attribute name=queryHighlight type=Map mode=OUT optional=true/ attribute name=queryDebugMap type=org.apache.solr.common.SolrDocumentList mode=OUT optional=true/ attribute name=queryExplainMap type=org.apache.solr.common.SolrDocumentList mode=OUT optional=true/ attribute name=queryFacetQuery type=Map mode=OUT optional=true/ attribute name=queryElapsedTime type=Long mode=OUT optional=true/ attribute name=queryQTime type=Integer mode=OUT optional=true/ attribute name=queryHeader type=org.apache.solr.common.util.SimpleOrderedMap mode=OUT optional=true/ [...] -- View this message in context: http://www.nabble.com/Odd-ServiceValidationException-in-bsh-script-tp21310481p21310481.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Odd ServiceValidationException in bsh script
hmm, I tried to trace this back a little further and hoped that perhaps I only missed out on placing the dependent libs into the ofbiz common lib directory, but the error remains... Any thought would really be appreciated. This entire affair doesn't make any sense to me. Why would the very same service run within the webtools component but not through the runsync command?! -- View this message in context: http://www.nabble.com/Odd-ServiceValidationException-in-bsh-script-tp21310481p21315823.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: good latest version of ofbiz project ..
It is very important that you do a clean-all before you recompile the upgraded trunk version. So have you double-checked that you followed that step? -- View this message in context: http://www.nabble.com/good-latest-version-of-ofbiz-project-..-tp21315888p21315965.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Database Type Error: not compatible with Double
Ah, perfect :) Yup, the solution worked like a charme :) Just out of curiosity: am I right by thinking that you are trying to typeconvert from the entityengine (derby) to whatever other databasetype is available? or what exactly is causing the error? -- View this message in context: http://www.nabble.com/Database-Type-Error%3A-not-compatible-with-Double-tp21075962p21087606.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Breadcrumbs - misfunctioning along sidedeepcategory
Well, it turns out that no matter whether I use the original sidedeepcategory and breadcrumbs screen within my own application or not, I always end up with topLevelList = null. I tracked it all down to the following: the sequence in which both screens are loaded matter heavily, as right now the breadcrumbs.groovy script is dependant on the sidedeepcategory.groovy list. Is this intentional? I would argue that the breadcrumbs screen should be run independently, so perhaps it is a smart idea to improve the original breadcrumbs script? I compared both scripts and realized that both are pretty much identical except that breadcrumbs.groovy misses the needed: CategoryWorker.getRelatedCategories(request, topLevelList, CatalogWorker.getCatalogTopCategoryId(request, CatalogWorker.getCurrentCatalogId(request)), true); curCategoryId = parameters.category_id ?: parameters.CATEGORY_ID ?: ; request.setAttribute(curCategoryId, curCategoryId); CategoryWorker.setTrail(request, curCategoryId); By adding the above or by simply loading sidedeepcategory.groovy within the breadcrumbs screen, one can easily get both to work... The question remains however, whether or not it is useful to have both scripts in place when their purpose is identical and one of which can not be run standalone... -- View this message in context: http://www.nabble.com/Breadcrumbs---misfunctioning-along-sidedeepcategory-tp21035525p21090678.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Database Type Error: not compatible with Double
Hey everyone, I am receiving a very strange error on the ecommerce application ever since I switched on the VAT feature, which reads as the following: =-=-=-=-=-=-=-=-= DATABASE TYPE ERROR in EntityExpr =-=-=-=-=-=-=-=-= In entity field [TaxAuthorityRateProduct.minPurchase] set the value passed in [java.math.BigDecimal] is not compatible with the Java type of the field [Double] Is this a known bug? I expect it to be caused by the productsummary screen... -- View this message in context: http://www.nabble.com/Database-Type-Error%3A-not-compatible-with-Double-tp21075962p21075962.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Breadcrumbs - misfunctioning along sidedeepcategory
Hey, I got a very very unusual error here, that I'd like to discuss. Within my own webapp I am using the breadcrumbs screen and the siedeepcategoryscreen from the ordermanagement component. Everything seems to work fine, except that the breadcrumbs would not show the topLevelList at all. I remained the original coding in place and didn't touch anything - everything works aok within the original ecommerce application. I tried to print out the topLevelList within the breadcrumbs.ftl file but nothing is shown, even though the sidedeepcategory ftl seems to render everything just fine... Is it possible that somehow along the line, the topLevelList is getting emptied and hence wouldn't allow me to use it within the same app? -- View this message in context: http://www.nabble.com/Breadcrumbs---misfunctioning-along-sidedeepcategory-tp21035525p21035525.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Integrating War into Opentaps (OFBiz)
Well, perhaps the following may be of use to you. I have only skipped through your error message briefly, but from what I can see, it seems as if your error is caused because you simply copied the controller.xml file from any other ofbiz component and copied it into your new web-inf directory. OFbiz will hence assume that the directions from within that file are with purpose and redirect any request to the /control/main screen... which your new war application probably doesn't feature... Try the following stept by step approach (Is this in the wiki anywhere?): 1) Unzip your War file locally. 2) create a new folder in the hot-deploy directory by whatever name you want your new application to run under 3) create a webapp folder within this very same, newly created, directory 4) copy every folder within the war file to this webapp folder (there should be a web-inf directory under hot-deploy/yourapp/webapp/ now) 5) add a new ofbiz-component file to /hot-deploy/yourapp Change the following accordingly to your webapp: ?xml version=1.0 encoding=UTF-8? ofbiz-component name=cms xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://ofbiz.apache.org/dtds/ofbiz-component.xsd; resource-loader name=main type=component / !-- classpath type=dir location=config / -- classpath location=lib/* type=jar/ classpath type=jar location=build/lib/*/ classpath type=dir location=src/* / webapp name=yourapp title=yourapp server=default-server location=webapp mount-point=/yourapp app-bar-display=false / /ofbiz-component 6) Remain everything else in touch (don't add anything) Restart ofbiz and give it all a go... ... I hope this works/ and helps ;) -- View this message in context: http://www.nabble.com/Integrating-War-into-Opentaps-%28OFBiz%29-tp20987940p21035756.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Simple Method String error
Hey there, I got quite an unusual error here. I am trying to parse a url to a java class that I created. The url is created dynamically and then parsed to another method of mine... : !-- Toolset Function -- simple-method method-name=generateProductPriceImagesAll short-description=Refresh the Productprice Images for all Products !-- Retrieve all Products from Entity Engine -- entity-condition entity-name=ProductsAndPrices list-name=productList /entity-condition !-- Run through Productlist and generate the ProductPriceImages -- iterate entry-name=products list-name=productList if condition not if-empty field-name=products.productName/if-empty /not /condition then !-- Generate Product Map File -- set field=productOutMap.message value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice} type=PlainString / call-service service-name=generatePriceImagesAll2 in-map-name=productOutMap /call-service /then /if /iterate /simple-method This should work, but the following error arises on call: Service dispatcher threw an exceptionError running simple method [generateProductPriceImagesAll] in XML file [org/brandsparadise/solr/SimpleMethodServices.xml]: (Could not parse XML file (The reference to entity v1 must end with the ';' delimiter.)) -- View this message in context: http://www.nabble.com/Simple-Method-String-error-tp20920803p20920803.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Simple Method String error
Right, and how do i do that? I tried using: value=imgname=${products.productId}_price.png\amp;v1=${products.productPrice}\amp;v2=${products.productPrice} since a backslash is the usual way of escaping. But this won't work... Adrian Crum wrote: You need to escape the characters: value=imgname=${products.productId}_price.pngamp;v1=${products.productPrice}amp;v2=${products.productPrice} -Adrian madppiper wrote: Hey there, I got quite an unusual error here. I am trying to parse a url to a java class that I created. The url is created dynamically and then parsed to another method of mine... : !-- Toolset Function -- simple-method method-name=generateProductPriceImagesAll short-description=Refresh the Productprice Images for all Products !-- Retrieve all Products from Entity Engine -- entity-condition entity-name=ProductsAndPrices list-name=productList /entity-condition !-- Run through Productlist and generate the ProductPriceImages -- iterate entry-name=products list-name=productList if condition not if-empty field-name=products.productName/if-empty /not /condition then !-- Generate Product Map File -- set field=productOutMap.message value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice} type=PlainString / call-service service-name=generatePriceImagesAll2 in-map-name=productOutMap /call-service /then /if /iterate /simple-method This should work, but the following error arises on call: Service dispatcher threw an exceptionError running simple method [generateProductPriceImagesAll] in XML file [org/brandsparadise/solr/SimpleMethodServices.xml]: (Could not parse XML file (The reference to entity v1 must end with the ';' delimiter.)) -- View this message in context: http://www.nabble.com/Simple-Method-String-error-tp20920803p20921780.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Simple Method String error
looking really close here, but even when I go through each character one by one, I cannot find the darnest difference: yours value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice} mine value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice} ;) -- View this message in context: http://www.nabble.com/Simple-Method-String-error-tp20920803p20922240.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Servlet-Mapping in OFBiz
Hey there, I am trying to add a simple servlet to my application. For that I have added the following to the web.xml file: servlet servlet-nameImageServlet/servlet-name servlet-classorg.apache.taglibs.image.ImageServlet/servlet-class /servlet and servlet-mapping servlet-nameImageServlet/servlet-name url-pattern/gen-image/*/url-pattern /servlet-mapping I was hoping that this would call the Image-Servlet whenever I request the gen-image url. However, the way ifbiz is setup I get the feeling that any call is directly relocated to /control and hence the above doesn't work. I tried looking at the product/facility web.xml file, since there is something similar going on with the ShippingAPI.dll file, but no use... do i need to add the servlet as a request-map to the controller.xml before the above works? -- View this message in context: http://www.nabble.com/Servlet-Mapping-in-OFBiz-tp20892386p20892386.html Sent from the OFBiz - User mailing list archive at Nabble.com.