123456789101112131415161718192021 |
- <!-- 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} <%
- if( prompt.defaultValue != null && prompt.defaultValue.length() != 0 ) out << " default='${prompt.toLongString(prompt.parse(prompt.defaultValue))}'"
- if( prompt.firstDate != null ) out << " first='${prompt.toLongString(prompt.firstDate)}'"
- if( prompt.lastDate != null ) out << " last='${prompt.toLongString(prompt.lastDate)}'"
- %>>
- <%
- if( !label ) out << "<label>${prompt.name}</label>"
- %>
- <div id="msg${prompt.name}"></div>
- <input type="text" <%
- def classes = "msgPos:'msg${prompt.name}' ";
- if( prompt.required ) classes += " required"
- out << " class='${classes}'"
- if( prompt.defaultValue != null && prompt.defaultValue.length() != 0 ) out << " actualvalue='${prompt.toLongString(prompt.parse(prompt.defaultValue))}'"
- %>></input>
- </div>
|