1234567891011121314151617181920212223242526272829303132333435363738 |
- <!-- 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. -->
- <div class="prompt ${prompt.tag}" ${prompt}>
- <div id="msg${prompt.name}"></div>
- <%
- String[] DefValues = prompt.intervalToArray(prompt.getDefaultValue());
- if( !label ) out << "<label>${prompt.name}</label>"
- def c = "msgPos:'msg${prompt.name}' "
- if( prompt.required ) c += " required"
- %>
- <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>
- </div>
|