1 Drop-down Form:
1.1 Option Value hardcode:
<field name="monthSelected" title="${uiLabelMap.monthSelected}" widget-style="inputBox">
<drop-down allow-empty="false">
&nbs ...
- 14:12
- 浏览 (109)
- 评论 (0)
- 分类: Open For Business (OFbiz)
一、ofbiz 用自身数据库安装
1. 由 binary 安装:
由 binary 安装非常简单, 以下是安装方法:
下载ofbiz-2.0-beta1-complete.tar.gz, 注意不是ofbiz-2.0-beta1.tar.gz.
tar xvzf ofbiz-2.0.beta1-complete.tar.gz
cd tomcat/bin
./ofbiz.sh start
galeon http://localhost:8080/webtools
2. 由 CVS 安装:
由 CVS 安装要稍微复杂一些. 由于 ofbiz 的更新非常快, 所以由 CVS 安装将获得最新功 ...
- 16:32
- 浏览 (174)
- 评论 (0)
- 分类: Open For Business (OFbiz)
工具类主要在包org.ofbiz.core.util中。
1、 属性文件访问工具类:UtilProperties。
2、 Map、List对象操作工具类:UtilMisc。
3、 UtilFormatOut :通用格式化输出工具类(主要用在 Jsp文件或View Helper中)。
4、 UtilURL:得到文件流的URL地址类。
5、 UtilCache:缓存管理类。
6、 UtilValidate:通用数据输入输出数据校验(合法性和有效性)类,可任意扩展。.
7、 UtilDateTime:java.util.Date和java.sql.Date格式的日期/时间处理类。
8 ...
- 16:26
- 浏览 (94)
- 评论 (0)
- 分类: Open For Business (OFbiz)
从网上找来的一篇仁兄的文章。。。借来引用下。放到了我的lib当中,描述了一些一周之内的日期查询的一些相关code。。
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
public class WeekUtil {
public static int getWeekOfYear(Date date) {
Calendar c = new GregorianCalendar();
c.setFirstDayOfWeek(Calendar.MONDAY);
c.s ...
- 13:11
- 浏览 (117)
- 评论 (0)
- 分类: Open For Business (OFbiz)







评论排行榜