Re: "Data too long for column" in mysql

2008-03-20 Thread Pranay Pandey
Hello Al, I think you can make some changes to the type of the data of the image file which you are uploding. The type of the image data which is saved in ImageDataResource is "blob". So i think you need to convert the data to ByteBuffter then you can save data in the ImageDataResource Entity, als

Re: order-by DESC in entity operation in screen?

2008-03-20 Thread Peter Felts
Do you know of any other operators like that? I haven't seen anything like this in the entity engine guide... - Original Message From: Jacopo Cappellato <[EMAIL PROTECTED]> To: user@ofbiz.apache.org Sent: Thursday, March 20, 2008 7:04:16 PM Subject: Re: order-by DESC in entity opera

Re: order-by DESC in entity operation in screen?

2008-03-20 Thread Jacopo Cappellato
Jacopo Cappellato wrote: Peter Felts wrote: Is the minus operator an OFBiz thing or an XML thing? An OFBiz thing. "-" is converted by the OFBiz framework in the SQL equivalent clause "DESC" Jacopo - Original Message From: Peter Felts <[EMAIL PROTECTED]> To: user@ofbiz.apac

Re: order-by DESC in entity operation in screen?

2008-03-20 Thread Jacopo Cappellato
Peter Felts wrote: Is the minus operator an OFBiz thing or an XML thing? An OFBiz thing. Jacopo - Original Message From: Peter Felts <[EMAIL PROTECTED]> To: user@ofbiz.apache.org Sent: Thursday, March 20, 2008 5:37:01 PM Subject: Re: order-by DESC in entity operation in screen?

Re: order-by DESC in entity operation in screen?

2008-03-20 Thread Peter Felts
Is the minus operator an OFBiz thing or an XML thing? - Original Message From: Peter Felts <[EMAIL PROTECTED]> To: user@ofbiz.apache.org Sent: Thursday, March 20, 2008 5:37:01 PM Subject: Re: order-by DESC in entity operation in screen? That's it. Thank you. - Original Message

FTL / EntityListIterator Question

2008-03-20 Thread [EMAIL PROTECTED]
I have this ftl script that displays a list from an EntityListIterator. This ftl script has a link on the primary key in the list to display a second ftl screen showing the details of the fields in the selected GenericValue from the EntityListIterator. I have a request to be able to click a button

Re: order-by DESC in entity operation in screen?

2008-03-20 Thread Peter Felts
That's it. Thank you. - Original Message From: Jacopo Cappellato <[EMAIL PROTECTED]> To: user@ofbiz.apache.org Sent: Thursday, March 20, 2008 5:03:39 PM Subject: Re: order-by DESC in entity operation in screen? Hi Peter, you can easily do this: Jacopo Peter Felts wrote: > Hi, doe

Re: order-by DESC in entity operation in screen?

2008-03-20 Thread Jacopo Cappellato
Hi Peter, you can easily do this: Jacopo Peter Felts wrote: Hi, does anyone know how to do an order-by DESC in an entity-and operation in a screen? I've got a view-entity which is pulling up orders and I want to view them to the user in descending order, but the order-by node only seems to

order-by DESC in entity operation in screen?

2008-03-20 Thread Peter Felts
Hi, does anyone know how to do an order-by DESC in an entity-and operation in a screen? I've got a view-entity which is pulling up orders and I want to view them to the user in descending order, but the order-by node only seems to result in and order-by ASC operation. Please help.

RE: findListIteratorByCondition Error

2008-03-20 Thread [EMAIL PROTECTED]
Comprende Thanks -Original Message- From: David E Jones [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 2:35 PM To: user@ofbiz.apache.org Subject: Re: findListIteratorByCondition Error Here's a hint from my last email: "Most entity engine operations get wrapped in a transacti

Infinity Values fail for Postgres

2008-03-20 Thread [EMAIL PROTECTED]
if you pass a value of infinity (Double.POSITIVE_INFINITY) you get an error like this Note that averageCost,Infinity is being converted to "1.#INF" for the Postgres db (Using Postgres 8.2): org.ofbiz.entity.GenericEntityException: while inserting: [GenericEntity:InventorySoldSummary][aceptblAvera

Re: findListIteratorByCondition Error

2008-03-20 Thread David E Jones
Here's a hint from my last email: "Most entity engine operations get wrapped in a transaction if there is not one in place, but it can't do that with the EntityListIterator calls because the transaction needs to stay open until the ELI and the ResultSet associated with it is closed" Let me k

"Data too long for column" in mysql

2008-03-20 Thread Al Byers
I am muddling thru this and thought I would throw it out to see if anyone has some experience with it. I am using mysql 5.0.37 I have set the character set type in entityengine.xml to "utf8", dropped the db and ran run-install First I got a "max_allowed_packet" error when trying to upload an imag

RE: findListIteratorByCondition Error

2008-03-20 Thread [EMAIL PROTECTED]
David Thanks a load for the explanation. My education continues! I have one further question then though. In this particular case, a service is running which reads a processes an EntityListIterator. Should I have a begin/commit around just the creation of the ELI or should I have one around bo

Re: Sales Tax

2008-03-20 Thread Branden Strickland
Sorry for the late reply Jacques. It was always working I'm sure, but it wouldn't register any tax no matter what if I was using the demo U:1 P:1 to log into the POS termnal. Once I set up my own login for the POS using (ex. U:100 P:01389) then it picked the tax up. Not completely sure why it wo

Re: POS - Epson TM-T88III installation Where are the JARs?

2008-03-20 Thread Branden Strickland
Update: still not working: I stole the .jars from https://svn.hotwaxmedia.com/crucible/browse/ofbiz/trunk/applications/pos/lib/epsonJposServiceCommon.jar put them in specialpurpose/pos/lib/ I'm using JDK 1.6 EPSON JavaPOS ADK Ver.1.11L I get this 2008-03-20 13:42:43,575 (main) [ DeviceLoade

Re: Import Data

2008-03-20 Thread Ritz123
For Data Import, you need to understand the entity relationships (data model) both of the original application as well as Ofbiz. Demo*.xml files as well as the book and online resources will help you understand the ofbiz data model. Once you do that, there are couple of options that I went with to

POS - Epson TM-T88III installation Where are the JARs?

2008-03-20 Thread Branden Strickland
Ok, I think about set up with this thermal printer, but I have a very important question. I've gone through and set up Linux's RXTX for the serial cable . I've set up EPSON JavaPOS ADK for TM series printers. (which included also setting up Java Communications API) I can't for the life of me f

Re: Create a purchase order

2008-03-20 Thread Hansen Wang
This is normally your company party or warehouse facility party. But I guess you can set it to any party with a postal address. On 3/20/08, james yong <[EMAIL PROTECTED]> wrote: > > > Hi, > > I was trying to create a purchase order. At the step shown below, the > shipping destination is missing. H

hot-deploy issue?

2008-03-20 Thread Ritz123
Hi, I am seeing weird behavior hot deploying application with Apache Wicket libraries (and filter). The same deployment works under tomcat (non embedded). Anytime I compile and deploy a new jar to Ofbiz app under hot deploy, I get HTTP 404 error. Any pointers to help debug the issue? -- View th

Re: Controller Entry related to include other application controller.

2008-03-20 Thread David E Jones
This is something that could certainly swing both ways. In general though if you don't want all requests and views from another controller.xml file then including it is probably not the best idea. Controller request and view entries are so small that some redundancy there is not a big dea

Re: findListIteratorByCondition Error

2008-03-20 Thread Jacques Le Roux
Rodrigo, I think that by In fact most of transaction isolation theory is concerned with how reads will be affected by writes David meaned that it avoids collisions, or if you prefer it assures security in atomic data level calls. What could happen if someone would write the same entities at

Re: uiLabelMap access from a service?

2008-03-20 Thread Peter Felts
Thank you all. This list is awesome! I'll just need to make sure I look harder before I fall into the trap of asking the list to do my work for me :) - Original Message From: Mridul Pathak <[EMAIL PROTECTED]> To: user@ofbiz.apache.org Sent: Wednesday, March 19, 2008 10:35:08 PM S

Re: findListIteratorByCondition Error

2008-03-20 Thread Rodrigo Lima
Transactions for search? 2008/3/19, David E Jones <[EMAIL PROTECTED]>: > > > Skip, > > Transactions are just as important for reading as they are for > writing. In fact most of transaction isolation theory is concerned > with how reads will be affected by writes. > > In OFBiz all major operations

Re: Question on xml and properties

2008-03-20 Thread Valentina Sirkova
On Thu, 2008-03-20 at 12:19 +0100, Jacques Le Roux wrote: > AFAIK, properties files are deprecated in trunk for i18n/l10n. You should > better use only xml files. Why did you ask this question ? > Do you see any problems ? > > Jacques Thanks for the reply Jacques, No I see absolutely no proble

Re: Controller Entry related to include other application controller.

2008-03-20 Thread Rishi Solanki
Thanks for involvement in this discussion and reply. But We are reusing the view, Services and Screens as well. only enter new uri for that. So the searching for the uri will be among less number of uri's by the ControlServlet. Please Correct me, I may be wrong. Thanks and Regards : [Rishi Solan

Re: Question on xml and properties

2008-03-20 Thread Jacques Le Roux
AFAIK, properties files are deprecated in trunk for i18n/l10n. You should better use only xml files. Why did you ask this question ? Do you see any problems ? Jacques From: "Valentina Sirkova" <[EMAIL PROTECTED]> Hi, I wanted to ask if it is possible and if it is a Good practice to use togeth

Re: Picture

2008-03-20 Thread Mridul Pathak
I think this link can help you to understand the use of this screen: http://www.nabble.com/Data-File-tool-Help-for-comma-seperated-file-to6654086.html#a6654086 On Wed, Mar 19, 2008 at 8:46 PM, ladroge <[EMAIL PROTECTED]> wrote: > > Someone can explain me how to use this screen of admin tools in

Create a purchase order

2008-03-20 Thread james yong
Hi, I was trying to create a purchase order. At the step shown below, the shipping destination is missing. How can I know which party's shipping address to set? http://www.nabble.com/file/p16175907/purchaseOrder.jpg purchaseOrder.jpg Regards, James -- View this message in context: http://w

Re: Controller Entry related to include other application controller.

2008-03-20 Thread Vikas Mayur
On Thu, Mar 20, 2008 at 2:25 PM, Rishi Solanki <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a question related to including other application controller in to > new under development application. > For example : We have included five more controller in projectmgr > application as ; catalog, ord

Re: Some questions on Sales Order and Sales Invoice

2008-03-20 Thread james yong
Thanks. My problem is solved. I didn't try to use the ecommerce application before that. -- View this message in context: http://www.nabble.com/Some-questions-on-Sales-Order-and-Sales-Invoice-tp16142675p16175692.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Controller Entry related to include other application controller.

2008-03-20 Thread Rishi Solanki
Hi All, I have a question related to including other application controller in to new under development application. For example : We have included five more controller in projectmgr application as ; catalog, ordermgr, accounting, workeffort, and humanres. Here I think that if we have to use 20 -

Re: Picture

2008-03-20 Thread Jacques Le Roux
Have a look at applications\order\src\org\ofbiz\order\thirdparty\zipsales Jacques From: "ladroge" <[EMAIL PROTECTED]> Someone can explain me how to use this screen of admin tools in ofbiz? Thanks http://www.nabble.com/file/p16144714/Data_file.jpg -- View this message in context: http://ww