Connecting Tech Pros Worldwide Forums | Help | Site Map

Need help in JSF(Java Server Faces)

Newbie
 
Join Date: Nov 2006
Posts: 19
#1: Nov 7 '06
I have designed one xhtml page using frameset, where i have included 3 frames to make one page, ie. one for header, one for menuTree & one for body,
This is my code,

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<frameset rows="33%,*" border="0" frameborder="0">
<frame name="f1" src="heading.jsf" scrolling="no" noresize="noresize" />
<frameset cols="25%,*">
<frame name="f2" src="menuTree.jsf" scrolling="no" noresize="noresize" />
<frame name="f3" src="body.jsf" scrolling="auto" noresize="noresize" />
</frameset>
</frameset>
</html>

In heading.jsf i have included one component like this,

<t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="css/jscookmenu">
<t:navigationMenuItem id="nav_2" itemLabel="Health Record" action="#{menu1.someAction}" target="f3" />
</t:jscookMenu>

but when i click that "Health Record" component, the resulting page is displaying in the same header webpage, but i want to display that in body part, ie. frame name f3.

How to solve this problem..........

Regards, Vinutha.

Reply