Include file problems

Hi All,

We have a main Page which has includes for a header , footer, left and right navigation..

my main page looks like this.

<div id="mainForm">

<div id="leftNaviagtion">

<%@include file="leftNavigation.jspf"%>

</div>

<div id="formBody">

<%@include file="formBody.jspf"%>

</div>

<div id="righttNaviagtion">

<%@include file="rightNavigation.jspf"%>

</div>

</div>

And i have the <f:view> in formBody.jspf and also in the rightNavigation.jspf

I have the following code in rightNavigation.jspf

<h:commandLink action="#{myBean.changeLocale}">

<f:param name="locale_selected"

value="#{requestScope.localeVal}"

binding="#{myBean.localeSelected}"/>

<h:outputText value="#{requestScope.localeName}"/>

</h:commandLink>

And these hyperlinks are getting displayed at different location i.e,

The rendering of these hyperlinks is not where i have placed them in the html !!!!

Is any one else also facing the same problem when you have more than one <f:view> in an aggregate JSP Page ..

Pls let me know..

Thanks

Sateesh

[1587 byte] By [klsateesha] at [2007-10-2 22:24:29]
# 1
The included jsf pages must be enclosed by f:subview
amitteva at 2007-7-14 1:41:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...