beehive/netui/test/webapps/drt/web/pageInput/test21/Jsp1.jsp

30 lines
1.0 KiB
Plaintext

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui" %>
<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data" %>
<html>
<head>
<title>PageInput Test21</title>
</head>
<body>
<h3 align="center">PageInput Test21 - Jsp1.jsp</h3>
<hr width="95%"/>
<br/>
<center>
<br/>
<h2><font color="blue">Testing nonExistant value</font></h2>
<br/><br/>
<netui-data:declarePageInput name="ObjectA" type="shared.ClassA" />
<% try { %>
Class A string value. <font color="blue">"<netui:span value="${pageInput.ObjectA.nonExistString}" />"</font>
<% } catch ( Exception e ) { pageContext.getOut().print( e.getMessage() ); } %>
<br/><br/>
<netui:anchor action="finish">Finish...</netui:anchor>
</font>
<br/><br/>
Note the expected behavior is an error string.
</center>
</body>
</html>