beehive/netui/test/webapps/drt/web/miniTests/sameBeanDifferentScope/index.jsp

32 lines
1.1 KiB
Plaintext
Raw Normal View History

<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
<%@ taglib prefix="netui-data" uri="http://beehive.apache.org/netui/tags-databinding-1.0"%>
<%@ taglib prefix="netui-template" uri="http://beehive.apache.org/netui/tags-template-1.0"%>
<netui:html>
<head>
<netui:base/>
</head>
<netui:body>
<h3>${pageFlow.URI}</h3>
Action <b>withoutPageFlowScopedForm</b> -- does not have the <code>useFormBean</code> attribute set.
<netui:form action="withoutPageFlowScopedForm">
foo: <netui:textBox dataSource="actionForm.foo"/>
<br/>
<netui:button value="submit"/>
</netui:form>
Action <b>withPageFlowScopedForm</b> -- does have the <code>useFormBean</code> attribute set.
<netui:form action="withPageFlowScopedForm">
foo: <netui:textBox dataSource="actionForm.foo"/>
<br/>
<netui:button value="submit"/>
</netui:form>
</netui:body>
</netui:html>