Re: Automatically image resizing

2008-10-24 Thread Jacques Le Roux

Eric,

I don't think there is currently any solutions in OFBIz.
Please open a Jira issue only if you have a working solution, ie a patch. If you use tools with a licence needing notices let us 
know.
BTW about this thread, I apologize to Rohit as I should not have been so rude since it was my duty to take care of licence issues 
and not to blame other on that.

So Rohit, if you still have your solution at hand, please open a Jira issue and 
I will take care of it.

Jacques

From: Eric DE MAULDE [EMAIL PROTECTED]


Hi,

Is there a building solution about this fonctionality ?
A 1st subject from 2006 :
http://www.nabble.com/Multiple-images-and-thumbnail-images-td4449827.html#a4451937
Multiple images and thumbnail images

I havn't seen anything in Jira issue
So, could I create a new feature issue ?

Thanks

Eric



Bruno Busco wrote:


Johnny,
thank you for your hint.

-Bruno

2008/7/27 Johnny Kewl [EMAIL PROTECTED]





 Hi,

does anybody know if there is some mechanism to have a sort of control
on
uploaded image sizes?
I mean, l would like that when I upload a new image for a product ofbiz
automatically generates the small, medium, large and detailed images
scaling
the uploaded image with a fixed dimension regardless of the original
one.

Many thanks,
Bruno




Bruni, dont know ofBiz but start by playing with something like this...

  public Image getScaledImage(ImageIcon myLoadedImageIcon)
  {
  Image myImage = myLoadedImageIcon.getImage();
  Image scaledImage  = myImage.getScaledInstance(height ,
height, Image.SCALE_SMOOTH);

  return scaledImage;
  }

Then googling on AWT images will probably get you going...

---
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---







--
View this message in context: 
http://www.nabble.com/Automatically-image-resizing-tp18677520p20130304.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





entity-extend or create a new entity

2008-10-24 Thread yasin lyyas
Hi all,

I have a dilemma here with product cost. As we know that we keep the
information about product cost in InventoryItem. But, I cannot really
use the product cost from InventoryItem, since the cost there is not
quite correct for some InventoryItem. Users sometimes typed in a wrong
number or that kind of actions. What I need is a Master product cost
somewhere which is related to Product. So, which way is better,
extending the existing entity (Product), or create an entirely new
entity to hold Product_id and cost? Any suggestion?


Thanks

Lyyas
Yasin 



Re: entity-extend or create a new entity

2008-10-24 Thread Kirti

Hello Yasin,

I want to suggest you to just extend the entity in your custom 
application to fulfill your needs instead of creating a new entity.

I also want to suggest you to go through below link it will helpful to you.
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginner%27s+Development+Guide+Using+Practice+Application

Thanks  Regards
Kirti Dhakad
Hotwax Media Pvt. Ltd.


yasin lyyas wrote:

Hi all,

I have a dilemma here with product cost. As we know that we keep the
information about product cost in InventoryItem. But, I cannot really
use the product cost from InventoryItem, since the cost there is not
quite correct for some InventoryItem. Users sometimes typed in a wrong
number or that kind of actions. What I need is a Master product cost
somewhere which is related to Product. So, which way is better,
extending the existing entity (Product), or create an entirely new
entity to hold Product_id and cost? Any suggestion?


Thanks

Lyyas
Yasin 

  




Help needed for setting promotion to catagories

2008-10-24 Thread Abhishake Agarwal
Hi,

I have applied x product for Y% discount promotion to category id 100 and
also included its sub categories (quantity:1,amount:4).

Please look at following URL:
https://demo.hotwaxmedia.com/catalog/control/EditProductPromo?productPromoId=1

Now when I add any product to cart from this category, I should get 4%
discount on it, but on showcart screen its not taking this
promotion.

Please help me know what I am missing.

Regards,
Abhishake


Re: problem with id 1000 under feature category

2008-10-24 Thread Scott Gray
Thanks for the report Abhishake, the problem was in
ProductEntityLabels.xml and it's fixed in rev. 707617

Regards
Scott

2008/10/24 Abhishake Agarwal [EMAIL PROTECTED]:
 Hi BJ,

 I tried following ID's 1001, 1002 but it works well, there is only problem
 with ID 1000.

 Regards,
 Abhishake

 On Fri, Oct 24, 2008 at 3:51 AM, BJ Freeman [EMAIL PROTECTED] wrote:

 anything under 1 is demo data.
 when something is added thru the UI or services it uses the
 delegator.getNextSeqId
 which starts at 1
 so there maybe an error in the hand editing of the demo data.

 Abhishake Agarwal sent the following on 10/23/2008 7:45 AM:
  Hi,
 
  I think there is a bug while displaying  description for
  productFeatureCategoryId in feature category  screen.
  (https://demo.hotwaxmedia.com/catalog/control/EditFeatureCategories)
 
  description is same as Id, while in DB it is
  different(productFeatureCategoryId:1000, description:Hazmat Features )
  (
 
 https://demo.hotwaxmedia.com/webtools/control/FindGeneric?entityName=ProductFeatureCategoryfind=trueVIEW_SIZE=50VIEW_INDEX=0
  ).
 
  I think this is the issue with Id 1000 because all the other data get
  displayed correctly.
 
  I also printed the value of EntityListIterator returned by service
  performFind  in runAction method of ModelFormAction.java but all the
 generic
  values contain proper data in it.
 
  Please help me know what might be problem.
 
  Regards,
  Abhishake
 




Re: entity-extend or create a new entity

2008-10-24 Thread David E Jones


The CostComponent and related entities might be helpful.

-David


On Oct 24, 2008, at 3:56 AM, yasin lyyas wrote:


Hi all,

I have a dilemma here with product cost. As we know that we keep the
information about product cost in InventoryItem. But, I cannot really
use the product cost from InventoryItem, since the cost there is not
quite correct for some InventoryItem. Users sometimes typed in a wrong
number or that kind of actions. What I need is a Master product cost
somewhere which is related to Product. So, which way is better,
extending the existing entity (Product), or create an entirely new
entity to hold Product_id and cost? Any suggestion?


Thanks

Lyyas
Yasin





old nightly builds of release 4.0

2008-10-24 Thread Mark Hansen
Anybody know how I can get hold of an old nightly build - from June 
19th?  I need to diff it against some modifications that a developer 
made, so I can see what it going on.


--
Mark Hansen
Founder and President
AgileIT
50 Main Street, Suite 1000
White Plains, NY  10606
tel  (914) 682-2026
cell (914) 924-3398
fax  (914) 274-2805
[EMAIL PROTECTED]
http://agileitinc.com



CSV Reporting.....

2008-10-24 Thread nalin chandra

how we generate the CSV report.
In CSV reporting i have 2 problem
first:-
how to export the data from two different list

form name=VisitStatsExport type=list list-name=visitList 
odd-row-style=alternate-row default-table-style=basic-table
hover-bar
field name=visitId title=Visit Iddisplay//field
field name=separator0 title=,display
description=,//field
field name=quot0 title=quot;display
description=quot;//field
field name=visitorId title=Visitor Iddisplay//field
field name=quot1 title=quot;display
description=quot;//field
/form

here we can use only one list.

second:-
when we export the data in the Excel Sheet date field is not display
properly. It display only time so there is need to change the field format
for that column. but if i remove the 

field name=separator0 title=,display description=,//field

field it display completely but then separator is remove from there. 

So please help me if any one have solution.

Thankyou
-- 
View this message in context: 
http://www.nabble.com/CSV-Reporting.-tp20154273p20154273.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



POs for a given SO?

2008-10-24 Thread Ritesh Trivedi

Hi,

Is there a screen in admin which shows all the POs for a given Sales Order -
irrespective of the order type (dropship or regular).
-- 
View this message in context: 
http://www.nabble.com/POs-for-a-given-SO--tp20155601p20155601.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: stopofbiz script doesn't work after JRMP (JNDI, RMI, etc) - 1099 modifying to 1199

2008-10-24 Thread Ritesh Trivedi

I have never been able to stop ofbiz even with the default port settings OOB
using the stop script. It says shutdown OK like Amine described but the
process still keeps running. I have to explicitly kill the process.

Any obvious reasons?


jacques.le.roux wrote:
 
 Quick answer : did you also change service-location in serviceengine.xml ?
 
 Jacques
 
 From: Amine Benkirane [EMAIL PROTECTED]
 Hi there,
 
 For my specific needs, I modified the the JRMP port 1099 to 1199 (since I
 have another application which uses this port on the same 
 server as ofbiz) but when I run the stopofbiz script, this port is always
 running (I haven't any error message, only this
 Set OFBIZ_HOME to - /home/benkiami/ofbiz-tomcat/ofbizShutting down server
 : OK)
  However, when I want to startofbiz after that, I had the message
 Exception in thread main java.net.BindException: Address 
 already in use. When I did a port search to show which port is already
 running, I find only the 1199 port...
 
 Can someone help me fix this trouble please ?
 
 Best regards,
 
 Amine
 
 _
 Téléphonez gratuitement à tous vos proches avec Windows Live Messenger !
 Téléchargez-le maintenant !
 http://www.windowslive.fr/messenger/1.asp 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/stopofbiz-script-doesn%27t-work-after-JRMP-%28JNDI%2C-RMI%2C-etc%29---1099-modifying-to-1199-tp20070546p20155687.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: old nightly builds of release 4.0

2008-10-24 Thread Jacques Le Roux

I'd do an svn checkout --revision {2008-06-19}

Jacques

From: Mark Hansen [EMAIL PROTECTED]
Anybody know how I can get hold of an old nightly build - from June 
19th?  I need to diff it against some modifications that a developer 
made, so I can see what it going on.


--
Mark Hansen
Founder and President
AgileIT
50 Main Street, Suite 1000
White Plains, NY  10606
tel  (914) 682-2026
cell (914) 924-3398
fax  (914) 274-2805
[EMAIL PROTECTED]
http://agileitinc.com



Re: POs for a given SO?

2008-10-24 Thread BJ Freeman
since a PO can be generated by inventory, I guess the only ones directly
related are the dropship PO's, or requirements, like the order send the
inventory into back order status.
the problem is the amount ordered my be based on a minimum order or bulk
order.
so how do you identify which part of a PO is part of the Order.
you can say that this po covers this order, but say it is a popular item
do you look at PO's already to attached to the SO. then how do you
reconcile that with requirements.



Ritesh Trivedi sent the following on 10/24/2008 11:36 AM:
 Hi,
 
 Is there a screen in admin which shows all the POs for a given Sales Order -
 irrespective of the order type (dropship or regular).


Re: stopofbiz script doesn't work after JRMP (JNDI, RMI, etc) - 1099 modifying to 1199

2008-10-24 Thread Raj Saini
It may take some time to kill the ofbiz even stopofbiz.sh script exits. 
If run it again, you will see a progress message and one more time 
should show you the socket connection exception which means shutdown is 
complete.


Thanks,

Raj

Ritesh Trivedi wrote:

I have never been able to stop ofbiz even with the default port settings OOB
using the stop script. It says shutdown OK like Amine described but the
process still keeps running. I have to explicitly kill the process.

Any obvious reasons?


jacques.le.roux wrote:
  

Quick answer : did you also change service-location in serviceengine.xml ?

Jacques

From: Amine Benkirane [EMAIL PROTECTED]
Hi there,

For my specific needs, I modified the the JRMP port 1099 to 1199 (since I
have another application which uses this port on the same 
server as ofbiz) but when I run the stopofbiz script, this port is always

running (I haven't any error message, only this
Set OFBIZ_HOME to - /home/benkiami/ofbiz-tomcat/ofbizShutting down server
: OK)
 However, when I want to startofbiz after that, I had the message
Exception in thread main java.net.BindException: Address 
already in use. When I did a port search to show which port is already

running, I find only the 1199 port...

Can someone help me fix this trouble please ?

Best regards,

Amine

_
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger !
Téléchargez-le maintenant !
http://www.windowslive.fr/messenger/1.asp 







  




Re: stopofbiz script doesn't work after JRMP (JNDI, RMI, etc) - 1099 modifying to 1199

2008-10-24 Thread Joe Eckard
Something is definitely wrong here. If you only run stopofbiz once,  
the ofbiz process will hang around indefinitely... you have to run it  
a second time (which shows IN-PROGRESS) then it goes away. I've  
noticed this for months, but never really looked into it since running  
the script twice always works.


-Joe

On Oct 24, 2008, at 3:48 PM, Raj Saini wrote:

It may take some time to kill the ofbiz even stopofbiz.sh script  
exits. If run it again, you will see a progress message and one more  
time should show you the socket connection exception which means  
shutdown is complete.


Thanks,

Raj

Ritesh Trivedi wrote:
I have never been able to stop ofbiz even with the default port  
settings OOB
using the stop script. It says shutdown OK like Amine described but  
the

process still keeps running. I have to explicitly kill the process.

Any obvious reasons?


jacques.le.roux wrote:

Quick answer : did you also change service-location in  
serviceengine.xml ?


Jacques

From: Amine Benkirane [EMAIL PROTECTED]
   Hi there,

For my specific needs, I modified the the JRMP port 1099 to 1199  
(since I
have another application which uses this port on the same server  
as ofbiz) but when I run the stopofbiz script, this port is always

running (I haven't any error message, only this
Set OFBIZ_HOME to - /home/benkiami/ofbiz-tomcat/ofbizShutting down  
server

: OK)
However, when I want to startofbiz after that, I had the message
Exception in thread main java.net.BindException: Address  
already in use. When I did a port search to show which port is  
already

running, I find only the 1199 port...

Can someone help me fix this trouble please ?

Best regards,

Amine

_
Téléphonez gratuitement à tous vos proches avec Windows Live  
Messenger !

Téléchargez-le maintenant !
http://www.windowslive.fr/messenger/1.asp










smime.p7s
Description: S/MIME cryptographic signature


Unable to sort by lastUpdatedStamp in groovy files

2008-10-24 Thread Bruno Busco
Hi,
I am trying to sort by lastUpdatedStamp in a groovy file but I get an error:

My groovy file is:

// Get all Portlets located on the selected PortalPage
orderBy = [columnNum, rowNum, lastUpdatedStamp];
portletList = delegator.findList(PortletAndPortalPagePortlet,
EntityCondition.makeCondition([portalPageId : portalPageId]), null, orderBy,
null, false);

and I get:
(Field with name lastUpdatedStamp not found in the
PortletAndPortalPagePortlet Entity)


Browsing the OFBiz code it seems that sorting by this embedded fields is
possible in the forms actions order-by/ tag.

Could it be possible to have it working in groovy  files also? Does it make
sense?

Many thanks,
Bruno


Re: Help needed for setting promotion to catagories

2008-10-24 Thread Jacques Le Roux

You have an action but no conditions, you need both

Jacques

From: Abhishake Agarwal [EMAIL PROTECTED]

Hi,

I have applied x product for Y% discount promotion to category id 100 and
also included its sub categories (quantity:1,amount:4).

Please look at following URL:
https://demo.hotwaxmedia.com/catalog/control/EditProductPromo?productPromoId=1

Now when I add any product to cart from this category, I should get 4%
discount on it, but on showcart screen its not taking this
promotion.

Please help me know what I am missing.

Regards,
Abhishake



Re: Help needed for setting promotion to catagories

2008-10-24 Thread Jacques Le Roux

Ha no, sorry I just realise this is not true. Actually no condition means alway 
true

Jacques

From: Jacques Le Roux [EMAIL PROTECTED]

You have an action but no conditions, you need both

Jacques

From: Abhishake Agarwal [EMAIL PROTECTED]

Hi,

I have applied x product for Y% discount promotion to category id 100 and
also included its sub categories (quantity:1,amount:4).

Please look at following URL:
https://demo.hotwaxmedia.com/catalog/control/EditProductPromo?productPromoId=1

Now when I add any product to cart from this category, I should get 4%
discount on it, but on showcart screen its not taking this
promotion.

Please help me know what I am missing.

Regards,
Abhishake



Problem in Quick Checkout under IE

2008-10-24 Thread Pal InfoCom Technologies

Hello members,

As a ofbiz user i want to place an order in ofbiz, normal checkout with user
login is working fine in both Firefox and Internet Explorer , but during
QuickCheckout all the steps are working fine but i face problem in final
step under Internet Explorer (working fine in Firefox), at Checkout Review
page when i press submit button at bottom of page, IE does not show any
processing and shows error in javascript with no detail at all and also does
not place order. 

Please help me regarding this problem.

Thanks,

Harkomal



 
-- 
View this message in context: 
http://www.nabble.com/Problem-in-Quick-Checkout-under-IE-tp20161283p20161283.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Help needed for setting promotion to catagories

2008-10-24 Thread santosh malviya

Hello Abhishake,
You can try with this promo, I have checked it, working fine.
I chose productCategory CATALOG1 and when we add any product of its 
category it will show reduced price of the product into cart.

https://demo.hotwaxmedia.com/catalog/control/EditProductPromo?productPromoId=10001

Regards
Santosh Malviya

Abhishake Agarwal wrote:

Hi,

I have applied x product for Y% discount promotion to category id 100 and
also included its sub categories (quantity:1,amount:4).

Please look at following URL:
https://demo.hotwaxmedia.com/catalog/control/EditProductPromo?productPromoId=1

Now when I add any product to cart from this category, I should get 4%
discount on it, but on showcart screen its not taking this
promotion.

Please help me know what I am missing.

Regards,
Abhishake

  


Re: Help needed for setting promotion to catagories

2008-10-24 Thread Raj Saini

Hello Santosh,

CATALOG1 is a browse root category and it does not have products under 
it. Moreover applying promotion to sub categories of this category will 
apply the promotion to all products which is not desirable.


Thanks,

Raj


santosh malviya wrote:

Hello Abhishake,
You can try with this promo, I have checked it, working fine.
I chose productCategory CATALOG1 and when we add any product of its 
category it will show reduced price of the product into cart.
https://demo.hotwaxmedia.com/catalog/control/EditProductPromo?productPromoId=10001 



Regards
Santosh Malviya

Abhishake Agarwal wrote:

Hi,

I have applied x product for Y% discount promotion to category id 
100 and

also included its sub categories (quantity:1,amount:4).

Please look at following URL:
https://demo.hotwaxmedia.com/catalog/control/EditProductPromo?productPromoId=1 



Now when I add any product to cart from this category, I should get 4%
discount on it, but on showcart screen its not taking this
promotion.

Please help me know what I am missing.

Regards,
Abhishake