<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Matt Cooper&#039;s Weblog &#187; jdeveloper</title>
	<atom:link href="http://formattc.wordpress.com/category/java/jdeveloper/feed/" rel="self" type="application/rss+xml" />
	<link>http://formattc.wordpress.com</link>
	<description>A Blog with Techincal Tips</description>
	<lastBuildDate>Thu, 24 Sep 2009 06:29:18 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='formattc.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/058a06d65da113688c537de7fd5c4fd4?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Matt Cooper&#039;s Weblog &#187; jdeveloper</title>
		<link>http://formattc.wordpress.com</link>
	</image>
			<item>
		<title>Stretchable Tiled Layout</title>
		<link>http://formattc.wordpress.com/2009/03/23/stretchable-tiled-layout/</link>
		<comments>http://formattc.wordpress.com/2009/03/23/stretchable-tiled-layout/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 00:01:13 +0000</pubDate>
		<dc:creator>Matt Cooper</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jdeveloper]]></category>
		<category><![CDATA[jsf]]></category>

		<guid isPermaLink="false">http://formattc.wordpress.com/?p=37</guid>
		<description><![CDATA[With the Oracle ADF Faces Rich Client, have you ever wanted to divide a stretchable box into tiles?
Divided in Half
Let&#8217;s say you just wanted to divide a stretchable area in half, the top half gets 50% of the space and the bottom half gets the other 50%.  If your stretchable area is one created by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=formattc.wordpress.com&blog=5190333&post=37&subd=formattc&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>With the Oracle ADF Faces Rich Client, have you ever wanted to divide a stretchable box into tiles?</p>
<h3>Divided in Half</h3>
<p>Let&#8217;s say you just wanted to divide a stretchable area in half, the top half gets 50% of the space and the bottom half gets the other 50%.  If your stretchable area is one created by a component that stretches its children (please read <a href="http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/layoutBasics.jspx">Layout Basics</a> if this term doesn&#8217;t mean anything to you), you achieve this half-and-half layout by using a panelStretchLayout:</p>
<pre>&lt;af:panelStretchLayout id="half" topHeight="50%"&gt;
  &lt;f:facet name="top"&gt;
    &lt;!-- top half component rooted here --&gt;
  &lt;/f:facet&gt;
  &lt;f:facet name="center"&gt;
    &lt;!-- bottom half component rooted here
         (the center facet gets the remaining space) --&gt;
  &lt;/f:facet&gt;
&lt;/af:panelStretchLayout&gt;</pre>
<p>Remember, avoid inlineStyle if at all possible; do you see any inlineStyle values here?</p>
<h3>Divided into Thirds</h3>
<p>What if you wanted it to be divided into thirds?  Just add one more facet to the panelStretchLayout like this:</p>
<pre>&lt;af:panelStretchLayout id="thirds" topHeight="33%" bottomHeight="33%"&gt;
  &lt;f:facet name="top"&gt;
    &lt;!-- top third component rooted here --&gt;
  &lt;/f:facet&gt;
  &lt;f:facet name="center"&gt;
    &lt;!-- middle third component rooted here
         (the center facet gets the remaining space) --&gt;
  &lt;/f:facet&gt;
  &lt;f:facet name="bottom"&gt;
    &lt;!-- bottom third component rooted here --&gt;
  &lt;/f:facet&gt;
&lt;/af:panelStretchLayout&gt;</pre>
<h3>Divided into Quarters</h3>
<p>Okay so now what are you gonna do&#8211;the panelStretchLayout doesn&#8217;t have any more facets to choose from that would appear below &#8220;bottom&#8221;?!</p>
<p>Well, now you need to nest panelStretchLayouts where the inner panelStretchLayout uses 3 facets (space divided into thirds) and an outer panelStretchLayout that uses 2 facets (space divided into 25% and 75%) like this:</p>
<pre>&lt;af:panelStretchLayout id="outer" topHeight="25%"&gt;
  &lt;f:facet name="top"&gt;
    &lt;!-- first quarter component rooted here --&gt;
  &lt;/f:facet&gt;
  &lt;f:facet name="center"&gt;
    &lt;af:panelStretchLayout id="inner" topHeight="33%" bottomHeight="33%"&gt;
      &lt;f:facet name="top"&gt;
        &lt;!-- second quarter component rooted here --&gt;
      &lt;/f:facet&gt;
      &lt;f:facet name="center"&gt;
        &lt;!-- third quarter component rooted here
             (the center facet gets the remaining space) --&gt;
      &lt;/f:facet&gt;
      &lt;f:facet name="bottom"&gt;
        &lt;!-- fourth quarter component rooted here --&gt;
      &lt;/f:facet&gt;
    &lt;/af:panelStretchLayout&gt;
  &lt;/f:facet&gt;
&lt;/af:panelStretchLayout&gt;</pre>
<h3>These all line up vertically, what if I wanted horizontal tiles?</h3>
<p>Instead of using &#8220;top&#8221; and &#8220;bottom&#8221; facets, use &#8220;start&#8221; and &#8220;end&#8221;.</p>
<h3>What if I don&#8217;t have a stretchable area?</h3>
<p>Without being stretchable, you cannot evenly distribute space.  You would then use something like an <a href="http://myfaces.apache.org/trinidad/">Apache MyFaces Trinidad</a> <a href="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/trh_tableLayout.html">trh:tableLayout</a> (as seen in the <a href="http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/layoutTiledFlowing.jspx">Tiled Flowing demo</a> or even a layout=&#8221;vertical&#8221; <a href="http://jdevadf.oracle.com/adf-richclient-demo/faces/components/panelGroupLayout.jspx">af:panelGroupLayout</a>.</p>
<h3>Are there any other tiled layout solutions?</h3>
<p>Yes, for the stretchable area case, you could:</p>
<ul>
<li>Use panelSplitters instead of panelStretchLayouts though splitter panels don&#8217;t use percentage units&#8211;only pixels, or</li>
<li>Use grid structure to generate the tiles as seen in the <a href="http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/layoutTiledStretching.jspx">Tiled Stretching demo</a>.</li>
</ul>
<p>For more info, refer to the demos, documentation, forums, news, etc. on the Oracle ADF Faces Rich Client Components page on the Oracle Technology Network:</p>
<ul>
<li><a href="http://www.oracle.com/technology/products/adf/adffaces/index.html" target="_blank">http://www.oracle.com/technology/products/adf/adffaces/index.html</a></li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/formattc.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/formattc.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/formattc.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/formattc.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/formattc.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/formattc.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/formattc.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/formattc.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/formattc.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/formattc.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=formattc.wordpress.com&blog=5190333&post=37&subd=formattc&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://formattc.wordpress.com/2009/03/23/stretchable-tiled-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3d178c6f51a57ed9a571495c4c13351?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">formattc</media:title>
		</media:content>
	</item>
		<item>
		<title>Woodstock Migration to ADF Faces Rich Client</title>
		<link>http://formattc.wordpress.com/2009/02/03/woodstock-migration-to-adf-faces-rich-client/</link>
		<comments>http://formattc.wordpress.com/2009/02/03/woodstock-migration-to-adf-faces-rich-client/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 20:26:13 +0000</pubDate>
		<dc:creator>Matt Cooper</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jdeveloper]]></category>
		<category><![CDATA[jsf]]></category>

		<guid isPermaLink="false">http://formattc.wordpress.com/?p=27</guid>
		<description><![CDATA[There is now a tutorial for migrating from Sun&#8217;s Woodstock JSF component into Oracle ADF Faces Rich Client components:
http://www.oracle.com/technology/products/adf/adffaces/woodstock2adfMatix.html
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=formattc.wordpress.com&blog=5190333&post=27&subd=formattc&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is now a tutorial for migrating from Sun&#8217;s Woodstock JSF component into Oracle ADF Faces Rich Client components:</p>
<p><a href="http://www.oracle.com/technology/products/adf/adffaces/woodstock2adfMatix.html">http://www.oracle.com/technology/products/adf/adffaces/woodstock2adfMatix.html</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/formattc.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/formattc.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/formattc.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/formattc.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/formattc.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/formattc.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/formattc.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/formattc.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/formattc.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/formattc.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=formattc.wordpress.com&blog=5190333&post=27&subd=formattc&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://formattc.wordpress.com/2009/02/03/woodstock-migration-to-adf-faces-rich-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3d178c6f51a57ed9a571495c4c13351?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">formattc</media:title>
		</media:content>
	</item>
		<item>
		<title>JDeveloper and ADF Faces Rich Client Demos</title>
		<link>http://formattc.wordpress.com/2008/10/18/12/</link>
		<comments>http://formattc.wordpress.com/2008/10/18/12/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 04:09:50 +0000</pubDate>
		<dc:creator>Matt Cooper</dc:creator>
				<category><![CDATA[jdeveloper]]></category>
		<category><![CDATA[jsf]]></category>
		<category><![CDATA[adf]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[faces]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[rich client]]></category>

		<guid isPermaLink="false">http://formattc.wordpress.com/?p=12</guid>
		<description><![CDATA[Oracle JDeveloper 11g is now production.
The Oracle ADF Faces Rich Client Demos are also now available online.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=formattc.wordpress.com&blog=5190333&post=12&subd=formattc&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.oracle.com/technology/products/jdev/index.html">Oracle JDeveloper 11g</a> is now production.</p>
<p>The Oracle <a href="http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx">ADF Faces Rich Client Demos</a> are also now available online.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/formattc.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/formattc.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/formattc.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/formattc.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/formattc.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/formattc.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/formattc.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/formattc.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/formattc.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/formattc.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=formattc.wordpress.com&blog=5190333&post=12&subd=formattc&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://formattc.wordpress.com/2008/10/18/12/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3d178c6f51a57ed9a571495c4c13351?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">formattc</media:title>
		</media:content>
	</item>
	</channel>
</rss>