Skip to content

Commit

Permalink
fixing form samples..
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Jan 29, 2017
1 parent bf5c3fa commit 904e253
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
28 changes: 21 additions & 7 deletions samples/forms/form-registration.xml
Expand Up @@ -35,23 +35,29 @@
<name>Login information</name>
<formItems list="true">
<formField>
<c:ref>name</c:ref>
<binding>
<c:path>name</c:path>
</binding>
<display>
<label>Login</label>
<help>Your login</help>
<minOccurs>1</minOccurs>
</display>
</formField>
<formField>
<c:ref>c:emailAddress</c:ref>
<binding>
<c:path>c:emailAddress</c:path>
</binding>
<display>
<label>Email Address</label>
<help>Is used to finish registration process</help>
<minOccurs>1</minOccurs>
</display>
</formField>
<formField>
<c:ref>c:credentials/password</c:ref>
<binding>
<c:path>c:credentials/password</c:path>
</binding>
<display>
<label> </label>
<help>minimal length 5, use of minimal unique characters 3,...</help>
Expand All @@ -64,14 +70,18 @@
<name>Personal information</name>
<formItems list="true">
<formField>
<c:ref>givenName</c:ref>
<binding>
<c:path>givenName</c:path>
</binding>
<display>
<label>First Name</label>
<minOccurs>1</minOccurs>
</display>
</formField>
<formField>
<c:ref>familyName</c:ref>
<binding>
<c:path>familyName</c:path>
</binding>
<display>
<label>Last Name</label>
<minOccurs>1</minOccurs>
Expand All @@ -83,13 +93,17 @@
<name>Additional information</name>
<formItems list="true">
<formField>
<c:ref>c:organization</c:ref>
<binding>
<c:path>c:organization</c:path>
</binding>
<display>
<label>Company/University</label>
</display>
</formField>
<formField>
<c:ref>c:organizationalUnit</c:ref>
<binding>
<c:path>c:organizationalUnit</c:path>
</binding>
<display>
<maxOccurs>1</maxOccurs>
</display>
Expand Down
8 changes: 6 additions & 2 deletions samples/forms/form-reset-password.xml
Expand Up @@ -32,14 +32,18 @@
</display>
<formItems list="true">
<formField>
<c:ref>name</c:ref>
<binding>
<c:path>name</c:path>
</binding>
<display>
<label>Login</label>
<minOccurs>1</minOccurs>
</display>
</formField>
<formField>
<c:ref>emailAddress</c:ref>
<binding>
<c:path>emailAddress</c:path>
</binding>
<display>
<label>Email</label>
<minOccurs>1</minOccurs>
Expand Down

0 comments on commit 904e253

Please sign in to comment.