Skip to main content

Benx Shen's Library tagged ref   View Popular

17 Jul 08

Quartz - Quartz 1 - CronTriggers Tutorial

  • Format



    A cron expression is a string comprised of 6 or 7 fields separated by white space. Fields can contain any of the allowed values, along with various combinations of the allowed special characters for that field. The fields are as follows:












































    Field NameMandatory?Allowed ValuesAllowed Special Characters
    SecondsYES0-59, - * /
    MinutesYES0-59, - * /
    HoursYES0-23, - * /
    Day of monthYES1-31, - * ? / L W C
    MonthYES1-12 or JAN-DEC, - * /
    Day of weekYES1-7 or SUN-SAT, - * ? / L C #
    YearNOempty, 1970-2099, - * /


    So cron expressions can be as simple as this: * * * * ? *

    or more complex, like this: 0 0/5 14,18,3-39,52 ? JAN,MAR,SEP MON-FRI 2002-2010

30 May 07

openjfx: openjfx: JavaFX編程語言

  • JavaFX Script™ (下文中成為JavaFX)語言是一種聲明式的靜態類型編程語言。它具有第一級函數(first-class functions)、聲明式的語法、列表推導(list-comprehensions)及基於依賴關係的增量式求值(incremental dependency-based evaluation)等特徵。JavaFX 腳本式語言特別適用於Java2D swing GUI組件,它允許簡單地創建圖形界面。


    譯者註:第一級函數指函數被當作對象對待,可以在運行時賦值、傳遞和返回。詳見wikipedia上的解釋


    譯者註:列表推導指一種在函數語言中的表達式,它表示了在一個或者多個列表的成員(被選擇的)進行某種操作的結果。它被稱為"syntactic sugar",即為開發者提供了便捷的多種函數的應用組合。詳見FOLDC對list comprehension的解釋


    本文檔給出了JavaFX 腳本式編程語言的非正式描述。

11 Dec 06

CSS Wettbewerb Gewinner | Dr. Web Weblog


      • P
        latz 1: Stephan Kroppenstedt - 47 Stimmen - Logitech MX Revolution
        >



        SCreenshot





      • Platz 2: Jochen Adolph - 44 Stimmen - PLUS Abonnement im Wert von 79,- Euro
        >



        SCreenshot





      • Platz 3: Sebastian Majstorovic - 32 Stimmen - 4 gelbe Dr. Web Tassen
        >



        SCreenshot
21 Nov 06

WebWork Freemarker Support - WebWork - Confluence

  • <#assign ww=JspTaglibs["/WEB-INF/webwork.tld"] />
    • freemarker 使用 jsp 的自訂標籤 taglib
      - on 2006-11-21
    Add Sticky Note
    • Objects in the Context



      The following variables exist in the freemarer views



      • req - the current HttpServletRequest
      • res - the current HttpServletResponse
      • stack - the current OgnlValueStack
      • ognl - the OgnlTool instance
        • This class contains useful methods to execute OGNL expressions against arbitary objects, and a method to generate a select list using the <ww:select> pattern. (i.e. taking the name of the list property, a listKey and listValue)
        • webwork - an instance of FreemarkerWebWorkUtil
        • action - the current WebWork action
        • exception - optional the Exception instance, if the view is a JSP exception or Servlet exception view
    • freemarker 在 webwork 架構之下的隱含物件有 req, res, stack, ognl, webwork, action, exception 等。
      - on 2006-11-21
    Add Sticky Note
  • 1 more annotations...
31 Oct 06

Interceptors - WebWork - Confluence

  • <action name="myAction" class="myActionClass">
    <interceptor-ref name="defaultStack">
    <param name="validation.excludeMethods">myValidationExcludeMethod</param>
    <param name="workflow.excludeMethods">myWorkflowExcludeMethod</param>
    </interceptor-ref>
    </action>
    • 在 action 的定義中,覆寫 interceptor-ref 參數的作法。這是非常有用的,如果你希望某個 action 的攔截器必須有特殊的參數配置的話.
      規則如下:<interceptor-name>.<parameter-name>
      - on 2006-10-31
    Add Sticky Note
12 Sep 06

Windows Run Commands

  • Here is a list of 112 run commands. - benxshen on 2006-09-12
1 - 20 of 27 Next ›
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo