Need help in JSF(Java Server Faces)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vinutha
    New Member
    • Nov 2006
    • 19

    Need help in JSF(Java Server Faces)

    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.js f" scrolling="no" noresize="nores ize" />
    <frameset cols="25%,*">
    <frame name="f2" src="menuTree.j sf" scrolling="no" noresize="nores ize" />
    <frame name="f3" src="body.jsf" scrolling="auto " noresize="nores ize" />
    </frameset>
    </frameset>
    </html>

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

    <t:jscookMenu layout="hbr" theme="ThemeOff ice" styleLocation=" css/jscookmenu">
    <t:navigationMe nuItem id="nav_2" itemLabel="Heal th 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.
Working...