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

Pierre Smits commented on OFBIZ-6037:
-------------------------------------

Thanks, Adrian.

> Widget Refactoring - form extension broken
> ------------------------------------------
>
>                 Key: OFBIZ-6037
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6037
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Adrian Crum
>             Fix For: Upcoming Branch
>
>
> With current widget refactoring, the form extension is broken.
> Currently we have
> {code}
> <form name="ListAccounts" extends="listAccounts">
> {code]
> This leads to following error message in demo-trunk:
> {code}
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://marketing/widget/sfa/AccountScreens.xml#FindAccounts]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://marketing/widget/sfa/CommonScreens.xml#main-decorator]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://common/widget/CommonScreens.xml#GlobalDecorator]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://common/widget/CommonScreens.xml#FindScreenDecorator]: 
> java.lang.RuntimeException: Error rendering included form named 
> [ListAccounts] at location 
> [component://marketing/widget/sfa/forms/AccountForms.xml]: 
> java.lang.IllegalArgumentException: The form 'type' tag is missing or empty 
> on the form with the name ListAccountsjava.lang.IllegalArgumentException: The 
> form 'type' tag is missing or empty on the form with the name ListAccounts 
> (Error rendering included form named [ListAccounts] at location 
> [component://marketing/widget/sfa/forms/AccountForms.xml]: 
> java.lang.IllegalArgumentException: The form 'type' tag is missing or empty 
> on the form with the name ListAccountsjava.lang.IllegalArgumentException: The 
> form 'type' tag is missing or empty on the form with the name ListAccounts) 
> (Error rendering screen 
> [component://common/widget/CommonScreens.xml#FindScreenDecorator]: 
> java.lang.RuntimeException: Error rendering included form named 
> [ListAccounts] at location 
> [component://marketing/widget/sfa/forms/AccountForms.xml]: 
> java.lang.IllegalArgumentException: The form 'type' tag is missing or empty 
> on the form with the name ListAccounts
> {code}



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

Reply via email to