Re: writing entries in DB.

2012-07-13 Thread Prabhakar Pandey
Also it would be great if any1 could tell me how can i retrieve values from database using Java services and events only. On Fri, Jul 13, 2012 at 11:02 AM, Deepak Dixit deepak.di...@hotwaxmedia.com wrote: Hi Prabhakar, You should have service engine utility. In OFBiz for CRUD operation we

Catalog/category privilegs per user

2012-07-13 Thread MMA
Hi Experts, I'm quite new to OFBiz and currently trying to get an overview over the different features it offers. One goal i'd like to achieve is that i can grant or revoke different users access to different catalogues/categories. Is this functionality offered ootb? i haven't found a

Re: writing entries in DB.

2012-07-13 Thread Rishi Solanki
Prabhakar, Use GenericDelegator class methods for doing so. Not sure if you go thru the practice application tutorial - https://cwiki.apache.org/OFBIZ/ofbiz-tutorial-a-beginners-development-guide.html -- Rishi Solanki On Fri, Jul 13, 2012 at 11:54 AM, Prabhakar Pandey

Re: Catalog/category privilegs per user

2012-07-13 Thread Jacques Le Roux
You need to use the security options for that. You will find OOTB examples in code https://cwiki.apache.org/confluence/display/OFBTECH/OFBiz+security Jacques From: MMA mailtoma...@gmail.com Hi Experts, I'm quite new to OFBiz and currently trying to get an overview over the different

Re: Announcement: OFBiz Mini-language Overhaul

2012-07-13 Thread olivier Heintz
Thank you Adrian, Improved grammar is really more clear and very useful to use. Le 11/07/2012 08:08, Adrian Crum a écrit : Ofbiz's home-grown scripting language - Mini-language - is designed to make application development fast and easy. Recently, Mini-language was completely overhauled: the

Re: Catalog/category privilegs per user

2012-07-13 Thread MMA
Hi Jacques, thanks for your fast response. Im not sure if this is exactly what i was searching for... My intention is to restrict the access to certain catalogues on the front end (in the ecommerce shop). For instance, i want a un-registered user to see just our empty front page, without any

Re: Java Service Classes

2012-07-13 Thread Himanil Gupta
Hi Prabhakar, The scenario you are given is not properly executed because, in this case the second event(viewEmployee) doesn't works for either success or failure of event(createEmployee). Thus to successfully execute this you have to provide response 'type=request' for first event which on

Re: Java Service Classes

2012-07-13 Thread Mayank
hi Prabhakar, In this scenario , your second event will not get executed because after getting response success(or error) from first event it will not return back to call the second event. For achieving required functionality you can use response type=request-redirect in your first

Re: Java Service Classes

2012-07-13 Thread Mayank
Prabhakar, You can't call runSync in this way because it is wrong syntactically, you have to pass map as parameter while calling runSync. Also you can pass empty map as parameter but in this case service will return error : IN parameter is missing. Regards Mayank Sheth On 07/13/2012

Re: Java Service Classes

2012-07-13 Thread Robert G.
Why dont you use service-groups with that you can call a bundle of services, which run all together with just one call.. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Java-Service-Classes-tp4634814p4634819.html Sent from the OFBiz - User mailing list archive at