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('男孩 ...
随机推荐
- Loj 1003–Drunk(拓扑排序)
1003 - Drunk PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB One of my fr ...
- Hive tuning tips
1. limit Hive has a configuration property to enable sampling of source data for use with LIMIT: hiv ...
- ORA-01034: ORACLE not available如何解决
一个小小的问题,让我折腾了一个上午,下午三点彻底解决了,分享一个给大家解决方法,尽管在测试服务器上,但是经验是值得总结和分享的. ERROR:ORA-01034: ORACLE not availab ...
- ZooKeeper架构设计及其应用要点
问题导读: 1.ZooKeeper的数据模型是什么 ?2.ZooKeeper应用有哪些陷阱 ?3.每个节点(ZNode)中存储的是什么?4.一个ZNode维护了一个状态结构都包含了什么?5.ZNode ...
- 莫比乌斯反演 BZOJ 2820
莫比乌斯反演真(TMD)难学.我自看了好长时间. BZOJ 2820: YY的GCD Time Limit: 10 Sec Memory Limit: 512 MBSubmit: 1384 Sol ...
- 如何禁止 iPhone Safari video标签视频自动全屏?
最近做一个移动端微信页面项目,在微信页面中有视频播放,但是需要禁止IOS的自动全屏播放(前提必须使用video标签).如: <video id="post" autoplay ...
- 2014 Super Training #4 B Problem Arrangement --状压DP
原题:ZOJ 3777 http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3777 题意:给每个题目安排在每个位置的value ...
- Treap(树堆):随机平衡二叉树实现
本文是根据郭家宝的文章<Treap的原理及实现>写的. #include<stdio.h> #include<string.h> #include<stdli ...
- 博友的 编写高质量代码 改善java程序的151个建议
编写高质量代码 改善java程序的151个建议 http://www.cnblogs.com/selene/category/876189.html
- Android 手势识别类 ( 二 ) GestureDetector 源码浅析
前言:Android 关于手势的操作提供两种形式:一种是针对用户手指在屏幕上划出的动作而进行移动的检测,这些手势的检测通过android提供的监听器来实现:另一种是用 户手指在屏幕上滑动而形成一定的不 ...