幸せのちから

平凡的世界
看似平常实崎岖
成如容易却艰辛

eccn小组定制扩展发布

       目前已经完成了在上篇blog中提到并演示的所有功能 
       1) FreeMarker模板的应用
       2) 工具条上下位置
       3) 是否显示跳转到指定页面下拉框
       4) 是否显示表格行数
       5) 列的
           onclick        点击
           onmouseover    鼠标覆盖
           onmouseout     鼠标移出
           highlight      高亮
           。。。。。。
       感谢ECCN小组所有成员,特别是差沙和小牧。
       大家可以从Sina的免费邮箱中下载,用户名、密码: extremetable ; 如果有谁能提供比较高效、稳定的下载服务器,可与我联系或直接提供下载。              
       P.S. 由于本人最近比较忙,关于ec的咨询,如无特急情况请使用Google用户组 http://groups.google.com/group/eXtremeComponents_CN 或在本blog上留言。eccn小组的所有成员将为你解答。也欢迎你share自己的心得和成果。
    
 

posted on 2006-06-09 16:09 Lucky 阅读(4264) 评论(13)  编辑  收藏 所属分类: extremeComponents

评论

# re: eccn小组定制扩展发布 2006-06-09 17:25 江南白衣

建议使用scud的开源平台, Subversion, Web空间, Jira, Wiki,团队BLog,论坛一应齐全的说  回复  更多评论   

# re: eccn小组定制扩展发布 2006-06-09 17:45 xplucky

@江南白衣
谢谢白衣的意见,不过eccn的扩展没有十分复杂的东西,我们小组已经了使用openfans的Jira和svn,本来想把发布文件放到openfans不过由于带宽受限,放到sina邮箱也还不错。  回复  更多评论   

# re: eccn小组定制扩展发布 2006-06-22 16:55 碎石头

扩展的FreeMaker怎么使用啊,我用class文件系统不认,我编译源码又编译不过。编译时出现一堆的象下面的错误:
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : variable TOOLBAR, location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 37, column 75
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method table(int), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 37, column 9
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method tr(int), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 39, column 9
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method toolbarPaginationIcons(org.extremecomponents.table.core.TableModel), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 42, column 13
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : variable SEPARATOR, location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 46, column 47
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method td(int), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 46, column 17
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method toolbarExportIcons(org.extremecomponents.table.core.TableModel), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 51, column 13
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method trEnd(int), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 54, column 9
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method tr(int), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 56, column 9
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method trEnd(int), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 58, column 9
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method tableEnd(int), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 60, column 9
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method newline(), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 61, column 9
"HtmlViewWithoutRowsDisplayed.java": cannot find symbol; symbol : method tabs(int), location: class org.extremecomponents.contrib.table.view.HtmlViewWithoutRowsDisplayed at line 62, column 9
"HtmlViewWithExternalForm.java": cannot find symbol; symbol : method append(java.lang.String), location: class org.extremecomponents.contrib.table.view.HtmlViewWithExternalForm at line 76, column 13
"HtmlViewWithExternalForm.java": incompatible types; found : org.extremecomponents.contrib.table.view.HtmlViewWithExternalForm, required: org.extremecomponents.util.HtmlBuilder at line 80, column 16
"HtmlViewWithExternalForm.java": cannot find symbol; symbol : method getFormHiddenFields(boolean,boolean,boolean,boolean), location: interface org.extremecomponents.table.core.Registry at line 85, column 51
"HtmlViewWithExternalForm.java": cannot find symbol; symbol : method getFormHandler(), location: interface org.extremecomponents.table.core.TableModel at line 85, column 105

  回复  更多评论   

# re: eccn小组定制扩展发布 2006-07-03 17:11 yhard

我现在要做的是更新checkbox的状态,在第一次读入页面的时候,将每一列的值和一列数组进行比较,只要包含在数组中的话,checkbox的状态,就会变为checked,在用displaytag的时候,将id造型成我的对象,就可以直接读出数据进行比较,用et的话,只能通过${}来读出数据,而且还是javascript,不能直接和写在jsp上面的java变量进行比较,请问像我这样的情况还有别的方法吗?谢谢~  回复  更多评论   

# re: eccn小组定制扩展发布 2006-07-05 17:58 by

我把这个东西部署到一个myfaces工程里之后 出现了好多问题  回复  更多评论   

# re: eccn小组定制扩展发布 2006-07-05 18:06 by

我把这个东西部署到一个myfaces工程里之后 出现了好多问题
1 -- 只要不修改 log4j.properties appserver就起不来
2 -- 部署好了以后一切正常,不过extremetable.properties怎么也找不到(我 再context里已经配置了)
这是我的web.xml中的有关eccn的配置各位大虾给看看 我的msn是jiro7963@gmail.com:
<filter>
<filter-name>EncodingFilter</filter-name>
<filter-class>
org.extremecomponents.table.filter.EncodingFilter
</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>utf-8</param-value>
</init-param>
<init-param>
<param-name>ignore</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>EncodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

<filter>
<filter-name>eXtremeExport</filter-name>
<filter-class>
org.extremecomponents.table.filter.EccnExportFilter
</filter-class>
<init-param>
<param-name>responseHeadersSetBeforeDoFilter</param-name>
<param-value>true</param-value>
</init-param>
</filter>

<filter>
<filter-name>eXtremeAjax</filter-name>
<filter-class>
org.extremecomponents.table.filter.TableAjaxFilter
</filter-class>
</filter>

<filter-mapping>
<filter-name>eXtremeExport</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>

<filter-mapping>
<filter-name>eXtremeAjax</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>

<jsp-config>
<taglib>
<taglib-uri>/tld/eccn</taglib-uri>
<taglib-location>/WEB-INF/eccn.tld</taglib-location>
</taglib>
</jsp-config>
<context-param>
<param-name>extremecomponentsPreferencesLocation</param-name>
<param-value>
/org/extremecomponents/table/resource/extremetable.properties
</param-value>
</context-param>
<context-param>
<param-name>extremecomponentsMessagesLocation</param-name>
<param-value>
/org/extremecomponents/table/resource/eccnExtremetableResourceBundle
</param-value>
</context-param>
  回复  更多评论   

# re: eccn小组定制扩展发布 2006-08-05 16:02 贝隆夫人

我的不能进行过滤:
public class ExtremeTablePage
{
HashMap filterMap = new HashMap();
HashMap sortMap = new HashMap();

static public Limit getLimit(HttpServletRequest request)
{
Context context = new HttpServletRequestContext(request);
LimitFactory limitFactory = new TableLimitFactory(context);
TableLimit limit = new TableLimit(limitFactory);
return limit;
}

/**
* 将Limit中的排序信息转化为Map{columnName,升序/降序}
*/
public HashMap getSort(Limit limit)
{
if (limit != null)
{
Sort sort = limit.getSort();
if (sort != null && sort.isSorted())
{
sortMap.put(sort.getProperty(), sort.getSortOrder());
}
}
return sortMap;
}

/**
* 将Limit中的过滤信息转化为Map{字段,值}
*/
public HashMap getFilter(Limit limit)
{
if (limit != null)
{
FilterSet filterSet = limit.getFilterSet();
if (!filterSet.isFiltered() || filterSet.isCleared())
{
return filterMap;
}
Filter[] filters = filterSet.getFilters();
for (int i = 0; i < filters.length; i++)
{
if (filters[i] != null && filters[i].equals(" "))
{
filterMap.put(filters[i].getProperty(), filters[i]
.getValue());
}
}
}
return filterMap;
}
}

getFilter(Limit limit)不能取出过滤的信息 ,每次都是空的



<form id="userForm" name="" action="/selectedUsersListed.do" method="post">
<ec:table items="users" retrieveRowsCallback="limit" filterRowsCallback="default" sortRowsCallback="limit" var="user" form="userForm" action="${pageContext.request.contextPath}/list.do"
imagePath="${pageContext.request.contextPath}/images/table/*.gif" title="用户信息" width="60%" rowsDisplayed="3">
<ec:exportPdf fileName="output.pdf" tooltip="Export PDF" headerColor="black" headerBackgroundColor="#b6c2da" headerTitle="用户信息" text="PDF" />
<ec:exportXls fileName="output.xls" tooltip="Export Excel" text="XLS" />
<ec:exportCsv fileName="presidents.txt" tooltip="Export CSV" delimiter="|" />
<ec:row>
<ec:column property="userId" filterable="false" sortable="false" title="">
<input name="$$SelectDoc" type="checkbox" id="$$SelectDoc" value="${pageScope.user.userId}" />
</ec:column>
<ec:column property="userName" title="用户名" />
<ec:column property="sex" title="性别" />
<ec:column property="age" title="年龄" />
<ec:column property="email" title="Email" />
<ec:column property="favourite" title="兴趣爱好" filterCell="droplist" />
</ec:row>
</ec:table>
<input type="button" name="sel" class="button" value="List Selected Presidents" onclick="document.forms.presForm.submit();" />
</form>  回复  更多评论   

# re: eccn小组定制扩展发布 2006-09-16 16:08 CNSDF

你好!
想请问关于EC的VM模版,什么时候可以发布?
谢谢!  回复  更多评论   

# re: eccn小组定制扩展发布 2006-09-30 09:53 lzh

今天看到eccn小组提供的成果,我感触良多,你们在那里做无私的风险,难得啊.
如果我有时间,希望能加入你们小组.目前我非常需要的你们的定制扩展发布.如果你们抽得出时间,顺便发给我一份.我的email:liuzihuang@126.com
谢谢  回复  更多评论   

# re: eccn小组定制扩展发布 2006-10-25 17:27 phoenix[匿名]

邮箱里面有4封邮件,没有看到哪个是 eccn小组定制扩展!是否可以指明?  回复  更多评论   

# 本来想加入的 2007-01-29 17:36 fins

本来想加入的,后来和决定自己做了,因为大家似乎都很忙。呵呵

欢迎大家去试用一个全新的extremeComponents增强版: EC Side.
ECSide发布地址:
1.1版本: http://fins.javaeye.com/blog/51068
1.0版本: http://fins.javaeye.com/blog/40190
ECSide圈子:
http://ecside.javaeye.com/
ECSide综合讨论专用帖
http://fins.javaeye.com/blog/48723
  回复  更多评论   

# re: eccn小组定制扩展发布 2007-07-31 12:20 乖乖兔

大家好~~我的问题很简单,如何在struts action里得到我在extremecomponents.properties设定的key为table.rowsDisplayed=5,
我要得到5,怎么办?我在action里得到的总是默认值15。。。
方法是:
Preferences preferences = new TableProperties();
preferences.init(null, TableModelUtils.getPreferencesLocation(context));
String crdStr = tableId + "_" + TableConstants.CURRENT_ROWS_DISPLAYED;

int defaultRowsDisplayed = Integer.parseInt(preferences

.getPreference(PreferencesConstants.TABLE_ROWS_DISPLAYED));

if (request.getParameter(crdStr) != null) {

defaultRowsDisplayed = Integer.parseInt(request

.getParameter(crdStr));

}
System.out.println(defaultRowsDisplayed);打印出来是15而不是5,为什么。。如何做阿?我刚用这个组件,对这个不太熟悉,希望知道的给我回复,谢谢~~^_^  回复  更多评论   

# re: eccn小组定制扩展发布 2007-08-14 16:13 yuxian

有没有人做了这个扩展,让excel也能有复杂表头》。。  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航:
 
<2006年6月>
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

导航

随笔分类(125)

文章分类(5)

日本語

搜索

积分与排名

最新随笔

最新评论