[
https://issues.apache.org/jira/browse/OFBIZ-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510735
]
Daniel MartÃnez commented on OFBIZ-1127:
----------------------------------------
The problem with the order, p.e. with the request
setOrderCurrencyAgreementShipDates
is that it does not use a service call but a direct call to a java method:
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents"
invoke="setOrderCurrencyAgreementShipDates"/>
and so it is not wrapped as a service and doesn't use simpleTypeConvert.
Searching with eclipse for <event type="java"
org.ofbiz.order.shoppingcart.ShoppingCartEvents (Order appl)
org.ofbiz.product.product.ProductSearchEvents (catalog appl)
org.ofbiz.product.product.ProductEvents (catalog appl)
org.ofbiz.manufacturing.bom.BOMHelper (manufacturing appl)
org.ofbiz.content.cms.CmsEvents (cms specialpurpose)
Also I found LoginWorker methods, org.ofbiz.webapp.event.CoreEvents,
org.ofbiz.common.CommonEvents ...
The methods that use dates/times should either made aware of the locale (and
the timezone) or be wrapped as services (if it is possible). This is quite a
work but I will be willing to do it. WDYT?
> Modify the form widget to support user locales
> ----------------------------------------------
>
> Key: OFBIZ-1127
> URL: https://issues.apache.org/jira/browse/OFBIZ-1127
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Reporter: Daniel MartÃnez
> Priority: Minor
>
> Modify the form widget to support user parametrized user locales. To support
> the local dates formats I propose a new Entity LocaleDateFormat which will
> used by the user to choose his preferred date/time format. This entity will
> have at least three columns:
> - PK
> - locale, a good list for this the CLDR (http://unicode.org/cldr/)
> - Varchar with date format , as described in javadoc of SimpleDateFormat
> Also, a parameter should be passed to the javascript calendar for it to use
> the correct format
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.