[ http://issues.apache.org/jira/browse/ADFFACES-68?page=comments#action_12422140 ] Arnaud MERGEY commented on ADFFACES-68: ---------------------------------------
Hi Pierre Luc, this is simple example: layout.jsp: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/adf/faces" prefix="af"%> <%@ taglib uri="http://myfaces.apache.org/adf/faces/html" prefix="afh"%> <f:view> <afh:html> <afh:head title="test" /> <afh:frameBorderLayout> <f:facet name="alternateContent"> <af:outputText value="This page uses Framesets, but your browser does not support them."/> </f:facet> <f:facet name="left"> <afh:frame name="sommaire" source="left.faces" width="150"/> </f:facet> <f:facet name="center"> <afh:frameBorderLayout> <f:facet name="top"> <afh:frame name="banniere" source="top.faces" height="50" scrolling="no"/> </f:facet> <f:facet name="center"> <afh:frame name="principal" source="center.faces"/> </f:facet> </afh:frameBorderLayout> </f:facet> </afh:frameBorderLayout> </afh:html> </f:view> top.jsp: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/adf/faces" prefix="af"%> <%@ taglib uri="http://myfaces.apache.org/adf/faces/html" prefix="afh"%> <f:view> <af:document inlineStyle="margin:0;background:black;"> <f:facet name="metaContainer"> <f:verbatim> <meta http-equiv="expires" content="0" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="cache-control" content="max-age=0, no-cache, no-store, must-revalidate" /> </f:verbatim> </f:facet> <af:outputText value="top.jsp" inlineStyle="color:white;"/> </af:document> </f:view> left.jsp: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/adf/faces" prefix="af"%> <%@ taglib uri="http://myfaces.apache.org/adf/faces/html" prefix="afh"%> <f:view> <af:document inlineStyle="margin:0;background:blue;"> <f:facet name="metaContainer"> <f:verbatim> <meta http-equiv="expires" content="0" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="cache-control" content="max-age=0, no-cache, no-store, must-revalidate" /> </f:verbatim> </f:facet> <af:outputText value="left.jsp" inlineStyle="color:white;"/> </af:document> </f:view> center.jsp: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/adf/faces" prefix="af"%> <%@ taglib uri="http://myfaces.apache.org/adf/faces/html" prefix="afh"%> <f:view> <af:document inlineStyle="margin:0;background-color:yellow;"> <f:facet name="metaContainer"> <f:verbatim> <meta http-equiv="expires" content="0" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="cache-control" content="max-age=0, no-cache, no-store, must-revalidate" /> </f:verbatim> </f:facet> <af:outputText value="center.jsp" inlineStyle="color:black;"/> </af:document> </f:view> > remove frameset border in afh:frameBorderLayout > ----------------------------------------------- > > Key: ADFFACES-68 > URL: http://issues.apache.org/jira/browse/ADFFACES-68 > Project: MyFaces ADF-Faces > Issue Type: Improvement > Reporter: Arnaud MERGEY > Priority: Minor > Attachments: FrameBorderLayoutRenderer.java > > > In pages I need to remove frameset border with framespacing and border > parameter (ex:<frameset framespacing="0" border="0" frameborder="0">). > I have hard coded in FrameBorderLayoutRenderer.java > //XXX AM:disable frameset border > writer.writeAttribute("framespacing", "0", null); > writer.writeAttribute("border", "0", null); > writer.writeAttribute("frameborder", "0", null); > It would be fine to add a parameter in afh:frameBorderLayout to allow > conditional removing of frameset border -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
