[jira] [Commented] (OFBIZ-9146) Refactor forms in Example

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9146) Refactor forms in Example

Nicolas Malin (Jira)

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

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

OK I could answer myself: the grid stuff is incomplete. It lacks an include-grid inside field. This is what you get when you try:
{code}
2016-12-18 17:03:03,115 |http-nio-8443-exec-2 |FieldInfo                     |E| Error rendering form named [ExampleFeaturesInLine] at location [component://example/widget/example/ExampleForms.xml]:
java.lang.NullPointerException
        at org.apache.ofbiz.widget.model.FormFactory.createModelForm(FormFactory.java:134) ~[ofbiz.jar:?]
{code}


> Refactor forms in Example
> -------------------------
>
>                 Key: OFBIZ-9146
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9146
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/example
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>              Labels: refactoring, widget
>         Attachments: OFBIZ-9146-example-grid.patch
>
>
> Refactoring form definitions with type='single'
> Refactoring various lists forms into grids.
> Refactoring various list form references in screen widgets into grid references



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