<?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>Richfaces expert</title>
	<atom:link href="http://riaworld.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://riaworld.wordpress.com</link>
	<description>Richfaces World</description>
	<lastBuildDate>Sat, 10 Dec 2011 08:42:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='riaworld.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Richfaces expert</title>
		<link>http://riaworld.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://riaworld.wordpress.com/osd.xml" title="Richfaces expert" />
	<atom:link rel='hub' href='http://riaworld.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Software architecture course:Coming Soon</title>
		<link>http://riaworld.wordpress.com/2009/07/15/software-architecture-coursecoming-soon/</link>
		<comments>http://riaworld.wordpress.com/2009/07/15/software-architecture-coursecoming-soon/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 14:05:50 +0000</pubDate>
		<dc:creator>B.Mansour  Nizar</dc:creator>
				<category><![CDATA[software architecture]]></category>

		<guid isPermaLink="false">http://riaworld.wordpress.com/?p=50</guid>
		<description><![CDATA[Hi, I&#8217;m going to post on my official blog a software architecture course which deals with software modeling as well as how can we make our software maintenable and high quality.I will discuss why we must go back to the 1999 pragmatic programmation method invented by Andrew Hunt .I think that we can not made [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=50&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m going to post on my official blog a software architecture course which deals with software modeling as well as how can we make our software maintenable and high quality.I will discuss why we must go back to the 1999 pragmatic programmation method invented by Andrew Hunt .I think that we can not made an RIA application(i&#8217;m speaking about web application) without making at least a good separation between presentation layer and business layer.Well this course is made by me and full supported by my previous teacher at ENSI college Mr Tarek Chnaina who helped me to make the job done.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/riaworld.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/riaworld.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/riaworld.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/riaworld.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/riaworld.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/riaworld.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/riaworld.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/riaworld.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/riaworld.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/riaworld.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/riaworld.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/riaworld.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/riaworld.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/riaworld.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=50&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://riaworld.wordpress.com/2009/07/15/software-architecture-coursecoming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8d99c46fd4d3368707fe1a912ef4a74?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">benmansournizar</media:title>
		</media:content>
	</item>
		<item>
		<title>Singleton Design pattern</title>
		<link>http://riaworld.wordpress.com/2009/06/28/singleton-design-pattern/</link>
		<comments>http://riaworld.wordpress.com/2009/06/28/singleton-design-pattern/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 19:13:30 +0000</pubDate>
		<dc:creator>B.Mansour  Nizar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://riaworld.wordpress.com/?p=43</guid>
		<description><![CDATA[Singleton is one of the most used design pattern world wide.Nowdays,we use singleton in Spring.We will in this review show the importance of Singleton in Spring Framework. When we use Spring Framework,we need to parse an xml file which is the application context file.the problem is must we parse it evrey time we need to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=43&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Singleton is one of the most used design pattern world wide.Nowdays,we use singleton in Spring.We will in this review show the importance of Singleton in Spring Framework.<br />
When we use Spring Framework,we need to parse an xml file which is the application context file.the problem is must we parse it evrey time we need to get a bean from it.Of course this is a bad habits.Let&#8217;s see how we can manage this matter.I will take examples from my final  intership.<br />
Let&#8217;s have this class<br />
package dcm.controller.global_factory;</p>
<p>import org.springframework.beans.factory.xml.XmlBeanFactory;<br />
import org.springframework.core.io.ClassPathResource;</p>
<p>public class Dcm_spring_factory {<br />
	private   static XmlBeanFactory factory = new XmlBeanFactory(new ClassPathResource(&#8220;/META-INF/spring/applicationContext.xml&#8221;));</p>
<p>	public static XmlBeanFactory getFactory() {<br />
		return factory;<br />
	}</p>
<p>	public void setFactory(XmlBeanFactory factory) {<br />
		this.factory = factory;<br />
	}</p>
<p>}<br />
As you can see ,we had used 	private   static XmlBeanFactory factory = new XmlBeanFactory(new ClassPathResource(&#8220;/META-INF/spring/applicationContext.xml&#8221;));<br />
That&#8217;s the first part of the Singleton&#8217;s desing pattern is that to make the attribute Static so that can be shared by all the object instancited from the class  Dcm_spring_factory.<br />
The next and the last part of the Singleton desing pattern is to make all the classes heritates from our Factory class  Dcm_spring_factory.<br />
Example:<br />
public class Task_page_site_admin extends dcm.controller.global_factory.Dcm_spring_factory <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
 <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Enjoy</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/riaworld.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/riaworld.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/riaworld.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/riaworld.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/riaworld.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/riaworld.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/riaworld.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/riaworld.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/riaworld.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/riaworld.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/riaworld.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/riaworld.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/riaworld.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/riaworld.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=43&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://riaworld.wordpress.com/2009/06/28/singleton-design-pattern/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8d99c46fd4d3368707fe1a912ef4a74?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">benmansournizar</media:title>
		</media:content>
	</item>
		<item>
		<title>JavaFx A new generation of RIA desktop application</title>
		<link>http://riaworld.wordpress.com/2009/06/24/java-fxa-new-generation-of-ria-desktop-application/</link>
		<comments>http://riaworld.wordpress.com/2009/06/24/java-fxa-new-generation-of-ria-desktop-application/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 13:28:38 +0000</pubDate>
		<dc:creator>B.Mansour  Nizar</dc:creator>
				<category><![CDATA[Javafx]]></category>

		<guid isPermaLink="false">http://riaworld.wordpress.com/?p=39</guid>
		<description><![CDATA[Hi,last night i was surfing on sun website and i have noticed that java fx has reached version 1.2.We can said so that&#8217;s it will be the most concurrent product for Adobe Flex and SilverLight Microsoft. Besides,it&#8217;s now available on Mobile phone as a part of J2ME architecture Have a loook and enjoy. http://java.sun.com/javafx/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=39&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,last night i was surfing on sun website and i have noticed that java fx has reached version 1.2.We can said so that&#8217;s it will be the most concurrent product for Adobe Flex and SilverLight Microsoft.<br />
Besides,it&#8217;s now available on Mobile phone as a part of J2ME architecture<br />
Have a loook and enjoy.</p>
<p>http://java.sun.com/javafx/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/riaworld.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/riaworld.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/riaworld.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/riaworld.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/riaworld.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/riaworld.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/riaworld.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/riaworld.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/riaworld.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/riaworld.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/riaworld.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/riaworld.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/riaworld.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/riaworld.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=39&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://riaworld.wordpress.com/2009/06/24/java-fxa-new-generation-of-ria-desktop-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8d99c46fd4d3368707fe1a912ef4a74?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">benmansournizar</media:title>
		</media:content>
	</item>
		<item>
		<title>Time For Next RichFaces version 4.0.Get ready for it</title>
		<link>http://riaworld.wordpress.com/2009/06/15/time-for-next-richfaces-version-4-0-get-ready-for-it/</link>
		<comments>http://riaworld.wordpress.com/2009/06/15/time-for-next-richfaces-version-4-0-get-ready-for-it/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 16:36:20 +0000</pubDate>
		<dc:creator>B.Mansour  Nizar</dc:creator>
				<category><![CDATA[richfaces]]></category>

		<guid isPermaLink="false">http://riaworld.wordpress.com/?p=36</guid>
		<description><![CDATA[Hi,It seems like exadel as well as Jboss are working hardly those days on Richfaces 4.0.In fact, the good news are coming from the new Webinar hosted by Max Katz . have a look http://www.redhat.com/developers/partners/exadel/ Max will speak about New Richfaces 4.0 and guess what i had found.The first datasheet of the new Richfaces 4.0 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=36&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,It seems like exadel as well as Jboss are working hardly those days on Richfaces 4.0.In fact, the good news are coming from the new Webinar hosted by Max Katz . have a look</p>
<p>http://www.redhat.com/developers/partners/exadel/</p>
<p>Max will speak about New Richfaces 4.0 and guess what i had found.The first datasheet of the new Richfaces 4.0 API.</p>
<p>http://www.jboss.org/community/wiki/RichFaces40Planning</p>
<p>The good news is that Richfaces 4.0 will be 100 % compatible with the new JSF 1.2 RI.</p>
<p>The bad news is that the first stable version will be availble in 2010.<br />
 <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Enjoy</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/riaworld.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/riaworld.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/riaworld.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/riaworld.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/riaworld.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/riaworld.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/riaworld.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/riaworld.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/riaworld.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/riaworld.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/riaworld.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/riaworld.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/riaworld.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/riaworld.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=36&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://riaworld.wordpress.com/2009/06/15/time-for-next-richfaces-version-4-0-get-ready-for-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8d99c46fd4d3368707fe1a912ef4a74?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">benmansournizar</media:title>
		</media:content>
	</item>
		<item>
		<title>Test Driven Developpment</title>
		<link>http://riaworld.wordpress.com/2009/06/07/test-driven-developpment/</link>
		<comments>http://riaworld.wordpress.com/2009/06/07/test-driven-developpment/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 13:37:18 +0000</pubDate>
		<dc:creator>B.Mansour  Nizar</dc:creator>
				<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://riaworld.wordpress.com/?p=31</guid>
		<description><![CDATA[I will here in this review talk about Test Driven Developpment.In my next post i will explain what benefist of TDD to improve the life cycle of the developpment of a RIA J2EE web application Test-driven development (TDD) is a software development technique that uses short development iterations based on pre-written test cases that define [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=31&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I will here in this review talk about Test Driven Developpment.In my next post i will explain what benefist of TDD to improve the life cycle of the developpment of a RIA J2EE web application</p>
<p>Test-driven development (TDD) is a software development technique that uses short development iterations based on pre-written test cases that define desired improvements or new functions. Each iteration produces code necessary to pass that iteration&#8217;s tests. Finally, the programmer or team refactors the code to accommodate changes. A key TDD concept is that preparing tests before coding facilitates rapid feedback changes. Note that test-driven development is a software design method, not merely a method of testing.</p>
<p>Test-Driven Development is related to the test-first programming concepts of Extreme Programming, begun in 1999,[1] but more recently is creating more general interest in its own right</p>
<p>Programmers also apply the concept to improving and debugging legacy code developed with older techniques<br />
The following sequence is based on the book Test-Driven Development by Example,[4] which many consider to be the canonical source text on the concept in its modern form.</p>
<p> 1. Add a test<br />
In test-driven development, each new feature begins with writing a test. This test must inevitably fail because it is written before the feature has been implemented. (If it does not fail, then the proposed “new” feature is obviated.) To write a test, the developer must clearly understand the feature&#8217;s specification and requirements. The developer can accomplish this through use cases and user stories that cover the requirements and exception conditions. This could also imply a variant, or modification of an existing test. This is a differentiating feature of test-driven development versus writing unit tests after the code is written: it makes the developer focus on the requirements before writing the code, a subtle but important difference.</p>
<p> 2. Run all tests and see if the new one fails<br />
This validates that the test harness is working correctly and that the new test does not mistakenly pass without requiring any new code.</p>
<p>The new test should also fail for the expected reason. This step tests the test itself, in the negative: it rules out the possibility that the new test will always pass, and therefore be worthless.</p>
<p> 3. Write some code<br />
The next step is to write some code that will cause the test to pass. The new code written at this stage will not be perfect and may, for example, pass the test in an inelegant way. That is acceptable because later steps will improve and hone it.</p>
<p>It is important that the code written is only designed to pass the test; no further (and therefore untested) functionality should be predicted and &#8216;allowed for&#8217; at any stage.</p>
<p> 4. Run the automated tests and see them succeed<br />
If all test cases now pass, the programmer can be confident that the code meets all the tested requirements. This is a good point from which to begin the final step of the cycle.</p>
<p> 5. Refactor code<br />
Now the code can be cleaned up as necessary. By re-running the test cases, the developer can be confident that refactoring is not damaging any existing functionality. The concept of removing duplication is an important aspect of any software design. In this case, however, it also applies to removing any duplication between the test code and the production code — for example magic numbers or strings that were repeated in both, in order to make the test pass in step 3.</p>
<p> Repeat<br />
Starting with another new test, the cycle is then repeated to push forward the functionality. The size of the steps should always be small &#8211; as few as 1 to 10 edits between each test run. If new code does not rapidly satisfy a new test, or other tests fail unexpectedly, the programmer should undo or revert in preference to excessive debugging. Continuous Integration helps by providing revertible checkpoints. When using external libraries it is important not to make increments that are so small as to be effectively merely testing the library itself,[2] unless there is some reason to believe that the library is buggy or is not sufficiently feature-complete to serve all the needs of the main program being written.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/riaworld.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/riaworld.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/riaworld.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/riaworld.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/riaworld.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/riaworld.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/riaworld.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/riaworld.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/riaworld.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/riaworld.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/riaworld.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/riaworld.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/riaworld.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/riaworld.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=31&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://riaworld.wordpress.com/2009/06/07/test-driven-developpment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8d99c46fd4d3368707fe1a912ef4a74?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">benmansournizar</media:title>
		</media:content>
	</item>
		<item>
		<title>Richfaces for beginners</title>
		<link>http://riaworld.wordpress.com/2009/05/28/richfaces-for-beginners/</link>
		<comments>http://riaworld.wordpress.com/2009/05/28/richfaces-for-beginners/#comments</comments>
		<pubDate>Thu, 28 May 2009 22:34:53 +0000</pubDate>
		<dc:creator>B.Mansour  Nizar</dc:creator>
				<category><![CDATA[ria]]></category>
		<category><![CDATA[richfaces]]></category>

		<guid isPermaLink="false">http://riaworld.wordpress.com/2009/05/28/richfaces-for-beginners/</guid>
		<description><![CDATA[For people who were surprised by Richfaces and RIA technology.Let&#8217;s get our first step just visit this web site http://livedemo.exadel.com/richfaces-demo/richfaces/actionparam.jsf That&#8217;s for you Fatma looooooooooooool<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=29&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For people who were surprised by Richfaces and RIA technology.Let&#8217;s get our first step just visit this web site</p>
<p>http://livedemo.exadel.com/richfaces-demo/richfaces/actionparam.jsf</p>
<p>That&#8217;s for you Fatma <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
looooooooooooool <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/riaworld.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/riaworld.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/riaworld.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/riaworld.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/riaworld.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/riaworld.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/riaworld.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/riaworld.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/riaworld.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/riaworld.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/riaworld.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/riaworld.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/riaworld.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/riaworld.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=29&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://riaworld.wordpress.com/2009/05/28/richfaces-for-beginners/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8d99c46fd4d3368707fe1a912ef4a74?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">benmansournizar</media:title>
		</media:content>
	</item>
		<item>
		<title>Combine Richfaces &amp; Spring Frameworks</title>
		<link>http://riaworld.wordpress.com/2009/05/28/combine-richfaces-spring-frameworks/</link>
		<comments>http://riaworld.wordpress.com/2009/05/28/combine-richfaces-spring-frameworks/#comments</comments>
		<pubDate>Thu, 28 May 2009 19:45:05 +0000</pubDate>
		<dc:creator>B.Mansour  Nizar</dc:creator>
				<category><![CDATA[ria]]></category>
		<category><![CDATA[richfaces]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://riaworld.wordpress.com/?p=26</guid>
		<description><![CDATA[Hello Richfaces can be combined with Spring framework to make a very good J2EE web application. Well let&#8217;s see an example : I will show you how can we use Dependecy Lookup. public boolean  confirm_add_new_task() { XmlBeanFactory factory = new XmlBeanFactory(    new ClassPathResource("/META-INF/spring/applicationContext.xml"));    Task_operation_project_leader task_operation_project_leader_ =   (Task_operation_project_leader)factory.getBean("task_operation_project_leader");       Integer ressource_id_=Integer.parseInt(this.session.getAttribute("ressource_id").toString());    task_operation_project_leader_.add_new_task [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=26&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello<br />
Richfaces can be combined with Spring framework to make a very good J2EE web application.<br />
Well let&#8217;s see an example :<br />
I will show you how can we use Dependecy Lookup.<br />
<code><br />
public boolean  confirm_add_new_task()<br />
{</p>
<p>XmlBeanFactory factory = new XmlBeanFactory(<br />
   new ClassPathResource("/META-INF/spring/applicationContext.xml"));<br />
   Task_operation_project_leader task_operation_project_leader_ =   (Task_operation_project_leader)factory.getBean("task_operation_project_leader");<br />
  <br />
   Integer ressource_id_=Integer.parseInt(this.session.getAttribute("ressource_id").toString());<br />
   task_operation_project_leader_.add_new_task<br />
   Shared_data_implements shared_data_implements_ =   (Shared_data_implements)factory.getBean("shared_data_implements");<br />
  <br />
  <br />
   //clear<br />
 <br />
   this.add_task_members_=new Task_members(); ;<br />
  this.binding_modal_panel_add_task.setRendered(false);//Well here we make render attribute of rendered in the modal panel false<br />
 <br />
  return true;<br />
}<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/riaworld.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/riaworld.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/riaworld.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/riaworld.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/riaworld.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/riaworld.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/riaworld.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/riaworld.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/riaworld.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/riaworld.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/riaworld.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/riaworld.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/riaworld.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/riaworld.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=26&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://riaworld.wordpress.com/2009/05/28/combine-richfaces-spring-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8d99c46fd4d3368707fe1a912ef4a74?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">benmansournizar</media:title>
		</media:content>
	</item>
		<item>
		<title>Richfaces Modal Panel Too Easy for expert ?</title>
		<link>http://riaworld.wordpress.com/2009/05/28/richfaces-modal-panel-too-easy-for-expert/</link>
		<comments>http://riaworld.wordpress.com/2009/05/28/richfaces-modal-panel-too-easy-for-expert/#comments</comments>
		<pubDate>Thu, 28 May 2009 19:19:15 +0000</pubDate>
		<dc:creator>B.Mansour  Nizar</dc:creator>
				<category><![CDATA[richfaces]]></category>

		<guid isPermaLink="false">http://riaworld.wordpress.com/?p=17</guid>
		<description><![CDATA[Modal Panel is one of the component that oblige me to use Richfaces it&#8217;s some bit easy to do but a few things must be well done. One of them is that we must make the modal panel outside the h:form (i mean the main form) A second thing we must focus on is that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=17&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Modal Panel is one of the component that oblige me to use Richfaces it&#8217;s some bit easy to do but a few things must be well done.</p>
<p>One of them is that we must make the modal panel outside the h:form (i mean the main form)</p>
<p>A second thing we must focus on is that ModalPanel API has been changed from its first appearance in 3.1.0 version so keep in mind to have a look at Migration Guide</p>
<p>Here is an example<br />
 &lt;!&#8211;  Start of Modal panel of Add New Project &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;</p>
<p>&lt;rich:modalPanel id=&#8221;add_new_project&#8221; rendered=&#8221;false&#8221;   showWhenRendered=&#8221;true&#8221; binding=&#8221;#{pole_manager_page.binding_modal_panel_show_add_new_project_pole_sky_project}&#8221; width=&#8221;700&#8243; height=&#8221;600&#8243; autosized=&#8221;true&#8221; resizeable=&#8221;false&#8221;&gt;<br />
 &lt;f:facet name=&#8221;header&#8221;&gt;<br />
            &lt;h:panelGroup&gt;<br />
                &lt;h:outputText value=&#8221;Add New Project&#8221;&gt;&lt;/h:outputText&gt;<br />
            &lt;/h:panelGroup&gt;<br />
        &lt;/f:facet&gt;<br />
 &lt;f:facet name=&#8221;controls&#8221;&gt;<br />
            &lt;h:panelGroup&gt;<br />
                &lt;h:graphicImage value=&#8221;close.png&#8221; styleClass=&#8221;hidelink&#8221; id=&#8221;hidelink_add_new_project&#8221;/&gt;<br />
                &lt;rich:componentControl for=&#8221;add_new_project&#8221; attachTo=&#8221;hidelink_add_new_project&#8221; operation=&#8221;hide&#8221; event=&#8221;onclick&#8221;/&gt;<br />
            &lt;/h:panelGroup&gt;<br />
        &lt;/f:facet&gt;<br />
&lt;h:form id=&#8221;id_add_new_project&#8221;&gt;<br />
&lt;div style=&#8221;position:absolute;<br />
 left:30px;<br />
 top:30px;<br />
 width:670px;<br />
 height:570px;<br />
 background-color:#ffffff;<br />
 overflow:auto;&#8221;&gt;</p>
<p> <br />
&lt;table width=&#8221;474&#8243; border=&#8221;0&#8243;&gt;<br />
  &lt;tr&gt;<br />
    &lt;td width=&#8221;177&#8243;&gt;Final Customer &lt;/td&gt;<br />
    &lt;td width=&#8221;281&#8243;&gt;<br />
    &lt;h:inputText required=&#8221;true&#8221; id=&#8221;id_add_new_project_final_customer&#8221; value=&#8221;#{pole_manager_page.add_new_project_members_.final_customer}&#8221;&gt;<br />
     &lt;rich:ajaxValidator event=&#8221;onblur&#8221;/&gt;<br />
      &lt;f:validateLength minimum=&#8221;3&#8243; maximum=&#8221;40&#8243;/&gt;<br />
     &lt;/h:inputText&gt;<br />
      &lt;rich:message for=&#8221;id_add_new_project_final_customer&#8221;&gt;&lt;/rich:message&gt;<br />
    &lt;/td&gt;<br />
 <br />
  &lt;/tr&gt;</p>
<p>  &lt;tr&gt;<br />
    &lt;td&gt;Project Name &lt;/td&gt;<br />
    &lt;td&gt;&lt;h:inputText required=&#8221;true&#8221; id=&#8221;id_add_new_project_project_name&#8221; value=&#8221;#{pole_manager_page.add_new_project_members_.project_name}&#8221; &gt;<br />
   &lt;f:validateLength minimum=&#8221;3&#8243; maximum=&#8221;40&#8243;/&gt;<br />
      &lt;rich:ajaxValidator event=&#8221;onblur&#8221;/&gt;<br />
   &lt;/h:inputText&gt;<br />
      &lt;rich:message for=&#8221;id_add_new_project_project_name&#8221;&gt;&lt;/rich:message&gt;<br />
    &lt;/td&gt;<br />
  &lt;/tr&gt;<br />
 <br />
 <br />
  &lt;tr&gt;<br />
    &lt;td&gt;Project Reference  &lt;/td&gt;<br />
    &lt;td&gt;&lt;h:inputText value=&#8221;#{pole_manager_page.add_new_project_members_.project_reference}&#8221; required=&#8221;true&#8221;&gt;<br />
    &lt;f:validateLength minimum=&#8221;3&#8243; maximum=&#8221;40&#8243;/&gt;<br />
     &lt;rich:ajaxValidator event=&#8221;onblur&#8221;/&gt;<br />
    &lt;/h:inputText&gt;<br />
      &lt;rich:message for=&#8221;id_add_new_project_project_name&#8221;&gt;&lt;/rich:message&gt;<br />
    &lt;/td&gt;<br />
  &lt;/tr&gt;<br />
 <br />
 <br />
 <br />
 <br />
 <br />
  &lt;tr&gt;<br />
    &lt;td&gt;Project Description&lt;/td&gt;<br />
    &lt;td&gt;&lt;h:inputText id=&#8221;id_add_new_project_project_description&#8221; value=&#8221;#{pole_manager_page.add_new_project_members_.project_description}&#8221; required=&#8221;true&#8221;&gt;<br />
    &lt;f:validateLength minimum=&#8221;3&#8243; maximum=&#8221;50&#8243;/&gt;<br />
         &lt;rich:ajaxValidator event=&#8221;onblur&#8221;/&gt;<br />
       <br />
    &lt;/h:inputText&gt;<br />
    &lt;rich:message for=&#8221;id_add_new_project_project_description&#8221;&gt;&lt;/rich:message&gt;<br />
    &lt;/td&gt;<br />
  &lt;/tr&gt;<br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
  &lt;tr&gt;<br />
    &lt;td&gt;Project Leader&lt;/td&gt;<br />
    &lt;td&gt;&lt;rich:comboBox value=&#8221;#{pole_manager_page.add_new_project_members_.selected_project_leader}&#8221;&gt;&lt;f:selectItems value=&#8221;#{pole_manager_page.add_new_project_members_.available_project_leader}&#8221; /&gt;&lt;/rich:comboBox&gt;&lt;/td&gt;<br />
  &lt;/tr&gt;</p>
<p>  &lt;tr&gt;<br />
    &lt;td&gt;project_start_initial_base_line_date &lt;rich:calendar required=&#8221;true&#8221; datePattern=&#8221;yyyy-MM-d&#8221; value=&#8221;#{pole_manager_page.add_new_project_members_.project_start_initial_base_line_date}&#8221;/&gt;&lt;/td&gt;<br />
    &lt;td&gt;project_end_initial_base_line_date  &lt;rich:calendar required=&#8221;true&#8221;  datePattern=&#8221;yyyy-MM-d&#8221; value=&#8221;#{pole_manager_page.add_new_project_members_.project_end_initial_base_line_date}&#8221;/&gt;&lt;/td&gt;<br />
  &lt;/tr&gt;<br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
  &lt;tr&gt;<br />
    &lt;td&gt;Project Cost(BCWS)<br />
  <br />
  <br />
    &lt;h:inputText  required=&#8221;true&#8221;<br />
     value=&#8221;#{pole_manager_page.add_new_project_members_.project_bcws_initial}&#8221; &gt;<br />
     &lt;f:validateLength minimum=&#8221;0&#8243; maximum=&#8221;50&#8243;/&gt;<br />
         &lt;rich:ajaxValidator event=&#8221;onblur&#8221;/&gt;<br />
             &lt;/h:inputText&gt;<br />
       <br />
        <br />
 <br />
  <br />
    &lt;/td&gt;<br />
  </p>
<p>  &lt;/tr&gt;<br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
  &lt;tr&gt;<br />
    &lt;td&gt;&lt;h:commandButton value=&#8221;Save&#8221; action=&#8221;#{pole_manager_page.confirm_add_new_project}&#8221;/&gt;&lt;/td&gt;<br />
    &lt;td&gt;&lt;h:commandButton value=&#8221;Cancel&#8221; immediate=&#8221;true&#8221; action=&#8221;#{pole_manager_page.cancel_show_modal_panel_x}&#8221;/&gt;&lt;/td&gt;<br />
  &lt;/tr&gt;<br />
&lt;/table&gt;</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> <br />
&lt;p&gt;&amp;nbsp;&lt;/p&gt;<br />
&lt;p&gt;&amp;nbsp;&lt;/p&gt;<br />
&lt;p&gt;&amp;nbsp;&lt;/p&gt;<br />
&lt;p&gt;&amp;nbsp;&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;/h:form&gt;</p>
<p>&lt;/rich:modalPanel&gt;</p>
<p> <br />
&lt;!&#8211;  End  of Modal panel of Add New Project &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;<br />
&lt;!&#8211;///////////////////////////////////// &#8211;&gt;</p>
<p> </p>
<p> </p>
<p>In the backend bean :</p>
<p>public void cancel_show_modal_panel_x()<br />
 {<br />
  this.binding_modal_panel_show_add_new_project_pole_sky_project.setRendered(false);</p>
<p> }</p>
<p> </p>
<p>/**<br />
  * @uml.property  name=&#8221;binding_modal_panel_show_add_new_project_pole_sky_project&#8221;<br />
  */<br />
 private HtmlModalPanel binding_modal_panel_show_add_new_project_pole_sky_project = null;</p>
<p> /**<br />
  * Getter of the property &lt;tt&gt;binding_modal_panel_show_add_new_project_pole_sky_project&lt;/tt&gt;<br />
  * @return  Returns the binding_modal_panel_show_add_new_project_pole_sky_project.<br />
  * @uml.property  name=&#8221;binding_modal_panel_show_add_new_project_pole_sky_project&#8221;<br />
  */<br />
 public HtmlModalPanel getBinding_modal_panel_show_add_new_project_pole_sky_project() {<br />
  return binding_modal_panel_show_add_new_project_pole_sky_project;<br />
 }</p>
<p> /**<br />
  * Setter of the property &lt;tt&gt;binding_modal_panel_show_add_new_project_pole_sky_project&lt;/tt&gt;<br />
  * @param binding_modal_panel_show_add_new_project_pole_sky_project  The binding_modal_panel_show_add_new_project_pole_sky_project to set.<br />
  * @uml.property  name=&#8221;binding_modal_panel_show_add_new_project_pole_sky_project&#8221;<br />
  */<br />
 public void setBinding_modal_panel_show_add_new_project_pole_sky_project(<br />
   HtmlModalPanel binding_modal_panel_show_add_new_project_pole_sky_project) {<br />
  this.binding_modal_panel_show_add_new_project_pole_sky_project = binding_modal_panel_show_add_new_project_pole_sky_project;<br />
 }</p>
<p> </p>
<p>Remember getter and setter must be available to make the modal panel works <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Enjoy</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/riaworld.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/riaworld.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/riaworld.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/riaworld.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/riaworld.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/riaworld.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/riaworld.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/riaworld.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/riaworld.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/riaworld.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/riaworld.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/riaworld.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/riaworld.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/riaworld.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=17&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://riaworld.wordpress.com/2009/05/28/richfaces-modal-panel-too-easy-for-expert/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8d99c46fd4d3368707fe1a912ef4a74?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">benmansournizar</media:title>
		</media:content>
	</item>
		<item>
		<title>Implement DataScrollable Table with Richfaces 3.3.1 GA</title>
		<link>http://riaworld.wordpress.com/2009/05/28/implement-datascrollable-table-with-richfaces-3-3-1-ga/</link>
		<comments>http://riaworld.wordpress.com/2009/05/28/implement-datascrollable-table-with-richfaces-3-3-1-ga/#comments</comments>
		<pubDate>Thu, 28 May 2009 19:12:40 +0000</pubDate>
		<dc:creator>B.Mansour  Nizar</dc:creator>
				<category><![CDATA[ria]]></category>
		<category><![CDATA[richfaces]]></category>

		<guid isPermaLink="false">http://riaworld.wordpress.com/?p=14</guid>
		<description><![CDATA[Well It&#8217;s not very easy to use a Scrollable Data table with Richfaces i had spent a lot of time to figure out how it works and finally i get my first example Let&#8217;s see it &#60;rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="400px" selection="#{pole_manager_page.data_table_value_pole_sky.selection}" binding="#{pole_manager_page.data_table_value_pole_sky.table}" width="700px" id="id_data_scrollable_table_projects" rows="#{pole_manager_page.data_table_value_pole_sky.data_scrollable_table_size}" columnClasses="col" value="#{pole_manager_page.data_table_value_pole_sky.allCars}" var="category" sortMode="single" &#62; &#60;rich:column &#62; &#60;f:facet name="header"&#62;&#60;h:outputText value="Project [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=14&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well It&#8217;s not very easy to use a Scrollable Data table with Richfaces i had spent a lot of time to figure out how it works and finally i get my first example <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Let&#8217;s see it<br />
<code><br />
&lt;rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="400px"<br />
selection="#{pole_manager_page.data_table_value_pole_sky.selection}"<br />
binding="#{pole_manager_page.data_table_value_pole_sky.table}"<br />
                width="700px"   id="id_data_scrollable_table_projects"<br />
                rows="#{pole_manager_page.data_table_value_pole_sky.data_scrollable_table_size}"<br />
                 columnClasses="col"<br />
                value="#{pole_manager_page.data_table_value_pole_sky.allCars}" var="category" sortMode="single"<br />
                &gt;</p>
<p>                             &lt;rich:column  &gt;<br />
                    &lt;f:facet name="header"&gt;&lt;h:outputText value="Project name" /&gt;&lt;/f:facet&gt;<br />
                    &lt;h:outputText value="#{category.project_name}"&gt;</p>
<p>                    &lt;/h:outputText&gt;<br />
                &lt;/rich:column&gt;</p>
<p>                &lt;rich:column   &gt;<br />
                    &lt;f:facet name="header"&gt;&lt;h:outputText value="Project description" /&gt;&lt;/f:facet&gt;<br />
                    &lt;h:outputText  value="#{category.project_description}" &gt;</p>
<p>                    &lt;/h:outputText&gt;<br />
                &lt;/rich:column&gt;<br />
                &lt;/rich:scrollableDataTable&gt;<br />
</code></p>
<p>Now let&#8217;s define our magic object  Data_table_value_pole_sky.</p>
<p>This object has been got from this class DataScrollableTableProjectsPoleManager.</p>
<p>It&#8217;s not a good practise to  implement the DataScrollableTable in the same class as your bean class .<br />
  <code><br />
public class DataScrollableTableProjectsPoleManager extends dcm.controller.global_factory.Dcm_spring_factory{<br />
    /****************************Start of Local Variable **********************************************/<br />
    /*************************************************************************************************/<br />
    /************************************************************************************************/<br />
    /***********************************************************************************************/</p>
<p>    int c2 ;<br />
     /****************************End of Local Variable **********************************************/<br />
    /*************************************************************************************************/<br />
    /************************************************************************************************/<br />
    /***********************************************************************************************/<br />
private Pole_sky_members  currentItem = new Pole_sky_members();</p>
<p> private Set&lt;Integer&gt; keys = new HashSet&lt;Integer&gt;();</p>
<p> private int currentRow;</p>
<p> private SimpleSelection selection = new SimpleSelection();</p>
<p> private UIScrollableDataTable table;</p>
<p> private SortOrder order = new SortOrder();</p>
<p> private int scrollerPage;</p>
<p> private ArrayList&lt;Pole_sky_members&gt; selectedCars = new ArrayList&lt;Pole_sky_members&gt;();<br />
 private ArrayList&lt;Facet&gt; columns = new ArrayList&lt;Facet&gt;();<br />
 private static int DECIMALS = 1;<br />
 private static int ROUNDING_MODE = BigDecimal.ROUND_HALF_UP;<br />
private static org.apache.log4j.Logger log = Logger.getLogger(DataScrollableTableProjectsPoleManager.class);</p>
<p> private List &lt;Pole_sky_members&gt; allCars = null;<br />
  DateFormat tmp_df = new SimpleDateFormat("yyyy-MM-d");<br />
      private  FacesContext context = FacesContext.getCurrentInstance();<br />
private HttpSession session = (HttpSession) context.getExternalContext().getSession(false);<br />
private Integer data_scrollable_table_size;</p>
<p> public  DataScrollableTableProjectsPoleManager() {</p>
<p>  SortField[] fields = {new SortField("make", true)};<br />
  order.setFields(fields);<br />
 }</p>
<p> public List &lt;Pole_sky_members&gt; getAllCars()  {<br />
  Ressource_infos_implements ressource_infos_implements_ =   (Ressource_infos_implements)this.getFactory().getBean("ressource_infos_implements");</p>
<p>  Project_operation_pole_manager_implements project_operation_pole_manager_implements_ =   (Project_operation_pole_manager_implements)this.getFactory().getBean("project_operation_pole_manager_implements");</p>
<p>  return project_operation_pole_manager_implements_.get_availble_project_infos(Integer.parseInt(ressource_infos_implements_.getPole_id()));</p>
<p> }<br />
 public SimpleSelection getSelection() {<br />
  return selection;<br />
 }</p>
<p> public void setSelection(SimpleSelection selection) {<br />
  this.selection = selection;<br />
 }</p>
<p> public String takeSelection() {<br />
  getSelectedCars().clear();<br />
  if (getSelection().isSelectAll()){<br />
   getSelectedCars().addAll(allCars);<br />
  }else{<br />
   Iterator&lt;Object&gt; iterator = getSelection().getKeys();<br />
   while (iterator.hasNext()){<br />
    Object key = iterator.next();<br />
    table.setRowKey(key);<br />
    if (table.isRowAvailable()) {<br />
     getSelectedCars().add((Pole_sky_members) table.getRowData());<br />
    }<br />
   }<br />
  }<br />
  return null;<br />
 }</p>
<p> public ArrayList&lt;Pole_sky_members&gt; getSelectedCars() {</p>
<p>  return selectedCars;<br />
 }</p>
<p> public void setSelectedCars(ArrayList&lt;Pole_sky_members&gt; selectedCars) {<br />
  this.selectedCars = selectedCars;<br />
 }</p>
<p> public UIScrollableDataTable getTable() {<br />
  return table;<br />
 }</p>
<p> public void setTable(UIScrollableDataTable table) {<br />
  this.table = table;<br />
 }</p>
<p> public ArrayList&lt;Facet&gt; getColumns() {<br />
  return columns;<br />
 }</p>
<p> public int getScrollerPage() {<br />
  return scrollerPage;<br />
 }</p>
<p> public void setScrollerPage(int scrollerPage) {<br />
  this.scrollerPage = scrollerPage;<br />
 }</p>
<p> public SortOrder getOrder() {<br />
  return order;<br />
 }</p>
<p> public void setOrder(SortOrder order) {<br />
  this.order = order;<br />
 }</p>
<p> public Pole_sky_members getCurrentItem() {<br />
  return currentItem;<br />
 }</p>
<p> public void setCurrentItem(Pole_sky_members currentItem) {<br />
  this.currentItem = currentItem;<br />
 }</p>
<p> public int getCurrentRow() {<br />
  return currentRow;<br />
 }</p>
<p> public void setCurrentRow(int currentRow) {<br />
  this.currentRow = currentRow;<br />
 }</p>
<p> public Set&lt;Integer&gt; getKeys() {<br />
  return keys;<br />
 }</p>
<p> public void setKeys(Set&lt;Integer&gt; keys) {<br />
  this.keys = keys;<br />
 }<br />
 public Integer getData_scrollable_table_size()  {<br />
  //this.takeSelection();<br />
  if(this.getAllCars() == null)<br />
  {<br />
   return null;<br />
  }<br />
 this.log.info(" data scrollable table size is "+this.data_scrollable_table_size);<br />
  return this.getAllCars().size();<br />
 }</p>
<p> /**<br />
  * @param data_scrollable_table_size the data_scrollable_table_size to set<br />
  */<br />
 public void setData_scrollable_table_size(Integer data_scrollable_table_size) {<br />
  this.data_scrollable_table_size = data_scrollable_table_size;<br />
 }<br />
 }<br />
 </code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/riaworld.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/riaworld.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/riaworld.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/riaworld.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/riaworld.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/riaworld.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/riaworld.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/riaworld.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/riaworld.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/riaworld.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/riaworld.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/riaworld.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/riaworld.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/riaworld.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=14&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://riaworld.wordpress.com/2009/05/28/implement-datascrollable-table-with-richfaces-3-3-1-ga/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8d99c46fd4d3368707fe1a912ef4a74?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">benmansournizar</media:title>
		</media:content>
	</item>
		<item>
		<title>Best way to test a richfaces web application</title>
		<link>http://riaworld.wordpress.com/2009/05/21/best-way-to-test-a-richfaces-web-application/</link>
		<comments>http://riaworld.wordpress.com/2009/05/21/best-way-to-test-a-richfaces-web-application/#comments</comments>
		<pubDate>Thu, 21 May 2009 13:38:37 +0000</pubDate>
		<dc:creator>B.Mansour  Nizar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://riaworld.wordpress.com/2009/05/21/best-way-to-test-a-richfaces-web-application/</guid>
		<description><![CDATA[I think that the best way to test a richfaces web application or even a JSF is to use a new Jboss framework called JSFUNIT I think it&#8217;s very good Unit test API well docmented in Jboss website have a look http://www.jboss.org/jsfunit/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=13&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I think that the best way to test a richfaces web application or even a JSF is to use a new Jboss framework called JSFUNIT</p>
<p>I think it&#8217;s very good Unit test API well docmented in Jboss website</p>
<p>have a look</p>
<p>http://www.jboss.org/jsfunit/<br />
 <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/riaworld.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/riaworld.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/riaworld.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/riaworld.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/riaworld.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/riaworld.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/riaworld.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/riaworld.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/riaworld.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/riaworld.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/riaworld.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/riaworld.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/riaworld.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/riaworld.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=riaworld.wordpress.com&amp;blog=7788082&amp;post=13&amp;subd=riaworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://riaworld.wordpress.com/2009/05/21/best-way-to-test-a-richfaces-web-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8d99c46fd4d3368707fe1a912ef4a74?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">benmansournizar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
