every web appl has a 'websiteId' in the seed data why?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

every web appl has a 'websiteId' in the seed data why?

Hans Bakker
We are now using the content part of the system more and more and are
wondering why every webapp has its website?

I deleted in webtools the website for accounting and everything seems to
be still working ok.

If there are no good reasons to keep it i would like to suggest to
remove all these websites except for cmssite, WebStore and WebStoreClone
and move these to the demo data.

regards,
Hans

--
http://www.antwebsystems.com :
Quality OFBiz support for competitive rates....

Reply | Threaded
Open this post in threaded view
|

Re: every web appl has a 'websiteId' in the seed data why?

BJ Freeman
    <WebSite webSiteId="MARKETING" siteName="Marketing Manager"
visualThemeSetId="BACKOFFICE"/>


Hans Bakker sent the following on 8/1/2011 8:38 PM:

> We are now using the content part of the system more and more and are
> wondering why every webapp has its website?
>
> I deleted in webtools the website for accounting and everything seems to
> be still working ok.
>
> If there are no good reasons to keep it i would like to suggest to
> remove all these websites except for cmssite, WebStore and WebStoreClone
> and move these to the demo data.
>
> regards,
> Hans
>
Reply | Threaded
Open this post in threaded view
|

Re: every web appl has a 'websiteId' in the seed data why?

hans_bakker
We have a default theme in general.properties so website record not
mandatory?

On Mon, 2011-08-01 at 22:19 -0700, BJ Freeman wrote:

> <WebSite webSiteId="MARKETING" siteName="Marketing Manager"
> visualThemeSetId="BACKOFFICE"/>
>
>
> Hans Bakker sent the following on 8/1/2011 8:38 PM:
> > We are now using the content part of the system more and more and are
> > wondering why every webapp has its website?
> >
> > I deleted in webtools the website for accounting and everything seems to
> > be still working ok.
> >
> > If there are no good reasons to keep it i would like to suggest to
> > remove all these websites except for cmssite, WebStore and WebStoreClone
> > and move these to the demo data.
> >
> > regards,
> > Hans
> >

--
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.

Reply | Threaded
Open this post in threaded view
|

Re: every web appl has a 'websiteId' in the seed data why?

BJ Freeman
I ask this on the Dev a few months ago, Erwan de FERRIERES told me this
is why.
I am assuming that in a tenant mode this adds more flexibility.

Hans Bakker sent the following on 8/1/2011 10:52 PM:

> We have a default theme in general.properties so website record not
> mandatory?
>
> On Mon, 2011-08-01 at 22:19 -0700, BJ Freeman wrote:
>> <WebSite webSiteId="MARKETING" siteName="Marketing Manager"
>> visualThemeSetId="BACKOFFICE"/>
>>
>>
>> Hans Bakker sent the following on 8/1/2011 8:38 PM:
>>> We are now using the content part of the system more and more and are
>>> wondering why every webapp has its website?
>>>
>>> I deleted in webtools the website for accounting and everything seems to
>>> be still working ok.
>>>
>>> If there are no good reasons to keep it i would like to suggest to
>>> remove all these websites except for cmssite, WebStore and WebStoreClone
>>> and move these to the demo data.
>>>
>>> regards,
>>> Hans
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: every web appl has a 'websiteId' in the seed data why?

hans_bakker
I looked in the emaillist history and the only reason that came up is
the definition of the theme. (i missed that thread)

However,
most webapps are backend applications which can use the general
properties file when the website record is missing.

The reason i want it removed is that in a production environment the
website list is pretty long so it is difficult to find a website which
is really used.

Therefore my proposal to remove the website records for all back end
webapplications and the trunk front end should be demo data.

Regards,
Hans


On Tue, 2011-08-02 at 00:11 -0700, BJ Freeman wrote:

> I ask this on the Dev a few months ago, Erwan de FERRIERES told me this
> is why.
> I am assuming that in a tenant mode this adds more flexibility.
>
> Hans Bakker sent the following on 8/1/2011 10:52 PM:
> > We have a default theme in general.properties so website record not
> > mandatory?
> >
> > On Mon, 2011-08-01 at 22:19 -0700, BJ Freeman wrote:
> >> <WebSite webSiteId="MARKETING" siteName="Marketing Manager"
> >> visualThemeSetId="BACKOFFICE"/>
> >>
> >>
> >> Hans Bakker sent the following on 8/1/2011 8:38 PM:
> >>> We are now using the content part of the system more and more and are
> >>> wondering why every webapp has its website?
> >>>
> >>> I deleted in webtools the website for accounting and everything seems to
> >>> be still working ok.
> >>>
> >>> If there are no good reasons to keep it i would like to suggest to
> >>> remove all these websites except for cmssite, WebStore and WebStoreClone
> >>> and move these to the demo data.
> >>>
> >>> regards,
> >>> Hans
> >>>
> >

--
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.

Reply | Threaded
Open this post in threaded view
|

Re: every web appl has a 'websiteId' in the seed data why?

Malin Nicolas
I have the same opinion. The website data are useful for theme with
tenant but not on seed data.

Nicolas

Le 02/08/2011 09:19, Hans Bakker a écrit :

> I looked in the emaillist history and the only reason that came up is
> the definition of the theme. (i missed that thread)
>
> However,
> most webapps are backend applications which can use the general
> properties file when the website record is missing.
>
> The reason i want it removed is that in a production environment the
> website list is pretty long so it is difficult to find a website which
> is really used.
>
> Therefore my proposal to remove the website records for all back end
> webapplications and the trunk front end should be demo data.
>
> Regards,
> Hans
>
>
> On Tue, 2011-08-02 at 00:11 -0700, BJ Freeman wrote:
>> I ask this on the Dev a few months ago, Erwan de FERRIERES told me this
>> is why.
>> I am assuming that in a tenant mode this adds more flexibility.
>>
>> Hans Bakker sent the following on 8/1/2011 10:52 PM:
>>> We have a default theme in general.properties so website record not
>>> mandatory?
>>>
>>> On Mon, 2011-08-01 at 22:19 -0700, BJ Freeman wrote:
>>>> <WebSite webSiteId="MARKETING" siteName="Marketing Manager"
>>>> visualThemeSetId="BACKOFFICE"/>
>>>>
>>>>
>>>> Hans Bakker sent the following on 8/1/2011 8:38 PM:
>>>>> We are now using the content part of the system more and more and are
>>>>> wondering why every webapp has its website?
>>>>>
>>>>> I deleted in webtools the website for accounting and everything seems to
>>>>> be still working ok.
>>>>>
>>>>> If there are no good reasons to keep it i would like to suggest to
>>>>> remove all these websites except for cmssite, WebStore and WebStoreClone
>>>>> and move these to the demo data.
>>>>>
>>>>> regards,
>>>>> Hans
>>>>>


--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply | Threaded
Open this post in threaded view
|

Re: every web appl has a 'websiteId' in the seed data why?

BJ Freeman
In reply to this post by hans_bakker
I know you used the web.xml to put in virtual host, but I opted to us
the website entity for the same reason of tenants. this does not effect
the trunk, but would conflict if websites were removed in commits.

I hope what ever your doing take tenants into account.
How ever a Tenant data load would allow for both to exist.
That is where I put my tenant specific stuff.

Hans Bakker sent the following on 8/2/2011 12:19 AM:

> I looked in the emaillist history and the only reason that came up is
> the definition of the theme. (i missed that thread)
>
> However,
> most webapps are backend applications which can use the general
> properties file when the website record is missing.
>
> The reason i want it removed is that in a production environment the
> website list is pretty long so it is difficult to find a website which
> is really used.
>
> Therefore my proposal to remove the website records for all back end
> webapplications and the trunk front end should be demo data.
>
> Regards,
> Hans
>
>
> On Tue, 2011-08-02 at 00:11 -0700, BJ Freeman wrote:
>> I ask this on the Dev a few months ago, Erwan de FERRIERES told me this
>> is why.
>> I am assuming that in a tenant mode this adds more flexibility.
>>
>> Hans Bakker sent the following on 8/1/2011 10:52 PM:
>>> We have a default theme in general.properties so website record not
>>> mandatory?
>>>
>>> On Mon, 2011-08-01 at 22:19 -0700, BJ Freeman wrote:
>>>> <WebSite webSiteId="MARKETING" siteName="Marketing Manager"
>>>> visualThemeSetId="BACKOFFICE"/>
>>>>
>>>>
>>>> Hans Bakker sent the following on 8/1/2011 8:38 PM:
>>>>> We are now using the content part of the system more and more and are
>>>>> wondering why every webapp has its website?
>>>>>
>>>>> I deleted in webtools the website for accounting and everything seems to
>>>>> be still working ok.
>>>>>
>>>>> If there are no good reasons to keep it i would like to suggest to
>>>>> remove all these websites except for cmssite, WebStore and WebStoreClone
>>>>> and move these to the demo data.
>>>>>
>>>>> regards,
>>>>> Hans
>>>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: every web appl has a 'websiteId' in the seed data why?

hans_bakker
In reply to this post by hans_bakker
Ok I did some more study...

the website records are not required unless a related productStore is
required.

we even could go that far to say that the websiteId in the web.xml is
not required if the WebSite record is removed.

Further I do not see a relation between Tenant and WebSite

Nothing to do with general properties, what i said earlier, in there is
the VISUAL_THEME and not the VISUAL_THEME_SET

So let me know if somebody had any other objections removing the Website
record in all backend webapps.

Regards,
Hans

On Tue, 2011-08-02 at 14:19 +0700, Hans Bakker wrote:

> I looked in the emaillist history and the only reason that came up is
> the definition of the theme. (i missed that thread)
>
> However,
> most webapps are backend applications which can use the general
> properties file when the website record is missing.
>
> The reason i want it removed is that in a production environment the
> website list is pretty long so it is difficult to find a website which
> is really used.
>
> Therefore my proposal to remove the website records for all back end
> webapplications and the trunk front end should be demo data.
>
> Regards,
> Hans
>
>
> On Tue, 2011-08-02 at 00:11 -0700, BJ Freeman wrote:
> > I ask this on the Dev a few months ago, Erwan de FERRIERES told me this
> > is why.
> > I am assuming that in a tenant mode this adds more flexibility.
> >
> > Hans Bakker sent the following on 8/1/2011 10:52 PM:
> > > We have a default theme in general.properties so website record not
> > > mandatory?
> > >
> > > On Mon, 2011-08-01 at 22:19 -0700, BJ Freeman wrote:
> > >> <WebSite webSiteId="MARKETING" siteName="Marketing Manager"
> > >> visualThemeSetId="BACKOFFICE"/>
> > >>
> > >>
> > >> Hans Bakker sent the following on 8/1/2011 8:38 PM:
> > >>> We are now using the content part of the system more and more and are
> > >>> wondering why every webapp has its website?
> > >>>
> > >>> I deleted in webtools the website for accounting and everything seems to
> > >>> be still working ok.
> > >>>
> > >>> If there are no good reasons to keep it i would like to suggest to
> > >>> remove all these websites except for cmssite, WebStore and WebStoreClone
> > >>> and move these to the demo data.
> > >>>
> > >>> regards,
> > >>> Hans
> > >>>
> > >
>

--
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.

Reply | Threaded
Open this post in threaded view
|

Re: every web appl has a 'websiteId' in the seed data why?

Jacques Le Roux
Administrator
The websiteId in the web.xml files was a good information to have... (I mean to know that it can be used from there)

Jacques

From: "Hans Bakker" <[hidden email]>

> Ok I did some more study...
>
> the website records are not required unless a related productStore is
> required.
>
> we even could go that far to say that the websiteId in the web.xml is
> not required if the WebSite record is removed.
>
> Further I do not see a relation between Tenant and WebSite
>
> Nothing to do with general properties, what i said earlier, in there is
> the VISUAL_THEME and not the VISUAL_THEME_SET
>
> So let me know if somebody had any other objections removing the Website
> record in all backend webapps.
>
> Regards,
> Hans
>
> On Tue, 2011-08-02 at 14:19 +0700, Hans Bakker wrote:
>> I looked in the emaillist history and the only reason that came up is
>> the definition of the theme. (i missed that thread)
>>
>> However,
>> most webapps are backend applications which can use the general
>> properties file when the website record is missing.
>>
>> The reason i want it removed is that in a production environment the
>> website list is pretty long so it is difficult to find a website which
>> is really used.
>>
>> Therefore my proposal to remove the website records for all back end
>> webapplications and the trunk front end should be demo data.
>>
>> Regards,
>> Hans
>>
>>
>> On Tue, 2011-08-02 at 00:11 -0700, BJ Freeman wrote:
>> > I ask this on the Dev a few months ago, Erwan de FERRIERES told me this
>> > is why.
>> > I am assuming that in a tenant mode this adds more flexibility.
>> >
>> > Hans Bakker sent the following on 8/1/2011 10:52 PM:
>> > > We have a default theme in general.properties so website record not
>> > > mandatory?
>> > >
>> > > On Mon, 2011-08-01 at 22:19 -0700, BJ Freeman wrote:
>> > >> <WebSite webSiteId="MARKETING" siteName="Marketing Manager"
>> > >> visualThemeSetId="BACKOFFICE"/>
>> > >>
>> > >>
>> > >> Hans Bakker sent the following on 8/1/2011 8:38 PM:
>> > >>> We are now using the content part of the system more and more and are
>> > >>> wondering why every webapp has its website?
>> > >>>
>> > >>> I deleted in webtools the website for accounting and everything seems to
>> > >>> be still working ok.
>> > >>>
>> > >>> If there are no good reasons to keep it i would like to suggest to
>> > >>> remove all these websites except for cmssite, WebStore and WebStoreClone
>> > >>> and move these to the demo data.
>> > >>>
>> > >>> regards,
>> > >>> Hans
>> > >>>
>> > >
>>
>
> --
> Ofbiz on twitter: http://twitter.com/apache_ofbiz
> Myself on twitter: http://twitter.com/hansbak
> Antwebsystems.com: Quality services for competitive rates.
>

Reply | Threaded
Open this post in threaded view
|

Re: every web appl has a 'websiteId' in the seed data why?

BJ Freeman
In reply to this post by hans_bakker
in Tenant you would need a property for each tenant.
you can not change the the property default on the fly like you can
using the website.visualThemeSetId to let that happen. So the Themes
selection would not work.
I personally would like to see the visualThemeSetId moved to preferences.
it is good to have the property as default if the website has not been
added.
the WebsiteID in xml is used to find the productstore.
to try this out change the website ID and restart then go to the
ecommerce site.
for the backend the productstore is used also.




Hans Bakker sent the following on 8/2/2011 9:58 AM:

> Ok I did some more study...
>
> the website records are not required unless a related productStore is
> required.
>
> we even could go that far to say that the websiteId in the web.xml is
> not required if the WebSite record is removed.
>
> Further I do not see a relation between Tenant and WebSite
>
> Nothing to do with general properties, what i said earlier, in there is
> the VISUAL_THEME and not the VISUAL_THEME_SET
>
> So let me know if somebody had any other objections removing the Website
> record in all backend webapps.
>
> Regards,
> Hans
>
> On Tue, 2011-08-02 at 14:19 +0700, Hans Bakker wrote:
>> I looked in the emaillist history and the only reason that came up is
>> the definition of the theme. (i missed that thread)
>>
>> However,
>> most webapps are backend applications which can use the general
>> properties file when the website record is missing.
>>
>> The reason i want it removed is that in a production environment the
>> website list is pretty long so it is difficult to find a website which
>> is really used.
>>
>> Therefore my proposal to remove the website records for all back end
>> webapplications and the trunk front end should be demo data.
>>
>> Regards,
>> Hans
>>
>>
>> On Tue, 2011-08-02 at 00:11 -0700, BJ Freeman wrote:
>>> I ask this on the Dev a few months ago, Erwan de FERRIERES told me this
>>> is why.
>>> I am assuming that in a tenant mode this adds more flexibility.
>>>
>>> Hans Bakker sent the following on 8/1/2011 10:52 PM:
>>>> We have a default theme in general.properties so website record not
>>>> mandatory?
>>>>
>>>> On Mon, 2011-08-01 at 22:19 -0700, BJ Freeman wrote:
>>>>> <WebSite webSiteId="MARKETING" siteName="Marketing Manager"
>>>>> visualThemeSetId="BACKOFFICE"/>
>>>>>
>>>>>
>>>>> Hans Bakker sent the following on 8/1/2011 8:38 PM:
>>>>>> We are now using the content part of the system more and more and are
>>>>>> wondering why every webapp has its website?
>>>>>>
>>>>>> I deleted in webtools the website for accounting and everything seems to
>>>>>> be still working ok.
>>>>>>
>>>>>> If there are no good reasons to keep it i would like to suggest to
>>>>>> remove all these websites except for cmssite, WebStore and WebStoreClone
>>>>>> and move these to the demo data.
>>>>>>
>>>>>> regards,
>>>>>> Hans
>>>>>>
>>>>
>>
>