VwpFAQFragDynaInclude

Page Fragment: How can I do a dynamic include of a page fragment?

Using a page fragment file (but using <f:subview><jsp:include...></f:subview> instead of the default VWP approach) will accomplish a dynamic include.

Unfortunately it is not likely to be of much benefit since it means you give up application lifecycle calls to init() and destroy() methods in the fragment bean (which you get if you use static includes done by VWP).

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo