Re: svn commit: r739042 - in /ofbiz/trunk/applications/product: config/ data/ entitydef/ src/org/ofbiz/image/ src/org/ofbiz/product/product/ webapp/catalog/WEB-INF/actions/product/ webapp/catalog/prod

2009-03-04 Thread Jacques Le Roux
Done at revision: 750018 I did not used UtilXml or JAXP directly yet, will hopefully do it later... If you think more should be done please proceed... Jacques From: "Jacques Le Roux" I had a closer look, I think we should keep scaleImageInAllSize() in product component as it's specific to i

Re: svn commit: r739042 - in /ofbiz/trunk/applications/product: config/ data/ entitydef/ src/org/ofbiz/image/ src/org/ofbiz/product/product/ webapp/catalog/WEB-INF/actions/product/ webapp/catalog/prod

2009-03-03 Thread Jacques Le Roux
I had a closer look, I think we should keep scaleImageInAllSize() in product component as it's specific to it (I will rename the package org.ofbiz.product.image.ImageTransform) Hence some errors labels should be kept in ProductErrorUiLabels.xml and some other put in a new CommonErrorUiLabels.xml

Re: svn commit: r739042 - in /ofbiz/trunk/applications/product: config/ data/ entitydef/ src/org/ofbiz/image/ src/org/ofbiz/product/product/ webapp/catalog/WEB-INF/actions/product/ webapp/catalog/prod

2009-03-03 Thread Adam Heath
Jacques Le Roux wrote: > We cross 2 issues if we want to move ImageTransform to common > 1) ImageTransform. depends on jdom which is in webapp/lib => should we > move it to common/lib also (makes sense IMO) It doesn't really depend on jdom. Look at the source, it's doing nothing special with jdom

Re: svn commit: r739042 - in /ofbiz/trunk/applications/product: config/ data/ entitydef/ src/org/ofbiz/image/ src/org/ofbiz/product/product/ webapp/catalog/WEB-INF/actions/product/ webapp/catalog/prod

2009-03-03 Thread Jacques Le Roux
We cross 2 issues if we want to move ImageTransform to common 1) ImageTransform. depends on jdom which is in webapp/lib => should we move it to common/lib also (makes sense IMO) 2) I think we shoul aldo move all the keys 'should we rather create a CommonErrorUiLabels.xml file ?) What do you thi

Re: svn commit: r739042 - in /ofbiz/trunk/applications/product: config/ data/ entitydef/ src/org/ofbiz/image/ src/org/ofbiz/product/product/ webapp/catalog/WEB-INF/actions/product/ webapp/catalog/prod

2009-03-02 Thread Jacques Le Roux
Yes, I thought about that too. Where do you think we should put it ? framework/images is mostly for static content, rather common I guess ? BTW, I have refactored the code below since... Jacques From: "Adam Heath" jler...@apache.org wrote: Added: ofbiz/trunk/applications/product/src/org/ofb

Re: svn commit: r739042 - in /ofbiz/trunk/applications/product: config/ data/ entitydef/ src/org/ofbiz/image/ src/org/ofbiz/product/product/ webapp/catalog/WEB-INF/actions/product/ webapp/catalog/prod

2009-03-02 Thread Adam Heath
jler...@apache.org wrote: > Added: > ofbiz/trunk/applications/product/src/org/ofbiz/image/ImageTransform.java > URL: > http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/image/ImageTransform.java?rev=739042&view=auto >