Limited access to categories by parties

2008-08-04 Thread Amine Benkirane
Hi all, I need to limit the catalog administration by parties. In fact, I want to create a person or a person group wich can only access to one catalog to administrate it. This person or group can also access to all categories of the catalog. What is the best pratice to do that ? Any help

Integrating Drupal with Ofbiz

2008-08-04 Thread Abhin
I want to have a CMS in Drupal link with the ecommerce applications of Ofbiz. One of my friends told that it is possible using opentaps, but i have no idea about this. Can anyone help me in integrating Drupal with ofbiz ? Any docs ? -- View this message in context: http://www.nabble.com/Integ

Re: How to Assign permission to role?

2008-08-04 Thread Bilgin Ibryam
On Fri, 2008-08-01 at 21:09 -0700, Balaji Sundar wrote: > But i am not able to find how to do it for a role... > > can anyone help me on this? For an example of role based permission search in the code about ProdcutStoreRole entity, or hasPermission methods in OrderServices.java file Bilgin

Re: ebay componet createShoppingCart

2008-08-04 Thread Jacques Le Roux
Hi BJ, I know, well... nothing... about ebay in OFBiz (sorry for that). Could you elaborate a bit more, please ? BTW should not be in dev ML ? Jacques From: "BJ Freeman" <[EMAIL PROTECTED]> I anyone have an objection to adding in the website to find the productstoreID.

Re: Integrating Drupal with Ofbiz

2008-08-04 Thread BJ Freeman
it would mean you would have to become familiar with ofbiz and drupal. I have not seen such a integration so far. the integration would be one for you system only. once your done you can contribute to the wiki how you did it. :) Abhin sent the following on 8/4/2008 2:26 AM: > I want to have a CMS

Re: how to set security and permissions precedence

2008-08-04 Thread BJ Freeman
this is where using the example, exampleext, and the wiki startup example will help. this is where ofbiz is different than opentaps. and the links to the information that has been give you in the past come into play. there is no quick way to learn ofbiz. :) error is saying the main decorator has no

Fw: Integrating Drupal with Ofbiz

2008-08-04 Thread Jacques Le Roux
re-sending, Delivery Status Notification issue So far with OFBiz, the only well known example is http://sourceforge.net/projects/opencms-ofbiz, not sure of lits success though : http://www.nabble.com/forum/Search.jtp?local=y&forum=2740&query=opencms Jacques from.: "Abhin" <[EMAIL PROTECTED]>

Re: Displaying data in a form without a actualy UI query

2008-08-04 Thread BJ Freeman
you can take the framework section and rebuild you own applications. but you missing a lot of built ins that reduce a lot of work. Milind W sent the following on 8/3/2008 11:34 PM: > Is it possible to do what I want without any scripting/service and using > xml config on Screen Action or somethin

Re: How to start with OFBiz

2008-08-04 Thread BJ Freeman
I look forward to you add the entity-auto. thanks for you work. Pranay Pandey sent the following on 8/3/2008 10:06 PM: > Hello Milind, > > There is also a attachment for complete workable source for Practice > Application. I think you missed that. > http://docs.ofbiz.org/pages/viewpageattachments

How to set currency in ofbiz?

2008-08-04 Thread Balaji Sundar
I want to set the currency to INR. While creating the product store i set it to INR and while adding price to a product i set it to INR. But in the product page, the price is $0.00. If i change to USD, it works! So, what i guess is that there must be a configuration file or something that sets

https://demo.hotwaxmedia.com/webtools/control/viewdatafile error

2008-08-04 Thread BJ Freeman
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://webtools/widget/MiscScreens.xml#viewdatafile]: org.ofbiz.base.util.GeneralException: Error running Groovy script at location [component://webtools/webapp/webtools/WEB-INF/actions/datafile/Viewdatafile.groovy] (Script

Re: How to set currency in ofbiz?

2008-08-04 Thread Bilgin Ibryam
Change also currency.uom.id.default field in general.properties Bilgin

Re: How to set currency in ofbiz?

2008-08-04 Thread BJ Freeman
are there any errors in the error or debug logs Balaji Sundar sent the following on 8/4/2008 4:25 AM: > I want to set the currency to INR. > > While creating the product store i set it to INR and while adding price to a > product i set it to INR. > > But in the product page, the price is $0.00.

Re: How to set currency in ofbiz?

2008-08-04 Thread BJ Freeman
shouldn't that change when the language is set in the UI also? Bilgin Ibryam sent the following on 8/4/2008 4:47 AM: > Change also currency.uom.id.default field in general.properties > > Bilgin > > > >

Re: https://demo.hotwaxmedia.com/webtools/control/viewdatafile error

2008-08-04 Thread Jacopo Cappellato
thanks BJ, this is fixed in rev. 682350 Jacopo On Aug 4, 2008, at 1:41 PM, BJ Freeman wrote: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://webtools/widget/MiscScreens.xml#viewdatafile]: org.ofbiz.base.util.GeneralException: Error running Groovy script at l

Re: https://demo.hotwaxmedia.com/webtools/control/viewdatafile error

2008-08-04 Thread BJ Freeman
thanks Jacopo will wait till the bugs are worked out in the frame work before download the new revision. Jacopo Cappellato sent the following on 8/4/2008 4:57 AM: > thanks BJ, > > this is fixed in rev. 682350 > > Jacopo > > On Aug 4, 2008, at 1:41 PM, BJ Freeman wrote: > >> org.ofbiz.widget.sc

Re: How to set currency in ofbiz?

2008-08-04 Thread BJ Freeman
change productscreens.xml so it gets it from the session instead? BJ Freeman sent the following on 8/4/2008 4:53 AM: > shouldn't that change when the language is set in the UI also? > > Bilgin Ibryam sent the following on 8/4/2008 4:47 AM: >> Change also currency.uom.id.default

maintaining session...

2008-08-04 Thread Aravind_RP
hi am using webservice to access the exposed methods of ofbiz from a layer of mine is it possible to access these webservices that requires authorization without passing username and password each time.is it possible to maintain session in ofbiz. please help me am stuck on this for few days

Re: How to set currency in ofbiz?

2008-08-04 Thread Balaji Sundar
I did not find any errors while creating product store , catalog, catagory, product or the price. If i change in the general.properties file, it only shows up first in the dropdown list and does nothing else. All i want is the currency to be set to INR globlally. BJ Freeman wrote: > > shouldn

Re: How to set currency in ofbiz?

2008-08-04 Thread BJ Freeman
there is a service that can be called, I am check it see if it is called when the language is changed. it might also be something to add to the my page or preferences. Balaji Sundar sent the following on 8/4/2008 5:32 AM: > I did not find any errors while creating product store , catalog, catagor

Re: maintaining session...

2008-08-04 Thread BJ Freeman
Session is maintained in the context. I would expect your layer would pass back the session from that. it would be your layer that is the client and logs in to maintain the session, I would expect. Aravind_RP sent the following on 8/4/2008 5:19 AM: > hi > am using webservice to access the exposed

Re: How to set currency in ofbiz?

2008-08-04 Thread Balaji Sundar
Thanks a lot. changing in productscreens.xml did the trick BJ Freeman wrote: > > change productscreens.xml > resource="general" property="currency.uom.id.default" default="USD"/> > > so it gets it from the session instead? > > BJ Freeman sent the following on 8/4/200

Re: Configurable Product not creating a requirement

2008-08-04 Thread Bilgin Ibryam
On Sat, 2008-08-02 at 10:11 +1200, Scott Gray wrote: > Is there a reason why a requirement would not be created for a product > that > > is configurable? > > > > Regards, > > Paul It should create after r682365 Bilgin

add customer question

2008-08-04 Thread jose junior malheiros barros
I am trying insert person in database, when i use the following statement insert correctly:     LocalDispatcher dispatcher = dctx.getDispatcher();     Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");     Map serviceResults = dispatcher.runSync("createPerson", inpu

Re: add customer question

2008-08-04 Thread BJ Freeman
before we get into code. are you familiar with the code now in ofbiz to get emails? jose junior malheiros barros sent the following on 8/4/2008 6:12 AM: > I am trying insert person in database, when i use the following statement > insert correctly: > > LocalDispatcher dispatcher = dctx.g

How to get tax vat code in product page?

2008-08-04 Thread Balaji Sundar
In accounts section i created a tax authority for IND In store creation page, i set taxable to Y and set the id to IND In product creation page, i set the taxable to Y, but not able to find the vat tax code or the tax catagory fields.! I used IND for vat tax code, but it is not working. So, ho

Re: add customer question

2008-08-04 Thread jjmbconquista
No BJ Freeman wrote: > > before we get into code. > are you familiar with the code now in ofbiz to get emails? > > jose junior malheiros barros sent the following on 8/4/2008 6:12 AM: >> I am trying insert person in database, when i use the following statement >> insert correctly: >> >>

Re: add customer question

2008-08-04 Thread BJ Freeman
the java mail container is disabled by default in the ofbiz-containers.xml check code if you wish framework\service\src\org\ofbiz\service\mail look in applications\content\src\org\ofbiz\content\email and applications\content\servicedef you will see sample in the mca.xml here is one I use

Re: add customer question

2008-08-04 Thread jjmbconquista
Thanks BJ, but now i want know why this statement work corrently: LocalDispatcher dispatcher = dctx.getDispatcher(); Map input = UtilMisc.toMap("firstName", "zeca", "lastName", "tatu"); Map serviceResults = dispatcher.runSync("createPerson", input); and this not: GenericDe

Re: add customer question

2008-08-04 Thread BJ Freeman
from the log looks like you doing rmi and the error are Error running simple method [ensureNaPartyRole] in XML file [org/ofbiz/party/party/PartySimpleMethods.xml]: (Could not find SimpleMethod XML document in resource: org/ofbiz/party/party/PartySimpleMethods.xml) so your create person fail also.

Re: add customer question

2008-08-04 Thread BJ Freeman
also the dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator) OPro dispatcher is not defined or you don't have all the class paths define in your component. jjmbconquista sent the following on 8/4/2008 7:16 AM: > Thanks BJ, > > but now i want know why this statement work corrently:

Re: add customer question

2008-08-04 Thread BJ Freeman
btw ensureNaPartyRole is an seca BJ Freeman sent the following on 8/4/2008 7:25 AM: > from the log looks like you doing rmi > and the error are > Error running simple method [ensureNaPartyRole] in XML file > [org/ofbiz/party/party/PartySimpleMethods.xml]: (Could not find > SimpleMethod XML docume

Creating Single orders whcih have products that ship from different facilities

2008-08-04 Thread Len
David, I would like to keep this thread alive as I see adding the facility to the order item ship group will be useful for all. I also have the time at the moment to make the changes we discuss and submit as a JIRA back to the community. Before I make any changes I would just like to insure we a

create role and create userlogin?

2008-08-04 Thread Phillip Rhodes
Sorry for the questions that may seem obvious, but I have spent 30 minutes clicking around the Party Manager and haven't figured out how to... 1) How do you create a new role? 2) How do you create a new userlogin? Thank you for your time. Hope to return the favor.

Re: add customer question

2008-08-04 Thread jjmbconquista
what should I put in place of OPro, you have some idea or some tutorial that can help me? BJ Freeman wrote: > > also the > dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator) > OPro dispatcher is not defined or you don't have all the class paths > define in your component. > >

Re: create role and create userlogin?

2008-08-04 Thread Daniel Rosowski
Phillip, as you already stated correctly it has to be done in the Party Manager application. 1) For a party click on Role(s). On the bottom there is a box "New Role Type". 2) You can create userlogins for a party in the party profile. There is a box named "User Name(s)". On the top right side

Re: How to get tax vat code in product page?

2008-08-04 Thread Raj Saini
Did you also create an entry in ProductRates? That is Accounting->Tax Authorities->Product Rates Thanks, Raj Balaji Sundar wrote: In accounts section i created a tax authority for IND In store creation page, i set taxable to Y and set the id to IND In product creation page, i set the taxa

Re: Limited access to categories by parties

2008-08-04 Thread Raj Saini
Hi Amine, I don't think it is possible OOTB. We did it by rolling out our on catalog manager, creating set up permissions and security group for the new application, added the required party and roles to the catalogs and categories and rewrite the services to take into consideration the party

Re: create role and create userlogin?

2008-08-04 Thread BJ Freeman
#1 for a party or create a new role? for do add to a party https://demo.hotwaxmedia.com/partymgr/control/findparty find your party so it shows on the screen https://demo.hotwaxmedia.com/partymgr/control/viewprofile?partyId=admin 2nd from the right on the second row of menus you will see role(s) cli

Re: How to start with OFBiz

2008-08-04 Thread Pranay Pandey
Thanks BJ, Its done. -- Thanks & Regards -- Pranay Pandey On Mon, Aug 4, 2008 at 4:22 PM, BJ Freeman <[EMAIL PROTECTED]> wrote: > I look forward to you add the entity-auto. > thanks for you work. > > Pranay Pandey sent the following on 8/3/2008 10:06 PM: > > Hello Milind, > > > > There is als

Re: Limited access to categories by parties

2008-08-04 Thread BJ Freeman
you have to set up the parties and thier roles then select a catalog https://demo.hotwaxmedia.com/catalog/control/EditProdCatalog?prodCatalogId=DemoCatalog then click on parties https://demo.hotwaxmedia.com/catalog/control/EditProdCatalogParties?prodCatalogId=DemoCatalog and the parties to the cata

Eclipse Mac not showing XML pages?

2008-08-04 Thread Gary Lackerman
Hello, I was able to setup the ofbiz project in Eclipse for Mac and get it to run in ³Debug² mode. However, somehow I lost the XML files from the project. I was going to make a simple label change and re-build to test my attempt, but the XML files are missing. Only the Java files show. I checked a

RE: Eclipse Mac not showing XML pages?

2008-08-04 Thread Phillip Rhodes
I am a little confused but here are some thoughts: Can you view the xml files in your finder? What eclipse perspective are you using? Is it that xmlbuddy is not working? You can "reset perspective" in eclipse to fix things you may have messed up with eclipse. -Original Message- Fro

Re: Eclipse Mac not showing XML pages?

2008-08-04 Thread Gary Lackerman
I can see it in the finder. I’m using a “Java” perspective. I can’t get XMLBuddy to load through “Software Updates” as a plug-in. I’m using Eclipse 3.4 and the XMLBuddy site only has update for up to version 3.1. Yes, I’ve done the “reset perspective” and it didn’t show the files. GARY LACKERMAN

Re: Eclipse Mac not showing XML pages?

2008-08-04 Thread Phillip Rhodes
If you can right click the file in eclipse and open with "Text Editor" and it works, it's a problem with the xmlbuddy plugin. I have xmlbuddy working, but using Version: 3.3.0 and xmlbuddy is working fine. I would just download xmlbuddy and extract the zip file into your plugins directory. I

Re: Eclipse Mac not showing XML pages?

2008-08-04 Thread BJ Freeman
don't have mac, but are you looking at the Package explorer on the left hand side. Gary Lackerman sent the following on 8/4/2008 11:26 AM: > I can see it in the finder. > I’m using a “Java” perspective. > I can’t get XMLBuddy to load through “Software Updates” as a plug-in. I’m > using Eclipse 3.4

Features range

2008-08-04 Thread Jacques Le Roux
Is there a way to easily deal with features ranges like " Model Year Features" https://demo.hotwaxmedia.com/catalog/control/EditFeatureCategoryFeatures?productFeatureCategoryId=1001 I mean if you have to frequently create such large ranges Thanks Jacques

Re: Eclipse Mac not showing XML pages?

2008-08-04 Thread Gary Lackerman
Hello all, I figured it out. My mistake. Thanks, GARY LACKERMAN Software Developer [EMAIL PROTECTED] WET 10817 Sherman Way Sun Valley, California 91352 T 818.769.6200 F 818.301.6111 www.wetdesign.com From: BJ Freeman <[EMAIL PROTECTED]> Reply-To: Date: Mon, 4 Aug 2008 14:44:30 -0700 To: Sub

Re: Features range

2008-08-04 Thread BJ Freeman
other than doing in xml files and importing. ranges in number is not a big problem in coding so you could have start and finish range. size range would require a third box of step. How would you do from small to xxxl for size? maybe have a enumeration. a color range may prove more challenging. agai

Re: how to set security and permissions precedence

2008-08-04 Thread Milind W
hi BJ, It is sad that there is no quick way to learn ofbiz (still). What makes it more difficult is the part where you have to reverse engineer the code or existing configuration to undesrtand how to do things. IMHO 1)Reverse engineering and going through existing code has its place but not as a ne

Re: How to get tax vat code in product page?

2008-08-04 Thread Balaji Sundar
yes, i have created an entry in ProductRates - sales tax as 4 One more problem is for every hundred rupee i enter, it adds 1 rupee to the total. Example: if my default price is 100, the product and catagory page shows - 101.00 if my default price is 1000, it shows 1010.00!! i do not know why! c

Re: How to get tax vat code in product page?

2008-08-04 Thread Raj Saini
Would be difficult to know without looking at the configuration. I would suggest to create your samples on demo site and send the link. Thanks, Raj Balaji Sundar wrote: yes, i have created an entry in ProductRates - sales tax as 4 One more problem is for every hundred rupee i enter, it adds

Re: how to set security and permissions precedence

2008-08-04 Thread Milind W
hi BJ, I finally got the login to work. I think its sad that its difficult to learn ofbiz and I think it does not have to be this way and no I am not trying to learn opentaps. I was trying to use the login screens from the 'common' application but then starting running into issues with UI labels et

Re: how to set security and permissions precedence

2008-08-04 Thread BJ Freeman
our documentation is community driven. and it has significantly grown in the last few years. the basics are hard to grasp for object, DB driven, programmers. so a lot of the learning is unlearning. I struggle with getting my mind around it for a few years. now it seem so clear. my dad use to say. e

Re: how to set security and permissions precedence

2008-08-04 Thread BJ Freeman
I am sure the community will be glad to see the documentation you provide from you experience. hang in there it does get easier. Milind W sent the following on 8/4/2008 9:01 PM: > hi BJ, > I finally got the login to work. > I think its sad that its difficult to learn ofbiz and I think it does not

Decrypting password

2008-08-04 Thread Aravind_RP
hi Is there any way to decrypt the password directly obtained from UserLogin entity so that i can run the login service on getting userid only...please help. -- View this message in context: http://www.nabble.com/Decrypting-password-tp18824380p18824380.html Sent from the OFBiz - User mailing li

Re: Decrypting password

2008-08-04 Thread BJ Freeman
the only way is to encrypt the new password and compare it to the one in the Userlogin entity or in the UserLogin in the context. Aravind_RP sent the following on 8/4/2008 9:25 PM: > hi > Is there any way to decrypt the password directly obtained from UserLogin > entity so that i can run the log

Re: Decrypting password

2008-08-04 Thread Jacques Le Roux
No, it uses SHA Jacques From: "Aravind_RP" <[EMAIL PROTECTED]> hi Is there any way to decrypt the password directly obtained from UserLogin entity so that i can run the login service on getting userid only...please help. -- View this message in context: http://www.nabble.com/Decrypting-pas

Re: how to set security and permissions precedence

2008-08-04 Thread Milind W
hi BJ, That arrow left the quiver sooner then I would have liked. But anyways as I said, I definitely agree that people who have written this have every right to benefit and prosper from their effort, specially after having given away most of it for free. I sincerely hope that it happens so we can

Re: how to set security and permissions precedence

2008-08-04 Thread David E Jones
On Aug 4, 2008, at 11:19 PM, Milind W wrote: hi BJ, That arrow left the quiver sooner then I would have liked. But anyways as I said, I definitely agree that people who have written this have every right to benefit and prosper from their effort, specially after having given away most of it f

Re: Need some fields description from CustRequest entity

2008-08-04 Thread Ashish Vijaywargiya
Thx BJ & Jacques for your reply. On Sun, Aug 3, 2008 at 2:08 PM, Jacques Le Roux < [EMAIL PROTECTED]> wrote: > From: "Jacques Le Roux" <[EMAIL PROTECTED]> > [...] > >> Like I said long before, the best API is nothing without its >> documentation,. And in this respect we have still a >> long way

Re: How to set currency in ofbiz?

2008-08-04 Thread Balaji Sundar
Problem is now the other way.!!! I am not able to revert to USD now. I changed INR to USD and it is not affecting. I changed in store, accounting and in product also in general.properties file and ProductScreens.xml file.. but of no use it just wont revert back. I even restarted the