I have a quick question about the myfaces, jsf.

 

 

I have a jsp page that includes three frames. Every time I do a submit on either form1 or form2,  or I refresh (toggle) the tree, the whole page redraws (refreshs). I don’t want Form1 and Form2 to be redrawed just because I fresh the tree, or vice versa.

 

Can anyone help me?

 

 

 

 

Form 1

 

 

 

Myfaces tree2 component

 

 

 

 

 

 

 

 

 

 

 

 

 

Form 2

 

 

// Code---------------------------------------------------------------------------------------------------------------------------------

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

 

<f:loadBundle basename="resources.application" var="bundle"/>

<f:view>

<html>

<head>

  <title><h:outputText value="#{bundle['welcome.title']}" /></title>

</head>

<body>

 

<p>

</p><table width="1016" border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">

  <tr>

    <img src="">"/images/header2.png" width="1016" height="90"/>

  </tr>

  <tr>

    <td colspan="2">&nbsp;

    <f:subview id="subPrePlanInfo">

      <jsp:include page="PrePlanInfo.jsp" flush="true"/>

      </f:subview>

    </td>

  </tr>

  <tr>

    <td>

     <f:subview id="subTermOrganizer">

      <jsp:include page="TermOrganizer.jsp" flush="true"/>

     </f:subview>

    </td>

    <td>

    <f:subview id="subCourseInputPanel">

      <jsp:include page="CourseInputPanel.jsp" flush="false"/>

    </f:subview>

    </td>

  </tr> 

  <tr>

    <td colspan="2">&nbsp;<img src="">"/images/footer.png" width="1016" height="40"/></td>

  </tr>

 

 

  </table>

 

 

</body>

</html>

</f:view>

// Code---------------------------------------------------------------------------------------------------------------------------------

 

Reply via email to