Re: Party search not working while logged in as flexadmin

2008-12-09 Thread Jacques Le Roux

Hi Raj,

Could you please open a Jira for this ?

TIA

Jacques

From: Raj Saini [EMAIL PROTECTED]

Hi,

Party search is broken while searching the party using any login id 
other than admin. I tried flexadmin and a user with party admin 
permissions and getting the below message.



*:ERROR MESSAGE:*
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
[component://common/widget/CommonScreens.xml#GlobalDecorator]: 
java.lang.RuntimeException: Error getting map accessor entry with name 
[VT_HDR_TMPLT_LOC] or [layoutSettings.VT_HDR_TMPLT_LOC[0]]: 
java.lang.NullPointerException (Error getting map accessor entry with 
name [VT_HDR_TMPLT_LOC] or [layoutSettings.VT_HDR_TMPLT_LOC[0]]: 
java.lang.NullPointerException)




Thanks,

Raj



Re: Party search not working while logged in as flexadmin

2008-12-09 Thread Raj Saini

Done.

https://issues.apache.org/jira/secure/ManageAttachments.jspa?id=12410275

Thanks

Raj

Jacques Le Roux wrote:

Hi Raj,

Could you please open a Jira for this ?

TIA

Jacques

From: Raj Saini [EMAIL PROTECTED]

Hi,

Party search is broken while searching the party using any login id 
other than admin. I tried flexadmin and a user with party admin 
permissions and getting the below message.



*:ERROR MESSAGE:*
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
[component://common/widget/CommonScreens.xml#GlobalDecorator]: 
java.lang.RuntimeException: Error getting map accessor entry with 
name [VT_HDR_TMPLT_LOC] or [layoutSettings.VT_HDR_TMPLT_LOC[0]]: 
java.lang.NullPointerException (Error getting map accessor entry with 
name [VT_HDR_TMPLT_LOC] or [layoutSettings.VT_HDR_TMPLT_LOC[0]]: 
java.lang.NullPointerException)




Thanks,

Raj







Re: Screen Rendering

2008-12-09 Thread Adrian Crum
Fixed, rev 724704.

-Adrian


--- On Mon, 12/8/08, ChristopherJ [EMAIL PROTECTED] wrote:

 From: ChristopherJ [EMAIL PROTECTED]
 Subject: Re: Screen Rendering
 To: user@ofbiz.apache.org
 Date: Monday, December 8, 2008, 10:27 PM
 Thank you.
 
 It was extremely frustrating setting up my chart of
 accounts 
 with that error continually displaying.:working:
 
 But now I have noticed that ¨navigate accounts¨ only
 displays correctly
 after
 expanding any of the categories. I realize that this is an
 aesthetic
 problem, yet I thought 
 it would be worth mentioning, as it can create confusion
 with an new user!
 
   http://www.nabble.com/file/p20909459/GL%2Baesthetic1.jpeg
 
 Before expanding a category.
 
   http://www.nabble.com/file/p20909459/GL%2Baesthetic2.jpeg
 
 After expanding a category.
 
 SVN Rev 724611
 
 Thanks for all the help!
 
 Adrian Crum-2 wrote:
  
  Fixed, rev 724373.
  
  -Adrian
  
  
  --- On Mon, 12/8/08, ChristopherJ
 [EMAIL PROTECTED] wrote:
  
  From: ChristopherJ
 [EMAIL PROTECTED]
  Subject: Screen Rendering
  To: user@ofbiz.apache.org
  Date: Monday, December 8, 2008, 6:24 AM
  Hi,
  
  When I go to view my chart of accounts via
 Accounting 
  Global GL Settings 
  Navigate Accounts, this error pops up.
  
  Seems to be intermittend as it does work some
 times... I
  just can´t see why
  
  Running the lastest SVN of OFBiz on Fedora 10
  
  
 
 http://www.nabble.com/file/p20896242/Global%2BGL%2BSettings.jpeg
  
  
  Thanks for any clues
  -- 
  View this message in context:
 
 http://www.nabble.com/Screen-Rendering-tp20896242p20896242.html
  Sent from the OFBiz - User mailing list archive at
  Nabble.com.
  
  
  
  
  
 
 -- 
 View this message in context:
 http://www.nabble.com/Screen-Rendering-tp20896242p20909459.html
 Sent from the OFBiz - User mailing list archive at
 Nabble.com.





why geoIdTo in ShipmentCostEstimate

2008-12-09 Thread Divesh Dutta
Hello all,
  I am not getting purpose of geoIdFrom and geoIdTo in 
ShipmentCostEstimate entity.What I guess is it simply specifies source and 
destination for shipment.If this is the case then how will we handle the case 
if shipment is in part.I mean if I want to ship data from warehouse to 
customer's home.In this case geoIdFrom=warehouse and  geoIdTo=customer's 
home.But what if there are two or three terminals in between. 
Thanks in advance
Regards
Divesh Dutta


Demo server login

2008-12-09 Thread BJ Freeman
I have mentioned this in different emails.
this is to bring attention to this
I enter a url like
https://demo.hotwaxmedia.com/catalog/control/main
then login dialog comes up and I enter the information, click on OK
the URL changes to
https://demo.hotwaxmedia.com/catalog/control/login
and the login dialog box is cleared and I get this message:

The Following Errors Occurred:

The Username was empty, please re-enter.

The Password was empty, please re-enter.

i re-enter the information and login.

we had this behavior before and it got fixed.
wondering if when the move to the new server a script did not get moved
over.




Re: Screen Rendering

2008-12-09 Thread Jacques Le Roux

Hi Christopher,

Could you please open a Jira issue for this ?
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

TIA

Jacques

From: ChristopherJ [EMAIL PROTECTED]


Thank you.

It was extremely frustrating setting up my chart of accounts
with that error continually displaying.:working:

But now I have noticed that ¨navigate accounts¨ only displays correctly
after
expanding any of the categories. I realize that this is an aesthetic
problem, yet I thought
it would be worth mentioning, as it can create confusion with an new user!

 http://www.nabble.com/file/p20909459/GL%2Baesthetic1.jpeg
Before expanding a category.

 http://www.nabble.com/file/p20909459/GL%2Baesthetic2.jpeg
After expanding a category.

SVN Rev 724611

Thanks for all the help!

Adrian Crum-2 wrote:


Fixed, rev 724373.

-Adrian


--- On Mon, 12/8/08, ChristopherJ [EMAIL PROTECTED] wrote:


From: ChristopherJ [EMAIL PROTECTED]
Subject: Screen Rendering
To: user@ofbiz.apache.org
Date: Monday, December 8, 2008, 6:24 AM
Hi,

When I go to view my chart of accounts via Accounting 
Global GL Settings 
Navigate Accounts, this error pops up.

Seems to be intermittend as it does work some times... I
just can´t see why

Running the lastest SVN of OFBiz on Fedora 10


http://www.nabble.com/file/p20896242/Global%2BGL%2BSettings.jpeg


Thanks for any clues
--
View this message in context:
http://www.nabble.com/Screen-Rendering-tp20896242p20896242.html
Sent from the OFBiz - User mailing list archive at
Nabble.com.








--
View this message in context: 
http://www.nabble.com/Screen-Rendering-tp20896242p20909459.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






xX mM lL ERROR

2008-12-09 Thread harish84

when i try to convert ftl file into pdf i am getting error as sax transform
exception telling that xml files must be terminated by same entity.
-- 
View this message in context: 
http://www.nabble.com/how-to-display-jsp-page-by-using-bsh-instead-of-ftl-tp20886168p20916549.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: why geoIdTo in ShipmentCostEstimate

2008-12-09 Thread Vivek Mishra

Hi Divesh,

I think split shipping which is implemented in Quick Checkout(three page 
chekout) would serve the solution.


Kind Regards,
--
Vivek Mishra

Divesh Dutta wrote:

Hello all,
  I am not getting purpose of geoIdFrom and geoIdTo in ShipmentCostEstimate entity.What I guess is it simply specifies source and destination for shipment.If this is the case then how will we handle the case if shipment is in part.I mean if I want to ship data from warehouse to customer's home.In this case geoIdFrom=warehouse and  geoIdTo=customer's home.But what if there are two or three terminals in between. 
Thanks in advance

Regards
Divesh Dutta
  


smime.p7s
Description: S/MIME Cryptographic Signature


xX mM lL ERROR

2008-12-09 Thread harish84

when i try to convert ftl file into pdf i am getting error as sax transform
exception xml files must be terminated  by same entity.
-- 
View this message in context: 
http://www.nabble.com/xX-mM-lL-ERROR-tp20916781p20916781.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Screen Rendering

2008-12-09 Thread Jacques Le Roux

Adrian fixed it in r724704

Jacques

From: Jacques Le Roux [EMAIL PROTECTED]

Hi Christopher,

Could you please open a Jira issue for this ?
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

TIA

Jacques

From: ChristopherJ [EMAIL PROTECTED]


Thank you.

It was extremely frustrating setting up my chart of accounts
with that error continually displaying.:working:

But now I have noticed that ¨navigate accounts¨ only displays correctly
after
expanding any of the categories. I realize that this is an aesthetic
problem, yet I thought
it would be worth mentioning, as it can create confusion with an new user!

 http://www.nabble.com/file/p20909459/GL%2Baesthetic1.jpeg
Before expanding a category.

 http://www.nabble.com/file/p20909459/GL%2Baesthetic2.jpeg
After expanding a category.

SVN Rev 724611

Thanks for all the help!

Adrian Crum-2 wrote:


Fixed, rev 724373.

-Adrian


--- On Mon, 12/8/08, ChristopherJ [EMAIL PROTECTED] wrote:


From: ChristopherJ [EMAIL PROTECTED]
Subject: Screen Rendering
To: user@ofbiz.apache.org
Date: Monday, December 8, 2008, 6:24 AM
Hi,

When I go to view my chart of accounts via Accounting 
Global GL Settings 
Navigate Accounts, this error pops up.

Seems to be intermittend as it does work some times... I
just can´t see why

Running the lastest SVN of OFBiz on Fedora 10


http://www.nabble.com/file/p20896242/Global%2BGL%2BSettings.jpeg


Thanks for any clues
--
View this message in context:
http://www.nabble.com/Screen-Rendering-tp20896242p20896242.html
Sent from the OFBiz - User mailing list archive at
Nabble.com.








--
View this message in context: 
http://www.nabble.com/Screen-Rendering-tp20896242p20909459.html
Sent from the OFBiz - User mailing list archive at Nabble.com.








Simple Method String error

2008-12-09 Thread madppiper

Hey there,

I got quite an unusual error here. I am trying to parse a url to a java
class that I created. The url is created dynamically and then parsed to
another method of mine... :

!-- Toolset Function --
simple-method method-name=generateProductPriceImagesAll
short-description=Refresh the Productprice Images for all 
Products

!-- Retrieve all Products from Entity Engine --

entity-condition entity-name=ProductsAndPrices
list-name=productList
/entity-condition



!-- Run through Productlist and generate the 
ProductPriceImages --

iterate entry-name=products list-name=productList
if
condition
not
if-empty 
field-name=products.productName/if-empty
/not
/condition
then

!-- Generate Product Map File --

set field=productOutMap.message

value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice}
 

type=PlainString /


call-service 
service-name=generatePriceImagesAll2
in-map-name=productOutMap
/call-service


/then
/if
/iterate



/simple-method





This should work, but the following error arises on call:

 
Service dispatcher threw an exceptionError running simple method
[generateProductPriceImagesAll] in XML file
[org/brandsparadise/solr/SimpleMethodServices.xml]: (Could not parse XML
file (The reference to entity v1 must end with the ';' delimiter.))
-- 
View this message in context: 
http://www.nabble.com/Simple-Method-String-error-tp20920803p20920803.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Simple Method String error

2008-12-09 Thread Adrian Crum

You need to escape the  characters:

value=imgname=${products.productId}_price.pngamp;v1=${products.productPrice}amp;v2=${products.productPrice}

-Adrian


madppiper wrote:

Hey there,

I got quite an unusual error here. I am trying to parse a url to a java
class that I created. The url is created dynamically and then parsed to
another method of mine... :

!-- Toolset Function --
simple-method method-name=generateProductPriceImagesAll
short-description=Refresh the Productprice Images for all 
Products

!-- Retrieve all Products from Entity Engine --

entity-condition entity-name=ProductsAndPrices
list-name=productList
/entity-condition



!-- Run through Productlist and generate the ProductPriceImages 
--

iterate entry-name=products list-name=productList
if
condition
not
if-empty 
field-name=products.productName/if-empty
/not
/condition
then

!-- Generate Product Map File --

set field=productOutMap.message

value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice} 
		

type=PlainString /


call-service 
service-name=generatePriceImagesAll2
in-map-name=productOutMap
/call-service


/then
/if
/iterate



/simple-method





This should work, but the following error arises on call:

 
Service dispatcher threw an exceptionError running simple method

[generateProductPriceImagesAll] in XML file
[org/brandsparadise/solr/SimpleMethodServices.xml]: (Could not parse XML
file (The reference to entity v1 must end with the ';' delimiter.))


Re: Simple Method String error

2008-12-09 Thread madppiper

Right, and how do i do that?

I tried using:

value=imgname=${products.productId}_price.png\amp;v1=${products.productPrice}\amp;v2=${products.productPrice}

since a backslash is the usual way of escaping. But this won't work...


Adrian Crum wrote:
 
 You need to escape the  characters:
 
 value=imgname=${products.productId}_price.pngamp;v1=${products.productPrice}amp;v2=${products.productPrice}
 
 -Adrian
 
 
 madppiper wrote:
 Hey there,
 
 I got quite an unusual error here. I am trying to parse a url to a java
 class that I created. The url is created dynamically and then parsed to
 another method of mine... :
 
  !-- Toolset Function --
  simple-method method-name=generateProductPriceImagesAll
  short-description=Refresh the Productprice Images for all 
 Products
 
  !-- Retrieve all Products from Entity Engine --
 
  entity-condition entity-name=ProductsAndPrices
  list-name=productList
  /entity-condition
 
 
 
  !-- Run through Productlist and generate the 
 ProductPriceImages --
 
  iterate entry-name=products list-name=productList
  if
  condition
  not
  if-empty 
 field-name=products.productName/if-empty
  /not
  /condition
  then
 
  !-- Generate Product Map File --
 
  set field=productOutMap.message
  
 value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice}
  
  
  type=PlainString /
 
 
  call-service 
 service-name=generatePriceImagesAll2
  in-map-name=productOutMap
  /call-service
 
 
  /then
  /if
  /iterate
 
 
 
  /simple-method
 
 
 
 
 
 This should work, but the following error arises on call:
 
  
 Service dispatcher threw an exceptionError running simple method
 [generateProductPriceImagesAll] in XML file
 [org/brandsparadise/solr/SimpleMethodServices.xml]: (Could not parse XML
 file (The reference to entity v1 must end with the ';' delimiter.))
 
 

-- 
View this message in context: 
http://www.nabble.com/Simple-Method-String-error-tp20920803p20921780.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Simple Method String error

2008-12-09 Thread Adrian Crum

I showed you how. Look closer at my reply.

-Adrian

madppiper wrote:

Right, and how do i do that?

I tried using:

value=imgname=${products.productId}_price.png\amp;v1=${products.productPrice}\amp;v2=${products.productPrice}

since a backslash is the usual way of escaping. But this won't work...


Adrian Crum wrote:

You need to escape the  characters:

value=imgname=${products.productId}_price.pngamp;v1=${products.productPrice}amp;v2=${products.productPrice}

-Adrian


madppiper wrote:

Hey there,

I got quite an unusual error here. I am trying to parse a url to a java
class that I created. The url is created dynamically and then parsed to
another method of mine... :

!-- Toolset Function --
simple-method method-name=generateProductPriceImagesAll
short-description=Refresh the Productprice Images for all 
Products

!-- Retrieve all Products from Entity Engine --

entity-condition entity-name=ProductsAndPrices
list-name=productList
/entity-condition



!-- Run through Productlist and generate the ProductPriceImages 
--

iterate entry-name=products list-name=productList
if
condition
not
if-empty 
field-name=products.productName/if-empty
/not
/condition
then

!-- Generate Product Map File --

set field=productOutMap.message

value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice} 
		

type=PlainString /


call-service 
service-name=generatePriceImagesAll2
in-map-name=productOutMap
/call-service


/then
/if
/iterate



/simple-method





This should work, but the following error arises on call:

 
Service dispatcher threw an exceptionError running simple method

[generateProductPriceImagesAll] in XML file
[org/brandsparadise/solr/SimpleMethodServices.xml]: (Could not parse XML
file (The reference to entity v1 must end with the ';' delimiter.))






Re: Simple Method String error

2008-12-09 Thread madppiper

looking really close here, but even when I go through each character one by
one, I cannot find the darnest difference:


yours
value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice}
 

mine
value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice}
 


;)
-- 
View this message in context: 
http://www.nabble.com/Simple-Method-String-error-tp20920803p20922240.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Simple Method String error

2008-12-09 Thread Christopher Vollick

You must be using a mail client that is rendering HTML, or nabble.

In yours you had the ampersand character. He actually had the  
ampersand character then amp;.


I'm not sure what my client does with escaping, so I'll try three  
things.


You need to replace the ampersands with
amp;
amp;amp;
Ampersand Character+amp;

I'm not sure which of the above will appear right, but I hope I got  
the idea across.





Re: Simple Method String error

2008-12-09 Thread Jacques Le Roux

http://www.w3.org/TR/REC-xml/#dt-chardata

Jacques

From: madppiper [EMAIL PROTECTED]


Right, and how do i do that?

I tried using:

value=imgname=${products.productId}_price.png\amp;v1=${products.productPrice}\amp;v2=${products.productPrice}

since a backslash is the usual way of escaping. But this won't work...


Adrian Crum wrote:


You need to escape the  characters:

value=imgname=${products.productId}_price.pngamp;v1=${products.productPrice}amp;v2=${products.productPrice}

-Adrian


madppiper wrote:

Hey there,

I got quite an unusual error here. I am trying to parse a url to a java
class that I created. The url is created dynamically and then parsed to
another method of mine... :

!-- Toolset Function --
simple-method method-name=generateProductPriceImagesAll
short-description=Refresh the Productprice Images for all Products

!-- Retrieve all Products from Entity Engine --

entity-condition entity-name=ProductsAndPrices
list-name=productList
/entity-condition



!-- Run through Productlist and generate the ProductPriceImages --

iterate entry-name=products list-name=productList
if
condition
not
if-empty field-name=products.productName/if-empty
/not
/condition
then

!-- Generate Product Map File --

set field=productOutMap.message

value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice} 


type=PlainString /


call-service service-name=generatePriceImagesAll2
in-map-name=productOutMap
/call-service


/then
/if
/iterate



/simple-method





This should work, but the following error arises on call:

 
Service dispatcher threw an exceptionError running simple method

[generateProductPriceImagesAll] in XML file
[org/brandsparadise/solr/SimpleMethodServices.xml]: (Could not parse XML
file (The reference to entity v1 must end with the ';' delimiter.))





--
View this message in context: 
http://www.nabble.com/Simple-Method-String-error-tp20920803p20921780.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Demo Server very slow compared to other sites I am acessing

2008-12-09 Thread BJ Freeman
https://demo.hotwaxmedia.com/sfa/control/main?externalLoginKey=EL671401702419
so far 5 minutes


Re: Simple Method String error

2008-12-09 Thread Adrian Crum

madppiper wrote:

yours
value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice} 


That was not in my reply. I repeat:

value=imgname=${products.productId}_price.pngamp;v1=${products.productPrice}amp;v2=${products.productPrice}

-Adrian


Re: Demo Server very slow compared to other sites I am acessing

2008-12-09 Thread BJ Freeman
thanks

Adrian Crum sent the following on 12/9/2008 12:24 PM:
 Popped up in seconds for me. Also seemed to run fast from my home this
 morning.
 
 -Adrian
 
 BJ Freeman wrote:
 https://demo.hotwaxmedia.com/sfa/control/main?externalLoginKey=EL671401702419

 so far 5 minutes

 
 


Re: Servlet-Mapping in OFBiz

2008-12-09 Thread Abhishake Agarwal
I don't think your required this in ofbiz, instead use a java event in
request mapping in controller.xml.

On Mon, Dec 8, 2008 at 10:43 PM, guo weizhan [EMAIL PROTECTED] wrote:

 it can define servlet there, you should check the allowedPaths
 of ContextFilter


 2008/12/8 madppiper [EMAIL PROTECTED]

 
  Hey there,
 
  I am trying to add a simple servlet to my application. For that I have
  added
  the following to the web.xml file:
 
  servlet
 servlet-nameImageServlet/servlet-name
 servlet-classorg.apache.taglibs.image.ImageServlet/servlet-class
   /servlet
 
 
  and
 
   servlet-mapping
 servlet-nameImageServlet/servlet-name
 url-pattern/gen-image/*/url-pattern
   /servlet-mapping
 
 
  I was hoping that this would call the Image-Servlet whenever I request
 the
  gen-image url. However, the way ifbiz is setup I get the feeling that any
  call is directly relocated to /control and hence the above doesn't work.
 I
  tried looking at the product/facility web.xml file, since there is
  something
  similar going on with the ShippingAPI.dll file, but no use... do i need
 to
  add the servlet as a request-map to the controller.xml before the above
  works?
  --
  View this message in context:
  http://www.nabble.com/Servlet-Mapping-in-OFBiz-tp20892386p20892386.html
  Sent from the OFBiz - User mailing list archive at Nabble.com.
 
 



Re: Simple Method String error

2008-12-09 Thread BJ Freeman
I use a text based email.
I can see the difference.

madppiper sent the following on 12/9/2008 11:59 AM:
 looking really close here, but even when I go through each character one by
 one, I cannot find the darnest difference:
 
 
 yours
 value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice}
  
 
 mine
 value=imgname=${products.productId}_price.pngv1=${products.productPrice}v2=${products.productPrice}
  
 
 
 ;)


Re: Demo Server very slow compared to other sites I am acessing

2008-12-09 Thread Jacques Le Roux

In such cases you may use alternates if they are available (R4 should be 
always, trunk less)

Jacques

From: BJ Freeman [EMAIL PROTECTED]

https://demo.hotwaxmedia.com/sfa/control/main?externalLoginKey=EL671401702419
so far 5 minutes



Re: why geoIdTo in ShipmentCostEstimate

2008-12-09 Thread Sumit Pandit
Vivak, 

Split shipping does not solve this problem. Split shipping is used when Order 
have more then one delivery point. Like if you have 2 products in your order 
and you want to ship each of them at separate location then at that time we 
split the order into two and assign the desire destination for each product. 
So splitting works when the items from the same order ship to more then one 
location. Not in case is shipment is passes from terminals. 

Concept is same as one to many : one order many destination. 

Thanks 
Sumit Pandit 





- Original Message - 
From: Vivek Mishra [EMAIL PROTECTED] 
To: user@ofbiz.apache.org 
Sent: Tuesday, December 9, 2008 8:49:36 PM GMT +05:30 Chennai, Kolkata, Mumbai, 
New Delhi 
Subject: Re: why geoIdTo in ShipmentCostEstimate 

Hi Divesh, 

I think split shipping which is implemented in Quick Checkout(three page 
chekout) would serve the solution. 

Kind Regards, 
-- 
Vivek Mishra 

Divesh Dutta wrote: 
 Hello all, 
 I am not getting purpose of geoIdFrom and geoIdTo in ShipmentCostEstimate 
 entity.What I guess is it simply specifies source and destination for 
 shipment.If this is the case then how will we handle the case if shipment is 
 in part.I mean if I want to ship data from warehouse to customer's home.In 
 this case geoIdFrom=warehouse and geoIdTo=customer's home.But what if there 
 are two or three terminals in between. 
 Thanks in advance 
 Regards 
 Divesh Dutta 
 


Re: why geoIdTo in ShipmentCostEstimate

2008-12-09 Thread David E Jones


The concept closest to this in OFBiz is handled by the  
ShipmentRouteSegment and related entities. There is nothing in the  
checkout process for the customer to specify such information, and I'm  
not sure if you'd want the customer to specify such things.


When manually creating a Shipment for an order in the Facility Manager  
you can specify multiple route segments with different carriers,  
tracking codes, and the works.


-David


On Dec 9, 2008, at 9:00 PM, Sumit Pandit wrote:


Vivak,

Split shipping does not solve this problem. Split shipping is used  
when Order have more then one delivery point. Like if you have 2  
products in your order and you want to ship each of them at separate  
location then at that time we split the order into two and assign  
the desire destination for each product.
So splitting works when the items from the same order ship to more  
then one location. Not in case is shipment is passes from terminals.


Concept is same as one to many : one order many destination.

Thanks
Sumit Pandit





- Original Message -
From: Vivek Mishra [EMAIL PROTECTED]
To: user@ofbiz.apache.org
Sent: Tuesday, December 9, 2008 8:49:36 PM GMT +05:30 Chennai,  
Kolkata, Mumbai, New Delhi

Subject: Re: why geoIdTo in ShipmentCostEstimate

Hi Divesh,

I think split shipping which is implemented in Quick Checkout(three  
page

chekout) would serve the solution.

Kind Regards,
--
Vivek Mishra

Divesh Dutta wrote:

Hello all,
I am not getting purpose of geoIdFrom and geoIdTo in  
ShipmentCostEstimate entity.What I guess is it simply specifies  
source and destination for shipment.If this is the case then how  
will we handle the case if shipment is in part.I mean if I want to  
ship data from warehouse to customer's home.In this case  
geoIdFrom=warehouse and geoIdTo=customer's home.But what if there  
are two or three terminals in between.

Thanks in advance
Regards
Divesh Dutta





Re: why geoIdTo in ShipmentCostEstimate

2008-12-09 Thread Sumit Pandit
Hello Divesh, 

Regarding to your case, I am not sure that this functionality already exist in 
OFBiz or not. 
But the logic should be like that : 

For example track from source to destination is like : 
Source (S) -- Terminal1(t1) -- Terminal2(t2) -- Terminal3(t3) -- 
Destination(D) 

Now for such case we can calculate the shipment cost of each break point and 
then collectively get the cost of S to D. 

Total cost(shipment) = cost(S to t1) + cost (t1 to t2) + cost (t2 to t3) + cost 
(t3 to D). 

I think it would work, Also I will really appreciate that if any from dev 
provide better option to solve this problem. 

Thanks And Regards 
Sumit Pandit. 



- Original Message - 
From: Divesh Dutta [EMAIL PROTECTED] 
To: user user@ofbiz.apache.org 
Sent: Tuesday, December 9, 2008 7:31:31 PM GMT +05:30 Chennai, Kolkata, Mumbai, 
New Delhi 
Subject: why geoIdTo in ShipmentCostEstimate 

Hello all, 
I am not getting purpose of geoIdFrom and geoIdTo in ShipmentCostEstimate 
entity.What I guess is it simply specifies source and destination for 
shipment.If this is the case then how will we handle the case if shipment is in 
part.I mean if I want to ship data from warehouse to customer's home.In this 
case geoIdFrom=warehouse and geoIdTo=customer's home.But what if there are two 
or three terminals in between. 
Thanks in advance 
Regards 
Divesh Dutta 


Re: why geoIdTo in ShipmentCostEstimate

2008-12-09 Thread Sumit Pandit


Ah David ! 

You are amazing, I really missed the route segment concept. It can handle the 
problem of Divesh. 

Thank you very much. 

-- 
Regards 
Sumit Pandit 

- Original Message - 
From: David E Jones [EMAIL PROTECTED] 
To: user@ofbiz.apache.org 
Sent: Wednesday, December 10, 2008 9:35:59 AM GMT +05:30 Chennai, Kolkata, 
Mumbai, New Delhi 
Subject: Re: why geoIdTo in ShipmentCostEstimate 


The concept closest to this in OFBiz is handled by the 
ShipmentRouteSegment and related entities. There is nothing in the 
checkout process for the customer to specify such information, and I'm 
not sure if you'd want the customer to specify such things. 

When manually creating a Shipment for an order in the Facility Manager 
you can specify multiple route segments with different carriers, 
tracking codes, and the works. 

-David 


On Dec 9, 2008, at 9:00 PM, Sumit Pandit wrote: 

 Vivak, 
 
 Split shipping does not solve this problem. Split shipping is used 
 when Order have more then one delivery point. Like if you have 2 
 products in your order and you want to ship each of them at separate 
 location then at that time we split the order into two and assign 
 the desire destination for each product. 
 So splitting works when the items from the same order ship to more 
 then one location. Not in case is shipment is passes from terminals. 
 
 Concept is same as one to many : one order many destination. 
 
 Thanks 
 Sumit Pandit 
 
 
 
 
 
 - Original Message - 
 From: Vivek Mishra [EMAIL PROTECTED] 
 To: user@ofbiz.apache.org 
 Sent: Tuesday, December 9, 2008 8:49:36 PM GMT +05:30 Chennai, 
 Kolkata, Mumbai, New Delhi 
 Subject: Re: why geoIdTo in ShipmentCostEstimate 
 
 Hi Divesh, 
 
 I think split shipping which is implemented in Quick Checkout(three 
 page 
 chekout) would serve the solution. 
 
 Kind Regards, 
 -- 
 Vivek Mishra 
 
 Divesh Dutta wrote: 
 Hello all, 
 I am not getting purpose of geoIdFrom and geoIdTo in 
 ShipmentCostEstimate entity.What I guess is it simply specifies 
 source and destination for shipment.If this is the case then how 
 will we handle the case if shipment is in part.I mean if I want to 
 ship data from warehouse to customer's home.In this case 
 geoIdFrom=warehouse and geoIdTo=customer's home.But what if there 
 are two or three terminals in between. 
 Thanks in advance 
 Regards 
 Divesh Dutta 
 



Re: why geoIdTo in ShipmentCostEstimate

2008-12-09 Thread Divesh Dutta
Hello All, 
   Thank you much for your answers.I just went through 
ShipmentRouteSegment entity.By this i can handle Distributed shipments.But my 
problem is to calculate shipment cost.And I find no relation between  
ShipmentCostEstimate entity and ShipmentRouteSegment entity.And I still didnt 
got the reply for my first mail.Purpose of geoIdTo ? Is it mean destination 
here? Thanks again to all of you.

Regards
Divesh Dutta


- Sumit Pandit [EMAIL PROTECTED] wrote:

| Ah David ! 
| 
| You are amazing, I really missed the route segment concept. It can
| handle the problem of Divesh. 
| 
| Thank you very much. 
| 
| -- 
| Regards 
| Sumit Pandit 
| 
| - Original Message - 
| From: David E Jones [EMAIL PROTECTED] 
| To: user@ofbiz.apache.org 
| Sent: Wednesday, December 10, 2008 9:35:59 AM GMT +05:30 Chennai,
| Kolkata, Mumbai, New Delhi 
| Subject: Re: why geoIdTo in ShipmentCostEstimate 
| 
| 
| The concept closest to this in OFBiz is handled by the 
| ShipmentRouteSegment and related entities. There is nothing in the 
| checkout process for the customer to specify such information, and I'm
| 
| not sure if you'd want the customer to specify such things. 
| 
| When manually creating a Shipment for an order in the Facility Manager
| 
| you can specify multiple route segments with different carriers, 
| tracking codes, and the works. 
| 
| -David 
| 
| 
| On Dec 9, 2008, at 9:00 PM, Sumit Pandit wrote: 
| 
|  Vivak, 
|  
|  Split shipping does not solve this problem. Split shipping is used 
|  when Order have more then one delivery point. Like if you have 2 
|  products in your order and you want to ship each of them at separate
| 
|  location then at that time we split the order into two and assign 
|  the desire destination for each product. 
|  So splitting works when the items from the same order ship to more 
|  then one location. Not in case is shipment is passes from terminals.
| 
|  
|  Concept is same as one to many : one order many destination. 
|  
|  Thanks 
|  Sumit Pandit 
|  
|  
|  
|  
|  
|  - Original Message - 
|  From: Vivek Mishra [EMAIL PROTECTED] 
|  To: user@ofbiz.apache.org 
|  Sent: Tuesday, December 9, 2008 8:49:36 PM GMT +05:30 Chennai, 
|  Kolkata, Mumbai, New Delhi 
|  Subject: Re: why geoIdTo in ShipmentCostEstimate 
|  
|  Hi Divesh, 
|  
|  I think split shipping which is implemented in Quick Checkout(three
| 
|  page 
|  chekout) would serve the solution. 
|  
|  Kind Regards, 
|  -- 
|  Vivek Mishra 
|  
|  Divesh Dutta wrote: 
|  Hello all, 
|  I am not getting purpose of geoIdFrom and geoIdTo in 
|  ShipmentCostEstimate entity.What I guess is it simply specifies 
|  source and destination for shipment.If this is the case then how 
|  will we handle the case if shipment is in part.I mean if I want to
| 
|  ship data from warehouse to customer's home.In this case 
|  geoIdFrom=warehouse and geoIdTo=customer's home.But what if there 
|  are two or three terminals in between. 
|  Thanks in advance 
|  Regards 
|  Divesh Dutta 
| 


Re: xX mM lL ERROR

2008-12-09 Thread Sumit Pandit
Harish, 

There are some examples available in OFBiz which give you direction how to 
convert ftl to pdf. (I am sure that you already consulted them.) Like in view 
order page there is link to save order in pdf format. 
Please trace it. I am sure that tt will help you. And you get your out put. 


* Don't forgot to include the handler in controller. 

-- 
Thanks 
Sumit Pandit 




- Original Message - 
From: harish84 [EMAIL PROTECTED] 
To: user@ofbiz.apache.org 
Sent: Tuesday, December 9, 2008 8:48:14 PM GMT +05:30 Chennai, Kolkata, Mumbai, 
New Delhi 
Subject: xX mM lL ERROR 


when i try to convert ftl file into pdf i am getting error as sax transform 
exception telling that xml files must be terminated by same entity. 
-- 
View this message in context: 
http://www.nabble.com/how-to-display-jsp-page-by-using-bsh-instead-of-ftl-tp20886168p20916549.html
 
Sent from the OFBiz - User mailing list archive at Nabble.com. 



Re: why geoIdTo in ShipmentCostEstimate

2008-12-09 Thread David E Jones


There's a big difference between estimated and actual costs, and  
separate entities for them.


The basic reality is that if something doesn't support something, and  
you need/want it, then you'll have to write something to support that.  
The shipment estimates are fairly simple.


Stepping back a little, it sounds like you need to do more thorough  
requirements gathering (preferably organized by process) and then  
design. It's tough to do that on a mailing list as it requires lots of  
time and full disclosure of details... and if the details aren't  
complete the ideas and solutions proposed are almost certain to be  
flawed.


-David


On Dec 9, 2008, at 9:31 PM, Divesh Dutta wrote:


Hello All,
  Thank you much for your answers.I just went through  
ShipmentRouteSegment entity.By this i can handle Distributed  
shipments.But my problem is to calculate shipment cost.And I find no  
relation between  ShipmentCostEstimate entity and  
ShipmentRouteSegment entity.And I still didnt got the reply for my  
first mail.Purpose of geoIdTo ? Is it mean destination here? Thanks  
again to all of you.


Regards
Divesh Dutta


- Sumit Pandit [EMAIL PROTECTED] wrote:

| Ah David !
|
| You are amazing, I really missed the route segment concept. It can
| handle the problem of Divesh.
|
| Thank you very much.
|
| --
| Regards
| Sumit Pandit
|
| - Original Message -
| From: David E Jones [EMAIL PROTECTED]
| To: user@ofbiz.apache.org
| Sent: Wednesday, December 10, 2008 9:35:59 AM GMT +05:30 Chennai,
| Kolkata, Mumbai, New Delhi
| Subject: Re: why geoIdTo in ShipmentCostEstimate
|
|
| The concept closest to this in OFBiz is handled by the
| ShipmentRouteSegment and related entities. There is nothing in the
| checkout process for the customer to specify such information, and  
I'm

|
| not sure if you'd want the customer to specify such things.
|
| When manually creating a Shipment for an order in the Facility  
Manager

|
| you can specify multiple route segments with different carriers,
| tracking codes, and the works.
|
| -David
|
|
| On Dec 9, 2008, at 9:00 PM, Sumit Pandit wrote:
|
|  Vivak,
| 
|  Split shipping does not solve this problem. Split shipping is used
|  when Order have more then one delivery point. Like if you have 2
|  products in your order and you want to ship each of them at  
separate

|
|  location then at that time we split the order into two and assign
|  the desire destination for each product.
|  So splitting works when the items from the same order ship to more
|  then one location. Not in case is shipment is passes from  
terminals.

|
| 
|  Concept is same as one to many : one order many destination.
| 
|  Thanks
|  Sumit Pandit
| 
| 
| 
| 
| 
|  - Original Message -
|  From: Vivek Mishra [EMAIL PROTECTED]
|  To: user@ofbiz.apache.org
|  Sent: Tuesday, December 9, 2008 8:49:36 PM GMT +05:30 Chennai,
|  Kolkata, Mumbai, New Delhi
|  Subject: Re: why geoIdTo in ShipmentCostEstimate
| 
|  Hi Divesh,
| 
|  I think split shipping which is implemented in Quick  
Checkout(three

|
|  page
|  chekout) would serve the solution.
| 
|  Kind Regards,
|  --
|  Vivek Mishra
| 
|  Divesh Dutta wrote:
|  Hello all,
|  I am not getting purpose of geoIdFrom and geoIdTo in
|  ShipmentCostEstimate entity.What I guess is it simply specifies
|  source and destination for shipment.If this is the case then how
|  will we handle the case if shipment is in part.I mean if I want  
to

|
|  ship data from warehouse to customer's home.In this case
|  geoIdFrom=warehouse and geoIdTo=customer's home.But what if there
|  are two or three terminals in between.
|  Thanks in advance
|  Regards
|  Divesh Dutta
| 




Re: Screen Rendering

2008-12-09 Thread ChristopherJ

Thanks guys now onto exporting and importing xmls

Thanks for all the help!
-- 
View this message in context: 
http://www.nabble.com/Screen-Rendering-tp20896242p20929560.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: barCamp2008-Beijing and ofbiz

2008-12-09 Thread Shi Jinghai
Sun China tried to get a project from Alcatel who will rebuild its
worldwide website and put it in Shanghai. It seems Sun has got it. OFBiz
is the only choice of ecommerce part in the opensource solution. :)

Shi Jinghai

在 2008-12-09二的 14:23 +0800,guo weizhan写道:
 I joined the barCamp last Saturday, and I launched a OFBIZ discussion
 to introduce this project, we talk about the function of ofbiz and the
 development flow and so on. Out of my surprise, there are some people
 know it, one guy named Alax said he touch this project five years ago.
 And also the other one from Sun Company said he will do some
 consultation with OFBIZ. OFBIZ seems more popular than I thought :)
 Good for OFBIZ.