123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <!-- Licensed Materials - Property of IBM
- BI and PM: Mobile
- (C) Copyright IBM Corp. 2007, 2012
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. -->
- <%
- String[] start = prompt.intervalToArray("");
- String[] end = prompt.intervalToArray("");
- if (prompt.getDefaultRange() != null && prompt.getDefaultRange().getStartUseValue() != null) {
- start = prompt.intervalToArray(prompt.getDefaultRange().getStartUseValue());
- }
- if (prompt.getDefaultRange() != null) {
- if (prompt.getDefaultRange().getStartUseValue() != null) start = prompt.intervalToArray(prompt.getDefaultRange().getStartUseValue());
- if (prompt.getDefaultRange().getEndUseValue() != null) end = prompt.intervalToArray(prompt.getDefaultRange().getEndUseValue());
- }
- String[] DefValues = start;
- String[] DefValues2 = end;
- def c = "msgPos:'msg${prompt.name}' "
- if( prompt.required ) c += " required"
- %>
- <div class="prompt ${prompt.tag}" ${prompt}>
- <div id="msg${prompt.name}"></div>
-
- <%
- if( !label ) out << "<label>${prompt.name}</label>"
- %>
- i18n('WEB_PROMPT_FROM')
- <div min="true">
- <table>
- <tr>
- <td>i18n('WEB_PROMPT_INTERVAL_DAYS'):</td>
- <td>i18n('WEB_PROMPT_INTERVAL_HOURS'):</td>
- <td>i18n('WEB_PROMPT_INTERVAL_MINUTES'):</td>
- <% if( prompt.displaySeconds ){ %>
- <td>i18n('WEB_PROMPT_INTERVAL_SECONDS'):</td>
- <% } %>
- <% if( prompt.displayMilliSeconds ){ %>
- <td>i18n('WEB_PROMPT_INTERVAL_MILLISECONDS'):</td>
- <% } %>
- </tr>
- <tr>
- <td><input type="text" itype="D" size="4" value="${DefValues[0]}" class="${c}" pattern="[0-9]*"></input></td>
- <td><input type="text" itype="H" size="4" value="${DefValues[1]}" class="${c}" pattern="[0-9]*"></input></td>
- <td><input type="text" itype="M" size="2" value="${DefValues[2]}" maxlength="2" class="${c}" pattern="[0-9]*"></input></td>
- <% if( prompt.displaySeconds ){ %>
- <td><input type="text" itype="S" size="2" value="${DefValues[3]}" maxlength="2" class="${c}" pattern="[0-9]*"></input></td>
- <% } %>
- <% if( prompt.displayMilliSeconds ){ %>
- <td><input type="text" itype="MS" size="3" value="${DefValues[4]}" maxlength="3" class="${c}" pattern="[0-9]*"></input></td>
- <% } %>
- </tr>
- </table>
- i18n('WEB_PROMPT_TO')
- <div max="true">
- <table>
- <tr>
- <td>i18n('WEB_PROMPT_INTERVAL_DAYS'):</td>
- <td>i18n('WEB_PROMPT_INTERVAL_HOURS'):</td>
- <td>i18n('WEB_PROMPT_INTERVAL_MINUTES'):</td>
- <% if( prompt.displaySeconds ){ %>
- <td>i18n('WEB_PROMPT_INTERVAL_SECONDS'):</td>
- <% } %>
- <% if( prompt.displayMilliSeconds ){ %>
- <td>i18n('WEB_PROMPT_INTERVAL_MILLISECONDS'):</td>
- <% } %>
- </tr>
- <tr>
- <td><input type="text" itype="D" size="4" value="${DefValues2[0]}" class="${c}" pattern="[0-9]*"></input></td>
- <td><input type="text" itype="H" size="4" value="${DefValues2[1]}" class="${c}" pattern="[0-9]*"></input></td>
- <td><input type="text" itype="M" size="2" value="${DefValues2[2]}" maxlength="2" class="${c}" pattern="[0-9]*"></input></td>
- <% if( prompt.displaySeconds ){ %>
- <td><input type="text" itype="S" size="2" value="${DefValues2[3]}" maxlength="2" class="${c}" pattern="[0-9]*"></input></td>
- <% } %>
- <% if( prompt.displayMilliSeconds ){ %>
- <td><input type="text" itype="MS" size="3" value="${DefValues2[4]}" maxlength="3" class="${c}" pattern="[0-9]*"></input></td>
- <% } %>
- </tr>
- </table>
- </div>
- </div>
|