%@ 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"%>
${pageFlow.URI}
This test verifies that a @Jpf.FormBean
annotation is inherited from a superclass
if none is provided on the derived class, and that it is overridden if the derived class has one.
-
The first
netui:form
uses the base class, which defines message resources
in its @Jpf.FormBean
annotation.
-
The second
netui:form
uses a derived class, which simply inherits the
@Jpf.FormBean
annotation.
-
The second
netui:form
uses a derived class, which overrides the
@Jpf.FormBean
annotation.
In each case, leave the text box empty when you press Submit.
foo:
bar:
baz: