幸せのちから

          平凡的世界
          看似平常實崎嶇
          成如容易卻艱辛

          eccn小組定制擴展發(fā)布

          ? ?? ? 目前已經(jīng)完成了在上篇blog中提到并演示的所有功能?
          ?? ??? 1) FreeMarker模板的應用
          ?? ??? 2) 工具條上下位置
          ?? ??? 3) 是否顯示跳轉(zhuǎn)到指定頁面下拉框
          ?? ??? 4) 是否顯示表格行數(shù)
          ?? ??? 5) 列的
          ????? ?? ? onclick ? ? ? ?點擊
          ? ? ? ???? onmouseover ? ?鼠標覆蓋
          ? ? ? ???? onmouseout ? ? 鼠標移出
          ? ? ? ???? highlight ? ? ?高亮
          ?? ??? ??? 。。。。。。
          ? ?? ? 感謝ECCN小組所有成員,特別是差沙和小牧。
          ?????? 大家可以從Sina的免費郵箱中下載,用戶名、密碼: extremetable ; 如果有誰能提供比較高效、穩(wěn)定的下載服務(wù)器,可與我聯(lián)系或直接提供下載。??????????????
          ?????? P.S. 由于本人最近比較忙,關(guān)于ec的咨詢,如無特急情況請使用Google用戶組 http://groups.google.com/group/eXtremeComponents_CN 或在本blog上留言。eccn小組的所有成員將為你解答。也歡迎你share自己的心得和成果。
          ????
          ?

          posted on 2006-06-09 16:09 Lucky 閱讀(4294) 評論(13)  編輯  收藏 所屬分類: extremeComponents

          評論

          # re: eccn小組定制擴展發(fā)布 2006-06-09 17:25 江南白衣

          建議使用scud的開源平臺, Subversion, Web空間, Jira, Wiki,團隊BLog,論壇一應齊全的說  回復  更多評論   

          # re: eccn小組定制擴展發(fā)布 2006-06-09 17:45 xplucky

          @江南白衣
          謝謝白衣的意見,不過eccn的擴展沒有十分復雜的東西,我們小組已經(jīng)了使用openfans的Jira和svn,本來想把發(fā)布文件放到openfans不過由于帶寬受限,放到sina郵箱也還不錯。  回復  更多評論   

          # re: eccn小組定制擴展發(fā)布 2006-06-22 16:55 碎石頭

          擴展的FreeMaker怎么使用啊,我用class文件系統(tǒng)不認,我編譯源碼又編譯不過。編譯時出現(xiàn)一堆的象下面的錯誤:
          "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小組定制擴展發(fā)布 2006-07-03 17:11 yhard

          我現(xiàn)在要做的是更新checkbox的狀態(tài),在第一次讀入頁面的時候,將每一列的值和一列數(shù)組進行比較,只要包含在數(shù)組中的話,checkbox的狀態(tài),就會變?yōu)閏hecked,在用displaytag的時候,將id造型成我的對象,就可以直接讀出數(shù)據(jù)進行比較,用et的話,只能通過${}來讀出數(shù)據(jù),而且還是javascript,不能直接和寫在jsp上面的java變量進行比較,請問像我這樣的情況還有別的方法嗎?謝謝~  回復  更多評論   

          # re: eccn小組定制擴展發(fā)布 2006-07-05 17:58 by

          我把這個東西部署到一個myfaces工程里之后 出現(xiàn)了好多問題  回復  更多評論   

          # re: eccn小組定制擴展發(fā)布 2006-07-05 18:06 by

          我把這個東西部署到一個myfaces工程里之后 出現(xiàn)了好多問題
          1 -- 只要不修改 log4j.properties appserver就起不來
          2 -- 部署好了以后一切正常,不過extremetable.properties怎么也找不到(我 再context里已經(jīng)配置了)
          這是我的web.xml中的有關(guān)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小組定制擴展發(fā)布 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中的排序信息轉(zhuǎn)化為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中的過濾信息轉(zhuǎn)化為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小組定制擴展發(fā)布 2006-09-16 16:08 CNSDF

          你好!
          想請問關(guān)于EC的VM模版,什么時候可以發(fā)布?
          謝謝!  回復  更多評論   

          # re: eccn小組定制擴展發(fā)布 2006-09-30 09:53 lzh

          今天看到eccn小組提供的成果,我感觸良多,你們在那里做無私的風險,難得啊.
          如果我有時間,希望能加入你們小組.目前我非常需要的你們的定制擴展發(fā)布.如果你們抽得出時間,順便發(fā)給我一份.我的email:liuzihuang@126.com
          謝謝  回復  更多評論   

          # re: eccn小組定制擴展發(fā)布 2006-10-25 17:27 phoenix[匿名]

          郵箱里面有4封郵件,沒有看到哪個是 eccn小組定制擴展!是否可以指明?  回復  更多評論   

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

          本來想加入的,后來和決定自己做了,因為大家似乎都很忙。呵呵

          歡迎大家去試用一個全新的extremeComponents增強版: EC Side.
          ECSide發(fā)布地址:
          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小組定制擴展發(fā)布 2007-07-31 12:20 乖乖兔

          大家好~~我的問題很簡單,如何在struts action里得到我在extremecomponents.properties設(shè)定的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小組定制擴展發(fā)布 2007-08-14 16:13 yuxian

          有沒有人做了這個擴展,讓excel也能有復雜表頭》。。  回復  更多評論   

          <2006年6月>
          28293031123
          45678910
          11121314151617
          18192021222324
          2526272829301
          2345678

          導航

          隨筆分類(125)

          文章分類(5)

          日本語

          搜索

          積分與排名

          最新隨筆

          最新評論

          主站蜘蛛池模板: 三都| 涞水县| 错那县| 乡宁县| 夏津县| 三亚市| 海兴县| 武邑县| 双峰县| 佛学| 秦皇岛市| 胶州市| 安庆市| 明溪县| 正安县| 昭平县| 获嘉县| 三台县| 彭州市| 洪雅县| 诏安县| 崇文区| 重庆市| 六枝特区| 宁陵县| 常州市| 轮台县| 祥云县| 永德县| 烟台市| 顺义区| 青田县| 鲁甸县| 辽宁省| 金川县| 托克逊县| 白山市| 祁门县| 靖安县| 西华县| 阳新县|