<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "How could I create a master page with JSP and IceFaces?"]]></title>
		<link>http://www.icefaces.org/JForum/posts/list/12.page</link>
		<description><![CDATA[Latest messages posted in the topic "How could I create a master page with JSP and IceFaces?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>How could I create a master page with JSP and IceFaces?</title>
				<description><![CDATA[ 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:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>

            &lt;head id="outputHead1"&gt;
                &lt;jsp:directive.include file="./styles.jspf" /&gt;
                &lt;title&gt;iBee Project&lt;/title&gt;
            &lt;/head&gt;
            &lt;body id="outputBody1" style="-rave-layout: grid"&gt;
                &lt;ice:form id="hdr" style="top:6%; left:1%; right:1%; position:absolute"&gt;
                    &lt;jsp:directive.include file="./Header.jspf"/&gt;
                &lt;/ice:form&gt;
                &lt;jsp:directive.include file="./cabecera.jspf"/&gt;
                &lt;ice:form id="body"&gt;
                    &lt;ice:panelGroup style="vertical-align: top;" effect="appear" &gt;
                        &lt;ice:panelCollapsible id="Mapa" expanded="true" &gt;
                            &lt;f:facet name="header"&gt;
                                &lt;ice:panelGroup&gt;
                                    &lt;ice:outputText id="formHeaderMap" value="Google Maps"/&gt;
                                &lt;/ice:panelGroup&gt;
                            &lt;/f:facet&gt;
                            &lt;jsp:directive.include file="./googleMap.jspf"/&gt;
                        &lt;/ice:panelCollapsible&gt;
                    &lt;/ice:panelGroup&gt;
                &lt;/ice:form&gt;
                &lt;ice:form id="foot"&gt;

                &lt;/ice:form&gt;
                &lt;div&gt;
                    &lt;ice:panelGrid id="bottom" style="position:relative;border-style: solid;border-width: 1px; border-color: #EEEEEE; left:1%" width="98%;"&gt;
                        &lt;jsp:directive.include file="./pieDePagina.jspf"/&gt;
                    &lt;/ice:panelGrid&gt;
                &lt;/div&gt;
            &lt;/body&gt;

</pre>
		</div>
]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/14375.page#55387</guid>
				<link>http://www.icefaces.org/JForum/posts/list/14375.page#55387</link>
				<pubDate><![CDATA[Fri, 21 Aug 2009 09:02:51]]> GMT</pubDate>
				<author><![CDATA[ matiasburni]]></author>
			</item>
			<item>
				<title>Re:How could I create a master page with JSP and IceFaces?</title>
				<description><![CDATA[ Have you tried facelets as an option?

Further if your are doing this:
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>&lt;jsp:directive.include file="./pieDePagina.jspf"/&gt;</pre>
		</div>

You may want to enclose it in:
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>&lt;f:subview&gt; &lt;/f:subview&gt;
</pre>
		</div>
or using facelets, you can do:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>&lt;ui:include src="./pieDePagina.jspf"/&gt;</pre>
		</div>

(And just being nosy) Do you need that many “ice:form” on one page? I don't see any action to perform on the page unless you have them in the included files, in which case you would be better off having the ice:form inside each "include" file.
]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/14375.page#55394</guid>
				<link>http://www.icefaces.org/JForum/posts/list/14375.page#55394</link>
				<pubDate><![CDATA[Fri, 21 Aug 2009 11:21:30]]> GMT</pubDate>
				<author><![CDATA[ camuski]]></author>
			</item>
			<item>
				<title>Re:How could I create a master page with JSP and IceFaces?</title>
				<description><![CDATA[ The idea was not use facelets.

(And just being nosy) Good tip, thanks.]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/14375.page#55395</guid>
				<link>http://www.icefaces.org/JForum/posts/list/14375.page#55395</link>
				<pubDate><![CDATA[Fri, 21 Aug 2009 11:51:14]]> GMT</pubDate>
				<author><![CDATA[ matiasburni]]></author>
			</item>
	</channel>
</rss>
