Posted by
Nicolas Malin (Jira) on
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-3920-HtmlFromRederer-with-attribute-skip-start-lookup-fields-are-broken-tp2525270p2540007.html
[
https://issues.apache.org/jira/browse/OFBIZ-3920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909624#action_12909624 ]
Nicolas Malin commented on OFBIZ-3920:
--------------------------------------
Ho sorry for duplication jira.
I think you right, it's the same problem, I recreate my patcch to correct both issue.
thx
Nicolas
> HtmlFormRenderer : with attribute skip-start, lookup fields are broken
> ----------------------------------------------------------------------
>
> Key: OFBIZ-3920
> URL:
https://issues.apache.org/jira/browse/OFBIZ-3920> Project: OFBiz
> Issue Type: Bug
> Affects Versions: SVN trunk
> Reporter: Nicolas Malin
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: skipStartWithLookup.patch
>
>
> When you want to merge to form and use skip-start="true" on the second form, all contained lookup are broken. In this case, the javascript used to call Lookup screen are using the form name eg : '<a href="javascript:call_fieldlookupLayer( document.form2.lookupfield, 'Tagert', ...)', but with skip-start, the form name isn't present.
> A possible solution is to force lookup field id, but it's not managed on htmlFormMacroLibrary.ftl. I will submit a patch to make this possible.
> I don't manage problem on descriptionField, this would need to change ModelFormRender and it's a little bit more complicated ;)
> Nicolas
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.