You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by re...@apache.org on 2024/03/28 19:38:28 UTC
(wicket) 01/01: [WICKET-7101] modify schema definition
This is an automated email from the ASF dual-hosted git repository.
reiern70 pushed a commit to branch reiern70/wicket-auto
in repository https://gitbox.apache.org/repos/asf/wicket.git
commit 1ab1c96b192b7c16442780e1effe64d78afdf302
Author: reiern70 <re...@gmail.com>
AuthorDate: Thu Mar 28 14:36:48 2024 -0500
[WICKET-7101] modify schema definition
---
wicket-core/src/main/resources/META-INF/wicket.xsd | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/wicket-core/src/main/resources/META-INF/wicket.xsd b/wicket-core/src/main/resources/META-INF/wicket.xsd
index a4b50f7651..ac65cf2bad 100644
--- a/wicket-core/src/main/resources/META-INF/wicket.xsd
+++ b/wicket-core/src/main/resources/META-INF/wicket.xsd
@@ -11,6 +11,7 @@
<attributeGroup name="xhtml.label.attlist">
<attributeGroup ref="xhtml.label.attlist"/>
<attribute ref="wicket:for"/>
+ <attribute ref="wicket:auto" use="optional"></attribute>
</attributeGroup>
</redefine>
@@ -102,6 +103,15 @@
</simpleType>
</attribute>
+ <attribute name="auto" type="boolean">
+ <annotation>
+ <documentation>Can be used in HTML <![CDATA[<label]]> to indicate the label will be automatically updated
+ whenever the associated form component is updated (via a partial request target, .i.e AJAX or
+ websocket request target)
+ </documentation>
+ </annotation>
+ </attribute>
+
<attribute name="message">
<annotation>
<documentation>Used on any tag that we want Wicket to provide an