I mean that the first .jsp page should have only framesets and
frames in it. The page you showed below has a <h:form>, and a
<table> tag. Could you change that page to just have the

<frameset cols = "25%, 25%,*">
  <frame src ="../ef/PsPanel.jsp" " />
  <frame src ="../ef/PsPanel.jsp" />
  <frame src ="../ef/PsPanel.jsp" />
</frameset>

without the other tags, and put the table in another frame?
The <form> cannot contain frames either.

You may have to change the frames to
<frame src ="../ef/PsPanel.faces" />
Or
<frame src ="../ef/PsPanel.jsf" />
Depending on how you configured myfaces.
 

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 12 juin 2006 10:48
À : 'MyFaces Discussion'
Objet : RE: Frameset in jsp page

Thanks for your answer.
I am not sure to have understood. You mean that I should have a jsp page
calling only a frameset? 
So for example I could not have this in my page:
<f:view>   
   <%
      FacesContext fc = FacesContext.getCurrentInstance();
     
      // set locale for JSF framework usage
      fc.getViewRoot().setLocale(Application.getLanguage(fc));
      
   %>
?

Thanks.
Sophie

-----Message d'origine-----
De : L Frohman [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 juin 2006 10:24
À : 'MyFaces Discussion'; [EMAIL PROTECTED] Objet : RE: Frameset in jsp
page

I don't believe you can mix framesets and regular html content in the same
Page, that is, you should only have <frameset> and <frame> tags in the Page,
and the frames should reference other .html pages with the actual content.
One trick I use is to do a "view source" on the web page to see if I can
Figure out the problem. And I can save the source code to an .html file And
open that file in a browser. 

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12
juin 2006 10:00 À : 'MyFaces Discussion'
Objet : Frameset in jsp page

Hi!

I read that we can use frameset in jsp page as in html... so maybe I did not
understand how to use frameset in html:

I have a jsp page and I call this for a test:

[...]
<r:page titleId="title_browse">
<f:view>   
   <%
      FacesContext fc = FacesContext.getCurrentInstance();
     
      // set locale for JSF framework usage
      fc.getViewRoot().setLocale(Application.getLanguage(fc));
      
   %>
   
   <%-- load a bundle of properties with I18N strings --%> <f:loadBundle
basename="alfresco.messages.webclient" var="msg"/> <f:loadBundle
basename="alfresco.messages.EthicFlow_webclient" var="EFmsg"/>
  
   <%-- set the form name here --%>
<h:form acceptCharset="UTF-8" id="browseTemplate">
  
<frameset cols = "25%, 25%,*">
  <frame src ="../ef/PsPanel.jsp" " />
  <frame src ="../ef/PsPanel.jsp" />
  <frame src ="../ef/PsPanel.jsp" />
</frameset>

<table>
[...]
</table>

</h:form>
</f:view>
</r:page>

But nothing appears (only my table not the frames) what is wrong here?
Thanks in advance for your help
Sophie

Reply via email to