martin-g commented on code in PR #971:
URL: https://github.com/apache/wicket/pull/971#discussion_r1801218984
##########
wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.html:
##########
@@ -81,6 +98,40 @@
<div id="feedbackPanel">
<span wicket:id="feedback"/>
</div>
+
+ <h2 class="example-title"><wicket:message
key="FormInput.formHierarchyExample"/></h2>
+
+ <form wicket:id="parentForm" class="parent-form">
+ <h3><wicket:message key="FormInput.parentForm"/></h3>
+
+ <div class="gap-1">
+ <label for="parentText"><wicket:message
key="FormInput.parentTextLabel"/></label>
+ <input type="text" wicket:id="parentText"
id="parentText"/>
+ <input type="submit" wicket:id="parentSubmit"
wicket:message="value:FormInput.parentSubmit"/>
+ </div>
+
+ <form wicket:id="childForm" class="child-form">
+ <h3><wicket:message key="FormInput.childForm"/></h3>
+
+ <div class="gap-1">
+ <label for="childText"><wicket:message
key="FormInput.childTextLabel"/></label>
+ <input type="text" wicket:id="childText"
id="childText"/>
+ <input type="submit" wicket:id="childSubmit"
wicket:message="value:FormInput.childSubmit"/>
+ </div>
+ </form>
+ </form>
+
+ <div wicket:id="parentFormDataTable" class="parent-data-table">
+ <h3><wicket:message key="FormInput.submittedData"/></h3>
+ <div class="gap-1">
+ <wicket:message key="FormInput.parentTextLabel"/>
+ <td wicket:id="parentData"/>
Review Comment:
Why `<td>` ? There is no `<table>` around ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]