[
https://issues.apache.org/jira/browse/OFBIZ-12586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Malin updated OFBIZ-12586:
----------------------------------
Attachment: OFBIZ-12586.patch
> Add missing parameter on xsd for widget-form:on-field-event-update-area
> -----------------------------------------------------------------------
>
> Key: OFBIZ-12586
> URL: https://issues.apache.org/jira/browse/OFBIZ-12586
> Project: OFBiz
> Issue Type: Improvement
> Components: framework/widget
> Affects Versions: 18.12.06, 22.01.01, Upcoming Branch
> Reporter: Nicolas Malin
> Assignee: Nicolas Malin
> Priority: Trivial
> Attachments: OFBIZ-12586.patch
>
>
> On the widget-form.xsd definition, the element on-field-event-update-area
> haven't possibility to define some parameters.
> But on java code, the on-field-event-update-area is read like
> on-event-update-area.
> If you put some parameters on your code, your editor raise a syntax error but
> OFBiz analyse and execute it well.
> {code:java}
> <wf:field name="reload" >
> <wf:submit/>
> <wf:on-field-event-update-area event-type="click"
> area-target="ReloadIt">
> <wf:auto-parameters-service
> service-name="computeForReload" send-if-empty="false"/>
> </wf:on-field-event-update-area>
> </wf:field>
> {code}
> By the way we can synchronize the on-field-event-update-area xsd on
> on-event-update-area.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)