<%if(cancelEnabled){%> <%if(cancelIcon){ %> <%}%> <%if(cancelText){ %> <%}%> <%}%>
<%if(titleType=="search") {%> <%} else if (titleType=="button") { %> <%=title%> <%if(subtitle) {%> <%=subtitle%> <%}%> <%} else {%> <%=title%> <%if(subtitle) {%> <%=subtitle%> <%}%> <%}%>
<%if(okEnabled){%> <%if(okIcon){ %> <%}%> <%if(okText){ %> <%}%> <%}%>