You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/03/21 06:35:06 UTC

[isis] 01/02: ISIS-2877: templates: wicketId first

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 7938381ba618506596b4ed552482c2e74a7e5559
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon Mar 21 07:05:32 2022 +0100

    ISIS-2877: templates: wicketId first
---
 .../scalars/ScalarPanelFormFieldAbstract.html       | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/ScalarPanelFormFieldAbstract.html b/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/ScalarPanelFormFieldAbstract.html
index fd95827..56cf08c 100644
--- a/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/ScalarPanelFormFieldAbstract.html
+++ b/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/ScalarPanelFormFieldAbstract.html
@@ -22,20 +22,21 @@
 	xmlns:wicket="http://wicket.apache.org" xml:lang="en" lang="en">
 <body>
 	<wicket:panel>
-		<div class="scalarNameAndValueComponentType"
-			wicket:id="scalarTypeContainer">
+		<div wicket:id="scalarTypeContainer"
+			class="scalarNameAndValueComponentType">
 
 			<div class="form-group" wicket:id="scalarIfRegular">
 
-				<label class="scalarName col-form-label" wicket:id="scalarName">[Label text]</label> 
+				<label wicket:id="scalarName"
+					class="scalarName col-form-label">[Label text]</label> 
 				<span class="scalarValueWrapper">
 					<div class="scalarPlaceholder">
 						<span class="scalarValueInput"> 
 							<span class="editing">
 
-								<a href="##" name="scalarValueInlinePromptLink"
-									class="scalarValueInlinePromptLink"
-									wicket:id="scalarValueInlinePromptLink">
+								<a wicket:id="scalarValueInlinePromptLink"
+									href="##" name="scalarValueInlinePromptLink"
+									class="scalarValueInlinePromptLink">
 									
 									<!-- populated from fragments --> 
 									<wicket:container 
@@ -54,8 +55,8 @@
 										  
 							</span>
 						</span> 
-						<span class="associatedActionLinksRight"
-							wicket:id="associatedActionLinksRight">[drop down]</span>
+						<span wicket:id="associatedActionLinksRight"
+							class="associatedActionLinksRight">[drop down]</span>
 					</div> 
 					<span wicket:id="feedback" class="form-text"/> 
 					<span wicket:id="associatedActionLinksBelow"/>
@@ -63,8 +64,8 @@
 				<div class="clearfix"/>
 			</div>
 
-			<div class="inlinePromptForm"
-				wicket:id="scalarIfRegularInlinePromptForm">
+			<div wicket:id="scalarIfRegularInlinePromptForm"
+				class="inlinePromptForm">
 				<div>
 					<span>[property edit form]</span>
 				</div>