POI excel data import - need example from old wiki

2008-02-05 Thread GeorgeHayter
Hi, I really need a quick guide to importing Excel data into OFBiz with POI. I know there is an example on the old wiki, but the old wiki has been down for the last few days and I really need to get data imported. If someone has a copy of the example please post it here. -- View this message in

Re: POI excel data import - need example from old wiki

2008-02-05 Thread Hans Bakker
If i remember well, you have to create new columns between the datacolumns where you enter the xml data content. so if you have: 234567 this_is_a text then you have to make it: (entering the xml fieldnames in the between columns) entity-engine-xml Product productId=234567

Ofbiz handheld

2008-02-05 Thread 2275429
We want to devlop online WEBSTORE store application ( using ofbiz framework) which we can access through mobile browser . is there an demo for online webstore for handheld devices . please reply ANIL BHAT -- View this message in context:

Viewable number of orders in order list harded coded in .java

2008-02-05 Thread Case Torres
Hi, Release 4 I need to change the number of orders listed in Order Manager Order List from 10 to 25 orders. Unfortunately, the number (variable, viewSize) is hardcoded into the OrderlistState.java Line 94: protected OrderListState() { Line 95:viewSize = 10; I'm a novice java

Re: POI excel data import - need example from old wiki

2008-02-05 Thread BJ Freeman
The example used PIO to read an excel and make xml files. the the xml files were read read in. for some imports, like raw data, this is good. but for some imports it is better to actually call services. IMHO. so it depends on the data you importing. I am sending the example to you directly since

Re: Viewable number of orders in order list harded coded in .java

2008-02-05 Thread BJ Freeman
in https://issues.apache.org/jira/browse/OFBIZ-1500 I suggested a feature to allow the user to select this. however just use the build file for the folder the file you change is in and copy the jar from the lib to you live system. Case Torres sent the following on 2/5/2008 8:17 AM: Hi,

what does layoutSettings.javascript[+0] mean?

2008-02-05 Thread Ritz123
Hi, Have couple of questions... 1. What does layoutSettings.javascript[+0] mean? 2. Where is layoutSettings object defined? 3. Is there an alternative to screen widgets which people may have used with Ofbiz controller (controller.xml)? Thanks -- View this message in context:

RE: Viewable number of orders in order list harded coded in .java

2008-02-05 Thread Case Torres
uh? %*{ Thanks for your reply BJ. Am I understanding you correctly, It's as simple as building the class file and coping it to the appropriate build/.../classes directory?? You Rock!! Case Torres [EMAIL PROTECTED] -Original Message- From: BJ Freeman [mailto:[EMAIL PROTECTED]

Including dynamic content (other than ftl) in screen widget

2008-02-05 Thread Ritz123
Hi, Was wondering if it was possible to include any other type of dynamic content/resource say JSP in the screen widgets? Thanks -- View this message in context: http://www.nabble.com/Including-dynamic-content-%28other-than-ftl%29-in-screen-widget-tp15296622p15296622.html Sent from the OFBiz

Re: what does layoutSettings.javascript[+0] mean?

2008-02-05 Thread Ritz123
Thanks Scott. Perfect. That made sense. Couple of more follow up questions - sorry I see that both set and property-map tags have global attribute. I presume declaring global = true would make those variables available to other screens? also, I think I may have seen a case or two where

Re: what does layoutSettings.javascript[+0] mean?

2008-02-05 Thread Adrian Crum
layoutSettings is a Map that contains settings to control the page layout. It is typically initialized in the widget XML file or a BSH script. Some of the layoutSettings elements are lists, and the layoutSettings.javascript[+0] syntax indicates that something is being added to a list.

Re: Viewable number of orders in order list harded coded in .java

2008-02-05 Thread BJ Freeman
I use eclipse so I can give you the command for ant. You can use the main build.xml and it will go through and re-complie everything. you do an ant of the build.xml in the folder that java file is in the build.xml will generate the classes and lib the resultant jar file will you will find in the

Re: what does layoutSettings.javascript[+0] mean?

2008-02-05 Thread Scott Gray
1. +0 pushes the entry into position zero rather than replacing the current entry at zero, so whatever entry is at zero at the moment will end up at position 1 2. layoutSettings is defined the first time it is called, there isn't anything special about it, it's just a variable like any other.

Re: what does layoutSettings.javascript[+0] mean?

2008-02-05 Thread Adrian Crum
Ritz123 wrote: Also, is it possible to use other dynamic content resource (like jsp) inside a widget? basically to be able to use ftls in combination with jsps etc.? OFBiz abandoned JSPs several years ago. Widgets are easier to use. Take another look at what you are trying to accomplish to

RE: Viewable number of orders in order list harded coded in .java

2008-02-05 Thread Case Torres
Yeah, just the order folder. So, while in /usr/local/ofbiz/applications/order I would just run the following command? ant -buildfile buildfile.xml Or did you mean to say you can't give me the command because you use eclipse. Thanks again, Case Torres [EMAIL PROTECTED] -Original

Re: Viewable number of orders in order list harded coded in .java

2008-02-05 Thread BJ Freeman
sorry about that and can't give you the command line, since I use eclipse on a windows machine the FTP the runtime files to my linux server. I am guessing that you can use the command in the build.xml so ant [target name in build.xml] build.xml in the build.xml look for target name= Case

physical inventory error

2008-02-05 Thread mike_mcmillan
I tried to perform a physical inventory, but I got an error. I selected an inventory item, and wanted to damage some product out. When it asks for the ATP Var and the QOH Var, it that for the new count, or how many was damaged? Anyways I got error that is attached. If anyone could hint what

Re: physical inventory error

2008-02-05 Thread BJ Freeman
what is the SVN and rev of your code. can you provide the URL where you got this error. thanks mike_mcmillan sent the following on 2/5/2008 12:30 PM: I tried to perform a physical inventory, but I got an error. I selected an inventory item, and wanted to damage some product out. When it asks

Trunk or Branch?

2008-02-05 Thread Branden Strickland
I have to ask, as I'm a bit new to SVN. I'm using the branch release right now, and it seems as though I've run into this http://jira.atlassian.com/browse/JRA-9563 Being a pretty old error, I was curious if I was running the correct build. If I need to be using the Trunk to have the most up

Re: Trunk or Branch?

2008-02-05 Thread Adrian Crum
The trunk is the most recent version. The Release 4 branch is older code, but it is maintained with bug fixes. I don't understand what an Atlassian Jira issue has to do with anything. -Adrian Branden Strickland wrote: I have to ask, as I'm a bit new to SVN. I'm using the branch release

Re: physical inventory error

2008-02-05 Thread Evangelina Bowman
Hi, I'm getting a similar error when trying to complete a POS order. After I select the payment type and click the FINISH button, I get the error below. SVN: http://svn.apache.org/repos/asf/ofbiz/trunk and Revision: 614868. stack trace

Accounting Postings in POS

2008-02-05 Thread Evangelina Bowman
Hello! When using POS, Ofbiz creates the following transactions: Sales Order, Invoice and Payment. The accounting postings are correctly generated for the Invoice and Payment. Shipments are not created, which I can understand because you are not shipping goods to the customer. However, we

Re: Displaying Inventory On Hand for products in ecommerce

2008-02-05 Thread Rupinder
Hi i am not aware of using services. Can you provide some details how to implement this functionality using getInventoryAvailableByFacility service. Bilgin Ibryam wrote: Hi Rupinder, it is easy to add this functionality. You can use getInventoryAvailableByFacility service to get

Getting problem in add-error... check-error

2008-02-05 Thread Sumit Pandit
Hello All, Look at this code :- controller entry :- request-map uri=showFixedAssetDepreciation security https=true auth=true/ event type=simple invoke=calculateFixedAssetDepreciation path=org/ofbiz/accounting/fixedasset/FixedAssetServices.xml/ response name=success