RE: Ofbiz explorer plugin

2011-12-15 Thread Gareth O'Brien
Pierre,

Did you uninstall the old plugin first and then do a fresh install;
apparently "update" won't work.

Also Eclipse 3.5.2 won't run the new plugin, and that’s the error I got.
Should work with 3.6 or 3.7.

Gareth.

-Original Message-
From: Pierre Smits [mailto:pierre.sm...@gmail.com] 
Sent: 15 December 2011 07:45
To: user@ofbiz.apache.org
Subject: Re: Ofbiz explorer plugin

Hi Daniel,

I did a update of eclipse with url below.

When opening the view I got following error:
Unable to create view ID org.ofbiz.plugin.explorerview:
org/eclipse/emf/ecore/util/Switch

Any ideas on how to resolve?

Regards,

Pierre


2011/12/14 Daniel McAllister 

> I did an update on the Ofbiz Plugin update site.
> The update site Url has changed to simplify the deployment process.
> http://rasztasd.github.com/ofbiz-eclipse-project-explorer/
>
> The current version is 1.0.1.
>
> Please remove the current plugin if you have installed before installing.
>
> On Tue, Dec 13, 2011 at 5:03 PM, Daniel McAllister 
> 
> wrote:
> > Ok, I'll do that next.
> >
> > On Tue, Dec 13, 2011 at 4:31 PM, Gareth O'Brien 
> wrote:
> >> Hey Daniel,
> >>
> >> I tend to be an IDE junkie so I'm liking the plugin a lot. Any 
> >> chance
> it's
> >> ready for a new download package on the update site? 1.05?
> >>
> >> Thanks,
> >>
> >> Gareth.
> >>
> >> -Original Message-
> >> From: Daniel McAllister [mailto:raszt...@gmail.com]
> >> Sent: 13 December 2011 14:27
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz explorer plugin
> >>
> >> Hello
> >> I have continued work on the Eclipse Ofbiz plugin.
> >>
> >> For now it parses service Ecas, Views, Forms.
> >> It implements Eclipse Hyperlinks for controller.xml, forms, 
> >> screens,
> java
> >> code and beanshell.
> >>
> >> The functions are only working if you open the Ofbiz view to 
> >> popuplate
> all
> >> the inner data structures the Hyperlink are working with.
> >>
> >> There is a Validate current file button that works for now only for 
> >> controller.xml. It marks request that override other request.
> >> View-maps that overrides others. Viewmaps and request that 
> >> references invalid objects. (it's not 100% feature complete)
> >>
> >> On Fri, Oct 28, 2011 at 7:34 PM,   wrote:
> >>> Hello Daniel,
> >>>
> >>> I haven't taken changes from the trunk. May be if you have CI 
> >>> server, you can add a step to update the 'Update site' :-)
> >>>
> >>> Few other suggestions: (Some of these might already exist in the 
> >>> trunk version, so you can ignore them).
> >>> 1.  Under controller, it shows request map, but not the view maps.
> >>> It would nice to have 'View Implementation' option in addition to 
> >>> current 'View Definition' for the view. Similar to to 'Service 
> >>> Definition' and 'Service Implementation'
> >>>
> >>> 2.  Please use different icons to show services with Java
> >>> implementation, as they are the only ones for which you can view 
> >>> implementation. You already have filter to see Java services.
> >>>
> >>> 3.  Allow viewing implementation of simple service.
> >>>
> >>> 4.  I assume the refresh on a project (right click menu), just
> >>> refreshes that project. I have multiple ofbiz branches in my
workspace.
> >>>
> >>> 5.  It would be nice to chance the file extensions to something
> >>> else and attach property listener so that the tree can be updated 
> >>> after change to file. But, I guess this falls in broader OfBiz
> >> enhancements.
> >>>
> >>> 6.  A option to see reference of a service.
> >>>
> >>> 7.  A view over ECAs
> >>>
> >>> Regards,
> >>> Kiran Gawde
> >>>
> >>> Senior Software Architect
> >>> Object Edge Inc
> >>> (925) 943 5558 x108
> >>>
> >>> "There are two kind of people: Those who do the work and those who 
> >>> take the credit. Try to be in the first group because there is 
> >>> less competition there."
> >>> "Never give up on what you really want to do. The person with big 
> >>> dreams is more powerful than one with all the facts".
> >>>
> >>>
> >>>
> >>>
> >>> From:   Daniel McAllister 
> >>> To: user@ofbiz.apache.org
> >>> Date:   10/06/2011 03:41 AM
> >>> Subject:Re: Ofbiz explorer plugin
> >>>
> >>>
> >>>
> >>> On 2011. okt.  6., csütörtök, 10.35.54 CEST, Daniel McAllister wrote:
>  On 2011. okt. 5., szerda, 19.50.44 CEST, ki...@objectedge.com wrote:
> > Hello Daniel,
> >
> > I tried it out. What would be nice is that once you double click 
> > on an item, it should open corresponding file on the right.
> >
> > Regards,
> > Kiran Gawde
> >
> > Senior Software Architect
> > Object Edge Inc
> > (925) 943 5558 x108
> >
> > "There are two kind of people: Those who do the work and those 
> > who take the credit. Try to be in the first group because there 
> > is less competition there."
> > "Never give up on what you really want to do. The person with 
> > big
> >>> dreams
> > is more powerful than one with 

Re: How to add a party to just be able to do 'Picker'

2011-12-15 Thread Jacques Le Roux
You may use SHIPMENT_CLERK role, apart that I don't see anything OOTB. This also means that you will need to create code to handle 
authorization, see https://cwiki.apache.org/confluence/display/OFBTECH/OFBiz+security


Jacques

From: "Deepak Agarwal" 

--
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: deepak.agar...@paxcel.net
Mobile: +91 9910322604



Re: Ofbiz explorer plugin

2011-12-15 Thread Daniel McAllister
There is a new update on the project. It contains some new icons.

On Thu, Dec 15, 2011 at 10:02 AM, Gareth O'Brien  wrote:
> Pierre,
>
> Did you uninstall the old plugin first and then do a fresh install;
> apparently "update" won't work.
>
> Also Eclipse 3.5.2 won't run the new plugin, and that’s the error I got.
> Should work with 3.6 or 3.7.
>
> Gareth.
>
> -Original Message-
> From: Pierre Smits [mailto:pierre.sm...@gmail.com]
> Sent: 15 December 2011 07:45
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz explorer plugin
>
> Hi Daniel,
>
> I did a update of eclipse with url below.
>
> When opening the view I got following error:
> Unable to create view ID org.ofbiz.plugin.explorerview:
> org/eclipse/emf/ecore/util/Switch
>
> Any ideas on how to resolve?
>
> Regards,
>
> Pierre
>
>
> 2011/12/14 Daniel McAllister 
>
>> I did an update on the Ofbiz Plugin update site.
>> The update site Url has changed to simplify the deployment process.
>> http://rasztasd.github.com/ofbiz-eclipse-project-explorer/
>>
>> The current version is 1.0.1.
>>
>> Please remove the current plugin if you have installed before installing.
>>
>> On Tue, Dec 13, 2011 at 5:03 PM, Daniel McAllister
>> 
>> wrote:
>> > Ok, I'll do that next.
>> >
>> > On Tue, Dec 13, 2011 at 4:31 PM, Gareth O'Brien 
>> wrote:
>> >> Hey Daniel,
>> >>
>> >> I tend to be an IDE junkie so I'm liking the plugin a lot. Any
>> >> chance
>> it's
>> >> ready for a new download package on the update site? 1.05?
>> >>
>> >> Thanks,
>> >>
>> >> Gareth.
>> >>
>> >> -Original Message-
>> >> From: Daniel McAllister [mailto:raszt...@gmail.com]
>> >> Sent: 13 December 2011 14:27
>> >> To: user@ofbiz.apache.org
>> >> Subject: Re: Ofbiz explorer plugin
>> >>
>> >> Hello
>> >> I have continued work on the Eclipse Ofbiz plugin.
>> >>
>> >> For now it parses service Ecas, Views, Forms.
>> >> It implements Eclipse Hyperlinks for controller.xml, forms,
>> >> screens,
>> java
>> >> code and beanshell.
>> >>
>> >> The functions are only working if you open the Ofbiz view to
>> >> popuplate
>> all
>> >> the inner data structures the Hyperlink are working with.
>> >>
>> >> There is a Validate current file button that works for now only for
>> >> controller.xml. It marks request that override other request.
>> >> View-maps that overrides others. Viewmaps and request that
>> >> references invalid objects. (it's not 100% feature complete)
>> >>
>> >> On Fri, Oct 28, 2011 at 7:34 PM,   wrote:
>> >>> Hello Daniel,
>> >>>
>> >>> I haven't taken changes from the trunk. May be if you have CI
>> >>> server, you can add a step to update the 'Update site' :-)
>> >>>
>> >>> Few other suggestions: (Some of these might already exist in the
>> >>> trunk version, so you can ignore them).
>> >>> 1.      Under controller, it shows request map, but not the view maps.
>> >>> It would nice to have 'View Implementation' option in addition to
>> >>> current 'View Definition' for the view. Similar to to 'Service
>> >>> Definition' and 'Service Implementation'
>> >>>
>> >>> 2.      Please use different icons to show services with Java
>> >>> implementation, as they are the only ones for which you can view
>> >>> implementation. You already have filter to see Java services.
>> >>>
>> >>> 3.      Allow viewing implementation of simple service.
>> >>>
>> >>> 4.      I assume the refresh on a project (right click menu), just
>> >>> refreshes that project. I have multiple ofbiz branches in my
> workspace.
>> >>>
>> >>> 5.      It would be nice to chance the file extensions to something
>> >>> else and attach property listener so that the tree can be updated
>> >>> after change to file. But, I guess this falls in broader OfBiz
>> >> enhancements.
>> >>>
>> >>> 6.      A option to see reference of a service.
>> >>>
>> >>> 7.      A view over ECAs
>> >>>
>> >>> Regards,
>> >>> Kiran Gawde
>> >>>
>> >>> Senior Software Architect
>> >>> Object Edge Inc
>> >>> (925) 943 5558 x108
>> >>>
>> >>> "There are two kind of people: Those who do the work and those who
>> >>> take the credit. Try to be in the first group because there is
>> >>> less competition there."
>> >>> "Never give up on what you really want to do. The person with big
>> >>> dreams is more powerful than one with all the facts".
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> From:   Daniel McAllister 
>> >>> To:     user@ofbiz.apache.org
>> >>> Date:   10/06/2011 03:41 AM
>> >>> Subject:        Re: Ofbiz explorer plugin
>> >>>
>> >>>
>> >>>
>> >>> On 2011. okt.  6., csütörtök, 10.35.54 CEST, Daniel McAllister wrote:
>>  On 2011. okt. 5., szerda, 19.50.44 CEST, ki...@objectedge.com wrote:
>> > Hello Daniel,
>> >
>> > I tried it out. What would be nice is that once you double click
>> > on an item, it should open corresponding file on the right.
>> >
>> > Regards,
>> > Kiran Gawde
>> >
>> > Senior Software Architect
>> > Object Edge Inc
>> > (925) 943 5558 x108
>> >
>> > "There are two kind of peo

Ofbiz Setup menu

2011-12-15 Thread Foo Shyn Chung
Hi guys,

I notice that when i click on the Party or My Portal component, the Setup
component is not appearing in the main app bar. However when i click on
other components, including those that i'd created in hot-deploy folder,
the Setup menu will appear.

Would like to know how ofbiz control the main app bar for Setup so that it
will only appear in certain scenario? Does it meant to be working in this
way?

Thanks
FooShyn


Re: Removing /controller from URI

2011-12-15 Thread Prince Sewani
Apache and SEO implementation can be used, you can write a program that 
generates the user-friendly urls for your application specific
data/pages,etc. and puts the mappings in a file and ask Apache Web Server to 
make use of it for re-directs.

Regards
Prince




 From: Ruth Hoffman 
To: user@ofbiz.apache.org 
Sent: Tuesday, December 13, 2011 11:34 PM
Subject: Re: Removing /controller from URI
 
Hello All:
Are there any other suggestions?

In the past I have used an Apache web server to map URLs and effectively 
remove "control" from the path.

I have also, in one case implemented something similar to Han's 
suggestion. This however required changes to the ControlServlet. I'm 
wondering if there aren't other alternatives?

David? Other commiters? Any suggestions?

Thanks much.
Ruth

On 12/12/11 9:38 AM, Hans Bakker wrote:
> Hi Saroy,
>
> You can checkout the SEO friendly url's in the trunk version for 
> products, categories and content we implemented some time ago.
>
> A site which is using that is http://ofbiz.info which is running from 
> OFBiz.
>
> example url's:
> http://www.ofbiz.info/OFBiz-s-Tax-Authority-Data-Model-explanations-94295-content
>  
>
> http://www.ofbiz.info/OFBiz-General-OfbizInfoGeneral-c
>
> Regards,
> Hans
>
> On 12/12/2011 09:09 PM, Saroj C wrote:
>> Hi,
>>   For all the pages the url is OFBiz looks something like
>> http://mydomain/context/controller/uri
>>
>> Is it anyway possible to remove the /controller from all the URI ?
>>
>> Thanks and Regards,
>> Saroj
>> =-=-=
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain
>> confidential or privileged information. If you are
>> not the intended recipient, any dissemination, use,
>> review, distribution, printing or copying of the
>> information contained in this e-mail message
>> and/or attachments to it are strictly prohibited. If
>> you have received this communication in error,
>> please notify us by reply e-mail or telephone and
>> immediately and permanently delete the message
>> and any attachments. Thank you
>>
>>
>>
>
>

Re: User management

2011-12-15 Thread Prince Sewani
Hi Prathika,

There are a group of Security Tables in OFBiz, which you can make use of,Just 
have a look at Permissions, SecurityGroupPermissions & UserLoginSecurityGroup 
tables,
It'll give you a clear idea as to what you gotto implement.

Regards
Prince




 From: prathika 
To: user@ofbiz.apache.org 
Sent: Tuesday, December 13, 2011 5:29 PM
Subject: User management
 
Hi,
       I am an ofbiz beginner. As i am trying with User management, I have a
requirement to get a dropdown to one user and for other user, display label
instead of dropdown (for the same form). Please help me out in solving this. 


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/User-management-tp4190172p4190172.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Not able to pick the items

2011-12-15 Thread Murthy Neelam
Hi,

I tried to pick 11 items from inventory in which 2 items doesn't have
the quantity only 9 items are picked.

Then i have added qty for the remaining 2 items also. when i tried to pick
the 2 items again iam not able to pick.
its showing the following ERROR "ERROR: No inventory reservations
available; cannot pick this item".

Thanks & Regards,
Murthy


Running under external tomcat

2011-12-15 Thread Mansour Al Akeel
I am trying to running ofbiz under a stanalone tomcat as per
https://cwiki.apache.org/confluence/display/OFBTECH/Tomcat

I am unable to run it as described. I am using the same version of
tomcat in the document: 6.0.16

I am using the latest from SVN.

Errors I am getting, something like:

org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:340)
org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:79)
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
org.apache.catalina.core.StandardContext.start(StandardContext.java:4364)
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
org.apache.catalina.core.StandardService.start(StandardService.java:516)
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
org.apache.catalina.startup.Catalina.start(Catalina.java:578)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


2011-12-15 13:43:19,655 (main) [ComponentLocationResolver.java:67 :ERROR] 
 exception report --
Could not get root location for component with name [content], error was: 
org.ofbiz.base.component.ComponentException: No component found named : content
Exception: org.ofbiz.base.component.ComponentException
Message: No component found named : content
 stack trace ---
org.ofbiz.base.component.ComponentException: No component found named : content
org.ofbiz.base.component.ComponentConfig.getComponentConfig(ComponentConfig.java:86)
org.ofbiz.base.component.ComponentConfig.getComponentConfig(ComponentConfig.java:61)
org.ofbiz.base.component.ComponentConfig.getRootLocation(ComponentConfig.java:260)
org.ofbiz.base.location.ComponentLocationResolver.getBaseLocation(ComponentLocationResolver.java:64)
org.ofbiz.base.location.ComponentLocationResolver.resolveLocation(ComponentLocationResolver.java:39)
org.ofbiz.base.location.FlexibleLocation.resolveLocation(FlexibleLocation.java:132)
org.ofbiz.base.location.FlexibleLocation.resolveLocation(FlexibleLocation.java:73)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:290)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:111)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:74)
org.ofbiz.webapp.control.RequestHandler.init(RequestHandler.java:90)
org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:74)
org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:340)
org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:79)
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
org.apache.catalina.core.StandardContext.start(StandardContext.java:4364)
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
org.apache.catalina.core.StandardService.start(StandardService.java:516)
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
org.apache.catalina.startup.Catalina.start(Catalina.java:578)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


2011-12-15 13:43:19,656 (main) [ConfigXMLReader.java:293:ERROR] 
 exception report --
Error processing include at 
[component://content/webapp/content/WEB-INF/controller.xml]:java.

Deployment on Appengine

2011-12-15 Thread sudhir singh
Did anyone try deplpying ofbiz on google app engine platform? I want to try
it and just wondering if anyone has done in pas, I can use his experience.

Sudhir


RE: Deployment on Appengine

2011-12-15 Thread djjava
Cool
Try your best
Tri

Người ngồi đó, với cây chì đỏ. Vạch đường đi, từng bước, từng giờ...

-Original Message-
From: sudhir singh [mailto:singh.sudhi...@gmail.com] 
Sent: Friday, December 16, 2011 8:45 AM
To: user@ofbiz.apache.org
Subject: Deployment on Appengine

Did anyone try deplpying ofbiz on google app engine platform? I want to try it 
and just wondering if anyone has done in pas, I can use his experience.

Sudhir



Re: Not able to pick the items

2011-12-15 Thread Jacques Le Roux

Can you reproduce that on trunk demo?

Jacques

From: "Murthy Neelam" 

Hi,

   I tried to pick 11 items from inventory in which 2 items doesn't have
the quantity only 9 items are picked.

Then i have added qty for the remaining 2 items also. when i tried to pick
the 2 items again iam not able to pick.
its showing the following ERROR "ERROR: No inventory reservations
available; cannot pick this item".

Thanks & Regards,
Murthy



Re: Ofbiz Setup menu

2011-12-15 Thread Jacques Le Roux
IIRW, it's depends on data you use. It's supposed to show only when you don't seed with demo data (ie only seed and such). Which 
makes sense since you are supposed to provide your own data...

Did you cross another behaviour?

Jacques

From: "Foo Shyn Chung" 

Hi guys,

I notice that when i click on the Party or My Portal component, the Setup
component is not appearing in the main app bar. However when i click on
other components, including those that i'd created in hot-deploy folder,
the Setup menu will appear.

Would like to know how ofbiz control the main app bar for Setup so that it
will only appear in certain scenario? Does it meant to be working in this
way?

Thanks
FooShyn