Basic settings should be defined in general.properties like currency, decimal point and default visual scheme.
there was a value for default visual scheme in general properties but it was not working. Especially for new users (and also me) it is completely not understandable that they have to change a data file and then clean and reload the data So that is solved now and the setting is general properties is working so for me it is done now. Regards, Hans On Wed, 2009-09-30 at 18:55 +1300, Scott Gray wrote: > Stepping back a second, why do we need a setting in general.properties > when we have a database setting as seed data? > > Regards > Scott > > On 30/09/2009, at 6:38 PM, Hans Bakker wrote: > > > That is difficult because this is only true for values within the > > GLOBAL_PREFERENCES group, and when this is missing in the database, > > the > > keyvalues are unknown.. > > > > Regards, > > Hans > > > > On Wed, 2009-09-30 at 18:24 +1300, Scott Gray wrote: > >> It would probably be better to have it the other way around i.e. > >> general.properties containing the final fallback if the database > >> record is missing. > >> > >> Regards > >> Scott > >> > >> HotWax Media > >> http://www.hotwaxmedia.com > >> > >> On 30/09/2009, at 6:17 PM, Hans Bakker wrote: > >> > >>> Ok Adrian your record is back, however can now be overridden by > >>> values > >>> in general properties: committed in R820178 > >>> > >>> On Tue, 2009-09-29 at 07:46 -0700, Adrian Crum wrote: > >>>> Hans, > >>>> > >>>> The default theme is supposed to be defined in the database - > >>>> that is > >>>> part of the visual theme design. Please revert this commit. > >>>> > >>>> -Adrian > >>>> > >>>> [email protected] wrote: > >>>>> Author: hansbak > >>>>> Date: Tue Sep 29 07:07:51 2009 > >>>>> New Revision: 819845 > >>>>> > >>>>> URL: http://svn.apache.org/viewvc?rev=819845&view=rev > >>>>> Log: > >>>>> default visualthemeId already defined in general properties > >>>>> > >>>>> Modified: > >>>>> ofbiz/trunk/framework/common/data/CommonTypeData.xml > >>>>> > >>>>> Modified: ofbiz/trunk/framework/common/data/CommonTypeData.xml > >>>>> URL: > >>>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/data/CommonTypeData.xml?rev=819845&r1=819844&r2=819845&view=diff > >>>>> = > >>>>> = > >>>>> = > >>>>> = > >>>>> = > >>>>> = > >>>>> = > >>>>> = > >>>>> = > >>>>> = > >>>>> = > >>>>> = > >>>>> ================================================================== > >>>>> --- ofbiz/trunk/framework/common/data/CommonTypeData.xml > >>>>> (original) > >>>>> +++ ofbiz/trunk/framework/common/data/CommonTypeData.xml Tue Sep > >>>>> 29 07:07:51 2009 > >>>>> @@ -102,7 +102,7 @@ > >>>>> > >>>>> <!-- User preferences seed data --> > >>>>> <UserPrefGroupType userPrefGroupTypeId="GLOBAL_PREFERENCES" > >>>>> description="Global preferences"/> > >>>>> - <UserPreference userLoginId="_NA_" > >>>>> userPrefTypeId="VISUAL_THEME" > >>>>> userPrefGroupTypeId="GLOBAL_PREFERENCES" > >>>>> userPrefValue="BIZZNESS_TIME"/> > >>>>> + <!-- UserPreference userLoginId="_NA_" > >>>>> userPrefTypeId="VISUAL_THEME" > >>>>> userPrefGroupTypeId="GLOBAL_PREFERENCES" > >>>>> userPrefValue="BIZZNESS_TIME" specified in general properties! --> > >>>>> > >>>>> <!-- Visual Themes seed data --> > >>>>> <EnumerationType description="Visual Theme Resource Type > >>>>> (stylesheet, javascript file, etc)" enumTypeId="VT_RES_TYPE" > >>>>> hasTable="N"/> > >>>>> > >>>>> > >>>>> > >>> -- > >>> Antwebsystems.com: Quality OFBiz services for competitive rates > >>> > >> > > -- > > Antwebsystems.com: Quality OFBiz services for competitive rates > > > -- Antwebsystems.com: Quality OFBiz services for competitive rates
