Re: Query regarding BIRT report generation in OFBiz

2010-01-19 Thread Hans Bakker
Probably sure that can be done, however remember that currently the
report is prepared outside ofbiz, within eclipse and imported into
OFBiz.

This means that a simple version of the report preparation function
should be duplicated within the ofbiz environment which does not really
sound as an easy task.

Regards,
Hans

On Tue, 2010-01-19 at 15:43 +0800, Michael Xu (xudong) wrote:
 hi Hans,
 
 A quick question. Is it feasible to implement ad hoc report on top of birt
 in ofbiz?
 
 --
 Regards,
 Michael Xu (xudong)
 www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
 9807 | Fax: (8610) 62670096
 
 
 On Tue, Jan 19, 2010 at 3:14 PM, Hans Bakker
 mailingl...@antwebsystems.comwrote:
 
  I can only advise you to study the existing reports, especially how the
  data is retrieved with minilanguage.
 
  Regards,
  Hans
 
  On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote:
   Hi Hans,
  
   what I have done so far is:
  
   1. I have generated a .rptdesign file through Birt RCP designer 2_5_1.
   2. Now in ofbiz I m trying to display this report file.
   3.When I try to display the default .rptdesign file provided in ofbiz
  i.e. product.rptdesign file it is successfully displayed in ofbiz.
   4. But when I try to display the .rptdesign file generated by me in RCP
  designer I get an error i.e.
  
  Cannot find or process the org.eclipse.birt.report.data.oda.jdbc
  driver's data source extension configuration.
   org.eclipse.birt.report.data.oda.jdbc
  
   5. While trying to resolve this error I compared the two .rptdesign file
  and found some differences which are:
  
 product.rptdesign(Default file in OFbiz)
 test.rptdesign(generated
  in RCP designer)
  
   I) data-sources  data-sources
 script-data-source name=OFBiz id=8/  oda-data-source
  extensionID=org.eclipse.birt.report.data.oda.jdbc
  
  name=Data Source id=9
  
   /data-sources
  
  
   2) data-sets
   script-data-set name=Product id=9   data-sets
   oda-data-set
  
  extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet
  
 name=Data Set id=43
  
   Also in the default file there some code (looks like groovy code)is
  written to fetch the field values but no such code is there in the file
  generated in RCP designer.
  
   Please help me out in resolving this problem.
  
  
  
   
   This Email may contain confidential or privileged information for the
  intended recipient (s) If you are not the intended recipient, please do not
  use or disseminate the information, notify the sender and delete it from
  your system.
  
   __
  --
  Antwebsystems.com: Quality OFBiz services for competitive rates
 
 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



RE: Query regarding BIRT report generation in OFBiz

2010-01-19 Thread Ashish Tiwari
hi hans,
I have studied the existing reports that's is why I have shown the comparison 
between the report file providede in ofbiz and the one I genenrated in RCP 
designer please go through my previous mail once again and help me to solve the 
problem

-Original Message-
From: Hans Bakker [mailto:mailingl...@antwebsystems.com]
Sent: Tuesday, January 19, 2010 12:44 PM
To: user@ofbiz.apache.org
Subject: Re: Query regarding BIRT report generation in OFBiz

I can only advise you to study the existing reports, especially how the
data is retrieved with minilanguage.

Regards,
Hans

On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote:
 Hi Hans,

 what I have done so far is:

 1. I have generated a .rptdesign file through Birt RCP designer 2_5_1.
 2. Now in ofbiz I m trying to display this report file.
 3.When I try to display the default .rptdesign file provided in ofbiz i.e. 
 product.rptdesign file it is successfully displayed in ofbiz.
 4. But when I try to display the .rptdesign file generated by me in RCP 
 designer I get an error i.e.

Cannot find or process the org.eclipse.birt.report.data.oda.jdbc 
 driver's data source extension configuration.
 org.eclipse.birt.report.data.oda.jdbc

 5. While trying to resolve this error I compared the two .rptdesign file and 
 found some differences which are:

   product.rptdesign(Default file in OFbiz)
   test.rptdesign(generated in RCP 
 designer)

 I) data-sources  data-sources
   script-data-source name=OFBiz id=8/  oda-data-source 
 extensionID=org.eclipse.birt.report.data.oda.jdbc
 
 name=Data Source id=9

 /data-sources


 2) data-sets
 script-data-set name=Product id=9   data-sets
 oda-data-set
 
 extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet
   
name=Data Set id=43

 Also in the default file there some code (looks like groovy code)is written 
 to fetch the field values but no such code is there in the file generated in 
 RCP designer.

 Please help me out in resolving this problem.



 
 This Email may contain confidential or privileged information for the 
 intended recipient (s) If you are not the intended recipient, please do not 
 use or disseminate the information, notify the sender and delete it from your 
 system.

 __
--
Antwebsystems.com: Quality OFBiz services for competitive rates


__

This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.

__


RE: Query regarding BIRT report generation in OFBiz

2010-01-19 Thread Hans Bakker
Look at the data source, we are using minilanguage which is using the
delegator. You want to talk directly to the jdbc driver

We are not in favor of that and never used this route. We can only
advise you to use the delegator either with minilanguage of
groovyscript.

Regards,
Hans

On Tue, 2010-01-19 at 13:58 +0530, Ashish Tiwari wrote:
 hi hans,
 I have studied the existing reports that's is why I have shown the comparison 
 between the report file providede in ofbiz and the one I genenrated in RCP 
 designer please go through my previous mail once again and help me to solve 
 the problem
 
 -Original Message-
 From: Hans Bakker [mailto:mailingl...@antwebsystems.com]
 Sent: Tuesday, January 19, 2010 12:44 PM
 To: user@ofbiz.apache.org
 Subject: Re: Query regarding BIRT report generation in OFBiz
 
 I can only advise you to study the existing reports, especially how the
 data is retrieved with minilanguage.
 
 Regards,
 Hans
 
 On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote:
  Hi Hans,
 
  what I have done so far is:
 
  1. I have generated a .rptdesign file through Birt RCP designer 2_5_1.
  2. Now in ofbiz I m trying to display this report file.
  3.When I try to display the default .rptdesign file provided in ofbiz i.e. 
  product.rptdesign file it is successfully displayed in ofbiz.
  4. But when I try to display the .rptdesign file generated by me in RCP 
  designer I get an error i.e.
 
 Cannot find or process the org.eclipse.birt.report.data.oda.jdbc 
  driver's data source extension configuration.
  org.eclipse.birt.report.data.oda.jdbc
 
  5. While trying to resolve this error I compared the two .rptdesign file 
  and found some differences which are:
 
product.rptdesign(Default file in OFbiz)  
  test.rptdesign(generated in 
  RCP designer)
 
  I) data-sources  data-sources
script-data-source name=OFBiz id=8/  oda-data-source 
  extensionID=org.eclipse.birt.report.data.oda.jdbc
  
  name=Data Source id=9
 
  /data-sources
 
 
  2) data-sets
  script-data-set name=Product id=9   data-sets
  oda-data-set
  
  extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet
  
   name=Data Set id=43
 
  Also in the default file there some code (looks like groovy code)is written 
  to fetch the field values but no such code is there in the file generated 
  in RCP designer.
 
  Please help me out in resolving this problem.
 
 
 
  
  This Email may contain confidential or privileged information for the 
  intended recipient (s) If you are not the intended recipient, please do not 
  use or disseminate the information, notify the sender and delete it from 
  your system.
 
  __
 --
 Antwebsystems.com: Quality OFBiz services for competitive rates
 
 
 __
 
 This Email may contain confidential or privileged information for the 
 intended recipient (s) If you are not the intended recipient, please do not 
 use or disseminate the information, notify the sender and delete it from your 
 system.
 
 __
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: Query regarding BIRT report generation in OFBiz

2010-01-19 Thread Michael Xu (xudong)
hi Hans,

Thanks. I tried pentaho and found the ad hoc report is really useful. With
such a feature, then end user can design report through web UI.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Tue, Jan 19, 2010 at 4:25 PM, Hans Bakker
mailingl...@antwebsystems.comwrote:

 Probably sure that can be done, however remember that currently the
 report is prepared outside ofbiz, within eclipse and imported into
 OFBiz.

 This means that a simple version of the report preparation function
 should be duplicated within the ofbiz environment which does not really
 sound as an easy task.

 Regards,
 Hans

 On Tue, 2010-01-19 at 15:43 +0800, Michael Xu (xudong) wrote:
  hi Hans,
 
  A quick question. Is it feasible to implement ad hoc report on top of
 birt
  in ofbiz?
 
  --
  Regards,
  Michael Xu (xudong)
  www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135
 0135
  9807 | Fax: (8610) 62670096
 
 
  On Tue, Jan 19, 2010 at 3:14 PM, Hans Bakker
  mailingl...@antwebsystems.comwrote:
 
   I can only advise you to study the existing reports, especially how the
   data is retrieved with minilanguage.
  
   Regards,
   Hans
  
   On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote:
Hi Hans,
   
what I have done so far is:
   
1. I have generated a .rptdesign file through Birt RCP designer
 2_5_1.
2. Now in ofbiz I m trying to display this report file.
3.When I try to display the default .rptdesign file provided in ofbiz
   i.e. product.rptdesign file it is successfully displayed in ofbiz.
4. But when I try to display the .rptdesign file generated by me in
 RCP
   designer I get an error i.e.
   
   Cannot find or process the
 org.eclipse.birt.report.data.oda.jdbc
   driver's data source extension configuration.
org.eclipse.birt.report.data.oda.jdbc
   
5. While trying to resolve this error I compared the two .rptdesign
 file
   and found some differences which are:
   
  product.rptdesign(Default file in OFbiz)
  
  test.rptdesign(generated
   in RCP designer)
   
I) data-sources
  data-sources
  script-data-source name=OFBiz id=8/  oda-data-source
   extensionID=org.eclipse.birt.report.data.oda.jdbc
   
   name=Data Source id=9
   
/data-sources
   
   
2) data-sets
script-data-set name=Product id=9   data-sets
oda-data-set
   
   extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet
   
  name=Data Set id=43
   
Also in the default file there some code (looks like groovy code)is
   written to fetch the field values but no such code is there in the file
   generated in RCP designer.
   
Please help me out in resolving this problem.
   
   
   

This Email may contain confidential or privileged information for the
   intended recipient (s) If you are not the intended recipient, please do
 not
   use or disseminate the information, notify the sender and delete it
 from
   your system.
   
   
 __
   --
   Antwebsystems.com: Quality OFBiz services for competitive rates
  
  
 --
 Antwebsystems.com: Quality OFBiz services for competitive rates




Re: Query regarding BIRT report generation in OFBiz

2010-01-19 Thread Michael Xu (xudong)
hi Hans,

What is the advantages of using delegator?

What I can think of is that we can reuse existing logic (maybe for access
control and other purpose). Any other advantages?

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Tue, Jan 19, 2010 at 4:32 PM, Hans Bakker
mailingl...@antwebsystems.comwrote:

 Look at the data source, we are using minilanguage which is using the
 delegator. You want to talk directly to the jdbc driver

 We are not in favor of that and never used this route. We can only
 advise you to use the delegator either with minilanguage of
 groovyscript.

 Regards,
 Hans

 On Tue, 2010-01-19 at 13:58 +0530, Ashish Tiwari wrote:
  hi hans,
  I have studied the existing reports that's is why I have shown the
 comparison between the report file providede in ofbiz and the one I
 genenrated in RCP designer please go through my previous mail once again and
 help me to solve the problem
 
  -Original Message-
  From: Hans Bakker [mailto:mailingl...@antwebsystems.com]
  Sent: Tuesday, January 19, 2010 12:44 PM
  To: user@ofbiz.apache.org
  Subject: Re: Query regarding BIRT report generation in OFBiz
 
  I can only advise you to study the existing reports, especially how the
  data is retrieved with minilanguage.
 
  Regards,
  Hans
 
  On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote:
   Hi Hans,
  
   what I have done so far is:
  
   1. I have generated a .rptdesign file through Birt RCP designer 2_5_1.
   2. Now in ofbiz I m trying to display this report file.
   3.When I try to display the default .rptdesign file provided in ofbiz
 i.e. product.rptdesign file it is successfully displayed in ofbiz.
   4. But when I try to display the .rptdesign file generated by me in RCP
 designer I get an error i.e.
  
  Cannot find or process the org.eclipse.birt.report.data.oda.jdbc
 driver's data source extension configuration.
   org.eclipse.birt.report.data.oda.jdbc
  
   5. While trying to resolve this error I compared the two .rptdesign
 file and found some differences which are:
  
 product.rptdesign(Default file in OFbiz)

  test.rptdesign(generated in RCP designer)
  
   I) data-sources
  data-sources
 script-data-source name=OFBiz id=8/  oda-data-source
 extensionID=org.eclipse.birt.report.data.oda.jdbc
  
 name=Data Source id=9
  
   /data-sources
  
  
   2) data-sets
   script-data-set name=Product id=9   data-sets
   oda-data-set
  
 extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet
  
  name=Data Set id=43
  
   Also in the default file there some code (looks like groovy code)is
 written to fetch the field values but no such code is there in the file
 generated in RCP designer.
  
   Please help me out in resolving this problem.
  
  
  
   
   This Email may contain confidential or privileged information for the
 intended recipient (s) If you are not the intended recipient, please do not
 use or disseminate the information, notify the sender and delete it from
 your system.
  
   __
  --
  Antwebsystems.com: Quality OFBiz services for competitive rates
 
 
  __
 
  This Email may contain confidential or privileged information for the
 intended recipient (s) If you are not the intended recipient, please do not
 use or disseminate the information, notify the sender and delete it from
 your system.
 
  __
 --
 Antwebsystems.com: Quality OFBiz services for competitive rates




Re: Query regarding BIRT report generation in OFBiz

2010-01-19 Thread Michael Xu (xudong)
hi Hans,

Another quick question: is it feasible to embed birt list report or chart in
portlet? I can see you contribute a lot in the two components. Any advice?

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
9807 | Fax: (8610) 62670096


On Tue, Jan 19, 2010 at 4:37 PM, Michael Xu (xudong)
dong...@wizitsoft.comwrote:

 hi Hans,

 What is the advantages of using delegator?

 What I can think of is that we can reuse existing logic (maybe for access
 control and other purpose). Any other advantages?

 --
 Regards,
 Michael Xu (xudong)
 www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135
 0135 9807 | Fax: (8610) 62670096


 On Tue, Jan 19, 2010 at 4:32 PM, Hans Bakker 
 mailingl...@antwebsystems.com wrote:

 Look at the data source, we are using minilanguage which is using the
 delegator. You want to talk directly to the jdbc driver

 We are not in favor of that and never used this route. We can only
 advise you to use the delegator either with minilanguage of
 groovyscript.

 Regards,
 Hans

 On Tue, 2010-01-19 at 13:58 +0530, Ashish Tiwari wrote:
  hi hans,
  I have studied the existing reports that's is why I have shown the
 comparison between the report file providede in ofbiz and the one I
 genenrated in RCP designer please go through my previous mail once again and
 help me to solve the problem
 
  -Original Message-
  From: Hans Bakker [mailto:mailingl...@antwebsystems.com]
  Sent: Tuesday, January 19, 2010 12:44 PM
  To: user@ofbiz.apache.org
  Subject: Re: Query regarding BIRT report generation in OFBiz
 
  I can only advise you to study the existing reports, especially how the
  data is retrieved with minilanguage.
 
  Regards,
  Hans
 
  On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote:
   Hi Hans,
  
   what I have done so far is:
  
   1. I have generated a .rptdesign file through Birt RCP designer 2_5_1.
   2. Now in ofbiz I m trying to display this report file.
   3.When I try to display the default .rptdesign file provided in ofbiz
 i.e. product.rptdesign file it is successfully displayed in ofbiz.
   4. But when I try to display the .rptdesign file generated by me in
 RCP designer I get an error i.e.
  
  Cannot find or process the
 org.eclipse.birt.report.data.oda.jdbc driver's data source extension
 configuration.
   org.eclipse.birt.report.data.oda.jdbc
  
   5. While trying to resolve this error I compared the two .rptdesign
 file and found some differences which are:
  
 product.rptdesign(Default file in OFbiz)

  test.rptdesign(generated in RCP designer)
  
   I) data-sources
  data-sources
 script-data-source name=OFBiz id=8/  oda-data-source
 extensionID=org.eclipse.birt.report.data.oda.jdbc
  
 name=Data Source id=9
  
   /data-sources
  
  
   2) data-sets
   script-data-set name=Product id=9   data-sets
   oda-data-set
  
 extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet
  
name=Data Set id=43
  
   Also in the default file there some code (looks like groovy code)is
 written to fetch the field values but no such code is there in the file
 generated in RCP designer.
  
   Please help me out in resolving this problem.
  
  
  
   
   This Email may contain confidential or privileged information for the
 intended recipient (s) If you are not the intended recipient, please do not
 use or disseminate the information, notify the sender and delete it from
 your system.
  
   __
  --
  Antwebsystems.com: Quality OFBiz services for competitive rates
 
 
  __
 
  This Email may contain confidential or privileged information for the
 intended recipient (s) If you are not the intended recipient, please do not
 use or disseminate the information, notify the sender and delete it from
 your system.
 
  __
 --
 Antwebsystems.com: Quality OFBiz services for competitive rates





Fwd: css problem with ftl ????

2010-01-19 Thread Info Olagos
 Hello,

I have a very strange problem.
I can only imagine that it is dependent on the FTL.

This is my page on the apache server. There is no problem. All things are
beautiful centered.
http://www.olagos.eu/index_d.html

OK the links to the images are not ok at the moment. But you see that here
it is loaded in the center, so that is perfect.

If i load the same files from the embedded tomcat, i have a problem. It is
to say that the container is not put in the center but at the left. The
problem is in the word auto on the wrapper tag in the css file. This
word auto is not recognized if i generate the html file from within a ftl
file.
 Have a look at the result in :
http://www.olagos.eu/ecommerce/control/main

Anyone an idea on a bug on Freemarker language level. ???

regards,
Heidi


RE: Doubt regarding 'GenericValue' support provided in OFBiz web services.

2010-01-19 Thread Pardeep Ruhil
Hi David,
Thanks for showing me the right way.
Also David, Is there any example of demo SOAP client in Java written for 
accessing OFBiz web service, will be highly
appreciated, actually the ExampleRemoteClient is using RMI. But I want to 
access it via SOAP.

Thanks  Regards
Pradeep Ruhil

-Original Message-
From: David E Jones [mailto:d...@me.com]
Sent: Tuesday, January 19, 2010 9:56 AM
To: user@ofbiz.apache.org
Subject: Re: Doubt regarding 'GenericValue' support provided in OFBiz web 
services.


If your client application is written in Java, then check out the 
ExampleRemoteClient.java file in OFBiz (there are comments there about how to 
use it).

If you have to use SOAP (and if so, I'm sorry for your pain, there are so many 
better alternatives) then the easiest way is to write a custom SOAP service 
that lives in an OFBiz component and calls the OFBiz service when it is called, 
and returns the result you want in whatever flavour of SOAP you require.

-David


On Jan 18, 2010, at 10:21 PM, Pardeep Ruhil wrote:


 Hi,
 I have a doubt regarding the support of data types provided in OFBiz for web 
 services. I have a web application which uses services defined in OFBiz to 
 access and retrieve data from database.

 Now the service defined in OFBiz has 'GenericValue' as a OUT parameter. As 
 currently OFBiz provide support for custom and complex object parameter 
 support, so I will get this object on the client side I.e. my web application.

 Now in the client side how will I process this 'GenericValue' object as this 
 class is specific to OFBiz. So I will not be able to typecast that to 
 GenericValue.
 So do I need to create a jar file  of GenericValue class and then set into 
 my web application classpth ? And If I am doing this  then it's like just 
 copy pasting the OFBiz framework into my web application.

 My second doubt is :
 How to write the client to access the OFBiz web service in my web application 
 ?
 Do I need to write that the same way as code written in 
 'SoapClientEngine.java' file  like serialize the input parameters and then 
 send them.
 Because otherwise If I am using axis to call the OFBiz web service , I am 
 getting 'Not able to deserialize the 'inputMap' parameter.

 Kindly help me to clear my doubts.

 Thanks  Regards
 Pradeep Ruhil

 
 This Email may contain confidential or privileged information for the 
 intended recipient (s) If you are not the intended recipient, please do not 
 use or disseminate the information, notify the sender and delete it from your 
 system.

 __


__

This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.

__


Re: Query regarding BIRT report generation in OFBiz

2010-01-19 Thread Hans Bakker
using the delegator makes you independent on the database.

we develop here on derby and run production on postgres or whatever the
customer wants.

Regards,
Hans


On Tue, 2010-01-19 at 16:37 +0800, Michael Xu (xudong) wrote:
 hi Hans,
 
 What is the advantages of using delegator?
 
 What I can think of is that we can reuse existing logic (maybe for access
 control and other purpose). Any other advantages?
 
 --
 Regards,
 Michael Xu (xudong)
 www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
 9807 | Fax: (8610) 62670096
 
 
 On Tue, Jan 19, 2010 at 4:32 PM, Hans Bakker
 mailingl...@antwebsystems.comwrote:
 
  Look at the data source, we are using minilanguage which is using the
  delegator. You want to talk directly to the jdbc driver
 
  We are not in favor of that and never used this route. We can only
  advise you to use the delegator either with minilanguage of
  groovyscript.
 
  Regards,
  Hans
 
  On Tue, 2010-01-19 at 13:58 +0530, Ashish Tiwari wrote:
   hi hans,
   I have studied the existing reports that's is why I have shown the
  comparison between the report file providede in ofbiz and the one I
  genenrated in RCP designer please go through my previous mail once again and
  help me to solve the problem
  
   -Original Message-
   From: Hans Bakker [mailto:mailingl...@antwebsystems.com]
   Sent: Tuesday, January 19, 2010 12:44 PM
   To: user@ofbiz.apache.org
   Subject: Re: Query regarding BIRT report generation in OFBiz
  
   I can only advise you to study the existing reports, especially how the
   data is retrieved with minilanguage.
  
   Regards,
   Hans
  
   On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote:
Hi Hans,
   
what I have done so far is:
   
1. I have generated a .rptdesign file through Birt RCP designer 2_5_1.
2. Now in ofbiz I m trying to display this report file.
3.When I try to display the default .rptdesign file provided in ofbiz
  i.e. product.rptdesign file it is successfully displayed in ofbiz.
4. But when I try to display the .rptdesign file generated by me in RCP
  designer I get an error i.e.
   
   Cannot find or process the org.eclipse.birt.report.data.oda.jdbc
  driver's data source extension configuration.
org.eclipse.birt.report.data.oda.jdbc
   
5. While trying to resolve this error I compared the two .rptdesign
  file and found some differences which are:
   
  product.rptdesign(Default file in OFbiz)
 
   test.rptdesign(generated in RCP designer)
   
I) data-sources
   data-sources
  script-data-source name=OFBiz id=8/  oda-data-source
  extensionID=org.eclipse.birt.report.data.oda.jdbc
   
  name=Data Source id=9
   
/data-sources
   
   
2) data-sets
script-data-set name=Product id=9   data-sets
oda-data-set
   
  extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet
   
   name=Data Set id=43
   
Also in the default file there some code (looks like groovy code)is
  written to fetch the field values but no such code is there in the file
  generated in RCP designer.
   
Please help me out in resolving this problem.
   
   
   

This Email may contain confidential or privileged information for the
  intended recipient (s) If you are not the intended recipient, please do not
  use or disseminate the information, notify the sender and delete it from
  your system.
   
__
   --
   Antwebsystems.com: Quality OFBiz services for competitive rates
  
  
   __
  
   This Email may contain confidential or privileged information for the
  intended recipient (s) If you are not the intended recipient, please do not
  use or disseminate the information, notify the sender and delete it from
  your system.
  
   __
  --
  Antwebsystems.com: Quality OFBiz services for competitive rates
 
 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: Query regarding BIRT report generation in OFBiz

2010-01-19 Thread Hans Bakker
Sure, i think you can put anything that is displayed within ofbiz in a
portlet

On Tue, 2010-01-19 at 16:38 +0800, Michael Xu (xudong) wrote:
 hi Hans,
 
 Another quick question: is it feasible to embed birt list report or chart in
 portlet? I can see you contribute a lot in the two components. Any advice?
 
 --
 Regards,
 Michael Xu (xudong)
 www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135
 9807 | Fax: (8610) 62670096
 
 
 On Tue, Jan 19, 2010 at 4:37 PM, Michael Xu (xudong)
 dong...@wizitsoft.comwrote:
 
  hi Hans,
 
  What is the advantages of using delegator?
 
  What I can think of is that we can reuse existing logic (maybe for access
  control and other purpose). Any other advantages?
 
  --
  Regards,
  Michael Xu (xudong)
  www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135
  0135 9807 | Fax: (8610) 62670096
 
 
  On Tue, Jan 19, 2010 at 4:32 PM, Hans Bakker 
  mailingl...@antwebsystems.com wrote:
 
  Look at the data source, we are using minilanguage which is using the
  delegator. You want to talk directly to the jdbc driver
 
  We are not in favor of that and never used this route. We can only
  advise you to use the delegator either with minilanguage of
  groovyscript.
 
  Regards,
  Hans
 
  On Tue, 2010-01-19 at 13:58 +0530, Ashish Tiwari wrote:
   hi hans,
   I have studied the existing reports that's is why I have shown the
  comparison between the report file providede in ofbiz and the one I
  genenrated in RCP designer please go through my previous mail once again 
  and
  help me to solve the problem
  
   -Original Message-
   From: Hans Bakker [mailto:mailingl...@antwebsystems.com]
   Sent: Tuesday, January 19, 2010 12:44 PM
   To: user@ofbiz.apache.org
   Subject: Re: Query regarding BIRT report generation in OFBiz
  
   I can only advise you to study the existing reports, especially how the
   data is retrieved with minilanguage.
  
   Regards,
   Hans
  
   On Tue, 2010-01-19 at 12:28 +0530, Ashish Tiwari wrote:
Hi Hans,
   
what I have done so far is:
   
1. I have generated a .rptdesign file through Birt RCP designer 2_5_1.
2. Now in ofbiz I m trying to display this report file.
3.When I try to display the default .rptdesign file provided in ofbiz
  i.e. product.rptdesign file it is successfully displayed in ofbiz.
4. But when I try to display the .rptdesign file generated by me in
  RCP designer I get an error i.e.
   
   Cannot find or process the
  org.eclipse.birt.report.data.oda.jdbc driver's data source extension
  configuration.
org.eclipse.birt.report.data.oda.jdbc
   
5. While trying to resolve this error I compared the two .rptdesign
  file and found some differences which are:
   
  product.rptdesign(Default file in OFbiz)
 
   test.rptdesign(generated in RCP designer)
   
I) data-sources
   data-sources
  script-data-source name=OFBiz id=8/  oda-data-source
  extensionID=org.eclipse.birt.report.data.oda.jdbc
   
  name=Data Source id=9
   
/data-sources
   
   
2) data-sets
script-data-set name=Product id=9   data-sets
oda-data-set
   
  extensionID=org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet
   
 name=Data Set id=43
   
Also in the default file there some code (looks like groovy code)is
  written to fetch the field values but no such code is there in the file
  generated in RCP designer.
   
Please help me out in resolving this problem.
   
   
   

This Email may contain confidential or privileged information for the
  intended recipient (s) If you are not the intended recipient, please do not
  use or disseminate the information, notify the sender and delete it from
  your system.
   
__
   --
   Antwebsystems.com: Quality OFBiz services for competitive rates
  
  
   __
  
   This Email may contain confidential or privileged information for the
  intended recipient (s) If you are not the intended recipient, please do not
  use or disseminate the information, notify the sender and delete it from
  your system.
  
   __
  --
  Antwebsystems.com: Quality OFBiz services for competitive rates
 
 
 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: Doubt regarding 'GenericValue' support provided in OFBiz web services.

2010-01-19 Thread Jacques Le Roux

Did you look into FAQ ?

Jacques

From: Pardeep Ruhil pardeep.ru...@lntinfotech.com

Hi David,
Thanks for showing me the right way.
Also David, Is there any example of demo SOAP client in Java written for 
accessing OFBiz web service, will be highly
appreciated, actually the ExampleRemoteClient is using RMI. But I want to 
access it via SOAP.

Thanks  Regards
Pradeep Ruhil

-Original Message-
From: David E Jones [mailto:d...@me.com]
Sent: Tuesday, January 19, 2010 9:56 AM
To: user@ofbiz.apache.org
Subject: Re: Doubt regarding 'GenericValue' support provided in OFBiz web 
services.


If your client application is written in Java, then check out the ExampleRemoteClient.java file in OFBiz (there are comments there 
about how to use it).


If you have to use SOAP (and if so, I'm sorry for your pain, there are so many better alternatives) then the easiest way is to 
write a custom SOAP service that lives in an OFBiz component and calls the OFBiz service when it is called, and returns the result 
you want in whatever flavour of SOAP you require.


-David


On Jan 18, 2010, at 10:21 PM, Pardeep Ruhil wrote:



Hi,
I have a doubt regarding the support of data types provided in OFBiz for web services. I have a web application which uses 
services defined in OFBiz to access and retrieve data from database.


Now the service defined in OFBiz has 'GenericValue' as a OUT parameter. As currently OFBiz provide support for custom and complex 
object parameter support, so I will get this object on the client side I.e. my web application.


Now in the client side how will I process this 'GenericValue' object as this class is specific to OFBiz. So I will not be able to 
typecast that to GenericValue.
So do I need to create a jar file  of GenericValue class and then set into my web application classpth ? And If I am doing this 
then it's like just copy pasting the OFBiz framework into my web application.


My second doubt is :
How to write the client to access the OFBiz web service in my web application ?
Do I need to write that the same way as code written in 'SoapClientEngine.java' file  like serialize the input parameters and 
then send them.
Because otherwise If I am using axis to call the OFBiz web service , I am getting 'Not able to deserialize the 'inputMap' 
parameter.


Kindly help me to clear my doubts.

Thanks  Regards
Pradeep Ruhil


This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended 
recipient, please do not use or disseminate the information, notify the sender and delete it from your system.


__



__

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended 
recipient, please do not use or disseminate the information, notify the sender and delete it from your system.


__






RE: OFBiz data load - Documentation

2010-01-19 Thread Axel Van Noten

I woke up with a lot of text to read here in Brussels. I was about to make a 
detailed answer on your How would you like things to work? when I found out 
somebody linked ofbiz.apache.org 'Documentation' to a page I haven't seen 
before. I'm gonna end up believing in Santa Claus again!
 
I would have started to order by release like the examples below - there must 
be a reason why people are ordering by release - :

 

Windows

http://www.microsoft.com/enable/products/docs/default.aspx

 

Apache http

http://httpd.apache.org/docs/

 

Derby (guess some Armonk(NY) based IT company had a hand in this one)

http://db.apache.org/derby/manuals/index.html

 

(couldn't check Oracle because the link is broken :-)  - way to go Lary! - : 
http://www.oracle.com/technology/documentation/index.html )

 

Nevertheless it is looking really neat compared with where it came from. I'll 
be traveling the next three weeks, but I will certainly try to update something 
if I come across.

 

Have a nice day,

Axel

 

 
 Subject: Re: OFBiz data load - Documentation
 From: d...@me.com
 Date: Mon, 18 Jan 2010 19:38:52 -0600
 To: user@ofbiz.apache.org
 
 
 On Jan 18, 2010, at 5:17 PM, Axel Van Noten wrote:
 
  
  I'm an economist, and I don't believe I can analyse the present.
 
 That's good. Then you have some understanding of market forces and 
 motivations. The trick is how to get people to do things, and on top of that 
 how to get them to work with others to do things. With code there are lots of 
 reasons to collaborate, and some of the nature of code forces people to 
 collaborate if they want to work on similar things. With documentation there 
 is not only a problem with people finding reasons to work on it and 
 contribute things, but even more there is a problem of getting people to 
 collaborate to better organize things and reduce duplication of effort.
 
  I don't see how I can help to change the structure of the documentation. If 
  I can edit the cwiki I'be glad to change the hierarchy as proposed.
 
 Ironically one of the places with the least collaboration is in organizing 
 things. Everyone who works on it seems to come in and impose a top-down 
 structure and start (but usually not finish) putting things in that 
 structure, or they go bottom up and start organizing things and grouping 
 similar things. With the second approach there is also rarely finishing, but 
 at least the progress can be somewhat cumulative.
 
 You can certainly change things. We have an open space that anyone with an 
 account can modify:
 
 http://cwiki.apache.org/confluence/display/OFBIZ
 
 If you're going to go with the top-down approach I mentioned above, I'd 
 recommend doing it in a series of pages that point to other pages rather than 
 changing the actual hierarchy (I'm actually rather surprised that with so 
 many programmers about people haven't done more of this approach).
 
 There are spaces that don't allow just anyone to edit them, including the 
 end-user and technical documentation spaces:
 
 http://cwiki.apache.org/confluence/display/OFBENDUSER
 http://cwiki.apache.org/confluence/display/OFBTECH
 
 The maverick nature of documentation so far clearly shows here... as there is 
 a lot to be desired in terms of volume and polish of the documentation. To 
 see even more of the maverick nature of doc efforts, you can also look around 
 at the various external sites with documentation on them.
 
  If it will never change, so be it. I just believe it's a pity of this work, 
  people getting started and not finding the f** manual.
 
 Well, to start with try this page (if you haven't already):
 
 http://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Documentation+Index
 
 Of course, even there you'll notice that it is heavy on technical 
 documentation.
 
 I guess in general there just isn't as much end-user documentation, if that's 
 what you're looking for, and what there is tends to be scattered about in the 
 open space (ie the confluence/display/OFBIZ URL above).
 
 BTW, my opinion on how end-user documentation should be organized is by 
 business process. This would look something like the structure here:
 
 http://cwiki.apache.org/confluence/display/OFBREQDES/Universal+Business+Process+Library+Index
 
 I've been trying to find time to get back to this and add an overlap analysis 
 to the process stories. That overlap analysis would basically end up as an 
 process-organized overview of where to find things in the applications, 
 though it wouldn't be any sort of complete description of how to use things 
 and what things mean.
 
 Anyway, that's an overview of what's there and some ideas about moving 
 forward. That said, how would you like things to work and how are they 
 different from what's around now?
 
 -David
 
 
  
  Subject: Re: OFBiz data load - Documentation
  From: d...@me.com
  Date: Mon, 18 Jan 2010 14:15:45 -0600
  To: user@ofbiz.apache.org
  
  
  I think you're right Jacques, though I also 

Re: OFBiz data load - Documentation

2010-01-19 Thread Ruth Hoffman

HI David:


David E Jones wrote:

On Jan 18, 2010, at 8:45 PM, Ruth Hoffman wrote:

  

Why David - thanks for the endorsement! Competition is always a good thing and 
I welcome it as it makes me better. Let me just say, however, the ramp up time 
associated with OFBiz is nothing compared to writing and self-publishing. It's 
not as easy as it looks. And it is expensive. You can't just toss together a 
computer w/Linux and Java (all freebies) and hope to assemble something useful.

And, it doesn't pay nearly as well as consulting.



This is just my opinion, but I think that if you wanted to make money on proper documentation (which is probably more than a 10,000 hour effort as a rough guess) you'd have to do it along with a supported commercial distribution and a good marketing budget. In other words, if your target market size is that of whatever the OFBiz open source project (with a marketing budget of zero, conveniently the same in any currency), then your target market is pretty small. 

  
My intent was never to make money on documentation. I charge for the 
books because it has been proven that free translates to not worth 
anything. My books are certainly worth something. But, my real 
objective is to develop high quality OFBiz training resources. Being a 
lone wolf, I have to start somewhere. IMO there is a dearth of good 
OFBiz end-user documentation. I saw a need (actually, I experienced a 
need since I've lived through several generations of OFBiz without much 
documentation) and as they say in  Market 101, I'm tying to meet market 
demand.

If you tried to spend on marketing for just documentation you'd have a limit of 
whatever OFBiz draws, or you'd have to spend enough to lift OFBiz along with 
your product which brings me back to the idea of doing a supported distribution 
in addition to marketing because the revenue potential for documentation alone 
is probably not adequate for that level of marketing spend, and you would also 
be putting capital into marketing for something you don't control.

  
Agreed! It boils down to gaining mind share - which is really another 
term for marketing. And marketing costs money. And I have only a limited 
budget. Actually, all I have right now is my time, experience and 
knowledge of OFBiz. So, there you go! It's a bootstrap operation.

Looking for new ventures are you? How about just invest in what I'm doing? If 
there is anyone out there who would like to invest in my efforts, I'm all ears! 
I could use a new server, some first-class editorial help, a professional 
indexer, professional quality publication software (something like InDesign) 
etc., etc., etc.



I'm sorry if I made the wrong impression, when I wrote It would be interesting to 
see that's what I meant, putting me in the position of an outside observer. Not 
only am I not in a position to invest, I'm not even in a position to participate in a 
startup unless it is already well funded. I'm just a working man. Actually, it's worse 
than that... I'm just a failed entrepreneur with more liabilities than assets and in this 
labour market with growing supply and flat-lined demand I'm back to making what I did 8 
years ago when OFBiz was a year old and little more than a very basic framework plus a 
hacked together, primitive, ecommerce package.

  
You didn't leave me with the wrong impression. I wasn't asking for your 
monetary investment. I'm trying to engage you in meaningful dialog so 
that when I have questions about how OFBiz works or a new user makes an 
attempt to solve an OFBiz problem (for example on the mailing lists), 
you won't be such an ogre. Investment comes in many forms. I think you 
will find if you lighten up a little and share your wisdom, you have 
nothing to lose and everything to gain.


That is not to say that I wouldn't consider monetary investments from 
others. I've been trying to find a way to get other people outside the 
OFBiz community to get excited about this project and possibly invest. 
That is another reason why I sell the books and spend way to much time 
on the myOFBiz.com website. I have to prove to potential investors that 
this stuff really works and what better way then to eat my own dogfood 
with myOFBiz.com?

I'd like to think I've learned some lessons in all of this. One is that the old 
saying about love does not apply at ALL to investing, and it is not better to 
have invested and lost than to never have invested at all. In fact, I think 
investing is all about timing, and I've blown it altogether. If you're starting 
with nothing then you never want to invest immediately should you manage to 
earn more than you need to live. Work like mad to make a lot of money when 
markets are up, but for goodness sake don't invest it then! Hoard it and wait 
for the market to fall apart, THEN start investing in whatever you're going to, 
be it people and training for a services business, assets with the hope of 
appreciation, intellectual property of 

Axis2 service in OFBIZ?

2010-01-19 Thread MarioF

Hi all,

I need that OFBIZ can manage some Axis2 services. In one of them ofbiz has
to change the statusId of some orderId. I have made this change in java
code, but I am not sure how to make an axis2 service.

I think that I have to do the following:

- Make a service in service.xml with export=true and
location=the.java.package
- Run always this service in ofbiz. (Applications -- Webtools -- Run
Service).

Is that true? Have I to make something more?

Thanks in advance,
Mario.
-- 
View this message in context: 
http://n4.nabble.com/Axis2-service-in-OFBIZ-tp1017558p1017558.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Axis2 service in OFBIZ?

2010-01-19 Thread Chris Snow
if you want to have an axis2 service running in ofbiz, this may help: 
http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=9798255


MarioF wrote:

Hi all,

I need that OFBIZ can manage some Axis2 services. In one of them ofbiz has
to change the statusId of some orderId. I have made this change in java
code, but I am not sure how to make an axis2 service.

I think that I have to do the following:

- Make a service in service.xml with export=true and
location=the.java.package
- Run always this service in ofbiz. (Applications -- Webtools -- Run
Service).

Is that true? Have I to make something more?

Thanks in advance,
Mario.
  




Re: Axis2 service in OFBIZ?

2010-01-19 Thread Jacques Le Roux

Look for SOAP in FAQ

Jacques

From: MarioF oceanoart...@gmail.com


Hi all,

I need that OFBIZ can manage some Axis2 services. In one of them ofbiz has
to change the statusId of some orderId. I have made this change in java
code, but I am not sure how to make an axis2 service.

I think that I have to do the following:

- Make a service in service.xml with export=true and
location=the.java.package
- Run always this service in ofbiz. (Applications -- Webtools -- Run
Service).

Is that true? Have I to make something more?

Thanks in advance,
Mario.
--
View this message in context: 
http://n4.nabble.com/Axis2-service-in-OFBIZ-tp1017558p1017558.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: css problem with ftl ????

2010-01-19 Thread Scott Gray
Hi Heidi

I can think of no reason why you should see differences, all I can suggest is 
that you take a diff of the html source from each and compare them for 
differences.  If they are the same then double check that the css files are 
also the same from each.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/01/2010, at 1:43 AM, Info Olagos wrote:

 Hello,
 
 I have a very strange problem.
 I can only imagine that it is dependent on the FTL.
 
 This is my page on the apache server. There is no problem. All things are
 beautiful centered.
 http://www.olagos.eu/index_d.html
 
 OK the links to the images are not ok at the moment. But you see that here
 it is loaded in the center, so that is perfect.
 
 If i load the same files from the embedded tomcat, i have a problem. It is
 to say that the container is not put in the center but at the left. The
 problem is in the word auto on the wrapper tag in the css file. This
 word auto is not recognized if i generate the html file from within a ftl
 file.
 Have a look at the result in :
 http://www.olagos.eu/ecommerce/control/main
 
 Anyone an idea on a bug on Freemarker language level. ???
 
 regards,
 Heidi



smime.p7s
Description: S/MIME cryptographic signature


how to know which tags and tag attributes are valid?

2010-01-19 Thread Patrick
I am going through the hotwax tutorial,
http://www.hotwaxmedia.com/apache-ofbiz-blog/category/ofbiz-tutorials/,
 and I just learned that order-by is a sub-tag of
entity-condition.  I also learned that order-by has attribute
field-name.  Where can I find a list of all the valid tags and
sub-tags?  Also where can I find a list of all the valid tag
attributes?  Also, I know this is a long shot, but is there anyway to
hook up OfBiz so that there is autocompletion of tags and tag
attributes?


Re: how to know which tags and tag attributes are valid?

2010-01-19 Thread Scott Gray
Hi Patrick,

The XML documents are defined by XSDs so any decent XML editor should perform 
autocompletion for you automatically.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/01/2010, at 12:17 PM, Patrick wrote:

 I am going through the hotwax tutorial,
 http://www.hotwaxmedia.com/apache-ofbiz-blog/category/ofbiz-tutorials/,
 and I just learned that order-by is a sub-tag of
 entity-condition.  I also learned that order-by has attribute
 field-name.  Where can I find a list of all the valid tags and
 sub-tags?  Also where can I find a list of all the valid tag
 attributes?  Also, I know this is a long shot, but is there anyway to
 hook up OfBiz so that there is autocompletion of tags and tag
 attributes?



smime.p7s
Description: S/MIME cryptographic signature


Re: css problem with ftl ????

2010-01-19 Thread Info Olagos
Hi Scott,

The css files are exactly the same. (copied them)
The html file is the same but generated via xml and ftl.
The css file with the ftl on the tomcat doesn't react on the auto keyword
of the margin 0px tag.
Heidi

2010/1/19 Scott Gray scott.g...@hotwaxmedia.com

 Hi Heidi

 I can think of no reason why you should see differences, all I can suggest
 is that you take a diff of the html source from each and compare them for
 differences.  If they are the same then double check that the css files are
 also the same from each.

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com

 On 19/01/2010, at 1:43 AM, Info Olagos wrote:

  Hello,
 
  I have a very strange problem.
  I can only imagine that it is dependent on the FTL.
 
  This is my page on the apache server. There is no problem. All things are
  beautiful centered.
  http://www.olagos.eu/index_d.html
 
  OK the links to the images are not ok at the moment. But you see that
 here
  it is loaded in the center, so that is perfect.
 
  If i load the same files from the embedded tomcat, i have a problem. It
 is
  to say that the container is not put in the center but at the left. The
  problem is in the word auto on the wrapper tag in the css file. This
  word auto is not recognized if i generate the html file from within a
 ftl
  file.
  Have a look at the result in :
  http://www.olagos.eu/ecommerce/control/main
 
  Anyone an idea on a bug on Freemarker language level. ???
 
  regards,
  Heidi




Re: css problem with ftl ????

2010-01-19 Thread Scott Gray
css files are interpreted by the browser, not by the server.  The only way you 
could have a different end result is if the css files or the generated html is 
different.

Regards
Scott

On 19/01/2010, at 3:20 PM, Info Olagos wrote:

 Hi Scott,
 
 The css files are exactly the same. (copied them)
 The html file is the same but generated via xml and ftl.
 The css file with the ftl on the tomcat doesn't react on the auto keyword
 of the margin 0px tag.
 Heidi
 
 2010/1/19 Scott Gray scott.g...@hotwaxmedia.com
 
 Hi Heidi
 
 I can think of no reason why you should see differences, all I can suggest
 is that you take a diff of the html source from each and compare them for
 differences.  If they are the same then double check that the css files are
 also the same from each.
 
 Regards
 Scott
 
 HotWax Media
 http://www.hotwaxmedia.com
 
 On 19/01/2010, at 1:43 AM, Info Olagos wrote:
 
 Hello,
 
 I have a very strange problem.
 I can only imagine that it is dependent on the FTL.
 
 This is my page on the apache server. There is no problem. All things are
 beautiful centered.
 http://www.olagos.eu/index_d.html
 
 OK the links to the images are not ok at the moment. But you see that
 here
 it is loaded in the center, so that is perfect.
 
 If i load the same files from the embedded tomcat, i have a problem. It
 is
 to say that the container is not put in the center but at the left. The
 problem is in the word auto on the wrapper tag in the css file. This
 word auto is not recognized if i generate the html file from within a
 ftl
 file.
 Have a look at the result in :
 http://www.olagos.eu/ecommerce/control/main
 
 Anyone an idea on a bug on Freemarker language level. ???
 
 regards,
 Heidi
 
 



smime.p7s
Description: S/MIME cryptographic signature


Re: css problem with ftl ????

2010-01-19 Thread Adrian Crum
I agree with Scott. The web server doesn't care what the content is - it 
is just sending out streams of characters. It doesn't know if it's 
sending auto margin or any other set of characters.


-Adrian

Scott Gray wrote:

css files are interpreted by the browser, not by the server.  The only way you 
could have a different end result is if the css files or the generated html is 
different.

Regards
Scott

On 19/01/2010, at 3:20 PM, Info Olagos wrote:


Hi Scott,

The css files are exactly the same. (copied them)
The html file is the same but generated via xml and ftl.
The css file with the ftl on the tomcat doesn't react on the auto keyword
of the margin 0px tag.
Heidi

2010/1/19 Scott Gray scott.g...@hotwaxmedia.com


Hi Heidi

I can think of no reason why you should see differences, all I can suggest
is that you take a diff of the html source from each and compare them for
differences.  If they are the same then double check that the css files are
also the same from each.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/01/2010, at 1:43 AM, Info Olagos wrote:


Hello,

I have a very strange problem.
I can only imagine that it is dependent on the FTL.

This is my page on the apache server. There is no problem. All things are
beautiful centered.
http://www.olagos.eu/index_d.html

OK the links to the images are not ok at the moment. But you see that

here

it is loaded in the center, so that is perfect.

If i load the same files from the embedded tomcat, i have a problem. It

is

to say that the container is not put in the center but at the left. The
problem is in the word auto on the wrapper tag in the css file. This
word auto is not recognized if i generate the html file from within a

ftl

file.
Have a look at the result in :
http://www.olagos.eu/ecommerce/control/main

Anyone an idea on a bug on Freemarker language level. ???

regards,
Heidi






Re: css problem with ftl ????

2010-01-19 Thread Matt Warnock
Scott is right.  I'd be looking at the source code *in the browser*, not
what you copied.  Save that resulting source code as an HTML file, then
diff it.

On Tue, 2010-01-19 at 15:32 -0700, Scott Gray wrote:
 css files are interpreted by the browser, not by the server.  The only way 
 you could have a different end result is if the css files or the generated 
 html is different.
 
 Regards
 Scott
 
 On 19/01/2010, at 3:20 PM, Info Olagos wrote:
 
  Hi Scott,
  
  The css files are exactly the same. (copied them)
  The html file is the same but generated via xml and ftl.
  The css file with the ftl on the tomcat doesn't react on the auto keyword
  of the margin 0px tag.
  Heidi
  
  2010/1/19 Scott Gray scott.g...@hotwaxmedia.com
  
  Hi Heidi
  
  I can think of no reason why you should see differences, all I can suggest
  is that you take a diff of the html source from each and compare them for
  differences.  If they are the same then double check that the css files are
  also the same from each.
  
  Regards
  Scott
  
  HotWax Media
  http://www.hotwaxmedia.com
  
  On 19/01/2010, at 1:43 AM, Info Olagos wrote:
  
  Hello,
  
  I have a very strange problem.
  I can only imagine that it is dependent on the FTL.
  
  This is my page on the apache server. There is no problem. All things are
  beautiful centered.
  http://www.olagos.eu/index_d.html
  
  OK the links to the images are not ok at the moment. But you see that
  here
  it is loaded in the center, so that is perfect.
  
  If i load the same files from the embedded tomcat, i have a problem. It
  is
  to say that the container is not put in the center but at the left. The
  problem is in the word auto on the wrapper tag in the css file. This
  word auto is not recognized if i generate the html file from within a
  ftl
  file.
  Have a look at the result in :
  http://www.olagos.eu/ecommerce/control/main
  
  Anyone an idea on a bug on Freemarker language level. ???
  
  regards,
  Heidi
  
  
 


-- 
Matt Warnock mwarn...@ridgecrestherbals.com
RidgeCrest Herbals, Inc.



Re: css problem with ftl ????

2010-01-19 Thread Info Olagos
Yes,

I agree with you. That is the reason that i can not understand it.
But anyway, if i put the files on the apache server, i don't have the
problem.
If i create the files via ftl on the tomcat, i have the problem and i copied
the same css file as on the apache and i see no difference in tags in the
source file of the html file.

I don't understand it at the moment

regards,
Heidi

2010/1/19 Adrian Crum adri...@hlmksw.com

 I agree with Scott. The web server doesn't care what the content is - it is
 just sending out streams of characters. It doesn't know if it's sending
 auto margin or any other set of characters.

 -Adrian


 Scott Gray wrote:

 css files are interpreted by the browser, not by the server.  The only way
 you could have a different end result is if the css files or the generated
 html is different.

 Regards
 Scott

 On 19/01/2010, at 3:20 PM, Info Olagos wrote:

 Hi Scott,

 The css files are exactly the same. (copied them)
 The html file is the same but generated via xml and ftl.
 The css file with the ftl on the tomcat doesn't react on the auto
 keyword
 of the margin 0px tag.
 Heidi

 2010/1/19 Scott Gray scott.g...@hotwaxmedia.com

 Hi Heidi

 I can think of no reason why you should see differences, all I can
 suggest
 is that you take a diff of the html source from each and compare them
 for
 differences.  If they are the same then double check that the css files
 are
 also the same from each.

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com

 On 19/01/2010, at 1:43 AM, Info Olagos wrote:

 Hello,

 I have a very strange problem.
 I can only imagine that it is dependent on the FTL.

 This is my page on the apache server. There is no problem. All things
 are
 beautiful centered.
 http://www.olagos.eu/index_d.html

 OK the links to the images are not ok at the moment. But you see that

 here

 it is loaded in the center, so that is perfect.

 If i load the same files from the embedded tomcat, i have a problem. It

 is

 to say that the container is not put in the center but at the left. The
 problem is in the word auto on the wrapper tag in the css file. This
 word auto is not recognized if i generate the html file from within a

 ftl

 file.
 Have a look at the result in :
 http://www.olagos.eu/ecommerce/control/main

 Anyone an idea on a bug on Freemarker language level. ???

 regards,
 Heidi






Re: css problem with ftl ????

2010-01-19 Thread Adrian Crum
Most likely it is something that is easily overlooked - like a missing 
semicolon or curly brace.


-Adrian


Info Olagos wrote:

Yes,

I agree with you. That is the reason that i can not understand it.
But anyway, if i put the files on the apache server, i don't have the
problem.
If i create the files via ftl on the tomcat, i have the problem and i copied
the same css file as on the apache and i see no difference in tags in the
source file of the html file.

I don't understand it at the moment

regards,
Heidi

2010/1/19 Adrian Crum adri...@hlmksw.com


I agree with Scott. The web server doesn't care what the content is - it is
just sending out streams of characters. It doesn't know if it's sending
auto margin or any other set of characters.

-Adrian


Scott Gray wrote:


css files are interpreted by the browser, not by the server.  The only way
you could have a different end result is if the css files or the generated
html is different.

Regards
Scott

On 19/01/2010, at 3:20 PM, Info Olagos wrote:

Hi Scott,

The css files are exactly the same. (copied them)
The html file is the same but generated via xml and ftl.
The css file with the ftl on the tomcat doesn't react on the auto
keyword
of the margin 0px tag.
Heidi

2010/1/19 Scott Gray scott.g...@hotwaxmedia.com

Hi Heidi

I can think of no reason why you should see differences, all I can
suggest
is that you take a diff of the html source from each and compare them
for
differences.  If they are the same then double check that the css files
are
also the same from each.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/01/2010, at 1:43 AM, Info Olagos wrote:

Hello,

I have a very strange problem.
I can only imagine that it is dependent on the FTL.

This is my page on the apache server. There is no problem. All things
are
beautiful centered.
http://www.olagos.eu/index_d.html

OK the links to the images are not ok at the moment. But you see that


here


it is loaded in the center, so that is perfect.

If i load the same files from the embedded tomcat, i have a problem. It


is


to say that the container is not put in the center but at the left. The
problem is in the word auto on the wrapper tag in the css file. This
word auto is not recognized if i generate the html file from within a


ftl


file.
Have a look at the result in :
http://www.olagos.eu/ecommerce/control/main

Anyone an idea on a bug on Freemarker language level. ???

regards,
Heidi







Re: css problem with ftl ????

2010-01-19 Thread Scott Gray
If the html is the same then the only thing I can suggest to is to make sure 
that the css file that you think is being used is actually the one that is 
being used.  Inspect the page's source code and get the css file's url from it, 
download the css file from that url and ensure that it is actually the file you 
are expecting it to be.

Regards
Scott

On 19/01/2010, at 3:50 PM, Info Olagos wrote:

 Yes,
 
 I agree with you. That is the reason that i can not understand it.
 But anyway, if i put the files on the apache server, i don't have the
 problem.
 If i create the files via ftl on the tomcat, i have the problem and i copied
 the same css file as on the apache and i see no difference in tags in the
 source file of the html file.
 
 I don't understand it at the moment
 
 regards,
 Heidi
 
 2010/1/19 Adrian Crum adri...@hlmksw.com
 
 I agree with Scott. The web server doesn't care what the content is - it is
 just sending out streams of characters. It doesn't know if it's sending
 auto margin or any other set of characters.
 
 -Adrian
 
 
 Scott Gray wrote:
 
 css files are interpreted by the browser, not by the server.  The only way
 you could have a different end result is if the css files or the generated
 html is different.
 
 Regards
 Scott
 
 On 19/01/2010, at 3:20 PM, Info Olagos wrote:
 
 Hi Scott,
 
 The css files are exactly the same. (copied them)
 The html file is the same but generated via xml and ftl.
 The css file with the ftl on the tomcat doesn't react on the auto
 keyword
 of the margin 0px tag.
 Heidi
 
 2010/1/19 Scott Gray scott.g...@hotwaxmedia.com
 
 Hi Heidi
 
 I can think of no reason why you should see differences, all I can
 suggest
 is that you take a diff of the html source from each and compare them
 for
 differences.  If they are the same then double check that the css files
 are
 also the same from each.
 
 Regards
 Scott
 
 HotWax Media
 http://www.hotwaxmedia.com
 
 On 19/01/2010, at 1:43 AM, Info Olagos wrote:
 
 Hello,
 
 I have a very strange problem.
 I can only imagine that it is dependent on the FTL.
 
 This is my page on the apache server. There is no problem. All things
 are
 beautiful centered.
 http://www.olagos.eu/index_d.html
 
 OK the links to the images are not ok at the moment. But you see that
 
 here
 
 it is loaded in the center, so that is perfect.
 
 If i load the same files from the embedded tomcat, i have a problem. It
 
 is
 
 to say that the container is not put in the center but at the left. The
 problem is in the word auto on the wrapper tag in the css file. This
 word auto is not recognized if i generate the html file from within a
 
 ftl
 
 file.
 Have a look at the result in :
 http://www.olagos.eu/ecommerce/control/main
 
 Anyone an idea on a bug on Freemarker language level. ???
 
 regards,
 Heidi
 
 
 
 



smime.p7s
Description: S/MIME cryptographic signature


Re: css problem with ftl ????

2010-01-19 Thread Info Olagos
ok Adrian and Scott,

I will investigate it further the next days.

Thanks for your ideas. It helps !

regards,
Heidi

2010/1/19 Scott Gray scott.g...@hotwaxmedia.com

 If the html is the same then the only thing I can suggest to is to make
 sure that the css file that you think is being used is actually the one that
 is being used.  Inspect the page's source code and get the css file's url
 from it, download the css file from that url and ensure that it is actually
 the file you are expecting it to be.

 Regards
 Scott

 On 19/01/2010, at 3:50 PM, Info Olagos wrote:

  Yes,
 
  I agree with you. That is the reason that i can not understand it.
  But anyway, if i put the files on the apache server, i don't have the
  problem.
  If i create the files via ftl on the tomcat, i have the problem and i
 copied
  the same css file as on the apache and i see no difference in tags in the
  source file of the html file.
 
  I don't understand it at the moment
 
  regards,
  Heidi
 
  2010/1/19 Adrian Crum adri...@hlmksw.com
 
  I agree with Scott. The web server doesn't care what the content is - it
 is
  just sending out streams of characters. It doesn't know if it's sending
  auto margin or any other set of characters.
 
  -Adrian
 
 
  Scott Gray wrote:
 
  css files are interpreted by the browser, not by the server.  The only
 way
  you could have a different end result is if the css files or the
 generated
  html is different.
 
  Regards
  Scott
 
  On 19/01/2010, at 3:20 PM, Info Olagos wrote:
 
  Hi Scott,
 
  The css files are exactly the same. (copied them)
  The html file is the same but generated via xml and ftl.
  The css file with the ftl on the tomcat doesn't react on the auto
  keyword
  of the margin 0px tag.
  Heidi
 
  2010/1/19 Scott Gray scott.g...@hotwaxmedia.com
 
  Hi Heidi
 
  I can think of no reason why you should see differences, all I can
  suggest
  is that you take a diff of the html source from each and compare them
  for
  differences.  If they are the same then double check that the css
 files
  are
  also the same from each.
 
  Regards
  Scott
 
  HotWax Media
  http://www.hotwaxmedia.com
 
  On 19/01/2010, at 1:43 AM, Info Olagos wrote:
 
  Hello,
 
  I have a very strange problem.
  I can only imagine that it is dependent on the FTL.
 
  This is my page on the apache server. There is no problem. All
 things
  are
  beautiful centered.
  http://www.olagos.eu/index_d.html
 
  OK the links to the images are not ok at the moment. But you see
 that
 
  here
 
  it is loaded in the center, so that is perfect.
 
  If i load the same files from the embedded tomcat, i have a problem.
 It
 
  is
 
  to say that the container is not put in the center but at the left.
 The
  problem is in the word auto on the wrapper tag in the css file.
 This
  word auto is not recognized if i generate the html file from
 within a
 
  ftl
 
  file.
  Have a look at the result in :
  http://www.olagos.eu/ecommerce/control/main
 
  Anyone an idea on a bug on Freemarker language level. ???
 
  regards,
  Heidi
 
 
 
 




Re: how to know which tags and tag attributes are valid?

2010-01-19 Thread Patrick
Hi Scott,
Can you recommend a good linux XML editor for this?   Thanks.
Patrick

On Tue, Jan 19, 2010 at 1:32 PM, Scott Gray scott.g...@hotwaxmedia.com wrote:
 Hi Patrick,

 The XML documents are defined by XSDs so any decent XML editor should perform 
 autocompletion for you automatically.

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com

 On 19/01/2010, at 12:17 PM, Patrick wrote:

 I am going through the hotwax tutorial,
 http://www.hotwaxmedia.com/apache-ofbiz-blog/category/ofbiz-tutorials/,
 and I just learned that order-by is a sub-tag of
 entity-condition.  I also learned that order-by has attribute
 field-name.  Where can I find a list of all the valid tags and
 sub-tags?  Also where can I find a list of all the valid tag
 attributes?  Also, I know this is a long shot, but is there anyway to
 hook up OfBiz so that there is autocompletion of tags and tag
 attributes?




Re: how to know which tags and tag attributes are valid?

2010-01-19 Thread Scott Gray
I use Eclipse for almost everything involving OFBiz.

Regards
Scott

On 19/01/2010, at 4:58 PM, Patrick wrote:

 Hi Scott,
 Can you recommend a good linux XML editor for this?   Thanks.
 Patrick
 
 On Tue, Jan 19, 2010 at 1:32 PM, Scott Gray scott.g...@hotwaxmedia.com 
 wrote:
 Hi Patrick,
 
 The XML documents are defined by XSDs so any decent XML editor should 
 perform autocompletion for you automatically.
 
 Regards
 Scott
 
 HotWax Media
 http://www.hotwaxmedia.com
 
 On 19/01/2010, at 12:17 PM, Patrick wrote:
 
 I am going through the hotwax tutorial,
 http://www.hotwaxmedia.com/apache-ofbiz-blog/category/ofbiz-tutorials/,
 and I just learned that order-by is a sub-tag of
 entity-condition.  I also learned that order-by has attribute
 field-name.  Where can I find a list of all the valid tags and
 sub-tags?  Also where can I find a list of all the valid tag
 attributes?  Also, I know this is a long shot, but is there anyway to
 hook up OfBiz so that there is autocompletion of tags and tag
 attributes?
 
 



smime.p7s
Description: S/MIME cryptographic signature


Re: how to know which tags and tag attributes are valid?

2010-01-19 Thread Adrian Crum

OFBiz and Eclipse go together like peanut butter and jelly.

-Adrian

Scott Gray wrote:

I use Eclipse for almost everything involving OFBiz.

Regards
Scott

On 19/01/2010, at 4:58 PM, Patrick wrote:


Hi Scott,
Can you recommend a good linux XML editor for this?   Thanks.
Patrick

On Tue, Jan 19, 2010 at 1:32 PM, Scott Gray scott.g...@hotwaxmedia.com wrote:

Hi Patrick,

The XML documents are defined by XSDs so any decent XML editor should perform 
autocompletion for you automatically.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/01/2010, at 12:17 PM, Patrick wrote:


I am going through the hotwax tutorial,
http://www.hotwaxmedia.com/apache-ofbiz-blog/category/ofbiz-tutorials/,
and I just learned that order-by is a sub-tag of
entity-condition.  I also learned that order-by has attribute
field-name.  Where can I find a list of all the valid tags and
sub-tags?  Also where can I find a list of all the valid tag
attributes?  Also, I know this is a long shot, but is there anyway to
hook up OfBiz so that there is autocompletion of tags and tag
attributes?






Re: how to know which tags and tag attributes are valid?

2010-01-19 Thread Patrick
Hi Scott,
Can you explain a little bit how to associate a XML file with an XSD
file?  I think I have all the relevant WTP XML utilities and editors
installed.  I'd really appreciate it.  Thanks.
Patrick

On Tue, Jan 19, 2010 at 6:01 PM, Scott Gray scott.g...@hotwaxmedia.com wrote:
 I use Eclipse for almost everything involving OFBiz.

 Regards
 Scott

 On 19/01/2010, at 4:58 PM, Patrick wrote:

 Hi Scott,
 Can you recommend a good linux XML editor for this?   Thanks.
 Patrick

 On Tue, Jan 19, 2010 at 1:32 PM, Scott Gray scott.g...@hotwaxmedia.com 
 wrote:
 Hi Patrick,

 The XML documents are defined by XSDs so any decent XML editor should 
 perform autocompletion for you automatically.

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com

 On 19/01/2010, at 12:17 PM, Patrick wrote:

 I am going through the hotwax tutorial,
 http://www.hotwaxmedia.com/apache-ofbiz-blog/category/ofbiz-tutorials/,
 and I just learned that order-by is a sub-tag of
 entity-condition.  I also learned that order-by has attribute
 field-name.  Where can I find a list of all the valid tags and
 sub-tags?  Also where can I find a list of all the valid tag
 attributes?  Also, I know this is a long shot, but is there anyway to
 hook up OfBiz so that there is autocompletion of tags and tag
 attributes?






Re: how to know which tags and tag attributes are valid?

2010-01-19 Thread Scott Gray
The association is already there in the xml files, see the 
xsi:noNamespaceSchemaLocation attribute in the root tag.  Eclipse should 
autocomplete without any further action on your part I think (it's been a long 
time since I had to setup Eclipse from scratch).

Regards
Scott

On 19/01/2010, at 5:30 PM, Patrick wrote:

 Hi Scott,
 Can you explain a little bit how to associate a XML file with an XSD
 file?  I think I have all the relevant WTP XML utilities and editors
 installed.  I'd really appreciate it.  Thanks.
 Patrick
 
 On Tue, Jan 19, 2010 at 6:01 PM, Scott Gray scott.g...@hotwaxmedia.com 
 wrote:
 I use Eclipse for almost everything involving OFBiz.
 
 Regards
 Scott
 
 On 19/01/2010, at 4:58 PM, Patrick wrote:
 
 Hi Scott,
 Can you recommend a good linux XML editor for this?   Thanks.
 Patrick
 
 On Tue, Jan 19, 2010 at 1:32 PM, Scott Gray scott.g...@hotwaxmedia.com 
 wrote:
 Hi Patrick,
 
 The XML documents are defined by XSDs so any decent XML editor should 
 perform autocompletion for you automatically.
 
 Regards
 Scott
 
 HotWax Media
 http://www.hotwaxmedia.com
 
 On 19/01/2010, at 12:17 PM, Patrick wrote:
 
 I am going through the hotwax tutorial,
 http://www.hotwaxmedia.com/apache-ofbiz-blog/category/ofbiz-tutorials/,
 and I just learned that order-by is a sub-tag of
 entity-condition.  I also learned that order-by has attribute
 field-name.  Where can I find a list of all the valid tags and
 sub-tags?  Also where can I find a list of all the valid tag
 attributes?  Also, I know this is a long shot, but is there anyway to
 hook up OfBiz so that there is autocompletion of tags and tag
 attributes?
 
 
 
 



smime.p7s
Description: S/MIME cryptographic signature


Re: css problem with ftl ????

2010-01-19 Thread Ruth Hoffman

Hi Heidi:
Here's something else you might try:
1) Edit ~images/style.css to add something that you will recognize. For 
example, change the #wrapper background to green;
2) Point your browser to http://www.olagos.eu/images/style.css and 
observe that the change is in place
3) Next, point your browser to http://localhost:80/images/style.css (or 
whatever port you are running on locally) and observe that the change is 
in place
[It should be visible from both locations. If not, then that narrows 
down the problem]
4) Go to another system and another browser and try 
http://localhost:80/images/style.css
[Again, the change should be visible in style.css using a browser to 
view the file. If not, then that narrows the problem down.]


5) Forget about trying to figure this out and center your wrapper this way:
  
#wrapper {

   width:952px;
   margin:0px auto;  -- note the use of only 1 auto
   text-align:left;
   padding:15px;
   border:1px dashed #333;
   background-color: #BBB;
   }

Hope that helps.
Ruth

Find me on the web at http://www.myofbiz.com or Google keyword myofbiz
ruth.hoff...@myofbiz.com


Adrian Crum wrote:
I agree with Scott. The web server doesn't care what the content is - 
it is just sending out streams of characters. It doesn't know if it's 
sending auto margin or any other set of characters.


-Adrian

Scott Gray wrote:
css files are interpreted by the browser, not by the server.  The 
only way you could have a different end result is if the css files or 
the generated html is different.


Regards
Scott

On 19/01/2010, at 3:20 PM, Info Olagos wrote:


Hi Scott,

The css files are exactly the same. (copied them)
The html file is the same but generated via xml and ftl.
The css file with the ftl on the tomcat doesn't react on the auto 
keyword

of the margin 0px tag.
Heidi

2010/1/19 Scott Gray scott.g...@hotwaxmedia.com


Hi Heidi

I can think of no reason why you should see differences, all I can 
suggest
is that you take a diff of the html source from each and compare 
them for
differences.  If they are the same then double check that the css 
files are

also the same from each.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/01/2010, at 1:43 AM, Info Olagos wrote:


Hello,

I have a very strange problem.
I can only imagine that it is dependent on the FTL.

This is my page on the apache server. There is no problem. All 
things are

beautiful centered.
http://www.olagos.eu/index_d.html

OK the links to the images are not ok at the moment. But you see that

here

it is loaded in the center, so that is perfect.

If i load the same files from the embedded tomcat, i have a 
problem. It

is
to say that the container is not put in the center but at the 
left. The
problem is in the word auto on the wrapper tag in the css file. 
This
word auto is not recognized if i generate the html file from 
within a

ftl

file.
Have a look at the result in :
http://www.olagos.eu/ecommerce/control/main

Anyone an idea on a bug on Freemarker language level. ???

regards,
Heidi








Re: css problem with ftl ????

2010-01-19 Thread Ruth Hoffman

oops..you don't need all that extra stuff for your #wrapper css...see below:

Ruth Hoffman wrote:
5) Forget about trying to figure this out and center your wrapper this 
way:

  #wrapper {
   width:952px;
   margin:0px auto;  -- note the use of only 1 auto
   text-align:left; 
border: none;  --- also, I use none (for border-style vs. 0 for 
width)

   background-color: #BBB;
   }

Hope that helps.
Ruth

Find me on the web at http://www.myofbiz.com or Google keyword myofbiz
ruth.hoff...@myofbiz.com


Adrian Crum wrote:
I agree with Scott. The web server doesn't care what the content is - 
it is just sending out streams of characters. It doesn't know if it's 
sending auto margin or any other set of characters.


-Adrian

Scott Gray wrote:
css files are interpreted by the browser, not by the server.  The 
only way you could have a different end result is if the css files 
or the generated html is different.


Regards
Scott

On 19/01/2010, at 3:20 PM, Info Olagos wrote:


Hi Scott,

The css files are exactly the same. (copied them)
The html file is the same but generated via xml and ftl.
The css file with the ftl on the tomcat doesn't react on the auto 
keyword

of the margin 0px tag.
Heidi

2010/1/19 Scott Gray scott.g...@hotwaxmedia.com


Hi Heidi

I can think of no reason why you should see differences, all I can 
suggest
is that you take a diff of the html source from each and compare 
them for
differences.  If they are the same then double check that the css 
files are

also the same from each.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/01/2010, at 1:43 AM, Info Olagos wrote:


Hello,

I have a very strange problem.
I can only imagine that it is dependent on the FTL.

This is my page on the apache server. There is no problem. All 
things are

beautiful centered.
http://www.olagos.eu/index_d.html

OK the links to the images are not ok at the moment. But you see 
that

here

it is loaded in the center, so that is perfect.

If i load the same files from the embedded tomcat, i have a 
problem. It

is
to say that the container is not put in the center but at the 
left. The
problem is in the word auto on the wrapper tag in the css file. 
This
word auto is not recognized if i generate the html file from 
within a

ftl

file.
Have a look at the result in :
http://www.olagos.eu/ecommerce/control/main

Anyone an idea on a bug on Freemarker language level. ???

regards,
Heidi