Re: Problem with stylesheet when I change a webapp to root mount point

2008-11-22 Thread Abhishake Agarwal
I think you have to change stylesheet path in store settings and also try
changing the context prefix under website in catalog.

On Sun, Nov 23, 2008 at 6:40 AM, Vince M. Clark <[EMAIL PROTECTED]>wrote:

> In CommonScreens.xml I have the following line:
>  value="${productStore.styleSheet}" default-value="/hgl/images/ecommain.css"
> global="true"/>
>
> I have a custom component in hot-deploy called "hgl"
>
> When I mount the webapp in ofbiz-component.xml as "/hgl" everything works
> fine. However, when I change it to mount as the URL root I no longer have a
> webapp mounted as "hgl" and the style sheet isn't found.
>


Problem with stylesheet when I change a webapp to root mount point

2008-11-22 Thread Vince M. Clark
In CommonScreens.xml I have the following line: 
 

I have a custom component in hot-deploy called "hgl" 

When I mount the webapp in ofbiz-component.xml as "/hgl" everything works fine. 
However, when I change it to mount as the URL root I no longer have a webapp 
mounted as "hgl" and the style sheet isn't found. 


Re: Book on Apache OFBiz development

2008-11-22 Thread Colin Rooney
Eric DE MAULDE wrote:
> Hi,
>
> Have people bought and read this book ?
> What is your opinion ?
> My goal is to lean in order to improve or create services in trunk !
>
> Thanks
>
> Eric
>
> - Original Message - From: "Jacques Le Roux"
> <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, November 10, 2008 7:24 PM
> Subject: Re: Book on Apache OFBiz development
>
>
>> Hi all,
>>
>> Damian from Packt asked me if we were interested to receive
>> information about royalties. They will send 5% of all sales to the
>> ASF. So we have not to care about redirecting links or such, cool !
>> In the past Struts and SpamAssassin have already done the same and
>> Brian Fitzpatrick (ASF Public Relations Vice President) has been
>> involved. I will contact him soon.
>>
>> One more point : I have been asked if we would like to know about
>> individual statements that breaks down the royalty (they pay the
>> royalties on a quarterly period through PayPal to ASF). It seems to
>> me that this would be interesting from a statistic POV. I may use my
>> own address for that because we can't use private not dev or user ML
>> (since I guess there will be nominative informations) and forward to
>> private ML. What do you think ?
>>
>> I have set the links from news in main page and Wiki books page
>>
>> Jacques
>>
>> From: "Jacques Le Roux" <[EMAIL PROTECTED]>
>>> Thanks Marco,
>>>
>>> Packt Publishing propose to "donate a percentage of the money made
>>> from each book sold to the Apache foundation, in line with
>>> [their] Open Source Project Royalty program". So I will before try
>>> to know if something already at the ASF which allows to make that
>>> easy. I will also put a link from our books page on Wiki.
>>>
>>> Of course if anybody see a problem with that feel free to express
>>> yourself
>>>
>>> Jacques
>>>
>>> From: <[EMAIL PROTECTED]>
 Hi to all,

 I saw on this article
 (http://www.pr-inside.com/apache-ofbiz-development-the-beginner-s-tutorial-r894197.htm)
 that now is
 available one book on Apache OFBiz development.
 If someone want to add it to the OFBiz site news.

 Thanks
 Marco


>>>
>>
>>
>
>
Hi Eric,

I'm just starting out on the OfBiz road myself and I have got the book.

It's subtitle is "The Beginner's Tutorial" and that does describe it well.

I also invested in the documentation from HotWax which is pricey, but I
felt I was making a small monetary payment for all the great work done
to date ... in which case it does not seem like very much.

The HotWax documentation is primarily videos and they are extremely
informative, addressing every detail of the framework.  But videos are
not very useful for bed time reading :) or as a quick reference which
the book is better for.  Actually "reference" is not the correct term as
it does not list all the options for all the of different "DSL" (for
want of a better word) in the framework.  And there is a very handy
reference addressing just this with the HotWax documentation.

After watching the Hotwax videos I had found the order in which these
address the whole framework make it look quiet "easy" (or easier at
least :)) but the book approaches from the UI, then to the Services and
finally Entity engine.  I felt this made things a little more complex as
when starting with the UI you are using services & entity concepts which
you have not yet addressed.  Just my opinion though.

So as a good overview that brings all the relevant information to one
place I think the book is good, but for an exhaustive look at every
detail I found the videos great.

Colin


Re: Derby To MySQL

2008-11-22 Thread BJ Freeman
here is an explanation
http://ofbiz.apache.org/docs/entityconfig.html
if you look in the entityengine.xml
you will find the mysql you can replace the derby with.
you can export the derby with webtools then import once the mysql is
running, if you have more than the demo data.
other wise
just do
ant run-install.

Divya Nair sent the following on 11/22/2008 6:04 AM:
> Hi All,
> 
> How can the default database of derby which comes with ofbiz be ported to
> mysql ?
> This is for studying the database using ER tool
> 
> Thanks in Advance...
> 
> Regards,
> Divya
> 
> 
> 


Re: Derby To MySQL

2008-11-22 Thread Sven Wesley
Darn!!! Wrong URL in the copy buffer. :)
http://lj4newbies.blogspot.com/2008/06/setup-mysql-with-ofbiz.html


2008/11/22 Sven Wesley <[EMAIL PROTECTED]>

> Here's a well explained howto also.
> http://friendfeed.s3.amazonaws.com/9578c31cabe457a801b23c9e2d3a5f047b983226
>
> 2008/11/22 Vivek Mishra <[EMAIL PROTECTED]>
>
> A bit amendment in line 4) " jdbc-uri="jdbc:mysql://127.0.0.1"
>>
>> Kind Regards,
>> --
>> Vivek Mishra
>> - Original Message -
>> From: "Divya Nair" <[EMAIL PROTECTED]>
>> To: user@ofbiz.apache.org
>> Sent: Saturday, November 22, 2008 8:09:17 PM GMT +05:30 Chennai, Kolkata,
>> Mumbai, New Delhi
>> Subject: Re: Derby To MySQL
>>
>>
>> Thank You so much
>>
>> Divesh Dutta wrote:
>> >
>> > Hi Divya,
>> >  1)Go to framework/entity/config/entityengine.xml
>> >  2)Wherever its written datasource-name="localderby" ,you can
>> > change it to "localmysql".
>> >  3)Then go to settings of "locamysql"
>> >  4)Give jdbc-uri="jdbc:postgresql://127.0.0.1/db_name"
>> >  5)Give jdbc-username="user name of your system will come here"
>> > jdbc-password=""(leave it blank)
>> >  6) And default database will be ported to mysql
>> >
>> > Regards
>> > Divesh Dutta
>> >
>> >
>> > - Original Message -
>> > From: "Divya Nair" <[EMAIL PROTECTED]>
>> > To: user@ofbiz.apache.org
>> > Sent: Saturday, November 22, 2008 7:34:46 PM GMT +05:30 Chennai,
>> Kolkata,
>> > Mumbai, New Delhi
>> > Subject: Derby To MySQL
>> >
>> >
>> > Hi All,
>> >
>> > How can the default database of derby which comes with ofbiz be ported
>> to
>> > mysql ?
>> > This is for studying the database using ER tool
>> >
>> > Thanks in Advance...
>> >
>> > Regards,
>> > Divya
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> > http://www.nabble.com/Derby-To-MySQL-tp20636733p20636733.html
>> > Sent from the OFBiz - User mailing list archive at Nabble.com.
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Derby-To-MySQL-tp20636733p20637020.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>


Re: Derby To MySQL

2008-11-22 Thread Sven Wesley
Here's a well explained howto also.
http://friendfeed.s3.amazonaws.com/9578c31cabe457a801b23c9e2d3a5f047b983226

2008/11/22 Vivek Mishra <[EMAIL PROTECTED]>

> A bit amendment in line 4) " jdbc-uri="jdbc:mysql://127.0.0.1"
>
> Kind Regards,
> --
> Vivek Mishra
> - Original Message -
> From: "Divya Nair" <[EMAIL PROTECTED]>
> To: user@ofbiz.apache.org
> Sent: Saturday, November 22, 2008 8:09:17 PM GMT +05:30 Chennai, Kolkata,
> Mumbai, New Delhi
> Subject: Re: Derby To MySQL
>
>
> Thank You so much
>
> Divesh Dutta wrote:
> >
> > Hi Divya,
> >  1)Go to framework/entity/config/entityengine.xml
> >  2)Wherever its written datasource-name="localderby" ,you can
> > change it to "localmysql".
> >  3)Then go to settings of "locamysql"
> >  4)Give jdbc-uri="jdbc:postgresql://127.0.0.1/db_name"
> >  5)Give jdbc-username="user name of your system will come here"
> > jdbc-password=""(leave it blank)
> >  6) And default database will be ported to mysql
> >
> > Regards
> > Divesh Dutta
> >
> >
> > - Original Message -
> > From: "Divya Nair" <[EMAIL PROTECTED]>
> > To: user@ofbiz.apache.org
> > Sent: Saturday, November 22, 2008 7:34:46 PM GMT +05:30 Chennai, Kolkata,
> > Mumbai, New Delhi
> > Subject: Derby To MySQL
> >
> >
> > Hi All,
> >
> > How can the default database of derby which comes with ofbiz be ported to
> > mysql ?
> > This is for studying the database using ER tool
> >
> > Thanks in Advance...
> >
> > Regards,
> > Divya
> >
> >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/Derby-To-MySQL-tp20636733p20636733.html
> > Sent from the OFBiz - User mailing list archive at Nabble.com.
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Derby-To-MySQL-tp20636733p20637020.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


price, configuration from virtual product to variants

2008-11-22 Thread Eric DE MAULDE
Hi,

I would like to transmit same price / configuration ... from virtual product to 
its variants,
in case of price/configuration creating, updating, deleting into the virtual 
product and updat works automatically into related variants.

Could you advise me to learn how to process ?
I have to use "service-multi",
but I don't know how to call the servive-multi with a loop on each variant 
product id !
Have I to include into the product configuration form each variant product id 
to transmit into parameters ?

Thanks for your help

Eric 

Re: Derby To MySQL

2008-11-22 Thread Vivek Mishra
A bit amendment in line 4) " jdbc-uri="jdbc:mysql://127.0.0.1"

Kind Regards,
--
Vivek Mishra
- Original Message -
From: "Divya Nair" <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Saturday, November 22, 2008 8:09:17 PM GMT +05:30 Chennai, Kolkata, 
Mumbai, New Delhi
Subject: Re: Derby To MySQL


Thank You so much

Divesh Dutta wrote:
> 
> Hi Divya,
>  1)Go to framework/entity/config/entityengine.xml
>  2)Wherever its written datasource-name="localderby" ,you can
> change it to "localmysql".
>  3)Then go to settings of "locamysql"
>  4)Give jdbc-uri="jdbc:postgresql://127.0.0.1/db_name"
>  5)Give jdbc-username="user name of your system will come here"
> jdbc-password=""(leave it blank)
>  6) And default database will be ported to mysql
> 
> Regards
> Divesh Dutta
> 
> 
> - Original Message -
> From: "Divya Nair" <[EMAIL PROTECTED]>
> To: user@ofbiz.apache.org
> Sent: Saturday, November 22, 2008 7:34:46 PM GMT +05:30 Chennai, Kolkata,
> Mumbai, New Delhi
> Subject: Derby To MySQL
> 
> 
> Hi All,
> 
> How can the default database of derby which comes with ofbiz be ported to
> mysql ?
> This is for studying the database using ER tool
> 
> Thanks in Advance...
> 
> Regards,
> Divya
> 
> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Derby-To-MySQL-tp20636733p20636733.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Derby-To-MySQL-tp20636733p20637020.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Derby To MySQL

2008-11-22 Thread Divya Nair

Thank You so much

Divesh Dutta wrote:
> 
> Hi Divya,
>  1)Go to framework/entity/config/entityengine.xml
>  2)Wherever its written datasource-name="localderby" ,you can
> change it to "localmysql".
>  3)Then go to settings of "locamysql"
>  4)Give jdbc-uri="jdbc:postgresql://127.0.0.1/db_name"
>  5)Give jdbc-username="user name of your system will come here"
> jdbc-password=""(leave it blank)
>  6) And default database will be ported to mysql
> 
> Regards
> Divesh Dutta
> 
> 
> - Original Message -
> From: "Divya Nair" <[EMAIL PROTECTED]>
> To: user@ofbiz.apache.org
> Sent: Saturday, November 22, 2008 7:34:46 PM GMT +05:30 Chennai, Kolkata,
> Mumbai, New Delhi
> Subject: Derby To MySQL
> 
> 
> Hi All,
> 
> How can the default database of derby which comes with ofbiz be ported to
> mysql ?
> This is for studying the database using ER tool
> 
> Thanks in Advance...
> 
> Regards,
> Divya
> 
> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Derby-To-MySQL-tp20636733p20636733.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Derby-To-MySQL-tp20636733p20637020.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Derby To MySQL

2008-11-22 Thread Vivek Mishra
Hi Divya,
For this you need to do some changes in entityengine.xml file of OFBiz.

Kind Rigards,
--
Vivke Mishra
- Original Message -
From: "Hans Bakker" <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Saturday, November 22, 2008 7:46:01 PM GMT +05:30 Chennai, Kolkata, 
Mumbai, New Delhi
Subject: Re: Derby To MySQL

You will be surprised!

The ER tool is build-ingo to webtools and then select 'entity
reference

enjoy!

Regards
Hans

On Sat, 2008-11-22 at 06:04 -0800, Divya Nair wrote:
> Hi All,
> 
> How can the default database of derby which comes with ofbiz be ported to
> mysql ?
> This is for studying the database using ER tool
> 
> Thanks in Advance...
> 
> Regards,
> Divya
> 
> 
> 
-- 
Antwebsystems.com: Quality OFBiz services for competitive prices



Re: Derby To MySQL

2008-11-22 Thread Divesh Dutta
Hi Divya,
 1)Go to framework/entity/config/entityengine.xml
 2)Wherever its written datasource-name="localderby" ,you can change it 
to "localmysql".
 3)Then go to settings of "locamysql"
 4)Give jdbc-uri="jdbc:postgresql://127.0.0.1/db_name"
 5)Give jdbc-username="user name of your system will come here"
jdbc-password=""(leave it blank)
 6) And default database will be ported to mysql

Regards
Divesh Dutta


- Original Message -
From: "Divya Nair" <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Saturday, November 22, 2008 7:34:46 PM GMT +05:30 Chennai, Kolkata, 
Mumbai, New Delhi
Subject: Derby To MySQL


Hi All,

How can the default database of derby which comes with ofbiz be ported to
mysql ?
This is for studying the database using ER tool

Thanks in Advance...

Regards,
Divya



-- 
View this message in context: 
http://www.nabble.com/Derby-To-MySQL-tp20636733p20636733.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Derby To MySQL

2008-11-22 Thread Hans Bakker
You will be surprised!

The ER tool is build-ingo to webtools and then select 'entity
reference

enjoy!

Regards
Hans

On Sat, 2008-11-22 at 06:04 -0800, Divya Nair wrote:
> Hi All,
> 
> How can the default database of derby which comes with ofbiz be ported to
> mysql ?
> This is for studying the database using ER tool
> 
> Thanks in Advance...
> 
> Regards,
> Divya
> 
> 
> 
-- 
Antwebsystems.com: Quality OFBiz services for competitive prices



Derby To MySQL

2008-11-22 Thread Divya Nair

Hi All,

How can the default database of derby which comes with ofbiz be ported to
mysql ?
This is for studying the database using ER tool

Thanks in Advance...

Regards,
Divya



-- 
View this message in context: 
http://www.nabble.com/Derby-To-MySQL-tp20636733p20636733.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Book on Apache OFBiz development

2008-11-22 Thread Eric DE MAULDE

Hi,

Have people bought and read this book ?
What is your opinion ?
My goal is to lean in order to improve or create services in trunk !

Thanks

Eric

- Original Message - 
From: "Jacques Le Roux" <[EMAIL PROTECTED]>

To: 
Sent: Monday, November 10, 2008 7:24 PM
Subject: Re: Book on Apache OFBiz development



Hi all,

Damian from Packt asked me if we were interested to receive information 
about royalties. They will send 5% of all sales to the ASF. So we have not 
to care about redirecting links or such, cool !
In the past Struts and SpamAssassin have already done the same and Brian 
Fitzpatrick (ASF Public Relations Vice President) has been involved. I 
will contact him soon.


One more point : I have been asked if we would like to know about 
individual statements that breaks down the royalty (they pay the royalties 
on a quarterly period through PayPal to ASF). It seems to me that this 
would be interesting from a statistic POV. I may use my own address for 
that because we can't use private not dev or user ML (since I guess there 
will be nominative informations) and forward to private ML. What do you 
think ?


I have set the links from news in main page and Wiki books page

Jacques

From: "Jacques Le Roux" <[EMAIL PROTECTED]>

Thanks Marco,

Packt Publishing propose to "donate a percentage of the money made from 
each book sold to the Apache foundation, in line with
[their] Open Source Project Royalty program". So I will before try to 
know if something already at the ASF which allows to make that

easy. I will also put a link from our books page on Wiki.

Of course if anybody see a problem with that feel free to express 
yourself


Jacques

From: <[EMAIL PROTECTED]>

Hi to all,

I saw on this article 
(http://www.pr-inside.com/apache-ofbiz-development-the-beginner-s-tutorial-r894197.htm) 
that now is

available one book on Apache OFBiz development.
If someone want to add it to the OFBiz site news.

Thanks
Marco











Re: ProductConfig entity

2008-11-22 Thread BJ Freeman
http://demo.hotwaxmedia.com/ecommerce/control/product?product_id=PC001
is the configured product you looking at.
here is the actual config page for what you are looking at
https://demo.hotwaxmedia.com/catalog/control/EditProductConfigs?productId=PC001



Divesh Dutta sent the following on 11/22/2008 1:55 AM:
> Hello all,
>   I was reviewing democonfigurator.xml of ecommerce.In ProductConfig 
> entity, configTypeId="QUESTION" is given.What is the use of this field? Is it 
> mandatory to mention it?
> 
> Regards
> Divesh Dutta
> 
> 
> 


Re: DERBY Database

2008-11-22 Thread Divesh Dutta
Hi Divya,
 Derby jdbc driver is in framework/entity/lib/jdbc/derby.jar and 
database physically located in runtime/data/derby/[db_name].
If this is not what you need then please explain your question in brief.

Regards
Divesh Dutta


- Original Message -
From: "Divya Nair" <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Saturday, November 22, 2008 4:05:12 PM GMT +05:30 Chennai, Kolkata, 
Mumbai, New Delhi
Subject: DERBY Database


Hi All,

Can somebody tell me about where is Derby Database file physically
located??
Basically I wanted to see the ER Diagram of this database through third
party softwares like Eclipse,Aquafold etc...

Thanks in Advance!!!

Regards,
Divya
-- 
View this message in context: 
http://www.nabble.com/DERBY-Database-tp20635043p20635043.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



DERBY Database

2008-11-22 Thread Divya Nair

Hi All,

Can somebody tell me about where is Derby Database file physically
located??
Basically I wanted to see the ER Diagram of this database through third
party softwares like Eclipse,Aquafold etc...

Thanks in Advance!!!

Regards,
Divya
-- 
View this message in context: 
http://www.nabble.com/DERBY-Database-tp20635043p20635043.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



ProductConfig entity

2008-11-22 Thread Divesh Dutta
Hello all,
  I was reviewing democonfigurator.xml of ecommerce.In ProductConfig 
entity, configTypeId="QUESTION" is given.What is the use of this field? Is it 
mandatory to mention it?

Regards
Divesh Dutta