-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
494140e
commit 3d099e1
Showing
9 changed files
with
2,591 additions
and
0 deletions.
There are no files selected for viewing
96 changes: 96 additions & 0 deletions
96
...op-auth-web/src/test/resources/_vfs/nop/auth/pages/TestWebControl/TestWebControl.view.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<view bizObjName="NopAuthDept" x:schema="/nop/schema/xui/xview.xdef" xmlns:x="/nop/schema/xdsl.xdef" xmlns:xui="xui"> | ||
<objMeta>/nop/auth/model/NopAuthDept/NopAuthDept.xmeta</objMeta> | ||
|
||
<x:gen-extends> | ||
<view> | ||
<forms> | ||
<form id="editControls"> | ||
<c:script> | ||
const layout = _dsl_root.selectOne(xpath `forms/*[@id=='editControls']/layout`); | ||
const controls = layout.contentText().$stripedSplit('\n'); | ||
</c:script> | ||
<cells> | ||
<c:for var="control" items="${controls}"> | ||
<cell id="${control}" custom="true" domain="${control}" label="${control}Label" > | ||
|
||
</cell> | ||
</c:for> | ||
</cells> | ||
</form> | ||
</forms> | ||
</view> | ||
</x:gen-extends> | ||
|
||
<forms> | ||
<form id="editControls" submitText="@empty" editMode="edit"> | ||
<layout> | ||
tree-parent | ||
double | ||
decimal | ||
short | ||
byte | ||
int | ||
long | ||
url | ||
ascii | ||
asciiNum | ||
path | ||
phone | ||
telephone | ||
date | ||
datetime | ||
timestamp | ||
list-stelect | ||
radios | ||
enum | ||
labelProp | ||
textarea | ||
html | ||
longtext | ||
reamark | ||
tag-list | ||
image | ||
file | ||
file-list | ||
images | ||
string-array | ||
deptId | ||
boolean | ||
boolFlag | ||
pre | ||
string | ||
roleId | ||
userId | ||
password | ||
hidden | ||
xml | ||
xpl | ||
select | ||
</layout> | ||
</form> | ||
|
||
<form id="viewControls" editMode="view" x:prototype="editControls"> | ||
|
||
</form> | ||
|
||
<form id="queryControls" editMode="query" x:prototype="editControls"> | ||
|
||
</form> | ||
</forms> | ||
|
||
<pages> | ||
<simple name="edit" form="editControls"> | ||
|
||
</simple> | ||
|
||
<simple name="view" form="viewControls"> | ||
|
||
</simple> | ||
|
||
<simple name="query" form="queryControls"> | ||
|
||
</simple> | ||
</pages> | ||
</view> |
2 changes: 2 additions & 0 deletions
2
nop-auth/nop-auth-web/src/test/resources/_vfs/nop/auth/pages/TestWebControl/edit.page.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
x:gen-extends: | | ||
<web:GenPage view="TestWebControl.view.xml" page="edit" xpl:lib="/nop/web/xlib/web.xlib" /> |
2 changes: 2 additions & 0 deletions
2
nop-auth/nop-auth-web/src/test/resources/_vfs/nop/auth/pages/TestWebControl/query.page.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
x:gen-extends: | | ||
<web:GenPage view="TestWebControl.view.xml" page="query" xpl:lib="/nop/web/xlib/web.xlib" /> |
2 changes: 2 additions & 0 deletions
2
nop-auth/nop-auth-web/src/test/resources/_vfs/nop/auth/pages/TestWebControl/view.page.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
x:gen-extends: | | ||
<web:GenPage view="TestWebControl.view.xml" page="view" xpl:lib="/nop/web/xlib/web.xlib" /> |
Oops, something went wrong.