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/07/01 16:36:00 UTC
[jira] [Closed] (OFBIZ-12586) Add missing parameter on xsd for widget-form:on-field-event-update-area
[ https://issues.apache.org/jira/browse/OFBIZ-12586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Malin closed OFBIZ-12586.
---------------------------------
Fix Version/s: 22.01.01
Resolution: Done
> 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
> Fix For: 22.01.01
>
> 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.10#820010)