Re: How is request passed to groovy scripts?

2008-10-03 Thread [EMAIL PROTECTED]
have you looked at the confirmed order email. seems your duplicating it function. Ritesh Trivedi wrote: I guess I could have been bit more clear in asking the question... I actually meant request object (HttpServletRequest) passed to the groovy script. As it seems like its an implicit object or

Re: How is request passed to groovy scripts?

2008-10-03 Thread Ritesh Trivedi
I guess I could have been bit more clear in asking the question... I actually meant request object (HttpServletRequest) passed to the groovy script. As it seems like its an implicit object or getting passed somehow that I cant figure out. I will try to be more explicit. I am calling sendEmailFro

Re: How is request passed to groovy scripts?

2008-10-03 Thread Ravi
Hi , I am not confirm but let you check this that whether you set property for your groovy file or not. and So then please post your console or screen error in mail. Regards Ravindra Mandre Indore

Re: How is request passed to groovy scripts?

2008-10-03 Thread [EMAIL PROTECTED]
take a look at the ProductStoreEmailSetting data in the application/ecommerce/data/demoproducts.xml for examples of screens being used for this service. if you look at the service sendMailFromScreen you will see what is needed. if you look at component://party/widget/partymgr/EmailPartyScreens.xml

Re: How is request passed to groovy scripts?

2008-10-03 Thread [EMAIL PROTECTED]
groovy does not have anything to do with calling a service. that is done thru the target and the controller. grovvy is used to marshal and manipulate data for display or sending in context to services. review http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams all vi

Re: anon user always a party weirdness-Solved!

2008-10-03 Thread [EMAIL PROTECTED]
should be (ne)= not empty unless the code that does the evaluation is not working ot the fieldstypes have been changed for your Db. Phillip Rhodes wrote: Somehow, one of the records in the "user_login" table was created/updated to have a empty user_login_id value. Because of this,

How is request passed to groovy scripts?

2008-10-03 Thread Ritesh Trivedi
Hi, I am trying to call sendEmailFromScreen for a custom screen very similar to EmailOrderScreens, the groovy script is one of the existing ones ShopCart.groovy. sendEmailFromScreen service throws an exception groovy - property request not found for class ShopCart. I looked at similar code in e

Re: anon user always a party weirdness-Solved!

2008-10-03 Thread Phillip Rhodes
Somehow, one of the records in the "user_login" table was created/ updated to have a empty user_login_id value. Because of this, this userlogin record would present the anonymous user in the system. I had to run a few sql statements to fix it (integrity constraints galore), but it's working n

Re: 2 projs in single wrkspace in eclipse

2008-10-03 Thread Jacques Le Roux
http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-URLandPortSettings But actually changing 8080 and 8443 ports is enough for testing. Just look for these numbers in Eclipse (*.xml,*.prop*). At a time I considered adding

anon user always a party weirdness

2008-10-03 Thread Phillip Rhodes
Just figured out more... I recompiled ofbiz with some additional debugging statements in ContactMechServices.java The problem is that for every transaction (even if I close my browser between sessions), ofbiz is passing a valid account as the login in the context, even though I am anonymou

Re: 2 projs in single wrkspace in eclipse

2008-10-03 Thread adithi agarwal
Thankyou.. actually I did not change the port numbers...port numbers for both of them(ofbiz instances) are the same...This may be the reason... for such a mess.(Actually I thought whichever Ofbiz instance I build and run, applications only in that instance will work and not those of other insta

Re: 2 projs in single wrkspace in eclipse

2008-10-03 Thread Jacques Le Roux
This should not be possible since you have to use different ports set for each OFBiz instance hence for each embedded applications (of course this means also that you run both instances simultaneously) In other words, we need more details to help you... Jacques From: "adithi agarwal" <[EMAIL PR

Re: 2 projs in single wrkspace in eclipse

2008-10-03 Thread adithi agarwal
Thankyou for your reply ..But you know what...when i Build the ofbiz1 and run ofbiz1, I could run the appl2 as well .(Actually I should not be able to run appln2 if iam correct) Thanks.. - Original Message From: Jacques Le Roux <[EMAIL PROTECTED]> To: user@ofbiz.apache.org Sent: F

Re: 4.0 help with fedex servers, weighing, and printing labels

2008-10-03 Thread Jacques Le Roux
To use the ShipmentScaleApplet on Windows you will need plugin.jar usualy found in your jdk \jre\lib Jacques From: <[EMAIL PROTECTED]> if you look in the products controller you will see the labels and track to the pages. http://docs.ofbiz.org/display/OFBENDUSER/Packing+and+Shipping http://do

Re: Wiki changes

2008-10-03 Thread David E Jones
Okay, I've changed the password on that account so they can't login again. On a side note: didn't remove the account as it appears removing accounts in Confluence is not all that easy! -David On Oct 3, 2008, at 12:23 PM, Jacques Le Roux wrote: Hi David, From: "David E Jones" <[EMAIL

Re: 2 projs in single wrkspace in eclipse

2008-10-03 Thread Jacques Le Roux
From: "adithi agarwal" <[EMAIL PROTECTED]> Hii all I have a question can some one help me out please Cant I put 2 ofbiz projs in a single workspace. You just need to have different names for them. Actually at the moment I have at least 5 OFBiz instances in the same Eclipse worlkspace. Of cou

2 projs in single wrkspace in eclipse

2008-10-03 Thread adithi agarwal
Hii all I have a question can some one help me out please Cant I put 2 ofbiz projs in a single workspace. Actually I have my application1 in one ofbiz and application2(same as application1 with few changes) in other ofbiz but in same workspace. When I run the first Ofbiz in eclipse, I think i

Re: Eclipse IDE Problem with Ubuntu LTS 8.04 while Building and Refreshing OFBiz trunk

2008-10-03 Thread Raj Saini
Hi Ashish, I have been using Ubuntu + Eclipse since the Ubuntu 6.X days. Currently, I have Eclipse 3.4 on Ubuntu 8.04 and did not experience any problem so far. There was a problem due to the Beta version of Firefox, how it is resolved in latest version of Firefox. (Firefox is embedded browser

Re: Wiki changes

2008-10-03 Thread Jacques Le Roux
Hi David, From: "David E Jones" <[EMAIL PROTECTED]> Did that user remove other information in the wiki when making these changes? Yes but I think it was not purposedly (it's not the 1st itme I notice people replacing lines when willing to add in Rich Text Mode). Anyway as outlined Scott the

Re: Eclipse IDE Problem with Ubuntu LTS 8.04 while Building and Refreshing OFBiz trunk

2008-10-03 Thread Jacques Le Roux
Hi Ashish, Yes I'm using Eclipse 3.4 since its beginning (August 2007, was 3.4M1 then). Actually I use it mostly on Windows XP but on Ubuntu 8.04 LTS too. My experience is that problems almost always come from plugins and they should not be related to the OS. When you experience such problems

Re: Wiki changes

2008-10-03 Thread David E Jones
Did that user remove other information in the wiki when making these changes? I ask because if so that's not playing nice and unless we hear from them I'll disable their account. -David On Oct 3, 2008, at 6:07 AM, Jacques Le Roux wrote: Thanks Scott, Yes, it's ASP, apart if they use

Eclipse IDE Problem with Ubuntu LTS 8.04 while Building and Refreshing OFBiz trunk

2008-10-03 Thread Ashish Vijaywargiya
Hello Jacques, I noticed that you are using the Eclipse on Ubuntu since very long. I have installed Eclipse Ganymede on my laptop with Ubuntu LTS 8.04. But in case of Build and Refresh most of the time it gets hanged out. Can you please share your experience with Eclipse + Ubuntu ? If you are u

Re: Wiki changes

2008-10-03 Thread Jacques Le Roux
Thanks Scott, Yes, it's ASP, apart if they use OFBiz as baskend. Anyway I will remove these links if any answers... Jacques From: "Scott Gray" <[EMAIL PROTECTED]> +1 for revert, the sites don't really look OFBiz related Regards Scott 2008/10/3 Jacques Le Roux <[EMAIL PROTECTED]>: OK, witho

Re: Wiki changes

2008-10-03 Thread Scott Gray
+1 for revert, the sites don't really look OFBiz related Regards Scott 2008/10/3 Jacques Le Roux <[EMAIL PROTECTED]>: > OK, without any news I will revert those change, or at least will put back > the links removed ! > > Jacques > > From: "Jacques Le Roux" <[EMAIL PROTECTED]> >> >> Hi fkittaneh,

Re: Wiki changes

2008-10-03 Thread Jacques Le Roux
OK, without any news I will revert those change, or at least will put back the links removed ! Jacques From: "Jacques Le Roux" <[EMAIL PROTECTED]> Hi fkittaneh, You made some changes in Wiki http://docs.ofbiz.org/pages/diffpages.action?originalId=5522&pageId=5524#change0 Is "A-NeT Internet S

Re: ofbiz security corrupted?

2008-10-03 Thread Jacques Le Roux
This may need something similar to the change I introduced in revision: 699636 Please see this thread http://www.nabble.com/Contact-Us-link-not-working-in-ecommerce-td19156327.html Jacques From: "Phillip Rhodes" <[EMAIL PROTECTED]> Hi Everyone, I am really trying to dig in but I am coming up e

Re: Associate content to party group

2008-10-03 Thread Jacopo Cappellato
A company, such as a supplier, is represented as: Party + PartyGroup A person, such as an employee, is represented as: Party + Person You should associate the content to the Party. Jacopo On Oct 3, 2008, at 11:11 AM, Eric DE MAULDE wrote: Hi, My target is to build a product specification she

Associate content to party group

2008-10-03 Thread Eric DE MAULDE
Hi, My target is to build a product specification sheet with dynamic supplier text, attaching a content to a category. I would want to associate a content to a supplier (Party group). But in Content Role, there is just a choice of PERSONS and not PARTY GROUPS Have I to create a PERSON for each SUP

Re: ofbiz security corrupted?

2008-10-03 Thread [EMAIL PROTECTED]
not sure why createUpdateCustomerInfo is being called when are creating a customer. the problem is an the userlogin is an anonymous so there are no permissions. Phillip Rhodes wrote: Hi Everyone, I am really trying to dig in but I am coming up empty. The problem has just appeared suddenly wi