ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-2282) Form Widget: skip-start breaks date-time
Date Tue, 17 Mar 2015 17:29:38 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Le Roux closed OFBIZ-2282.
----------------------------------
       Resolution: Fixed
    Fix Version/s: Upcoming Branch
                   14.12.01

I believe this has been fixed while ago. 

SinceI only tested in an environment where trunk and R14.12 are "included", I put only them
as fixed, though I believe all current living releases behave correctly.

> Form Widget: skip-start breaks date-time
> ----------------------------------------
>
>                 Key: OFBIZ-2282
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2282
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Chris Howe
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: 14.12.01, Upcoming Branch
>
>
> When a from widget has the attribute of skip-start="true", the javascript creation references
the incorrect DOM object.
> ie
> <form name="beginForm" type="single" skip-end="true>
> </form>
> <form name="middleForm" type="single" skip-start="true">
>   <field name="date"><date-time/></field>
> </form>
> will result in the creation of the following 
> javascript call:  javascript:call_cal(document.middleForm.date,'');   should instead
be:
> javascript call:  javascript:call_cal(document.beginForm.date,'');  
> or even better the super form name should be a variable.
> The second option would require an additional attribute in the form definition.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message