You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Nicolas Malin (Jira)" <ji...@apache.org> on 2022/03/03 08:45:00 UTC
[jira] [Created] (OFBIZ-12586) Add missing parameter on xsd for widget-form:on-field-event-update-area
Nicolas Malin created OFBIZ-12586:
-------------------------------------
Summary: 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
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)