lost text alignment in included JSPs using f:subview
I have a main JSF page - as below
<%-- jsf:pagecode language="java" location="/src/pagecode/MainPage.java" --%><%-- /jsf:pagecode --%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://www.ibm.com/jsf/BrowserFramework" prefix="odc"%>
<f:view>
<f:subview id="IncludedJSP">
<jsp:include flush="true" page="IncludedJSP.jsp"></jsp:include>
</f:subview>
</f:view>
--
The JSP PAge included as subview - IncludedJSP.jsp has this code -
<%-- jsf:pagecode language="java" location="/src/pagecode/IncludedJSP.java" --%><%-- /jsf:pagecode --%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1" session="false"%>
<portlet:defineObjects />
<hx:scriptCollector id="scriptCollector1">
Title: Included Page
<h:form id="form1" styleClass="form">
<h:inputText id="text1" styleClass="inputText"></h:inputText>
</h:form>
</hx:scriptCollector>
When i run it on the server, input box is displayed before the
Tilte Included
I tried using <f:verbatim> to align however is there any other easier way so that the subview's rendered page is displayed in the way it is aligned?
Message was edited by:
molly_t52

