http://ofbiz.116.s1.nabble.com/JIRA-Commented-OFBIZ-838-Allow-extending-a-form-widget-from-a-different-file-with-the-same-form-name-tp172206.html
could you please help me this patch is important and so I have to move to the new jira server of simply close it ?
> Allow extending a form widget from a different file with the same form name
> ---------------------------------------------------------------------------
>
> Key: OFBIZ-838
> URL:
http://jira.undersunconsulting.com/browse/OFBIZ-838> Project: [OFBiz] Open For Business
> Type: Improvement
> Components: widget
> Versions: SVN
> Environment: Linux
> Reporter: Peter Goron
> Assignee: Jira Administrator
> Priority: Minor
> Attachments: extends-resource.patch
>
>
> With form-widget, it is not possible to extend another form with the same form-name. I agree with this behaviour when we extend a form from another one in the same file to avoid recursive definition.
> Exemple :
> FormsA.xml
> <form name="test">...</form>
> <form name="test" extends="test">...</form>
> => recursive definition
> But :
> FormsB.xml
> <form name="test" extends="test" extends-resource="FormsA.xml">...</form>
> => should work because forms are in different files
> I think this limitation is not necessary when we extend a form from another file and I've found a "TODO" comment in ModelForm.java about this problem.
> So I propose a patch to fix this small issue. I hope I've not missed some implications.
This message is automatically generated by JIRA.