You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2011/06/10 11:37:58 UTC

[jira] [Commented] (OFBIZ-4311) Call to eprecated javascript function "call_cal_notime" and "call_cal"

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

Jacques Le Roux commented on OFBIZ-4311:
----------------------------------------

I had a look but did not had eough time to fix it yet. HtmlFormRenderer is called underneath when MacroFormRenderer should be used.

If you compare with (for instance chosen by chance) 
https://localhost:8443/ordermgr/control/createCustRequestParty
It works there (ie I guess MacroFormRenderer is called)

There are few differences in the forms definitions, and I tried to apply the same without luck. 
<form name="ListPartyRelationships" type="list" list-name="partyRelationships" default-table-style="basic-table" target="updatePartyRelationship">
<form name="ListRequestRoles" type="list" use-row-submit="true" title="" list-name="custRequestParties" target="updateCustRequestParty">

I also replaced
<field name="thruDate"><date-time/></field>
by 
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-time/></field>
no luck either.

I also had a look at the calling screen, but did not find anything obvious...



> Call to eprecated javascript function "call_cal_notime" and "call_cal"
> ----------------------------------------------------------------------
>
>                 Key: OFBIZ-4311
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4311
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Priority: Minor
>
> In the method "renderDateTimeField" of HtmlFormRenderer.java, there's code which call unexist javascript "call_cal_notime" and "call_cal". 
> The affected application what I met is party. In "EditPartyRelationships" screen, the calendar icon that intends to popup a small window for datetime selection to set thruDate value is no use now.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira