[
https://issues.apache.org/jira/browse/OFBIZ-10012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270778#comment-16270778 ]
Jacques Le Roux edited comment on OFBIZ-10012 at 11/30/17 10:56 AM:
--------------------------------------------------------------------
+1 for having console message though I think we can continue with the missing lookup icon & add a message from fieldLookup.js.
Here, issue is with "LookupContent" form (check ownerContent lookup
https://demo-trunk.ofbiz.apache.org/content/control/findContent ) as it is generating form name as "form_0_lookupId" and all the renderLookup field are having "LookupContent" as form name due to which
{code}
jQuery('form[name="${formName}"]').length()
{code}
gives 0 results.
if we want checks to ensure no lookup I think it should be in either macroFormRenderer or renderLookupField.
was (Author: aditya.sharma):
+1 for having console message though I think we can continue with the missing lookup icon & add a message from fieldLookup.js.
Here, issue is with "LookupContent" form (check ownerContent lookup
https://demo-trunk.ofbiz.apache.org/content/control/findContent ) as it is generating form name as "form_0_lookupId" and all the renderLookup field are having "LookupContent" as form name due to which
jQuery('form[name="${formName}"]').length gives 0 results.
if we want checks to ensure no lookup I think it should be in either macroFormRenderer or renderLookupField.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)