Moqui学习Day2
用户 本地化 消息和日志门面








<subscreens-item name="Toturial" location="component://tutorial/screen/tutorial.xml"
menu-title="Toturial" menu-index="1"/>
<entity-facade-xml>
<SubscreensItem screenLocation="component://webroot/screen/webroot/app.xml"
subscreenName="tutorial" userGroupId="ALL_USERS"
subscreenLocation="component://tutorial/screen/tutorial.xml"
menuTitle="Dutorial" menuIndex="2" menuInclude="Y"
/>
</entity-facade-xml>
<screen require-authentication="false">
<widgets>
<label type="hi" text="hello world"/>
<render-mode>
<text type="html" location="component://tutorial/screen/hello.html">
</text>
</render-mode>
</widgets>
</screen>
<entities>
<entity entity-name="Tutorial" package-name="tutorial">
<field name="tutorialId" type="id" is-pk="true"/>
<field name="description" type="text-long"/>
</entity>
</entities>
<entity-facade-xml type="seed">
<Tutorial tutorialId="TestOne" description="Test one description"/>
<Tutorial tutorialId="TestTwo" description="Test two description"/>
</entity-facade-xml>
<screen require-authentication="anonymous-view">
<transition name="findTutorial">
<default-response url="."/>
</transition>
<action>
<entity-find entity-name="Tutorial" list="tutorialList">
<search-form-inputs/>
</entity-find>
</action>
<widgets>
<form-list name="ListTutorials" list="tutorialList"
transition="findTutorial"
>
<auto-fields-entity entity-name="Tutorial" field-type="find-display"/>
</form-list>
</widgets>
</screen>
<form-list name="ListTutorials" list="tutorialList"
transition="findTutorial">
<auto-fields-entity entity-name="Tutorial" field-type="find-display"/>
<field name="description">
<header-field show-order-by="true">
<text-find find-options="true"/>
</header-field>
<default-field>
<display/>
</default-field>
</field>
</form-list>
Moqui学习Day2的更多相关文章
- NodeJS学习day2
今天还是接着学习IO,主要方面是文件路径相关操作 练习代码如下: const fs = require('fs') // 执行C:\CS\Node.js>node .\day2\fsRoad.j ...
- Python学习-day2
这周时间充裕,把第一周的两个作业登陆验证和三级菜单做完后又用零零散散的时间看完了第二周的课程,不得不说老男孩这个教育方式感觉还是不错的,其实说白了就是花钱找个人监督自己学习呗,而且还强行让我们养成一些 ...
- Moqui学习之代码分析mantle priceServices.xml
<?xml version="1.0" encoding="UTF-8"?> <!-- This software is in the pub ...
- Moqui学习之数据与资源
资源位置: 资源门面位置的字符串类似于URL的构成方式:协议,主机,可选端口和文件名.它支持标准的java URL协议(http https ftp jar file).同样也支持一些扩展的协议: c ...
- Moqui学习Day4
添加一个新建表单 添加一个按钮来弹出新建表单,并创建一个转换来处理输入数据操作. 在FindTutorial.xml文件中添加一个转换. <!--新增 列表 --> <transit ...
- Moqui学习Day3
添加一个新建表单 添加一个按钮来弹出新建表单,并创建一个转换来处理输入数据操作. 在FindTutorial.xml文件中添加一个转换. <!--新增 列表 --> <transit ...
- Moqui学习Day1
运行时目录以及Moqui的xml配置文件 Moqui框架部署运行主要有三个核心部分: 可执行的war包文件 运行时目录 Moqui配置文件XML格式 不管怎么使用这个可执行的war文件,你必须拥有一个 ...
- python学习day2
一.模块初识 python模块 模块让你能够有逻辑地组织你的Python代码段. 把相关的代码分配到一个 模块里能让你的代码更好用,更易懂. 模块也是Python对象,具有随机的名字属性用来绑定或引用 ...
- python全栈学习--day2
一.in的使用 说明:in有相当多的用处,比如判断,循环for 等. 实例一:in 操作符用于判断关键字是否存在于变量中 s = '男人john' print('男孩' in s) print('男孩 ...
随机推荐
- lvs realserver 配置VIP
# $# 表示提供到shell脚本或者函数的参数总数: # 1表示只有一个参数. #/bin/bash #file: tun_RS.sh if [ $# -ne 1 ]; then echo “usa ...
- 最小生成树之Kruskal算法
用Kruskal方法解决无向连通图最小生成树问题: 1所有的点初始化的时候自成一个集合 2所有的边按照权值大小,从小到大排序 3选取权值小的边加入现有集合中,且加入后必须不构成环路,加入后,记录点的祖 ...
- Ajax类库需要注意的问题
构建Ajax类库时,注意四步就可以了: 1:创建Ajax 对象 2:链接服务器 3:发送请求 4:返回响应 下面是我自己写的一个Ajax类库: function ajax(url,fnn,fai) ...
- 第22章 DLL注入和API拦截(1)
22.1 注入的一个例子(跨进程子类化窗口) ①子类化窗口可以改变窗口的行为,让发往该窗口的消息重新发到我们指定的过程来处理.但这种行为只能在本进程中(如A),对于从一个进程(如B)去子类化另一个进程 ...
- 搭建WP8开发环境
开发环境 VS2012旗舰版 遇到的问题 安装WP SDK8.0出错提示: 根据当前系统时钟或签名文件中的时间戳验证时要求的证书不在有效期内 解决办法 方法一:把操作系统的时间日期调整到系统的安装日期 ...
- Unity抗锯齿
Unity抗锯齿设置是针对模型,对模型的阴影的锯齿设置无效,不知道我这样的理解是否正确. 遇到的问题 而我是要对灯光照射在模型上产生的阴影进行抗锯齿,暂时还未研究出解决方案,希望知道的朋友告知一声. ...
- View (二) 自定义属性 自定义属性的格式详解
自定义属性格式一共有十种: 1. reference:参考某一资源ID. 2. color:颜色值. 3. boolean:布尔值. 4. dimension:尺寸值. 5. float:浮点值. 6 ...
- iOS开发——网络编程Swift篇&Alamofire详解
Alamofire详解 预览图 Swift Alamofire 简介 Alamofire是 Swift 语言的 HTTP 网络开发工具包,相当于Swift实现AFNetworking版本. 当然,AF ...
- poj 1050 To the Max
To the Max Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 45906 Accepted: 24276 Desc ...
- Css 特殊或不常用属性
1. -webkit-font-smoothing: antialiased; CSS3中用于webkit引擎(如chrome)中设置字体的抗锯齿或者说光滑度的属性.有3个属性:none用于小像素的文 ...