I think this does bring up two issues. The first
being that the server should be storing and determining times in UTC, while displaying them in the local time of the client browser. I know there are scripts available to do this through javascript. The second issue is making more use of the WebUserPreference Entity. I don't believe the WebUserPreference is currently being used for anything or has been developed into anything yet. There is a slight issue with it's primary key as using UserLoginId, partyId, and webPreferenceTypeId is the same as using UserLoginId and webPreferenceTypeId since multiple partyIds cannot have the same UserLoginId. This entity would also require a value field to be of any use in settings. The only reason why I bring up the issue of webUserPreference is that you could store a userPreference override of detecting the local browser time. Not to mention development would help bolster use in things like userLogin css overrides. But again, it requires a value field to be of any use. ===============David Kunkel wrote: CJ I'm guessing you mean for the time zone data to mostly to be used in scheduling... For example: Have a local representation of the time the company planned the video conference. See the local time that an e-mail arrived. Can you expand on any other uses you've considered? Is there any way this information could be automatically obtained from the browser during the session, rather than something that would require specifically setting. If so, would we really want it added to the datamodel? Thanks On Sun, 2006-01-22 at 21:13 +0000, Charles Johnson wrote: > Perhaps i shouldn't have volunteered that suggestion as i'm not very > familiar with the ER yet. The reason i made it is that a Person can only > be unitary and other entities may span multiple time zones. > > CJ > > David E. Jones wrote: > > >Why Person? This would imply that the timezone doesn't apply to other types of parties, for example the party group type. Is that what is intended? If so, why? > > > >-David > > > > > >-----Original Message----- > > >From: "Charles Johnson"<cj at cehjohnson.uklinux.net> > > >Sent: 1/22/06 4:29:45 AM > > >To: "OFBiz Users / Usage Discussion"<users at lists.ofbiz.org> > > >Subject: Re: [OFBiz] Users - Party and Timezones > > > > > >What about joining Person to timezone? > > > > > >CJ > > > > > >David E. Jones wrote: > > > > > >> > > >> No, I think Party would actually be better than UserLogin. From a > > >> modeling perspective and considering the intent of the different > > >> entities UserLogin doesn't make much sense, unless I really mis- > > >> understand what you intend to use this for and what it would mean. > > >> The UserLogin entity is part of the security data model and the only > > >> reasons a Party would have multiple UserLogin records would be for > > >> different permission sets or to change the UserLogin but still > > >> reserve the old one for tracking/auditing purposes and such. > > >> > > >> -David > > >> > > >> > > >> On Jan 21, 2006, at 6:09 PM, Vinay Agarwal wrote: > > >> > > >>> On second thought, it may be better to associate timezone with a > > >>> UserLogin > > >>> considering a party may have users in different locations. This of > > >>> course, > > >>> assumes that a single login is used by a single user who would have a > > >>> preferred timezone. Would this be better than assigning it to a party? > > >>> > > >>> Regards, > > >>> Vinay Agarwal > > >>> > > >>> -----Original Message----- > > >>> From: users-bounces at lists.ofbiz.org [mailto:users- > > >>> bounces at lists.ofbiz.org] > > >>> On Behalf Of David E. Jones > > >>> Sent: Friday, January 20, 2006 7:11 PM > > >>> To: OFBiz Users / Usage Discussion > > >>> Subject: Re: [OFBiz] Users - Party and Timezones > > >>> > > >>> > > >>> This is a tricky one since it may be correct to say that a given > > >>> Party corresponds to a single time zone. On the other hand, I guess > > >>> it depends on what you want to do with it... it may be that having > > >>> more than one time zone would mess up what you are trying to do. In > > >>> general the time zone probably goes along best with the Postal > > >>> Address, or perhaps even the Telecom Number. If you need a single > > >>> field, or call it a "preferredTimeZone" or something along those > > >>> lines to make it clear that it isn't supposed to be the only one, > > >>> then putting it right on the Party entity is not a bad way to go. > > >>> > > >>> -David > > >>> > > >>> > > >>> On Jan 20, 2006, at 1:44 PM, Vinay Agarwal wrote: > > >>> > > >>>> Hello, > > >>>> > > >>>> My application needs timezone setting for each party. I haven't > > >>>> been able to > > >>>> find any timezone setting for the party--is there one? If not, > > >>>> what's the > > >>>> preferred way for adding it? I assume modifying the party entity is > > >>>> NOT the > > >>>> preferred way. Any suggestions? > > >>>> > > >>>> Regards, > > >>>> Vinay Agarwal > > >>>> > > >>>> _______________________________________________ > > >>>> Users mailing list > > >>>> Users at lists.ofbiz.org > > >>>> http://lists.ofbiz.org/mailman/listinfo/users > > >>> > > >>> > > >>> > > >>> _______________________________________________ > > >>> Users mailing list > > >>> Users at lists.ofbiz.org > > >>> http://lists.ofbiz.org/mailman/listinfo/users > > >>> > > >>> _______________________________________________ > > >>> Users mailing list > > >>> Users at lists.ofbiz.org > > >>> http://lists.ofbiz.org/mailman/listinfo/users > > >> > > >> > > >>------------------------------------------------------------------------ > > >> > > >> > > >>_______________________________________________ > > >>Users mailing list > > >>Users at lists.ofbiz.org > > >>http://lists.ofbiz.org/mailman/listinfo/users > > >> > > >>------------------------------------------------------------------------ > > >> > > >>No virus found in this incoming message. > > >>Checked by AVG Free Edition. > > >>Version: 7.1.375 / Virus Database: > > >> > > >> > > >> > > > > > >_______________________________________________ > > >Users mailing list > > >Users at lists.ofbiz.org > > >http://lists.ofbiz.org/mailman/listinfo/users > > > > > >_______________________________________________ > >Users mailing list > >Users at lists.ofbiz.org > >http://lists.ofbiz.org/mailman/listinfo/users > > > > > > > > > > _______________________________________________ > Users mailing list > Users at lists.ofbiz.org > http://lists.ofbiz.org/mailman/listinfo/users _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |