Re: Is brands supported in ofbiz ?

2010-12-16 Thread Abhishake Agarwal
Hi,

you can create a party with role manufacturer. Then you can add party in
category which can act as a brand.

Regards,
Abhishake

On Thu, Dec 16, 2010 at 1:13 PM, Shailen khichi.shailen...@gmail.comwrote:

 Hi,

 I have a requirement where I need to create manufacturers which I can
 insert as parties. Manufacturers can have zero or more brands. Each brand
 can have zero or more products.

  - Is brands supported in ofbiz ?  I have checked the data model but not
 able to find.
  - If not what would be the best way to achieve this ?

 IMO I should extend ofbiz data model and create a new brand table and
 manufacturer-brand table.
 Brand table would have all the brands and manufacturer-brand table would
 have the manufacturer brand association.
 Also extend the product table and include brandId as a drop-down. Product
 has OEM Party ID(which I think is nothing but manufacturer) and based on the
 OEM Party Id the brandId can be populated.

 Any design pointers are much welcomed.

 --

 Thanks,
 Shailen (khichi.shailen...@gmail.com)
 +91-9216020360
 Mohali, Chandigarh - 160062




Re: Remote Access of OFBiz Services

2010-12-11 Thread Abhishake Agarwal
Hi,

you can expose the service  using export attribute.

service name=... location...   export=true.../service

This will expose the service as a webservice.

Regards,
Abhishake


On Sat, Dec 11, 2010 at 9:16 PM, Sebastian Erler
sebastian.erl...@gmx.netwrote:

 Hi All,

 i want to set up two OFBiz instances in the following way. One Ofbiz uses
 specific services of the second ofbiz remotely and not its local services
 (for study reasons).

 As far as i understand it, ofbiz services are defined in several
 service.xml files (i.e.
 OFBiz_home/applications/product/servicedef/service.xml).
 There we have elements like this:

 service name=... location../service

 Is it possible to set a service location to another running Ofbiz instance?
 Or does somebody know a better way of telling Ofbiz to use a remote
 service(or component) of another Ofbiz?


 Thanks in advance

 Sebastian Erler


 --
 GMX DSL Doppel-Flat ab 19,99 euro;/mtl.! Jetzt auch mit
 gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl



Re: OfBiz Data Model

2010-12-01 Thread Abhishake Agarwal
Hi,

 EntityDataLoadContainer.java setup's the delegator and creates the DB
schema through DataBaseUtil.java. Data is loaded by EntityDataLoadContainer
in start method which internally calls delegator's create method to insert
from xml seed data. If you look in this method it internally generates sql
query.

Regards,
Abhishake

On Wed, Dec 1, 2010 at 3:54 PM, Raj Saini rajsa...@gmail.com wrote:

 Hi Raman,

 See inline:


  Thanks Raj.  I am sorry, since I was a first-timer and desperate to get
 things up, I had to fire the 'q' in this mail group.

 Appreciate if you can guide me on
 1) is the user group u...@ofbiz.apache.org?


 Yes this is correct.

 2) how do I know as to where the schema is created? Or where are the DDL
 statements to create the DB objects?


 If you are not using any other external database, OFBiz will use embedded
 derby database. And derby data location is ${ofbiz.home}/runtime/data/derby.

 There are no DDL statements in OFBiz. OFBiz components define their entity
 in entity model files and these definition files are used to create the
 database schema.

 Thanks,

 Raj

  Regards,
 G.Raman
 Senior Technical Director
 Sword Global India Pvt Ltd.
 5th Floor, Arihant Nitco Park, 90, Dr. Radhakrishnan Salai, Mylapore,
 Chennai - 600 004, India
 _
 m  +91 95000 53613
 t+91 44 6636 3650
 e   ganapathyraman.venkatra...@sword-in.com
 www.sword-group.com


 -Original Message-
 From: Raj Saini [mailto:rajsa...@gmail.com]
 Sent: Wednesday, December 01, 2010 3:36 PM
 To: d...@ofbiz.apache.org
 Cc: Ganapathyraman Venkatraman
 Subject: Re: OfBiz Data Model

 Hello G Raman,

 You can run the run-install ant target and OFBiz will create schema
 along with demo data.

 Also, such questions should be asked in user mailing list as dev mailing
 list is used for OFBiz development discussion.

 Thanks,

 Raj

 On Wednesday 01 December 2010 03:18 PM, Ganapathyraman Venkatraman wrote:


 Hi,

 Appreciate if someone can guide me to get access to the schema dump of
 OfBiz database.  I am on to bringing up OfBiz instance in my m/c.  Thanks
 ahead...

 Regards,
 G.Raman
 Senior Technical Director
 Sword Global India Pvt Ltd.
 5th Floor, Arihant Nitco Park, 90, Dr. Radhakrishnan Salai, Mylapore,
 Chennai - 600 004, India
 _
 m  +91 95000 53613
 t+91 44 6636 3650
 e   ganapathyraman.venkatra...@sword-in.com
 www.sword-group.comhttp://www.sword-group.com/


 The information contained in this electronic message and any attachments
 to this message are intended for the exclusive use of the addressee(s) and
 may contain proprietary, confidential or privileged information. If you are
 not the intended recipient, you should not disseminate, distribute or copy
 this e-mail. Please notify the sender immediately and destroy all copies of
 this message and any attachments contained in it.





 The information contained in this electronic message and any attachments
 to this message are intended for the exclusive use of the addressee(s) and
 may contain proprietary, confidential or privileged information. If you are
 not the intended recipient, you should not disseminate, distribute or copy
 this e-mail. Please notify the sender immediately and destroy all copies of
 this message and any attachments contained in it.








Re: quick ship entire order

2010-05-11 Thread Abhishake Agarwal
Hi,

Check the entity PartyAcctgPreference whether it contains entries of every
store.

Regards,
Abhishake

On Mon, May 10, 2010 at 8:26 PM, Selvakumar Ganesan 
selvaku...@formativesolutions.co.in wrote:

 Hai,

 Error: Error trying to begin transaction, could not process method: The
 current transaction is marked for rollback, not beginning a new transaction
 and aborting current operation; the rollbackOnly was caused by: Service
 [createAcctgTransAndEntries] threw an unexpected
 exception/errororg.ofbiz.service.ServiceValidationException: The following
 required parameter is missing: [OUT]
 [createAcctgTransAndEntries.acctgTransId] (The following required parameter
 is missing: [OUT] [createAcctgTransAndEntries.acctgTransId])   calling
 service updateShipment in createShipmentForFacilityAndShipGroup

 This is what i got when I click quick Ship Entire Order in sales
 order.Could any one help me?

 Thanks
 selvakumar



Need help regarding engraving option for product

2010-03-26 Thread Abhishake Agarwal
Hi,

I need to implement a engraving option in a product.

User can input any text that can be engraved in this product on product
detail screen.

But the price is dependent on number of characters user entered. If user
does not enter any character there should be no charge.

I was confuse how can I handle this in ofbiz. I thought of using product
feature but it does not take input, also product feature price is fix with
the feature.

I need the help regarding what will be the best approach to implement this.

Regards,
Abhishake


Re: Need help regarding engraving option for product

2010-03-26 Thread Abhishake Agarwal
Hi,

To be more clear I need to implement something like this
http://www.withlovefrom.com/product-Heart-Handbag-Mirror-WHM03/

Regards,
Abhishake

On Fri, Mar 26, 2010 at 7:18 PM, Abhishake Agarwal 
abhishake.agar...@gmail.com wrote:

 Hi,

 I need to implement a engraving option in a product.

 User can input any text that can be engraved in this product on product
 detail screen.

 But the price is dependent on number of characters user entered. If user
 does not enter any character there should be no charge.

 I was confuse how can I handle this in ofbiz. I thought of using product
 feature but it does not take input, also product feature price is fix with
 the feature.

 I need the help regarding what will be the best approach to implement this.

 Regards,
 Abhishake








Re: groovy service code instead of minilang

2010-02-23 Thread Abhishake Agarwal
I too prefer java over minlang :)



On Tue, Feb 23, 2010 at 8:55 PM, Raj Saini rajsa...@gmail.com wrote:

 Ruth,

 I prefer to use Java as I am good at it.  I do not like XML as replacement
 of procedural languages or scripts. Well, I am not arguing the advantage of
 one over the other. I think it is just matter of personal choice and since
 OFbiz offers both, I do not have problem using what I like more.

 Thanks,

 Raj


 Ruth Hoffman wrote:

 Indeed!
 I still say it is very curious that there haven't been any comments by
 non-committers (except me and the original comment) concerning Mini-language
 use.
 Regards,
 Ruth

 Jacopo Cappellato wrote:

 On Feb 23, 2010, at 3:53 AM, Ruth Hoffman wrote:



 If it takes 2-3 days to learn the mini-language, then I have to do that
 it each and every time I need to use it. Java (PHP, Bean Shell, Groovy...)
 takes me 5-10 minutes no matter how long I've been away from it.



 This is an interesting idiosyncrasy :-)

 Jacopo







Need Help for rounding problem

2009-10-26 Thread Abhishake Agarwal
Hi,

We are showing products with VAT included.

Following are the details:

*Price of product without Tax:* 34.78

*% Vat:* 15%

*Price of Product after Tax:*  39.997

*Price of Product after Tax on product detail screen when rounded to 2
decimals:* 40 (as last decimal is 7 its rounded up)

*Suppose user add 2 products to cart, then the total price of product will
be:* 79.994

*Price shown on Cart screen and Checkout screen is*: 79.99 (as last decimal
is 4).

In the above example if customer add single product to cart price will be 40
but for 2 product it will be 79.99.

What is required is that first single product price is calculated and then
quantity should be multiplied so that customer can see the price in multiple
of 40.

Please help me  on this.


Regards,
Abhishake


Re: Need Help for rounding problem

2009-10-26 Thread Abhishake Agarwal
Hi,

Actually toScale of bigdecimal is already implemented which take value from
arithmetic.properties.

I have tried various combination in arithmetic.properties its not working,
The reason is what ofbiz does is first calculate the total price of same
product(i.e. if there are 2 same items ) and then its add the tax.

Regards,
Abhishake


On Mon, Oct 26, 2009 at 1:41 PM, Bhupendra Shivade 
bhupendra_shiv...@mindtree.com wrote:

 Use Bigdecimal toScale method.


 -Original Message-
 From: Abhishake Agarwal [mailto:abhishake.agar...@gmail.com]
 Sent: Monday, October 26, 2009 1:38 PM
 To: user@ofbiz.apache.org
 Subject: Need Help for rounding problem

 Hi,

 We are showing products with VAT included.

 Following are the details:

 *Price of product without Tax:* 34.78

 *% Vat:* 15%

 *Price of Product after Tax:*  39.997

 *Price of Product after Tax on product detail screen when rounded to 2
 decimals:* 40 (as last decimal is 7 its rounded up)

 *Suppose user add 2 products to cart, then the total price of product will
 be:* 79.994

 *Price shown on Cart screen and Checkout screen is*: 79.99 (as last decimal
 is 4).

 In the above example if customer add single product to cart price will be
 40
 but for 2 product it will be 79.99.

 What is required is that first single product price is calculated and then
 quantity should be multiplied so that customer can see the price in
 multiple
 of 40.

 Please help me  on this.


 Regards,
 Abhishake

 http://www.mindtree.com/email/disclaimer.html



Re: Currency issue

2009-10-09 Thread Abhishake Agarwal
Hi Naveen,

Display currency in ftl as follows

@ofbizCurrency amount=somePrice  isoCodeGBP rounding=2/

remember to use rounding attribute in ofbizCurrency tag.

Regards,
Abhishake
Viithiisys Pvt. Ltd.

On Fri, Oct 9, 2009 at 2:23 PM, naveen chanda chand...@gmail.com wrote:


 Dear All,

 I have a requirement to display the currency in the format without .00.

 For this i have changed in general.properties file to #00

 But, the changes are not reflecting.

 Could you please any one explain me, how can i do this.


 Thanks and Regards,
 Naveen Chanda



 --
 View this message in context:
 http://www.nabble.com/Currency-issue-tp25817717p25817717.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.




Re: Ecommerce Search (Unable to find products)

2009-09-28 Thread Abhishake Agarwal
Hi,

For searching any item,

You have to add product to default_search category and ALL_PRODUCT
Category(If present)

Also check keywordsearch.properties.

Regards,
Abhishake

On Sun, Sep 27, 2009 at 8:39 PM, Yoke Power yokepo...@gmail.com wrote:

 Just a thought, Verify if the keyword you are using for the search is
 present in the List of Keywords for the product in the Catalog Manager by
 going thru Keywords tab for the product.


 - YOKEPOWER

 On Thu, Sep 24, 2009 at 3:01 PM, Ancheta, Fred fre...@mavericklabel.com
 wrote:

  Greetings!
 
  I am currently working on getting search to work as it does in the
  Ecommerce
  application.  I have already set up a Default Search Category to hold all
  of
  the products in.  Now when I go to search, I get no results at all.  Ive
  even tried adding the products to the Demo Default Search category in
  Ecommerce and searching on the Ecommerce site, but none of the products I
  add can be found.  Am I missing something here?
 
  Also, rather than adding products to the Default Search Category, am I
 able
  to simply add existing categories as children and make them searchable?
  This way, I don't have to continue to copy products from one category
 into
  another.  Instead, I could just copy the categories holding those
 products
  into the search category.
 
  Thanks in advanced.
 



Recalculate items price in cart

2009-09-04 Thread Abhishake Agarwal
Hi,

I want to recalculate the Prices, Tax and shipping prices for the items
which are present in the cart.

I need this because there are some rules related to taxes I have created for
different shipping country.
If user change the shipping country on checkout page unless I recalculate
the prices it does not get reflected on checkout screen. but it will get
reflected If i go to Cart screen and click recalculate cart.

There is a method called modifyCart which works but it requires parameter
such as _UPDATE and item number and quantity.

I need a method which will just recalculate prices of items in cart and
update it.



Regards,
Abhishake


Re: Virtual product and pricing

2009-09-01 Thread Abhishake Agarwal
Hi,

For Virtual product if you use Feature Generation Tree, variant will have
price = virtual price + feature price.

Variants are auto created when product is added first time to the cart and
its prices are created automatically.

Regards,
Abhishake

On Tue, Sep 1, 2009 at 7:07 PM, Deyan Tsvetanov 
deyan.tsveta...@ittconsult.com wrote:

 If no price is set on a variant then the price of the virtual product is
 used.
 Otherwise the variant product price overrides the virtual product
 price.

 Was is what you were asking about ?

 -Original Message-
 From: buzlite bzb...@gmail.com
 Reply-to: user@ofbiz.apache.org
 To: user@ofbiz.apache.org
 Subject: Virtual product and pricing
 Date: Tue, 1 Sep 2009 06:12:03 -0700 (PDT)

 should it be stored with the virtual product.  with the variant.
 or at the feature level assoc with each variant?
 --
 View this message



Re: Search Issue

2009-08-17 Thread Abhishake Agarwal
Hi,

Also If I run a like query select * from product_keyword where keyword like
'%aries%' I get zero results.
But  in site I got 9 results.

I am bit confuse how search is actually working in ofbiz.

Regards,
Abhishake

On Tue, Aug 11, 2009 at 10:37 PM, Abhishake Agarwal 
abhishake.agar...@gmail.com wrote:

 Thanks Scott,

 Is there any way to make EQUAL query i.e (Exact keyword match)

 Regards,
 Abhishake




 On Tue, Aug 11, 2009 at 8:47 PM, Scott Gray scott.g...@hotwaxmedia.comwrote:

 It's a LIKE query so it will return keywords containing aries such as
 diaries.

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com


 On 12/08/2009, at 3:02 AM, Abhishake Agarwal wrote:

  Hi,

 I facing an issue related to search which I found to be similar  in
 http://demo.ofbiz.org/ecommerce.

 When I search a word 'aries'  on demo site I got nine search results. But
 If
 I look at ProductKeyword table there is no entry for keyword  'aries'.

 Also if you search 'aries1' then it gives 'no result found' which is
 correct.

 Please let me know what is missing.

 Regards,
 Abhishake






Search Issue

2009-08-11 Thread Abhishake Agarwal
Hi,

I facing an issue related to search which I found to be similar  in
http://demo.ofbiz.org/ecommerce.

When I search a word 'aries'  on demo site I got nine search results. But If
I look at ProductKeyword table there is no entry for keyword  'aries'.

Also if you search 'aries1' then it gives 'no result found' which is
correct.

Please let me know what is missing.

Regards,
Abhishake


Re: MS SQL and OFBiz, database locks on transactions

2009-06-26 Thread Abhishake Agarwal
Hi,

We had the same issue with postgres 7.14 (runAsync service for email, when
quich ship order is clicked) but when we upgraded the Postgres to 8.x it
started working fine.


Regards,
Abhishake

On Fri, Jun 26, 2009 at 11:12 PM, mayo albertmay...@hotmail.com wrote:


 Just to update this issue if anyone else is having the same problem:

 It turns out David E Jones-3 was right that my poor transactional
 programming in the custom import was causing deadlocks of other processes
 running at the same time.  I followed OFBiz's example by creating an entity
 list of toBeStored and running a transaction only around the creation of
 that list and the createOrder function.  Users say the system is running
 noticeably faster and with fewer-to-no deadlocks.



 mayo wrote:
 
  I have been running OFBiz through normal usage tests for a client for
  almost a month. Employees are working around 300 orders throughout an 8
  hour day with 2-3 warehouse users and 1-2 customer service users.  I am
  getting deadlocks throughout the day with the OFBiz 4.0 code that do not
  have any custom modifications.
 
  I switched to SQLServerDriver, set lockTimeout to 3 minutes, set the
  isolation level to ReadUncommitted, and enhanced the performance of the
 DB
  server, but I still get locks and deadlocks.  This wouldn't be a problem
  because the user could just re-submit their request, but it becomes a
  problem with submitting authorizations/captures/refunds to the payment
  service.  If the request is successful but writing the successful
 response
  to the DB is deadlocked, the order is stuck--another request to the
  payment service will fail.
 
  Has anyone had these problems with OFBiz 4.0 and SQLServer 2005?  Also,
  would it be possible to give a kick-start on integrating the OFBiz trunk
  database pool logic into OFBiz 4.0?
 

 --
 View this message in context:
 http://www.nabble.com/MS-SQL-and-OFBiz%2C-database-locks-on-transactions-tp23225473p24224517.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.




Re: How to set-up Multicurrency in ofbiz

2009-06-03 Thread Abhishake Agarwal
Hello Rohit,

I have implemented the code in below link and its working fine

http://www.goldencharm.co.uk/main

Regards,
Abhishake

On Wed, Jun 3, 2009 at 2:05 PM, Jacopo Cappellato 
jacopo.cappell...@hotwaxmedia.com wrote:

 I would suggest to create two ProductStores (for the two currencies)
 associated to two ecommerce sites.

 Jacopo


 On Jun 1, 2009, at 8:08 AM, rohit2006 wrote:


 Hi,

 I have a requirement to show product prices in difference currency. From
 what i understand, ofbiz supports multicurrency, but i have been unable to
 set it up.

 I tried the following actions on the demo ofbiz server. I added the price
 in
 GBP for the product ID WG-5569. I did not set the default currency for the
 store to GBP, but instead tried to set default currency for the session
 using the the URI

 http://demo.ofbiz.org/ecommerce/products/PROMOTIONS/p_WG-5569?setSessionCurrencyUom
 ?currencyUom=GBP

 Still the prices are shown in USD, i will appreciate if someone can help
 me
 with this.

 What i am trying to achieve is, that the default currency should be USD,
 however when user from UK access the products, with URL's amended with
 currency information, the product page should show the prices in GBP
 instead
 of USD.

 Thanks for the help.

 Rohit

 --
 View this message in context:
 http://www.nabble.com/How-to-set-up-Multicurrency-in-ofbiz-tp23810343p23810343.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: How to set-up Multicurrency in ofbiz

2009-06-01 Thread Abhishake Agarwal
Hi,

please look at the link below

http://mail-archives.apache.org/mod_mbox/ofbiz-dev/200810.mbox/%3ccaaebcd20810122206n2c0261d0t2dbb46ced85c6...@mail.gmail.com%3e

Regards,
Abhishake

On Mon, Jun 1, 2009 at 11:38 AM, rohit2006 rohitksur...@yahoo.com wrote:


 Hi,

 I have a requirement to show product prices in difference currency. From
 what i understand, ofbiz supports multicurrency, but i have been unable to
 set it up.

 I tried the following actions on the demo ofbiz server. I added the price
 in
 GBP for the product ID WG-5569. I did not set the default currency for the
 store to GBP, but instead tried to set default currency for the session
 using the the URI

 http://demo.ofbiz.org/ecommerce/products/PROMOTIONS/p_WG-5569?setSessionCurrencyUom?currencyUom=GBP

 Still the prices are shown in USD, i will appreciate if someone can help me
 with this.

 What i am trying to achieve is, that the default currency should be USD,
 however when user from UK access the products, with URL's amended with
 currency information, the product page should show the prices in GBP
 instead
 of USD.

 Thanks for the help.

 Rohit

 --
 View this message in context:
 http://www.nabble.com/How-to-set-up-Multicurrency-in-ofbiz-tp23810343p23810343.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.




Re: OFBiz and Liferay

2009-05-23 Thread Abhishake Agarwal
Hi,

you can make a RMI or web service call to integrate both.

Regards,
Abhishake

On Sat, May 23, 2009 at 12:31 PM, farouk alhassan osbert252...@yahoo.comwrote:

 hi All,
 I have a client that require an Enterprise Portal (CMS) with ERP. I already
 use OFBiz. I am planning to use Liferay. What is the best way to integrate
 these two systems.
 Any help will be greatly appreciated.

 Regards






Re: OFBiz and Liferay

2009-05-23 Thread Abhishake Agarwal
Hello Farouk,

We have integrated ofbiz with liferay using ofbiz services. I think you can
reuse most of the code.

Regards,
Abhishake

On Sun, May 24, 2009 at 12:49 AM, farouk alhassan osbert252...@yahoo.comwrote:

 Thanks Ashish.
 I was thinking I could deploy one in the other so I do not have to rewrite
 the whole OFBiz view again since that will make me loose a lot of the OOTB
 features.

 Regards
 Farouk

 --- On Sat, 23/5/09, Ashish Vijaywargiya vijaywargiya.ash...@gmail.com
 wrote:

 From: Ashish Vijaywargiya vijaywargiya.ash...@gmail.com
 Subject: Re: OFBiz and Liferay
 To: user@ofbiz.apache.org
 Date: Saturday, 23 May, 2009, 5:30 PM

 http://ws.apache.org/xmlrpc/
 Before few days I have used this project for a client to communicate with
 OFBiz services.
 It is very light weight and efficient if performance measure is concerned.
 --
 Ashish

 On Sat, May 23, 2009 at 12:31 PM, farouk alhassan osbert252...@yahoo.com
 wrote:

  hi All,
  I have a client that require an Enterprise Portal (CMS) with ERP. I
 already
  use OFBiz. I am planning to use Liferay. What is the best way to
 integrate
  these two systems.
  Any help will be greatly appreciated.
 
  Regards
 
 
 
 







Filter product by price

2009-05-14 Thread Abhishake Agarwal
Hi,

I want to filter product by price on category detail screen.

e.g. If user clicks on link $50 - $100, Product between this two price range
should only be viewable.

Please let me know what can be the best way of implementing this.

Regards,
Abhishake


How to receive partial purchase order

2009-04-14 Thread Abhishake Agarwal
Hi,

I have scenario  where drop shipper ships only part of the purchase order
items for example, if client ordered five items and only three items
have been received. Now,  I want to receive the partial purchase order and
create the invoice for the received items and want to keep the remaining
items as back order.

on the purchase order screen there is a way to complete thedrop shippment
using complete drop shippment button. however I am not able to find a way
to  receive partially drop ship order and generate the purchase order.

If I use  New Drop Shipment For Ship Group button there is no way to
specify patial order items or quantities.

Please help me on this.


Regards,
Abhishake


Re: How to disable Product

2009-02-18 Thread Abhishake Agarwal
Thanks Ashish, Kumaraswamy for quick reply.

I cannot disable category as there are many more other products inside
categories. Also product I want to disable associated with many categories
and one of the category is test category which contain all that product
which I need to disable(easy for me to find the product need to be disbale).
I have only option to disable the product so that they won't be visible on
ecommerce site.

I used sales Discontinuation date but still the products are visible with
sales Discontinuation message.

Regards,
Abhishake

On Wed, Feb 18, 2009 at 1:43 PM, Kumaraswamy nandipati 
kumarasw...@ecomzera.com wrote:

 Hi Abhishake,

 Use sales Discontinuation date in edit product page, so it wont visible.

 OR

 go to category tab, you can set thruDate to the categories which are not
 required to display this product.

 On Wed, Feb 18, 2009 at 1:29 PM, Abhishake Agarwal 
 abhishake.agar...@gmail.com wrote:

  Hi,
 
  I want to disable some product. I tried with putting past date in
  *supportDiscontinuationDate
  *and it was not working.
   Please let me know the process.
 
  Regards,
  Abhishake
 



 --
 Thanks,
 Kumaraswamy.N
 91-9866805250.



How to disable Product

2009-02-17 Thread Abhishake Agarwal
Hi,

I want to disable some product. I tried with putting past date in
*supportDiscontinuationDate
*and it was not working.
 Please let me know the process.

Regards,
Abhishake


Re: how to retrieve partyId from createCustomer

2008-12-12 Thread Abhishake Agarwal
try field-to-result map-name=tempMap field-name=partyId
result-name=partyId_OUT_VariableName/

On Fri, Dec 12, 2008 at 9:32 PM, Jacek Wagner jacek_wag...@berkeley.eduwrote:

 CJay,

 I have already tried to use tempMap in the subsequent screen widget

 set field=partyId from-field=tempMap/   ; did not work

 Jacek



 CJay Horton wrote:

 Jacek,

 I am new to ofbiz, but perhaps what you are looking for is here and
 the lines below it in the method:

call-service service-name=createPersonAndUserLogin
 in-map-name=personUserLoginContext
result-to-field result-name=partyId map-name=tempMap/
result-to-field field-name=createdUserLogin
 result-name=newUserLogin/
/call-service

 Calls the simple method createPersonAndUserLogin located in
 PartySimpleMethods.xml

 I hope this is what you are looking for.

 -CJ






Re: use of web.xml?

2008-12-12 Thread Abhishake Agarwal
same purpose as in any j2ee web application.

On Fri, Dec 12, 2008 at 10:55 PM, kiran19 bsn.mur...@gmail.com wrote:


 hi all,
  can any one tell me the actual purpose of web.xml file in ofbiz
 --
 View this message in context:
 http://www.nabble.com/use-of-web.xml--tp20979976p20979976.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.




Re: how to retrieve partyId from createCustomer

2008-12-12 Thread Abhishake Agarwal
if you call service through controller event, I think result map containing
partyid_OUT_VariableName is set to request attribute.


On Fri, Dec 12, 2008 at 10:54 PM, Jacek Wagner jacek_wag...@berkeley.eduwrote:

 createCustomer before change:
  ...
   call-service service-name=createPersonAndUserLogin
 in-map-name=personUserLoginContext
   result-to-field result-name=partyId map-name=tempMap/
   result-to-field field-name=createdUserLogin
 result-name=newUserLogin/ /call-service
   .
  createCustomer after change:
  ..
   call-service service-name=createPersonAndUserLogin
 in-map-name=personUserLoginContext
   result-to-field result-name=partyId map-name=tempMap/
   result-to-field field-name=createdUserLogin
 result-name=newUserLogin/ /call-service
   field-to-result map-name=tempMap field-name=partyId
 result-name=partyId_OUT_VariableName/
  ..

 Result: any reference to tempMap, partyId or partyid_OUT_VariableName in
 subsequent screen widget shows no data

 Jacek


 Abhishake Agarwal wrote:

 try field-to-result map-name=tempMap field-name=partyId
 result-name=partyId_OUT_VariableName/

 On Fri, Dec 12, 2008 at 9:32 PM, Jacek Wagner jacek_wag...@berkeley.edu
 wrote:



 CJay,

 I have already tried to use tempMap in the subsequent screen widget

 set field=partyId from-field=tempMap/   ; did not work

 Jacek



 CJay Horton wrote:



 Jacek,

 I am new to ofbiz, but perhaps what you are looking for is here and
 the lines below it in the method:

   call-service service-name=createPersonAndUserLogin
 in-map-name=personUserLoginContext
   result-to-field result-name=partyId map-name=tempMap/
   result-to-field field-name=createdUserLogin
 result-name=newUserLogin/
   /call-service

 Calls the simple method createPersonAndUserLogin located in
 PartySimpleMethods.xml

 I hope this is what you are looking for.

 -CJ













Re: Servlet-Mapping in OFBiz

2008-12-09 Thread Abhishake Agarwal
I don't think your required this in ofbiz, instead use a java event in
request mapping in controller.xml.

On Mon, Dec 8, 2008 at 10:43 PM, guo weizhan [EMAIL PROTECTED] wrote:

 it can define servlet there, you should check the allowedPaths
 of ContextFilter


 2008/12/8 madppiper [EMAIL PROTECTED]

 
  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.
 
 



Re: Book on Apache OFBiz development

2008-11-23 Thread Abhishake Agarwal
This may help you
http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php

On Mon, Nov 24, 2008 at 10:16 AM, anand joshi [EMAIL PROTECTED] wrote:

 Hello  all
   can any one explain me how to debug the ofbiz into eclipse..
 when i debug the ofbiz its giving memory exception.

 byeee
 Anand

 On Sat, Nov 22, 2008 at 6:42 PM, Eric DE MAULDE [EMAIL PROTECTED] wrote:
  Hi,
 
  Have people bought and read this book ?
  What is your opinion ?
  My goal is to lean in order to improve or create services in trunk !
 
  Thanks
 
  Eric
 
  - Original Message - From: Jacques Le Roux
  [EMAIL PROTECTED]
  To: user@ofbiz.apache.org
  Sent: Monday, November 10, 2008 7:24 PM
  Subject: Re: Book on Apache OFBiz development
 
 
  Hi all,
 
  Damian from Packt asked me if we were interested to receive information
  about royalties. They will send 5% of all sales to the ASF. So we have
 not
  to care about redirecting links or such, cool !
  In the past Struts and SpamAssassin have already done the same and Brian
  Fitzpatrick (ASF Public Relations Vice President) has been involved. I
 will
  contact him soon.
 
  One more point : I have been asked if we would like to know about
  individual statements that breaks down the royalty (they pay the
 royalties
  on a quarterly period through PayPal to ASF). It seems to me that this
 would
  be interesting from a statistic POV. I may use my own address for that
  because we can't use private not dev or user ML (since I guess there
 will be
  nominative informations) and forward to private ML. What do you think ?
 
  I have set the links from news in main page and Wiki books page
 
  Jacques
 
  From: Jacques Le Roux [EMAIL PROTECTED]
 
  Thanks Marco,
 
  Packt Publishing propose to donate a percentage of the money made from
  each book sold to the Apache foundation, in line with
  [their] Open Source Project Royalty program. So I will before try to
  know if something already at the ASF which allows to make that
  easy. I will also put a link from our books page on Wiki.
 
  Of course if anybody see a problem with that feel free to express
  yourself
 
  Jacques
 
  From: [EMAIL PROTECTED]
 
  Hi to all,
 
  I saw on this article
  (
 http://www.pr-inside.com/apache-ofbiz-development-the-beginner-s-tutorial-r894197.htm
 )
  that now is
  available one book on Apache OFBiz development.
  If someone want to add it to the OFBiz site news.
 
  Thanks
  Marco
 
 
 
 
 
 
 



 -



Re: Problem with stylesheet when I change a webapp to root mount point

2008-11-22 Thread Abhishake Agarwal
I think you have to change stylesheet path in store settings and also try
changing the context prefix under website in catalog.

On Sun, Nov 23, 2008 at 6:40 AM, Vince M. Clark [EMAIL PROTECTED]wrote:

 In CommonScreens.xml I have the following line:
 set field=layoutSettings.styleSheets[+0]
 value=${productStore.styleSheet} default-value=/hgl/images/ecommain.css
 global=true/

 I have a custom component in hot-deploy called hgl

 When I mount the webapp in ofbiz-component.xml as /hgl everything works
 fine. However, when I change it to mount as the URL root I no longer have a
 webapp mounted as hgl and the style sheet isn't found.



Re: One page checkout

2008-11-13 Thread Abhishake Agarwal
Thanks, I will try to put more functionality in it and will soon put the
patch in jira


On Thu, Nov 13, 2008 at 4:23 PM, Pranay Pandey 
[EMAIL PROTECTED] wrote:

 Hello Abhishek,

 I also went through this. This really seems cool. But definitely there are
 few things which are better than the one we already have in OFBiz, Like I
 can tell is the validations at the time when a required field left
 blank.(User friendly validation).
 Definitely there may be few things which you can patch up the existing one
 page checkout which is already there.


 Thanks  Regards
 --
 Pranay Pandey


 On Nov 12, 2008, at 6:45 PM, Abhishake Agarwal wrote:

  Hi,

 I have implemented one page checkout which has less number clicks than
 implemented in ofbiz.
 Please let me know if this can be included in obfiz.

 Please look at the implementation at
 https://www.battech.co.uk/shop/control/checkout.

 Regards,
 Abhishake





One page checkout

2008-11-12 Thread Abhishake Agarwal
Hi,

I have implemented one page checkout which has less number clicks than
implemented in ofbiz.
Please let me know if this can be included in obfiz.

Please look at the implementation at
https://www.battech.co.uk/shop/control/checkout.

Regards,
Abhishake


Re: One page checkout

2008-11-12 Thread Abhishake Agarwal
Hi,

Yes the implementation is according to client requirement, but as per my
experience most of the client needs only this much functionality and no
option to add credit card.

I think this may be suitable for such kind of user.

Regards,
Abhishake


On Thu, Nov 13, 2008 at 11:31 AM, Chirag Manocha 
[EMAIL PROTECTED] wrote:

 Abhishake,
 I saw your implementation. Its good one that less clicks are required as
 per your implementation.
 But we cant put it in OFBiz because OFBiz is a open source project and
 there should be standard implementation so that anyone can reuse it and as
 per the customize requirements, developer can make customize code short.
 With this there should be each and every standard functionality, which can
 be required in development, implemented in OFBiz.

 Regards
 ---
 Chirag Manocha
 HotWax Media Pvt. Ltd.
 www.hotwaxmedia.com
 email :- [EMAIL PROTECTED]
 contact :- +91.982.631.9099



Feature price issue

2008-11-05 Thread Abhishake Agarwal
Hi,

In current implementation in ofbiz for Features, prices are only dependent
on feature Id(e.g.  Metallic Color:$5).
Please look at ProductFeaturePrice entity.

But, feature price should also be dependent on product id, as features
related to different product may have different price.
for example, Metallic Color for pen and for some other instrument may have
different feature price.

Please help me know, how can I archive the above scenario or is there
anything implemented for the above scenario in ofbiz.

Regards,
Abhishake


Re: How to pass arbitrary fields in a form to a service

2008-11-02 Thread Abhishake Agarwal
Hello Bruno,

You can look at performFind Service. I think this may solve your problem.

Regards,
Abhishake

On Sun, Nov 2, 2008 at 10:06 PM, Bruno Busco [EMAIL PROTECTED] wrote:

 Hi All,

 I am looking for a way to put several fields in a form widget and having
 these sent to the service the form targets to.
 The difficulty I have is in the fact that the fields ahould be arbitrary in
 the form and they should not be part of an entity or a service parameters
 list.

 I would like the service to receive these fields in a map so that it could
 be iterated on.

 Is there in OFBiz this possibility?

 Many thanks

 -Bruno



Re: How to pass arbitrary fields in a form to a service

2008-11-02 Thread Abhishake Agarwal
You can look at any of the *Forms.xml calling performFind service.

 service service-name=performFind result-map-name=result
result-map-list-name=listIt
field-map field-name=inputFields env-name=parameters/
field-map field-name=entityName
value=ProductFeatureType/
field-map field-name=orderBy
value=productFeatureTypeId/
/service

On Sun, Nov 2, 2008 at 11:43 PM, Abhishake Agarwal 
[EMAIL PROTECTED] wrote:

 Hello Bruno,

 You can look at performFind Service. I think this may solve your problem.

 Regards,
 Abhishake


 On Sun, Nov 2, 2008 at 10:06 PM, Bruno Busco [EMAIL PROTECTED]wrote:

 Hi All,

 I am looking for a way to put several fields in a form widget and having
 these sent to the service the form targets to.
 The difficulty I have is in the fact that the fields ahould be arbitrary
 in
 the form and they should not be part of an entity or a service parameters
 list.

 I would like the service to receive these fields in a map so that it could
 be iterated on.

 Is there in OFBiz this possibility?

 Many thanks

 -Bruno





Re: Problem in Quick Checkout under IE

2008-10-29 Thread Abhishake Agarwal
Yes that was the workaround I have to do to make it work.

On Wed, Oct 29, 2008 at 2:04 AM, Todd Burdeinei [EMAIL PROTECTED]wrote:

 I found a new function called processOrd1 on line 675 of the html source
 that appears to rework the form submission process. That function is called
 along with processOrd on line 581 that appears to be empty. There are also
 some variables called flag that you have set.
 Is this what you were referring to?

 I also found alot of ajax code but didnt seem like it was related. Dojo.js
 itself is unaltered.

 On Tue, Oct 28, 2008 at 10:51 AM, Abhishake Agarwal 
 [EMAIL PROTECTED] wrote:

  Yes it will not work, Now you should the modify dojo code in it, look at
  http://www.ibaazar.com/ how I have modified the dojo code and made it
  working.
 
  On Tue, Oct 28, 2008 at 12:13 AM, Todd Burdeinei [EMAIL PROTECTED]
  wrote:
 
   Hello Abhishake,
   Removed the Jquery code, no js error now, but quick anon checkout still
   doesnt complete.
   Thank you
   Todd
  
   On Mon, Oct 27, 2008 at 3:34 AM, Abhishake Agarwal 
   [EMAIL PROTECTED] wrote:
  
Hi,
   
I want to know have you included Jquery in obiz, I think it is
 because
  of
it.
   
Regards,
Abhishake
   
   
On Mon, Oct 27, 2008 at 1:27 PM, Todd Burdeinei 
 [EMAIL PROTECTED]
wrote:
   
 Yes- I've seen the problem with anonymous quick checkout also.
 Microsoft script debugger says there is an error in prototype.js on
   line
 3938- I'm not sure if its related to this issue though.

  if (document.createEvent) {
element.dispatchEvent(event);
  } else {
  element.fireEvent(event.eventType, event);
  }

 --
 Todd Burdeinei
 Web Developer

 On Sun, Oct 26, 2008 at 1:12 AM, Abhishake Agarwal 
 [EMAIL PROTECTED] wrote:

  Hi Harkomal,
 
  Are you talking about anonymous quick checkout?
  If so there might be problem with dojo use in it as I have also
  faced
the
  same problem.
 
  Regards,
  Abhishake
 
  On Sat, Oct 25, 2008 at 10:07 AM, Pal InfoCom Technologies 
  [EMAIL PROTECTED] wrote:
 
  
   Hello members,
  
   As a ofbiz user i want to place an order in ofbiz, normal
  checkout
with
   user
   login is working fine in both Firefox and Internet Explorer ,
 but
 during
   QuickCheckout all the steps are working fine but i face
 problem
   in
  final
   step under Internet Explorer (working fine in Firefox), at
   Checkout
   Review
   page when i press submit button at bottom of page, IE does
 not
   show
 any
   processing and shows error in javascript with no detail at all
  and
also
   does
   not place order.
  
   Please help me regarding this problem.
  
   Thanks,
  
   Harkomal
  
  
  
  
   --
   View this message in context:
  
 

   
  
 
 http://www.nabble.com/Problem-in-Quick-Checkout-under-IE-tp20161283p20161283.html
   Sent from the OFBiz - User mailing list archive at Nabble.com.
  
  
 

   
  
  
  
   --
   Todd Burdeinei
   Web Developer
   Burdeinei Corp
   702-259-3273 office / fax number
   702-372-9920 cell
   [EMAIL PROTECTED]
  
 



 --
 Todd Burdeinei
 Web Developer
 Burdeinei Corp
 702-259-3273 office / fax number
 702-372-9920 cell
 [EMAIL PROTECTED]



Re: Problem in Quick Checkout under IE

2008-10-28 Thread Abhishake Agarwal
Yes it will not work, Now you should the modify dojo code in it, look at
http://www.ibaazar.com/ how I have modified the dojo code and made it
working.

On Tue, Oct 28, 2008 at 12:13 AM, Todd Burdeinei [EMAIL PROTECTED]wrote:

 Hello Abhishake,
 Removed the Jquery code, no js error now, but quick anon checkout still
 doesnt complete.
 Thank you
 Todd

 On Mon, Oct 27, 2008 at 3:34 AM, Abhishake Agarwal 
 [EMAIL PROTECTED] wrote:

  Hi,
 
  I want to know have you included Jquery in obiz, I think it is because of
  it.
 
  Regards,
  Abhishake
 
 
  On Mon, Oct 27, 2008 at 1:27 PM, Todd Burdeinei [EMAIL PROTECTED]
  wrote:
 
   Yes- I've seen the problem with anonymous quick checkout also.
   Microsoft script debugger says there is an error in prototype.js on
 line
   3938- I'm not sure if its related to this issue though.
  
if (document.createEvent) {
  element.dispatchEvent(event);
} else {
element.fireEvent(event.eventType, event);
}
  
   --
   Todd Burdeinei
   Web Developer
  
   On Sun, Oct 26, 2008 at 1:12 AM, Abhishake Agarwal 
   [EMAIL PROTECTED] wrote:
  
Hi Harkomal,
   
Are you talking about anonymous quick checkout?
If so there might be problem with dojo use in it as I have also faced
  the
same problem.
   
Regards,
Abhishake
   
On Sat, Oct 25, 2008 at 10:07 AM, Pal InfoCom Technologies 
[EMAIL PROTECTED] wrote:
   

 Hello members,

 As a ofbiz user i want to place an order in ofbiz, normal checkout
  with
 user
 login is working fine in both Firefox and Internet Explorer , but
   during
 QuickCheckout all the steps are working fine but i face problem
 in
final
 step under Internet Explorer (working fine in Firefox), at
 Checkout
 Review
 page when i press submit button at bottom of page, IE does not
 show
   any
 processing and shows error in javascript with no detail at all and
  also
 does
 not place order.

 Please help me regarding this problem.

 Thanks,

 Harkomal




 --
 View this message in context:

   
  
 
 http://www.nabble.com/Problem-in-Quick-Checkout-under-IE-tp20161283p20161283.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.


   
  
 



 --
 Todd Burdeinei
 Web Developer
 Burdeinei Corp
 702-259-3273 office / fax number
 702-372-9920 cell
 [EMAIL PROTECTED]



Re: Problem in Quick Checkout under IE

2008-10-27 Thread Abhishake Agarwal
Hi,

I want to know have you included Jquery in obiz, I think it is because of
it.

Regards,
Abhishake


On Mon, Oct 27, 2008 at 1:27 PM, Todd Burdeinei [EMAIL PROTECTED]wrote:

 Yes- I've seen the problem with anonymous quick checkout also.
 Microsoft script debugger says there is an error in prototype.js on line
 3938- I'm not sure if its related to this issue though.

  if (document.createEvent) {
element.dispatchEvent(event);
  } else {
  element.fireEvent(event.eventType, event);
  }

 --
 Todd Burdeinei
 Web Developer

 On Sun, Oct 26, 2008 at 1:12 AM, Abhishake Agarwal 
 [EMAIL PROTECTED] wrote:

  Hi Harkomal,
 
  Are you talking about anonymous quick checkout?
  If so there might be problem with dojo use in it as I have also faced the
  same problem.
 
  Regards,
  Abhishake
 
  On Sat, Oct 25, 2008 at 10:07 AM, Pal InfoCom Technologies 
  [EMAIL PROTECTED] wrote:
 
  
   Hello members,
  
   As a ofbiz user i want to place an order in ofbiz, normal checkout with
   user
   login is working fine in both Firefox and Internet Explorer , but
 during
   QuickCheckout all the steps are working fine but i face problem in
  final
   step under Internet Explorer (working fine in Firefox), at Checkout
   Review
   page when i press submit button at bottom of page, IE does not show
 any
   processing and shows error in javascript with no detail at all and also
   does
   not place order.
  
   Please help me regarding this problem.
  
   Thanks,
  
   Harkomal
  
  
  
  
   --
   View this message in context:
  
 
 http://www.nabble.com/Problem-in-Quick-Checkout-under-IE-tp20161283p20161283.html
   Sent from the OFBiz - User mailing list archive at Nabble.com.
  
  
 



Re: Problem in Quick Checkout under IE

2008-10-26 Thread Abhishake Agarwal
Hi Harkomal,

Are you talking about anonymous quick checkout?
If so there might be problem with dojo use in it as I have also faced the
same problem.

Regards,
Abhishake

On Sat, Oct 25, 2008 at 10:07 AM, Pal InfoCom Technologies 
[EMAIL PROTECTED] wrote:


 Hello members,

 As a ofbiz user i want to place an order in ofbiz, normal checkout with
 user
 login is working fine in both Firefox and Internet Explorer , but during
 QuickCheckout all the steps are working fine but i face problem in final
 step under Internet Explorer (working fine in Firefox), at Checkout
 Review
 page when i press submit button at bottom of page, IE does not show any
 processing and shows error in javascript with no detail at all and also
 does
 not place order.

 Please help me regarding this problem.

 Thanks,

 Harkomal




 --
 View this message in context:
 http://www.nabble.com/Problem-in-Quick-Checkout-under-IE-tp20161283p20161283.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.




Help needed for setting promotion to catagories

2008-10-24 Thread Abhishake Agarwal
Hi,

I have applied x product for Y% discount promotion to category id 100 and
also included its sub categories (quantity:1,amount:4).

Please look at following URL:
https://demo.hotwaxmedia.com/catalog/control/EditProductPromo?productPromoId=1

Now when I add any product to cart from this category, I should get 4%
discount on it, but on showcart screen its not taking this
promotion.

Please help me know what I am missing.

Regards,
Abhishake


problem with id 1000 under feature category

2008-10-23 Thread Abhishake Agarwal
Hi,

I think there is a bug while displaying  description for
productFeatureCategoryId in feature category  screen.
(https://demo.hotwaxmedia.com/catalog/control/EditFeatureCategories)

description is same as Id, while in DB it is
different(productFeatureCategoryId:1000, description:Hazmat Features )
(
https://demo.hotwaxmedia.com/webtools/control/FindGeneric?entityName=ProductFeatureCategoryfind=trueVIEW_SIZE=50VIEW_INDEX=0
).

I think this is the issue with Id 1000 because all the other data get
displayed correctly.

I also printed the value of EntityListIterator returned by service
performFind  in runAction method of ModelFormAction.java but all the generic
values contain proper data in it.

Please help me know what might be problem.

Regards,
Abhishake


Re: problem with id 1000 under feature category

2008-10-23 Thread Abhishake Agarwal
Also I checked ListProductFeature form under FeatureForm.xml and I found no
problem in it.


On Thu, Oct 23, 2008 at 8:15 PM, Abhishake Agarwal 
[EMAIL PROTECTED] wrote:

 Hi,

 I think there is a bug while displaying  description for
 productFeatureCategoryId in feature category  screen.
 (https://demo.hotwaxmedia.com/catalog/control/EditFeatureCategories)

 description is same as Id, while in DB it is
 different(productFeatureCategoryId:1000, description:Hazmat Features )
 (
 https://demo.hotwaxmedia.com/webtools/control/FindGeneric?entityName=ProductFeatureCategoryfind=trueVIEW_SIZE=50VIEW_INDEX=0
 ).

 I think this is the issue with Id 1000 because all the other data get
 displayed correctly.

 I also printed the value of EntityListIterator returned by service
 performFind  in runAction method of ModelFormAction.java but all the generic
 values contain proper data in it.

 Please help me know what might be problem.

 Regards,
 Abhishake



Re: problem with id 1000 under feature category

2008-10-23 Thread Abhishake Agarwal
Hi BJ,

I tried following ID's 1001, 1002 but it works well, there is only problem
with ID 1000.

Regards,
Abhishake

On Fri, Oct 24, 2008 at 3:51 AM, BJ Freeman [EMAIL PROTECTED] wrote:

 anything under 1 is demo data.
 when something is added thru the UI or services it uses the
 delegator.getNextSeqId
 which starts at 1
 so there maybe an error in the hand editing of the demo data.

 Abhishake Agarwal sent the following on 10/23/2008 7:45 AM:
  Hi,
 
  I think there is a bug while displaying  description for
  productFeatureCategoryId in feature category  screen.
  (https://demo.hotwaxmedia.com/catalog/control/EditFeatureCategories)
 
  description is same as Id, while in DB it is
  different(productFeatureCategoryId:1000, description:Hazmat Features )
  (
 
 https://demo.hotwaxmedia.com/webtools/control/FindGeneric?entityName=ProductFeatureCategoryfind=trueVIEW_SIZE=50VIEW_INDEX=0
  ).
 
  I think this is the issue with Id 1000 because all the other data get
  displayed correctly.
 
  I also printed the value of EntityListIterator returned by service
  performFind  in runAction method of ModelFormAction.java but all the
 generic
  values contain proper data in it.
 
  Please help me know what might be problem.
 
  Regards,
  Abhishake
 



do we really required dojo in ofbiz

2008-10-22 Thread Abhishake Agarwal
Hi,

I have seen dojo has been implemented in anonymous checkout  and instead of
making things simple it makes things more complicated.

I think there are more simple and powerful library like JQuey which can be
used in ofbiz.

Regards,
Abhishake


query

2008-10-16 Thread Abhishake Agarwal
Hi,

Please let me know how shipInfo List get populated in ShoppingCart.java
while loading a cart from order.

Regards,
Abhishake


Paypal in anonymous checkout

2008-10-12 Thread Abhishake Agarwal
Hi,

There is no option to pay with paypal in anonymous checkout, Please let me
know is there any constraint.

Also is there anyway, I can include paypal in anon checkout.

Thanks,
Abhishake


How to read incoming mail

2008-09-20 Thread Abhishake Agarwal
Hi,

I have configured javamail-container in ofbiz-container.xml for polling
incoming  mail. Configuration is correct and in Debug mode it displays the
mail on console.

I need to process this mail and I don't know how to read incoming mail.

Please let me know if there any listener for reading the incoming mail or
something else.

Regards,
Abhishake


Re: How to read incoming mail

2008-09-20 Thread Abhishake Agarwal
Thanks for the help.

On Sat, Sep 20, 2008 at 5:22 PM, BJ Freeman [EMAIL PROTECTED] wrote:

 they move the example
 framework\common\servicedef\smcas_test.xml
 and here is one i wrote
 mca mail-rule-name=FedexTrackingEmailRule
condition-field field-name=from operator=matches
 value=[EMAIL PROTECTED]/
action service=ProcessFedExTracking mode=sync/
/mca


 BJ Freeman sent the following on 9/20/2008 4:41 AM:
  assuming you read the mail setup
 
 http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
  on the wiki do a search for mca
  it is talked about in
  AdvancedFrameworkTranscription20060824.pdf
  ofbiz-reference-book.hwm.163.pdf
  you can find the mca.xml
  applications\content\servicedef
 
 
  Abhishake Agarwal sent the following on 9/19/2008 11:26 PM:
  Hi,
 
  I have configured javamail-container in ofbiz-container.xml for
 polling
  incoming  mail. Configuration is correct and in Debug mode it displays
 the
  mail on console.
 
  I need to process this mail and I don't know how to read incoming mail.
 
  Please let me know if there any listener for reading the incoming mail
 or
  something else.
 
  Regards,
  Abhishake
 
 
 
 
 




Shipping help

2008-09-15 Thread Abhishake Agarwal
Hi,

I want to calculate shipping at showcart page depending on the country
(user can change the country on showcart itself and can recalculate
shipping) .
Problem is that to calculate shipping you need contactMechId set in
shoppingCart object but for calculation with respect to country I don't have
contactMechId.
Please help if anybody has any clue about this.

Regards,
Abhishake


Include Geo and Exclude Geo problem in shipping method

2008-09-12 Thread Abhishake Agarwal
Hi,

I have to display shipping method depending on shipping address country.

There are 2 types of shipping method one for local (specific to that country
e.g. US) and other for international (e.g. Not US but all other countries).

To implement this I have used Include Geo (e.g. Include Geo = US, for
local shipping method)  and Exclude Geo (e.g. US for international
shipping method) field.

E.g. 1st shipping method (local only US)  : include Geo =
United States and Exclude Geo = 
   2nd shipping method (international not US)   : include Geo=
and Exclude Geo=United States

Please let me know whether I am configuring it correctly according to above
requirement.

Now when I assign any country  to Include Geo or Exclude Geo shipping
method does not get displayed in checkout page,

When I tried debugging it, I found
component://order/webapp/ordermgr/WEB-INF/actions/entry/checkoutoptions.bsh
has:
*
shippingEstWpr = new ShippingEstimateWrapper(dispatcher, shoppingCart,
0);
context.put(shippingEstWpr, shippingEstWpr);
context.put(carrierShipmentMethodList,
shippingEstWpr.getShippingMethods());*

Now ShippingEstimateWrapper constructor internally calls:

 *ProductStoreWorker.getAvailableStoreShippingMethods(delegator,
productStoreId,shippingAddress, shippableItemSizes, shippableItemFeatures,
shippableWeight, shippableTotal);
*
Inside getAvailableStoreShippingMethods:

*String includeGeoId = method.getString(includeGeoId);
String excludeGeoId = method.getString(excludeGeoId);
if ((includeGeoId != null  includeGeoId.length()  0) ||
(excludeGeoId != null  excludeGeoId.length()  0)) {
if (shippingAddress == null) {
returnShippingMethods.remove(method);
//Debug.logInfo(Removed shipping method due to
empty shipping adresss (may not have been selected yet), module);
continue;
}
}*

above code removes shipping method if shipping address is null and shipping
method has Exclude Geo or Include Geo

shipping address is null because shipping contactMechId is not set in
shoppingCart Object

Please let me know if this is a bug and what is the better way to set
shipping ContactMechId without effecting other functionality.

Thanks and Regards,
Abhishake


Re: Gathering Data From External Websites

2008-07-08 Thread Abhishake Agarwal
Hello Adrian,

I don't know whether ofbiz has this, but I have done similar thing using a
API called html parser. you can search it on google.

Regards,
Abhishake

On Tue, Jul 8, 2008 at 10:50 PM, Al Byers [EMAIL PROTECTED]
wrote:

 Adrian,

 In the past I have used JTidy to make sure it is in XHTML and then wrote
 Freemarker scripts to process the markup. I find FM to be easier to use
 than
 XSLT because it has a loop index var and it is easier to connect it with
 Java classes that you may wish to write to help in the processing.

 -Al

 On Tue, Jul 8, 2008 at 10:53 AM, Adrian Crum [EMAIL PROTECTED] wrote:

  I need OFBiz to gather data from external websites - so that data can be
  extracted from the HTML. Is there anything like that in OFBiz? Has anyone
  else done something similar?
 
  -Adrian
 



Re: Need help on drop shipping..

2008-07-08 Thread Abhishake Agarwal
Thanks Ritesh,

I am now using a different trick that very much matches with my requirement.
Initially I thought of grouping the products based on supplier linked to it,
but later I realized better will be to group it based on vendor party id
linked to it and I also found one service called
prepareVendorShipGroups which helped me to do it .

Regards,
Abhishake

On Tue, Jul 8, 2008 at 6:17 AM, Ritz123 [EMAIL PROTECTED] wrote:


 I am not sure about the front end - but I am doing something similar using
 the backend code.

 Look at PRODUCT_REQUIREMENT table - you need to set the product requirement
 to be drop ship. Also look at ShoppingCart.createDropShipGroups() and
 CheckoutEvents - which calls createDropShipGroups().

 If the split criteria is solely based on supplier/dropship, it does
 correctly create ship groups which are supplier based (atleast for me -
 again all in the backend I have not used frontend). You can check that code
 out in ShoppingCart as well.

 Hope it helps.


 Abhishake Agarwal wrote:
 
  Hello All,
 
  I have one more query related to this,
 
  Suppose I add supplier to product as below :
 
  product1 to supplier1
  product2 to supplier1
  product3 to supplier2
  product4 to supplier2
 
  Now I found 2 grouping on split shipping screen as follows:
 
  Group1 has: product1,product2,product3
  Group2 has: product4
 
  But I expected this to be as,
 
  Group1 has: product1,product2
  Group2 has: product3, product4
 
  Please let me know how this grouping is decided.
 
  Regards,
  Abhishake
 
 
 
 
 
 
  On Wed, Jul 2, 2008 at 8:16 PM, Jacopo Cappellato 
  [EMAIL PROTECTED] wrote:
 
  Hi Jacques,
 
  no, the flag is all you need, the category is not relevant at all... but
  thanks for pointing out this, I do remember that someone stated this in
  the
  past and I have forgotten to reply.
 
  Jacopo
 
 
  On Jul 2, 2008, at 4:43 PM, Jacques Le Roux wrote:
 
   And I read in ML (I never used dropShip) that your products must belong
  to
  the category dropShip
 
  FWIW
 
  Jacques
 
  From: Jacopo Cappellato [EMAIL PROTECTED]
 
  On Jul 2, 2008, at 4:15 PM, Abhishake Agarwal wrote:
 
  Hello All,
 
  Please help me on this..following steps I followed at
  https://demo.hotwaxmedia.com/ecommerce/,
 
  1) I added the 3 drop ship product to cart in demo site.
  2)  on quick checkout screen I clicked split shipping link
 
  I saw all the three drop ship product in separate group
 
  Now I tried following steps to configure product as drop ship at
  https://demo.hotwaxmedia.com/catalog
 
  1) I created 2 party groups and assigned roles 'Account' and
  'Supplier'
  similar to demo site
  2) I mark the 2 different product with 'Drop ship only' and added the
  supplier to the 2 products respectively
 
  If I am not wrong there is also a flag in the SupplierProduct entity
   (where you set the purchase price from the supplier) where you have
 to
  set
  that the supplier will drop ship the product.
  Jacopo
 
 
 
  But when I added this product to the cart and on split shipping page
  I
  saw
  this product in one single group
 
  I don't know what I am missing.
 
  Any help will be greatly appreciated.
 
  Regards,
  Abhishake
 
 
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Need-help-on-drop-shipping..-tp18238474p18329826.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.




Need help on drop shipping..

2008-07-02 Thread Abhishake Agarwal
Hello All,

Please help me on this..following steps I followed at
https://demo.hotwaxmedia.com/ecommerce/,

1) I added the 3 drop ship product to cart in demo site.
2)  on quick checkout screen I clicked split shipping link

I saw all the three drop ship product in separate group

Now I tried following steps to configure product as drop ship at
https://demo.hotwaxmedia.com/catalog

1) I created 2 party groups and assigned roles 'Account' and 'Supplier'
similar to demo site
2) I mark the 2 different product with 'Drop ship only' and added the
supplier to the 2 products respectively

But when I added this product to the cart and on split shipping page I saw
this product in one single group

I don't know what I am missing.

Any help will be greatly appreciated.

Regards,
Abhishake


Re: Need help on drop shipping..

2008-07-02 Thread Abhishake Agarwal
Hello Jacopo,

Thanks for the comment...

If I am not wrong you are talking about 'Supplier can drop ship?' field
which comes when product---supplier link is clicked.

This field is 'N' same as  in hotwaxmedia demo site for supplier which have
been linked to drop ship products.

Regards,
Abhishake

On Wed, Jul 2, 2008 at 8:00 PM, Jacopo Cappellato 
[EMAIL PROTECTED] wrote:


 On Jul 2, 2008, at 4:15 PM, Abhishake Agarwal wrote:

  Hello All,

 Please help me on this..following steps I followed at
 https://demo.hotwaxmedia.com/ecommerce/,

 1) I added the 3 drop ship product to cart in demo site.
 2)  on quick checkout screen I clicked split shipping link

 I saw all the three drop ship product in separate group

 Now I tried following steps to configure product as drop ship at
 https://demo.hotwaxmedia.com/catalog

 1) I created 2 party groups and assigned roles 'Account' and 'Supplier'
 similar to demo site
 2) I mark the 2 different product with 'Drop ship only' and added the
 supplier to the 2 products respectively


 If I am not wrong there is also a flag in the SupplierProduct entity (where
 you set the purchase price from the supplier) where you have to set that the
 supplier will drop ship the product.

 Jacopo




 But when I added this product to the cart and on split shipping page I saw
 this product in one single group

 I don't know what I am missing.

 Any help will be greatly appreciated.

 Regards,
 Abhishake





Re: Need help on drop shipping..

2008-07-02 Thread Abhishake Agarwal
Hello Jacopo,

Thanks for the help... I set the above mentioned flag and it works...:)

Once again thanks for help.

Regards,
Abhishake


On Wed, Jul 2, 2008 at 8:08 PM, Abhishake Agarwal 
[EMAIL PROTECTED] wrote:

 Hello Jacopo,

 Thanks for the comment...

 If I am not wrong you are talking about 'Supplier can drop ship?' field
 which comes when product---supplier link is clicked.

 This field is 'N' same as  in hotwaxmedia demo site for supplier which have
 been linked to drop ship products.

 Regards,
 Abhishake


 On Wed, Jul 2, 2008 at 8:00 PM, Jacopo Cappellato 
 [EMAIL PROTECTED] wrote:


 On Jul 2, 2008, at 4:15 PM, Abhishake Agarwal wrote:

  Hello All,

 Please help me on this..following steps I followed at
 https://demo.hotwaxmedia.com/ecommerce/,

 1) I added the 3 drop ship product to cart in demo site.
 2)  on quick checkout screen I clicked split shipping link

 I saw all the three drop ship product in separate group

 Now I tried following steps to configure product as drop ship at
 https://demo.hotwaxmedia.com/catalog

 1) I created 2 party groups and assigned roles 'Account' and 'Supplier'
 similar to demo site
 2) I mark the 2 different product with 'Drop ship only' and added the
 supplier to the 2 products respectively


 If I am not wrong there is also a flag in the SupplierProduct entity
 (where you set the purchase price from the supplier) where you have to set
 that the supplier will drop ship the product.

 Jacopo




 But when I added this product to the cart and on split shipping page I
 saw
 this product in one single group

 I don't know what I am missing.

 Any help will be greatly appreciated.

 Regards,
 Abhishake






Re: Need help on drop shipping..

2008-07-02 Thread Abhishake Agarwal
Hi,

I am sorry Its was set to Y

Regards,
Abhishake

On Wed, Jul 2, 2008 at 8:13 PM, Jacopo Cappellato 
[EMAIL PROTECTED] wrote:

 Hello Abhishake,

 On Jul 2, 2008, at 4:38 PM, Abhishake Agarwal wrote:

  Hello Jacopo,

 Thanks for the comment...

 If I am not wrong you are talking about 'Supplier can drop ship?' field
 which comes when product---supplier link is clicked.


 Yeah, that one.

  This field is 'N' same as  in hotwaxmedia demo site for supplier which
 have
 been linked to drop ship products.


 You should set it to Y... don't know why it is not set in this way in the
 demo data... I am going to check it.

 Jacopo



  Regards,
 Abhishake

 On Wed, Jul 2, 2008 at 8:00 PM, Jacopo Cappellato 
 [EMAIL PROTECTED] wrote:


 On Jul 2, 2008, at 4:15 PM, Abhishake Agarwal wrote:

 Hello All,


 Please help me on this..following steps I followed at
 https://demo.hotwaxmedia.com/ecommerce/,

 1) I added the 3 drop ship product to cart in demo site.
 2)  on quick checkout screen I clicked split shipping link

 I saw all the three drop ship product in separate group

 Now I tried following steps to configure product as drop ship at
 https://demo.hotwaxmedia.com/catalog

 1) I created 2 party groups and assigned roles 'Account' and 'Supplier'
 similar to demo site
 2) I mark the 2 different product with 'Drop ship only' and added the
 supplier to the 2 products respectively


 If I am not wrong there is also a flag in the SupplierProduct entity
 (where
 you set the purchase price from the supplier) where you have to set that
 the
 supplier will drop ship the product.

 Jacopo




 But when I added this product to the cart and on split shipping page I
 saw
 this product in one single group

 I don't know what I am missing.

 Any help will be greatly appreciated.

 Regards,
 Abhishake







Re: Need help on drop shipping..

2008-07-02 Thread Abhishake Agarwal
Hello All,

I have one more query related to this,

Suppose I add supplier to product as below :

product1 to supplier1
product2 to supplier1
product3 to supplier2
product4 to supplier2

Now I found 2 grouping on split shipping screen as follows:

Group1 has: product1,product2,product3
Group2 has: product4

But I expected this to be as,

Group1 has: product1,product2
Group2 has: product3, product4

Please let me know how this grouping is decided.

Regards,
Abhishake






On Wed, Jul 2, 2008 at 8:16 PM, Jacopo Cappellato 
[EMAIL PROTECTED] wrote:

 Hi Jacques,

 no, the flag is all you need, the category is not relevant at all... but
 thanks for pointing out this, I do remember that someone stated this in the
 past and I have forgotten to reply.

 Jacopo


 On Jul 2, 2008, at 4:43 PM, Jacques Le Roux wrote:

  And I read in ML (I never used dropShip) that your products must belong to
 the category dropShip

 FWIW

 Jacques

 From: Jacopo Cappellato [EMAIL PROTECTED]

 On Jul 2, 2008, at 4:15 PM, Abhishake Agarwal wrote:

 Hello All,

 Please help me on this..following steps I followed at
 https://demo.hotwaxmedia.com/ecommerce/,

 1) I added the 3 drop ship product to cart in demo site.
 2)  on quick checkout screen I clicked split shipping link

 I saw all the three drop ship product in separate group

 Now I tried following steps to configure product as drop ship at
 https://demo.hotwaxmedia.com/catalog

 1) I created 2 party groups and assigned roles 'Account' and  'Supplier'
 similar to demo site
 2) I mark the 2 different product with 'Drop ship only' and added the
 supplier to the 2 products respectively

 If I am not wrong there is also a flag in the SupplierProduct entity
  (where you set the purchase price from the supplier) where you have to  set
 that the supplier will drop ship the product.
 Jacopo



 But when I added this product to the cart and on split shipping page  I
 saw
 this product in one single group

 I don't know what I am missing.

 Any help will be greatly appreciated.

 Regards,
 Abhishake






Re: Help me out....!!!

2008-04-16 Thread Abhishake Agarwal
Hi,

Please look at following URL 
http://forums.bea.com/thread.jspa?threadID=30536;

Regards,
Abhishake






On Thu, Apr 17, 2008 at 5:28 AM, Raj Saini [EMAIL PROTECTED] wrote:

 Jame,

 There may be some minor variations. I would suggest spit out XML of both
 requests and compare them. There may be a simple non-printable character
 which may not be obvious. Yesterday I spend five hours in debugging a silly
 mistake. I was expecting a OK from payment processor and was comparing it
 with 0K which was not obvious at first sight. I am sure, your problem is
 similar to this.

 Raj


 Jame Jane wrote:

  hi chris ..thanx for ur reply
  but u know the same XML that I am sending to HSBC API server for
  processing it is showing well formed.
  But now I have to use HSBC e-PAS for furthere processing.If I send XML
  it is showing this error.
 
  What should I do I am not getting plz help me out.
 
  Chris Howe [EMAIL PROTECTED] wrote: Content is not allowed in
  prolog. has a specific meaning but
  essentially means that you're not sending well formed XML.  If I were
  you, I would add a log line just before the data gets sent to clear
  commerce to spit out the content of what you're about to send. Copy and
  paste that into an XML editor and the malformed line should pop out.
  Then backtrack to figure out how the line was created.
 
  Regarding BJ's comment, I would hate to think the community has
  devolved to the point where we can't offer generic help.  I understand
  we often times get questions about other projects and it's appropriate
  to steer people back to those project because their questions will get
  answered with more timely and often times more authoritative responses.
 
  --- Jame Jane  wrote:
 
 
 
   hi
   I am working on Payment Process for HSBC through ClearCommerce.The
   API for HSBC is e-PAS( Payer Authentication Service).
  
   I got all the setup but the problem is that when I send to the HSBC
   e-PAS server
   it is going to server but when
   Reading  XML Response Document from ClearCommerce sendRequest method
   it is showing this error
  
   [Fatal Error] :1:1: Content is not allowed in prolog.
   Catch.1
   2008-04-17 00:09:19,686 (http-0.0.0.0-8443-Processor4) [
   ServiceDispatcher.java:411:ERROR] Service Error
[clearCommerceCCAuth]: Error reading response Document from a
   String: Content is not allowed in prolog.
   2008-04-17 00:09:19,686 (http-0.0.0.0-8443-Processor4) [
   TransactionUtil.java:252:ERROR]
  
 -
   Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
   it now.
  
  
 
 
 
-
  Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try
  it now.
 
 




Exception while starting ofbiz

2007-09-27 Thread Abhishake Agarwal
I am getting following error when i am starting ofbiz. can anybody please
help me on this.

 exception report
--
Service [addSuggestionsToShoppingList] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Error running simple method [addSuggestionsToShoppingList] in XML
file [org/ofbiz/order/shoppinglist/ShoppingListServices.xml]:  (Could not
find SimpleMethod XML document in resource:
org/ofbiz/order/shoppinglist/ShoppingListServices.xml)
 stack trace
---
org.ofbiz.service.GenericServiceException: Error running simple method
[addSuggestionsToShoppingList] in XML file
[org/ofbiz/order/shoppinglist/ShoppingListServices.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/order/shoppinglist/ShoppingListServices.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
SimpleServiceEngine.java:78)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)
org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
document in resource: org/ofbiz/order/shoppinglist/ShoppingListServices.xml
org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:132)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:100)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:87)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
SimpleServiceEngine.java:76)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)


2007-09-27 21:21:55,940 (default-invoker-Thread-4) [
TransactionUtil.java:255:ERROR]

 exception report
--
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
 stack trace
---
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
:254)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java
:236)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:391)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)


2007-09-27 21:21:55,941 (default-invoker-Thread-4) [
TransactionUtil.java:265:INFO
] [TransactionUtil.rollback] transaction rolled back
2007-09-27 21:21:55,941 (default-invoker-Thread-6) [
ServiceDispatcher.java:385:DEBUG]
[[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'JobDispatcher
/ addSuggestionsToShoppingList'
2007-09-27 21:21:55,942 (default-invoker-Thread-6) [
ServiceDispatcher.java:388:ERROR]

 exception report
--
Service [addSuggestionsToShoppingList] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Error running simple method [addSuggestionsToShoppingList] in XML
file [org/ofbiz/order/shoppinglist/ShoppingListServices.xml]:  (Could not
find SimpleMethod XML document in resource:
org/ofbiz/order/shoppinglist/ShoppingListServices.xml)
 stack trace
---
org.ofbiz.service.GenericServiceException: Error running simple method
[addSuggestionsToShoppingList] in XML file
[org/ofbiz/order/shoppinglist/ShoppingListServices.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/order/shoppinglist/ShoppingListServices.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
SimpleServiceEngine.java:78)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)

Re: I am trying to display CMS mananaged content in ecommerce

2007-09-26 Thread Abhishake Agarwal
Hi David,
I had tried alfresco with ofbiz.
On 9/26/07, David Goodenough [EMAIL PROTECTED]  wrote:

 I have a requirement to display CMS managed content the ecommerce app.

 I think that what I have to do is to use content/viewContent.ftl, but I
 am unsure how to invoke this, and what I need to pass to it to refer
 to either specific document in the CMS.  I am also unsure how to
 enter suitable documents in the CMS.

 Lets take an example, I have a page which is managed through the CMS
 which is the physical location of the store, with links to a map and
 a travel directions etc.

 I presume that I set up this page using the Content Manager Application,
 and I have found a place to create a new Content item and give it a
 name, mime-type etc, but I have yet to find where I actually create
 the content itself, i.e either upload a file or type in the content.

 Having created it with a name, I guess I need to pass that to
 viewContent.ftl
 in order that it be displayed.  Say I was passing it from a Menu item,
 I guess that I am going to invoke it with an A tag, something like:-

 a href=@ofbizUrlviewContent/@ofbizUrl (or it is
 content/viewContent?)
 but I am unsure how I pass in the ID of the content I want to view.

 Are there any guides to using CMS managed content in the emcommerce app?

 David



Re: Resource search order

2007-09-25 Thread Abhishake Agarwal
Hi,

I think you can set the path at
applications/product/config/catalog.properties file (image.server.path).

Regards,
Abhishake

On 9/25/07, vijay Si [EMAIL PROTECTED] wrote:

 Hi, i had the same question some time back,

 i think the order is ..framework/images
  web.xml
  webapp

 it think ...yes this was it.


 On 9/25/07, David Goodenough [EMAIL PROTECTED] wrote:
 
  I seem to recall reading somewhere that ofbiz has a set of places it
 looks
  to find things like images and css files.  As I recall the search order
  is first in the application/app/webapp/ directory, then in the
 framework
  directory.  Do I recall this right, if not what determines which
 directory
  a given URL will be resolved against.
 
  In particular I am trying to include my own .css file for the ecommerce
  application, I have copied it from framework/images/webapp/images/ to
  applications/ecommerce/webapp/ecommerce/images (it being ecommain.css)
  but the browser still seems to get the old one.  Do I have to delete (or
  rename) the old one in order to get the new one loaded?  I do have
 caching
  turned off in Firefox).  By getting the old one I mean that I changed
  something (a font size) and the font remained the same size when I
  refreshed
  the page.
 
  Both the main css and the blog css seem to be found using
  /images/name.css
  which I think means that I have recalled this right, but I am confused
 as
  to
  why the copy does not seem to have worked.
 
  David
 



Re: Resource search order

2007-09-25 Thread Abhishake Agarwal
Hi,
you can also look at ecommerce/widget/CommonScreens.xml:main-decorator

set field=layoutSettings.styleSheets[+0]
value=/ecommerce/images/blog.css global=true/
set field=layoutSettings.styleSheets[+0] value=${
productStore.styleSheet} default-value=/images/ecommain.css
global=true/

Regards,
Abhishake

On 9/25/07, BJ Freeman [EMAIL PROTECTED] wrote:

 please note which SVN version you are using.


 David Goodenough sent the following on 9/25/2007 7:06 AM:
  I seem to recall reading somewhere that ofbiz has a set of places it
 looks
  to find things like images and css files.  As I recall the search order
  is first in the application/app/webapp/ directory, then in the
 framework
  directory.  Do I recall this right, if not what determines which
 directory
  a given URL will be resolved against.
 
  In particular I am trying to include my own .css file for the ecommerce
  application, I have copied it from framework/images/webapp/images/ to
  applications/ecommerce/webapp/ecommerce/images (it being ecommain.css)
  but the browser still seems to get the old one.  Do I have to delete (or
  rename) the old one in order to get the new one loaded?  I do have
 caching
  turned off in Firefox).  By getting the old one I mean that I changed
  something (a font size) and the font remained the same size when I
 refreshed
  the page.
 
  Both the main css and the blog css seem to be found using
 /images/name.css
  which I think means that I have recalled this right, but I am confused
 as to
  why the copy does not seem to have worked.
 
  David
 
 
 



An Invitation from Abhishake Agarwal

2007-08-02 Thread Abhishake Agarwal
Dear *ofbiz-user*,

Weblo Member abhi332 (Abhishake Agarwal) has invited you to join
Weblo.comhttp://www.weblo.com- the hottest Virtual World on the Net!
Click
Herehttp://www.weblo.com/signup/index.php?Action=SignUp.joinweblorefer=19d55e=b2ZiaXotdXNlckBpbmN1YmF0b3IuYXBhY2hlLm9yZw==t=MjAwNy0wOC0wMiAxMzo1MDo1NQ==to
join Weblo for FREE, build your Virtual Empire and Make Money!

Weblo is a virtual world based on the real world. You build a profile for
yourself and then on your favorite people, places and things. Have fun while
getting paid for doing what you already do online. It doesn't cost anything
to join so come and register. Remember to add me as a friend!