Hi all, we are creating a website with google maps and more, our problem is simple, well maybe not so.
We need to create a structure of the main page (a master page), We are using JSF, but our problem is that we could not integrate the components of Icefaces.
We found a “manual” solution, just create frames in a JSP and include a fragment in each frame.
Some examples of our code:
Code:
<head id="outputHead1">
<jsp:directive.include file="./styles.jspf" />
<title>iBee Project</title>
</head>
<body id="outputBody1" style="-rave-layout: grid">
<ice:form id="hdr" style="top:6%; left:1%; right:1%; position:absolute">
<jsp:directive.include file="./Header.jspf"/>
</ice:form>
<jsp:directive.include file="./cabecera.jspf"/>
<ice:form id="body">
<ice:panelGroup style="vertical-align: top;" effect="appear" >
<ice:panelCollapsible id="Mapa" expanded="true" >
<f:facet name="header">
<ice:panelGroup>
<ice:outputText id="formHeaderMap" value="Google Maps"/>
</ice:panelGroup>
</f:facet>
<jsp:directive.include file="./googleMap.jspf"/>
</ice:panelCollapsible>
</ice:panelGroup>
</ice:form>
<ice:form id="foot">
</ice:form>
<div>
<ice:panelGrid id="bottom" style="position:relative;border-style: solid;border-width: 1px; border-color: #EEEEEE; left:1%" width="98%;">
<jsp:directive.include file="./pieDePagina.jspf"/>
</ice:panelGrid>
</div>
</body>