Hey there, I have a header.jsp file that is included in all my jsps:
<f:subview id="header_include"> <jsp:include page="header.jsp"/> </f:subview> or if the including jsp was in a subdirectory... <f:subview id="header_include"> <jsp:include page="../header.jsp"/> </f:subview> inside the header.jsp I'm trying to call a request scope backing bean to call a method to dynamically build some javascript. <script type=text/javascript> <h:outputText rendered="#{header.admin}"> var showAdmin = true; </h:outputText> </script> Here is my managed bean definition: <managed-bean> <managed-bean-name>header</managed-bean-name> <managed-bean-class>com.prenet.cpt.presentation.Header</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> The problem is that the header.isAdmin() method is not being called. And futhermore the default constructor for the Header.java class isn't being called. the Header class is not a ViewController as it doesn't match the url-to-bean mapping for whatever page I'm on. What could be going on here? Is there something speacial that has to be done in a subview? Thanks, Jason --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]