DateDialog

Top  Previous  Next

  <span mo:type="DateDialog" mo:field="true" mo:name="${fieldName}" mo:needsInit="true" 
       mo:iValue="${initialValue}"
       mo:props="
          valueFormat     : '${valueFormat}', 
          submitFormat    : '${submitFormat}', 
          defaultDate     : '${defaultDate}', 
          monthFormat     : 'Long Text', 
          fromDate        : '${fromDate}', 
          toDate          : '${toDate}', 
          onDayChange     : ${onDayChange}
          onMonthChange   : ${onMonthChange}
          onYearChange    : ${onYearChange}
          onChange        : ${onChange}
          nonBlank        : ${nonBlank}
          valHandler      : ${valHandler}
          valErrorHandler : ${valErrorHandler}
        ">
    <select name="__Day" onchange="DateMgr.dayChanged(this)" />
    <select name="__Month" onchange="DateMgr.monthChanged(this)" />
    <select name="__Year" onchange="DateMgr.yearChanged(this)" />
    <input type="text" name="__DayText" disabled="disabled" readonly="readonly"/>
    <input type="hidden" name="pf_${fieldName}"/>
    <input type="hidden" name="__Work"/>
  </span>

 

${fieldName}

The name of the ProcessField

${initialValue}

The initial value of the field

${valueFormat}

The format of the initial value. See Date Formatting.

${displayFormat}

The representation and the edit format of the date value. See Date Formatting.

${submitFormat}

The format of the value to submit. See Date Formatting.

${defaultDate}

If initial value is not provided with mo:iValue attribute the value defined with this property is used.

${fromDate}

The minimum date to be entered

${toDate}

The maximum date to be entered

${onDayChange}

onDayChange Event Handler

${onMonthChange}

onMonthChange Event Handler

${onYearChange}

onYearChange Event Handler

${onChange}

onChange Event Handler

${nonBlank}

If "true" then the field cannot be left blank

${valHandler}

The name of the validation handler function

${valErrorHandler}

The name of the validation error handler function.