ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OFBIZ-9380) renderDateTimeField works in IE, not working with lastest Chrome
Date Fri, 26 May 2017 08:53:04 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-9380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026018#comment-16026018
] 

Deepak Dixit edited comment on OFBIZ-9380 at 5/26/17 8:53 AM:
--------------------------------------------------------------

Thanks [~chuck_kosta] for details, 
Html5 form attribute works with id, if you want to use form attribute then you need to pass
an form id.
IE does not support form attribute that why case mentioned by you working in IE only.
http://caniuse.com/#feat=form-attribute

HTML5 introduced a new form attribute that allows you to associate any orphaned form control
with any <form> element on the page
In your case you don;t need to pass formName in renderDateTime macro as you are defining the
field inside form.

I think we can make this formName field as optional parameter as this is not required in all
cases.





was (Author: deepak.dixit):
Thanks [~chuck_kosta] for details, 
Html5 form tag work with id, if you want to use form attribute then you need to pass an form
id in this. 
IE does not support form attribute that why case mentioned by you working in IE only.
http://caniuse.com/#feat=form-attribute

HTML5 introduced a new form attribute that allows you to associate any orphaned form control
with any <form> element on the page
In your case you don;t need to pass formName in renderDateTime macro as you are defining the
field inside form.

I think we can make this formName field as optional parameter as this is not required in all
cases.




> renderDateTimeField works in IE, not working with lastest Chrome
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-9380
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9380
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 14.12
>            Reporter: Chuck Kosta
>
>  {code}
>  <@htmlTemplate.renderDateTimeField ... />
> {code}
> Works correctly in IE; but in firefox and chrome, it ignores the values when sent to
an entity updating service call. The page gets refreshed with the original date.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message