Re: groovy code completion

2010-03-09 Thread Jacques Le Roux
What kind of completion do you get? How deep it is? Could youy give us some examples? Did you set something special? I use Groovy-Eclipse plugin Version: 2.0.0.xx-20100115-0900-e35-RELEASE in Eclipse 3.5.1 on XP Thanks Jacques From: "Ravindra Mandre" Yes, these works on other groovy projec

Re: groovy code completion

2010-03-09 Thread Erwan de FERRIERES
Le 09/03/2010 15:35, Christopher Snow a écrit : Does the plugin work with other groovy projects? What operating system are you using? The groovy plugin doesn't work for example with the ubuntu supplied eclipse. Ravindra Mandre wrote: Using its plug-in may solve your problem. Ravindra On Tue

Re: groovy code completion

2010-03-09 Thread Ravindra Mandre
Yes, these works on other groovy projects too. I am working on Ubuntu. Ravindra On Tue, Mar 9, 2010 at 8:05 PM, Christopher Snow < sno...@snowconsulting.co.uk> wrote: > Does the plugin work with other groovy projects? > > What operating system are you using? The groovy plugin doesn't work for >

Packaging in the shopping cart

2010-03-09 Thread Craig Ambrose
Hello, I am using the ShoppingCart object to add products from the web site and I was wondering if there is any logic to determine how many boxes the contents of the shopping cart will require. When I add a product to the shopping cart using the ShoppingCartEvents.addToCart() java method, I see

Re: groovy code completion

2010-03-09 Thread zhiyongcui
It works fine with other groovy projects. I am using windows xp os. -- View this message in context: http://n4.nabble.com/groovy-code-completion-tp1585483p1586740.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Eclipse Ofbiz Plugin, Google Summer of Code

2010-03-09 Thread kgambrah
Hi Sascha, Thanks for replying anyway. I would like to extend the plugin so that it is useful to ofbiz developers in their daily work. My project will cover only a period of three months and therefore I need to take on just enough work. I am thinking about extending the plugin to include groov

Re: beginner question

2010-03-09 Thread BJ Freeman
9.04 switched from using the normal way to using themes if you select EC_DEFAULT which you can find in specialpurpose\ecommerce\data\EcommerceTypeData.xml the \themes\MULTIFLEX is now the default you will find in \themes\multiflex\data\MultiflexThemeData.xml the files you will need to change manoj

Re: beginner question

2010-03-09 Thread manoj sadangi
I changed the body -> bg color and it worked. thanks ruth .

Re: beginner question

2010-03-09 Thread Ruth Hoffman
Hi Manoj: You are already 1/2 way there in that you have the right file. Try this and see what happens: In ~ecommain.css locate the "body" style. To change the background of the entire web page from a default of white (#fff), add "background: green" as shown below: body { background: #fff; pad

beginner question

2010-03-09 Thread manoj sadangi
Hi, May be this is a easy question but so far I was able not able to make it work. I am running ofbiz 9.04 . I can see "Open for ecommerce" page. How I can customize this page? (meaning If I want to change bg color or font). I tried to change the color in \framework\images\webapp\images\ecommai

Re: How to get a session from a service?

2010-03-09 Thread BJ Freeman
this is something that confused me at first. Events pass the HTTP so the java code. services engine converts the session into the context named parameters. take a look at the HttpEngine.java = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Auto

Re: How to get a session from a service?

2010-03-09 Thread Scott Gray
Only if "session" is specified as an attribute/parameter in the service definition, which is basically what I described below. You absolutely cannot just retrieve the session from any service without defining it as an attribute and then passing it in from the calling code. Regards Scott On 9/0

Re: How to get a session from a service?

2010-03-09 Thread Ruth Hoffman
Hi Patrick: Actually, you can get a session from within a Java service. Try: HttpSession session = (HttpSession)context.get("session"); Regards, Ruth Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" ruth.hoff...@myofbiz

Re: SMS gateway integration with OFBiz ?

2010-03-09 Thread toanilsoni
Thanks for info ... done the SMS gateway integration with OFBiz. On Thu, Mar 4, 2010 at 6:38 PM, Santosh Malviya wrote: > Hello Anil, > > I have also done sms integration with an SMS service provider using HTTP > request, you need to send request to the gateway with specific parameters > provide

Re: How to get a session from a service?

2010-03-09 Thread Scott Gray
You can't, services are isolated and not aware of the http request/response cycle. You need to explicitly pass in any parameters that the service will use. Regards Scott HotWax Media http://www.hotwaxmedia.com On 9/03/2010, at 8:08 AM, Patrick wrote: > I have a service definition > public sta

Re: Problem with Autocomplete in ofbiz?

2010-03-09 Thread BJ Freeman
trunk shows \framework\base\src\org\ofbiz\base\util\template\FreeMarkerWorker.java http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java?view=markup&pathrev=883217 = BJ Freeman http://bjfreeman.elance.com Strategic Po

Re: Problem with Autocomplete in ofbiz?

2010-03-09 Thread Vasu .T
Sir,There is FreeMarkerWorker.class and there is no freemarkerworker.java When we search we l get .java file but physically it is not existing in folder then changes made to .java to be should be reflected in .class file to overcome error .How to do it any help.The reason for error is this?. --

Re: Problem with Autocomplete in ofbiz?

2010-03-09 Thread Vasu .T
Hai Bilgin i just got this error when i used patch in the link https://issues.apache.org/jira/browse/OFBIZ-3541 any help... Edit Category with Category ID: Expression formrenderer is undefined on line 39, column 15 in component://product/webapp/catalog/main.ftl. The problemati

Re: groovy code completion

2010-03-09 Thread Christopher Snow
Does the plugin work with other groovy projects? What operating system are you using? The groovy plugin doesn't work for example with the ubuntu supplied eclipse. Ravindra Mandre wrote: Using its plug-in may solve your problem. Ravindra On Tue, Mar 9, 2010 at 8:21 AM, zhiyongcui wrote:

Catalog product managed by meter (also price) VS stock by each and serializable

2010-03-09 Thread el.ansari
Hello, I have the following need. So I'd like to know if it's possible in the current implementation. FYI I'm using the trunk version. I have a product catalog that must be ordered by meter and the given price is by meter. But once an order has been done, the resulting products (after production

Re: How To Change Security Redirect URL in OFBiz Shopping Cart?

2010-03-09 Thread Scott Gray
Hi Brett, The easiest way to go is to just use the same URI in your custom component which will override the existing controller entry. Regards Scott HotWax Media http://www.hotwaxmedia.com On 9/03/2010, at 12:56 AM, BrettS wrote: > > Hi, > > I want to change URL that security will redirect

Re: Removing A Facility?

2010-03-09 Thread BJ Freeman
there is no UI I know of use facility.closedDate = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation Specialtymarket.com Systems Integra

Re: groovy code completion

2010-03-09 Thread Ravindra Mandre
Using its plug-in may solve your problem. Ravindra On Tue, Mar 9, 2010 at 8:21 AM, zhiyongcui wrote: > > Why my groovy code completion is disabled in ofbiz project? > The IDE I used is eclipse 3.5. > -- > View this message in context: > http://n4.nabble.com/groovy-code-completion-tp1585483p158

security freemarker tags

2010-03-09 Thread chris snow
Are there any security freemarker transform tags? E.g. something like: <@ofbizHasPermission> <@ofbizHasRole>

Re: security freemarker tags

2010-03-09 Thread Jacques Le Roux
Actually no (yet?), only security.hasPermission( security.hasEntityPermission( security.hasRolePermission( Jacques From: "chris snow" Are there any security freemarker transform tags? E.g. something like: <@ofbizHasPermission> <@ofbizHasRole>

Re: OFBIZ OSGi - WAS: Brain-storm: OFBIZ on Grails

2010-03-09 Thread Raj Saini
Hi Chris, There are couple of bundles. I will bundle them together in a zip and upload it on sourceforge and let you know. Thanks, Raj chris snow wrote: Hi Raj, that's fantastic news. Do you have any code that I can play with? On 9 Mar 2010 08:16, "Raj Saini" wrote: Hi Chris, I could ma

How to get a session from a service?

2010-03-09 Thread Patrick
I have a service definition public static Map sendMailFromScreen(DispatchContext dctx, Map rServiceContext) How can I get the session from this? Thanks Patrick

Removing A Facility?

2010-03-09 Thread Sam Hamilton
Hi List, How can you remove, hide or delete a facility? I had a search round nabble but cant find anything that enlightens me? I all want to do is hide it form all but admins in the system as we no longer have those facilities any more. Cheers Sam

Re: OFBIZ OSGi - WAS: Brain-storm: OFBIZ on Grails

2010-03-09 Thread chris snow
Hi Raj, that's fantastic news. Do you have any code that I can play with? On 9 Mar 2010 08:16, "Raj Saini" wrote: Hi Chris, I could manage to run OBFiz entity as OSGi. I have created separate OSGi bundles for base, entity, start and geronimo components. However, due to some circular dependencie

Re: groovy code completion

2010-03-09 Thread zhiyongcui
how? -- View this message in context: http://n4.nabble.com/groovy-code-completion-tp1585483p1585739.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: ofbiz Component+and+Component+Set+Dependencies

2010-03-09 Thread Jacques Le Roux
From: "Michael Zakharoff" Thanks Jacques. I first looked at this excel spreadsheet but it seems to be incomplete in regards to dependencies for the ecommerce module. http://cwiki.apache.org/confluence/download/attachments/9373097/OFBIZ+COMP+DEPENDENCIES.xls?version=2 IIRW the ecommerce compo

Re: integration of JBoss and JBPM with OFBiz

2010-03-09 Thread Shi Jinghai
No, I'm not a fan of Drools. We use jBPM as it can help us to control user's permission at item level, not form level. And generally we can upgrade a workflow without worrying about the UI forms. Regards, Shi Jinghai/Beijing Langhua Ltd. 在 2010-03-08一的 21:15 -0800,chris snow写道: > Hi Shi - I lo

Re: OFBIZ OSGi - WAS: Brain-storm: OFBIZ on Grails

2010-03-09 Thread Raj Saini
Hi Chris, I could manage to run OBFiz entity as OSGi. I have created separate OSGi bundles for base, entity, start and geronimo components. However, due to some circular dependencies, I had to merge base and geronimo with entity. Now, it is possible to run the OFBiz minimal container on top of

Re: Demo server

2010-03-09 Thread Rishi Solanki
Thanks for update. Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Tue, Mar 9, 2010 at 11:43 AM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: > Hi, > > I have just updated and rebooted the demo server > > Jacques > >

How To Use JSP Custom Tag Within Freemarker Template Page?

2010-03-09 Thread BrettS
Hi, I am attempting to use a custom JSP tag within a Freemarker template within OFBiz without success. In a JSP, the tag syntax is as follows: <%@ taglib uri="/WEB-INF/imps.tld" prefix="imps"%> So, I attempted the following in Freemarker: <#assign imps=JspTaglibs["/WEB-INF/imps.tld"]>