C H A P T E R  28

pagelet


<jato:pagelet>

Allows JATO tags in an included JSP fragment to inherit the enclosing page's container view scope, and thus be included at request-time.

This tag is only valid when used inside an included JSP fragment (also known as a pagelet). The pagelet tag should enclose all other JATO tags in the pagelet.

Example:

EnclosingPage.jsp

 

<%@page info="E0130" language="java"%>

<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>

 

<jato:useViewBean ...>

<jato:containerView name="foo">

...

<jsp:include page="MyPagelet.jsp"/>

...

</jato:containerView>

</jato:useViewBean>

 

MyPagelet.jsp

 

<%@page info="MyPagelet" language="java"%>

<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>

 

<jato:pagelet>

<jato:combobox name="month"/>...

</jato:pagelet>