`

Ofbiz知识点记载

阅读更多
  1. 定义实体Entity的时候查看数据库所支持的数据类型可参考以下目录中内容
    写道
    framework/entity/fieldtype
     
  2. 对form排序的时候如果要倒序,可在排序字段前加横杠
    <field-map field-name="orderBy" value="-id"/>
     
  3. 传参时使用from-field和value的一点小区别
    <parameter param-name="batchNoId" value="${inputCtx.batchNoId}"/>
     这种方式当参数为空时传递的是""空字符串
    <parameter param-name="batchNoId" from-field="inputCtx.batchNoId"/>
     这种方式当参数为空时传递的是"null"字符串
  4. java中获取全局变量
    Map<String, Object> globalCtx = UtilGenerics.checkMap(context.get("globalContext"));
  5. Entity中去除create_stamp和create_tx_stamp
    <entity entity-name="entityName" table="table_name" no-auto-stamp="true">  
     
  6. sdfsdf
  1. {uiLabelMap.CommonAdd}

    "><submit button-type="button" confirm="$

    {uiLabelMap.CommonConfirm}

    "/></field>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics