Yeah, probably good to put them in the common component and reuse them wherever
needed.
-David
Adrian Crum wrote:
Bilgin,
Like in many other areas of the framework, the time zone and locale are
optional. If none are supplied, the system defaults are used. So, the
happy hour promotion will still work the same.
Regarding the location of the UI artifacts, the opinion in the past has
been to put them in the common component.
-Adrian
Bilgin Ibryam wrote:
3. None of the classes take into consideration locale and time zone.
All date/time values are assumed to be in the server's time zone and
they assume a Gregorian calendar.
Hi Adrian,
I have some concerns about point 3. If you take into account the user
time zone, this may allow for example the user to change the time zone
and "hack" happy hour promotions, which also use recurrences.
Happy hour promotions are based on server time.
I also have a question: Any idea where should go recurrence screens, as
recurrence entities belongs to org.ofbiz.service.schedule package? May
be Webtools?
Bilgin